Package org.apache.poi.hslf.record
Class EscherPlaceholder
- java.lang.Object
-
- org.apache.poi.ddf.EscherRecord
-
- org.apache.poi.hslf.record.EscherPlaceholder
-
- All Implemented Interfaces:
Duplicatable,GenericRecord
public class EscherPlaceholder extends EscherRecord
An atom record that specifies whether a shape is a placeholder shape. The number, position, and type of placeholder shapes are determined by the slide layout as specified in the SlideAtom record.
-
-
Field Summary
Fields Modifier and Type Field Description static StringRECORD_DESCRIPTIONstatic shortRECORD_ID
-
Constructor Summary
Constructors Constructor Description EscherPlaceholder()EscherPlaceholder(EscherPlaceholder other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EscherPlaceholdercopy()intfillFields(byte[] data, int offset, EscherRecordFactory recordFactory)Map<String,Supplier<?>>getGenericProperties()EnumgetGenericRecordType()bytegetPlacementId()intgetPosition()StringgetRecordName()intgetRecordSize()bytegetSize()intserialize(int offset, byte[] data, EscherSerializationListener listener)-
Methods inherited from class org.apache.poi.ddf.EscherRecord
display, fillFields, getChild, getChildRecords, getGenericChildren, getInstance, getOptions, getRecordId, getVersion, isContainerRecord, readHeader, readInstance, serialize, serialize, setChildRecords, setInstance, setOptions, setRecordId, setVersion, toString, toXml, toXml
-
-
-
-
Field Detail
-
RECORD_ID
public static final short RECORD_ID
-
RECORD_DESCRIPTION
public static final String RECORD_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EscherPlaceholder
public EscherPlaceholder()
-
EscherPlaceholder
public EscherPlaceholder(EscherPlaceholder other)
-
-
Method Detail
-
fillFields
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory)- Specified by:
fillFieldsin classEscherRecord
-
serialize
public int serialize(int offset, byte[] data, EscherSerializationListener listener)- Specified by:
serializein classEscherRecord
-
getRecordSize
public int getRecordSize()
- Specified by:
getRecordSizein classEscherRecord
-
getRecordName
public String getRecordName()
- Specified by:
getRecordNamein classEscherRecord
-
getPosition
public int getPosition()
-
getPlacementId
public byte getPlacementId()
-
getSize
public byte getSize()
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classEscherRecord
-
getGenericRecordType
public Enum getGenericRecordType()
-
copy
public EscherPlaceholder copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classEscherRecord
-
-