org.apache.poi.hssf.record
Class DrawingGroupRecord

java.lang.Object
  extended by org.apache.poi.hssf.record.Record
      extended by org.apache.poi.hssf.record.AbstractEscherHolderRecord
          extended by org.apache.poi.hssf.record.DrawingGroupRecord

public class DrawingGroupRecord
extends AbstractEscherHolderRecord


Field Summary
static short sid
           
 
Constructor Summary
DrawingGroupRecord()
           
DrawingGroupRecord(RecordInputStream in)
           
 
Method Summary
 int getRawDataSize()
           
protected  java.lang.String getRecordName()
           
 int getRecordSize()
          Size of record (including 4 byte headers for all sections)
 short getSid()
          return the non static version of the id for this record.
 void processChildRecords()
          Process the bytes into escher records.
 int serialize(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, fillFields, findFirstWithId, getEscherContainer, getEscherRecord, getEscherRecords, getRawData, join, processContinueRecord, setRawData, toString, validateSid
 
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, isInValueSection, isValue, serialize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sid

public static final short sid
See Also:
Constant Field Values
Constructor Detail

DrawingGroupRecord

public DrawingGroupRecord()

DrawingGroupRecord

public DrawingGroupRecord(RecordInputStream in)
Method Detail

getRecordName

protected java.lang.String getRecordName()
Specified by:
getRecordName in class AbstractEscherHolderRecord

getSid

public short getSid()
Description copied from class: Record
return the non static version of the id for this record.

Specified by:
getSid in class AbstractEscherHolderRecord

serialize

public int serialize(int offset,
                     byte[] data)
Description copied from class: Record
called 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:
serialize in class AbstractEscherHolderRecord
Parameters:
offset - to begin writing at
data - 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()
Size of record (including 4 byte headers for all sections)

Overrides:
getRecordSize in class AbstractEscherHolderRecord

getRawDataSize

public int getRawDataSize()


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.