Package org.apache.poi.hslf.record
Class ExEmbedAtom
- java.lang.Object
-
- org.apache.poi.hslf.record.Record
-
- org.apache.poi.hslf.record.RecordAtom
-
- org.apache.poi.hslf.record.ExEmbedAtom
-
public class ExEmbedAtom extends RecordAtom
The atom that holds metadata on a specific embedded object in the document.
-
-
Field Summary
Fields Modifier and Type Field Description static intDOES_NOT_FOLLOW_COLOR_SCHEMEEmbedded document does not follow the color scheme.static intFOLLOWS_ENTIRE_COLOR_SCHEMEEmbedded document follows the entire color scheme.static intFOLLOWS_TEXT_AND_BACKGROUND_SCHEMEEmbedded document follows the text and background scheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCantLockServerB()Gets whether the embedded server cannot be locked.intgetFollowColorScheme()Gets whether the object follows the color scheme.booleangetIsTable()Getswhether the object is a Word table.booleangetNoSizeToServerB()Gets whether it is not required to send the dimensions to the embedded object.longgetRecordType()Gets the record type.voidsetCantLockServerB(boolean cantBeLocked)voidwriteOut(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
-
-
-
-
Field Detail
-
DOES_NOT_FOLLOW_COLOR_SCHEME
public static final int DOES_NOT_FOLLOW_COLOR_SCHEME
Embedded document does not follow the color scheme.- See Also:
- Constant Field Values
-
FOLLOWS_ENTIRE_COLOR_SCHEME
public static final int FOLLOWS_ENTIRE_COLOR_SCHEME
Embedded document follows the entire color scheme.- See Also:
- Constant Field Values
-
FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
public static final int FOLLOWS_TEXT_AND_BACKGROUND_SCHEME
Embedded document follows the text and background scheme.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFollowColorScheme
public int getFollowColorScheme()
Gets whether the object follows the color scheme.- Returns:
- one of
DOES_NOT_FOLLOW_COLOR_SCHEME,FOLLOWS_ENTIRE_COLOR_SCHEME, orFOLLOWS_TEXT_AND_BACKGROUND_SCHEME.
-
getCantLockServerB
public boolean getCantLockServerB()
Gets whether the embedded server cannot be locked.- Returns:
trueif the embedded server cannot be locked.
-
setCantLockServerB
public void setCantLockServerB(boolean cantBeLocked)
-
getNoSizeToServerB
public boolean getNoSizeToServerB()
Gets whether it is not required to send the dimensions to the embedded object.- Returns:
trueif the embedded server does not require the object dimensions.
-
getIsTable
public boolean getIsTable()
Getswhether the object is a Word table.- Returns:
trueif the object is a Word table.
-
getRecordType
public long getRecordType()
Gets the record type.- Specified by:
getRecordTypein classRecord- Returns:
- the record type.
-
-