|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.ExEmbedAtom
public class ExEmbedAtom
The atom that holds metadata on a specific embedded object in the document.
Field Summary | |
---|---|
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. |
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
getCantLockServerB()
Gets whether the embedded server cannot be locked. |
int |
getFollowColorScheme()
Gets whether the object follows the color scheme. |
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 |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk |
Methods inherited from class org.apache.poi.hslf.record.RecordAtom |
---|
getChildRecords, isAnAtom |
Methods inherited from class org.apache.poi.hslf.record.Record |
---|
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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.Method Detail |
---|
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 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
writeOut
in class Record
out
- the output stream to write to.
java.io.IOException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |