Package org.apache.poi.hslf.record
Class HSLFEscherClientDataRecord
java.lang.Object
org.apache.poi.ddf.EscherRecord
org.apache.poi.ddf.EscherClientDataRecord
org.apache.poi.hslf.record.HSLFEscherClientDataRecord
- All Implemented Interfaces:
Cloneable
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.
- Since:
- POI 3.14-Beta2
-
Field Summary
Fields inherited from class org.apache.poi.ddf.EscherClientDataRecord
RECORD_DESCRIPTION, RECORD_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintfillFields(byte[] data, int offset, EscherRecordFactory recordFactory) The contract of this method is to deserialize an escher record including it's children.Subclasses should return the short name for this escher record.intSubclasses should effeciently return the number of bytes required to serialize the record.byte[]Any data recording this record.voidremoveChild(Class<? extends Record> childClass) intserialize(int offset, byte[] data, EscherSerializationListener listener) Serializes the record to an existing byte array.voidsetRemainingData(byte[] remainingData) Any data recording this record.Methods inherited from class org.apache.poi.ddf.EscherClientDataRecord
getAttributeMap, getRecordIdMethods inherited from class org.apache.poi.ddf.EscherRecord
clone, display, fillFields, getChild, getChildRecords, getInstance, getOptions, getVersion, isContainerRecord, readHeader, readInstance, serialize, serialize, setChildRecords, setInstance, setOptions, setRecordId, setVersion, toString, toXml, toXml
-
Constructor Details
-
HSLFEscherClientDataRecord
public HSLFEscherClientDataRecord()
-
-
Method Details
-
getHSLFChildRecords
-
removeChild
-
addChild
-
fillFields
Description copied from class:EscherRecordThe contract of this method is to deserialize an escher record including it's children.- Overrides:
fillFieldsin classEscherClientDataRecord- Parameters:
data- The byte array containing the serialized escher records.offset- The offset into the byte array.recordFactory- A factory for creating new escher records.- Returns:
- The number of bytes written.
-
serialize
Description copied from class:EscherRecordSerializes the record to an existing byte array.- Overrides:
serializein classEscherClientDataRecord- Parameters:
offset- the offset within the byte arraydata- the data array to serialize tolistener- a listener for begin and end serialization events. This is useful because the serialization is hierarchical/recursive and sometimes you need to be able break into that.- Returns:
- the number of bytes written.
-
getRecordSize
public int getRecordSize()Description copied from class:EscherRecordSubclasses should effeciently return the number of bytes required to serialize the record.- Overrides:
getRecordSizein classEscherClientDataRecord- Returns:
- number of bytes
-
getRemainingData
public byte[] getRemainingData()Description copied from class:EscherClientDataRecordAny data recording this record.- Overrides:
getRemainingDatain classEscherClientDataRecord- Returns:
- the remaining bytes
-
setRemainingData
public void setRemainingData(byte[] remainingData) Description copied from class:EscherClientDataRecordAny data recording this record.- Overrides:
setRemainingDatain classEscherClientDataRecord- Parameters:
remainingData- the remaining bytes
-
getRecordName
Description copied from class:EscherRecordSubclasses should return the short name for this escher record.- Overrides:
getRecordNamein classEscherClientDataRecord- Returns:
- the short name for this escher record
-