Package org.apache.poi.hssf.record
Class DrawingGroupRecord
java.lang.Object
org.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.AbstractEscherHolderRecord
org.apache.poi.hssf.record.DrawingGroupRecord
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringintgives the current serialized size of the record.shortgetSid()return the non static version of the id for this record.voidProcess the bytes into escher records.intserialize(int offset, byte[] data) called by the class that is responsible for writing this sucker.Methods inherited from class org.apache.poi.hssf.record.AbstractEscherHolderRecord
addEscherRecord, addEscherRecord, clearEscherRecords, clone, convertRawBytesToEscherRecords, decode, findFirstWithId, getEscherContainer, getEscherRecord, getEscherRecords, getRawData, join, processContinueRecord, setRawData, toStringMethods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize
-
Field Details
-
sid
public static final short sid- See Also:
-
-
Constructor Details
-
DrawingGroupRecord
public DrawingGroupRecord() -
DrawingGroupRecord
-
-
Method Details
-
getRecordName
- Specified by:
getRecordNamein classAbstractEscherHolderRecord
-
getSid
public short getSid()Description copied from class:Recordreturn the non static version of the id for this record.- Specified by:
getSidin classAbstractEscherHolderRecord- Returns:
- he id for this record
-
serialize
public int serialize(int offset, byte[] data) Description copied from class:RecordBasecalled by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.- Overrides:
serializein classAbstractEscherHolderRecord- Parameters:
offset- to begin writing atdata- byte array containing instance data- Returns:
- number of bytes written
-
processChildRecords
public void processChildRecords()Process the bytes into escher records. (Not done by default in case we break things, unless you set the "poi.deserialize.escher" system property) -
getRecordSize
public int getRecordSize()Description copied from class:RecordBasegives the current serialized size of the record. Should include the sid and reclength (4 bytes).- Overrides:
getRecordSizein classAbstractEscherHolderRecord- Returns:
- the record size
-