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.
|
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, getMaxRecordLength, isAnAtom, setMaxRecordLength
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.start
- the start offset into the byte array.len
- the length of the slice in the byte array.public int getFollowColorScheme()
DOES_NOT_FOLLOW_COLOR_SCHEME
,
FOLLOWS_ENTIRE_COLOR_SCHEME
, or
FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
.public boolean getCantLockServerB()
true
if the embedded server cannot be locked.public void setCantLockServerB(boolean cantBeLocked)
public boolean getNoSizeToServerB()
true
if the embedded server does not require the object dimensions.public boolean getIsTable()
true
if the object is a Word table.public long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.