public class ExEmbedAtom extends RecordAtom
Modifier and Type | Field and Description |
---|---|
static int |
DOES_NOT_FOLLOW_COLOR_SCHEME
Embedded document does not follow the color scheme.
(嵌入文档不遵循配色方案。)
|
static int |
FOLLOWS_ENTIRE_COLOR_SCHEME
Embedded document follows the entire color scheme.
(嵌入文档遵循整个配色方案。)
|
static int |
FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
Embedded document follows the text and background scheme.
(嵌入文档遵循文本和背景方案。)
|
Modifier | Constructor and Description |
---|---|
protected |
ExEmbedAtom()
Constructs a brand new embedded object atom record.
(构造一个全新的嵌入对象原子记录。)
|
protected |
ExEmbedAtom(byte[] source, int start, int len)
Constructs the embedded object atom record from its source data.
(从源数据构造嵌入对象原子记录。)
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCantLockServerB()
Gets whether the embedded server cannot be locked.
(获取嵌入式服务器是否无法锁定。)
|
int |
getFollowColorScheme()
Gets whether the object follows the color scheme.
(获取对象是否遵循配色方案。)
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
boolean |
getIsTable()
Getswhether the object is a Word table.
(获取对象是否为 Word 表格。)
|
boolean |
getNoSizeToServerB()
Gets whether it is not required to send the dimensions to the embedded object.
(获取是否不需要将尺寸发送到嵌入对象。)
|
long |
getRecordType()
Gets the record type.
(获取记录类型。)
|
void |
setCantLockServerB(boolean cantBeLocked) |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public static final int DOES_NOT_FOLLOW_COLOR_SCHEME
public static final int FOLLOWS_ENTIRE_COLOR_SCHEME
public static final int FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
protected ExEmbedAtom()
protected ExEmbedAtom(byte[] source, int start, int len)
source
- the source data as a byte array.
(source - 作为字节数组的源数据。)
start
- the start offset into the byte array.
(start - 字节数组的起始偏移量。)
len
- the length of the slice in the byte array.
(len - 字节数组中切片的长度。)
public int getFollowColorScheme()
DOES_NOT_FOLLOW_COLOR_SCHEME
,
FOLLOWS_ENTIRE_COLOR_SCHEME
, or
FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
.
(DOES_NOT_FOLLOW_COLOR_SCHEME、FOLLOWS_ENTIRE_COLOR_SCHEME 或 FOLLOWS_TEXT_AND_BACKGROUND_SCHEME 之一。)
public boolean getCantLockServerB()
true
if the embedded server cannot be locked.
(如果嵌入式服务器无法锁定,则为 true。)
public void setCantLockServerB(boolean cantBeLocked)
public boolean getNoSizeToServerB()
true
if the embedded server does not require the object dimensions.
(如果嵌入式服务器不需要对象尺寸,则为 true。)
public boolean getIsTable()
true
if the object is a Word table.
(如果对象是 Word 表,则为 true。)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.