| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherDgRecord
EscherDgRecord | public class EscherDgRecord extends EscherRecord (Code) | | This record simply holds the number of shapes in the drawing group and the
last shape id used for this drawing group.
author: Glen Stampoultzis |
Method Summary | |
public int | fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. | public short | getDrawingGroupId() Gets the drawing group id for this record. | public int | getLastMSOSPID() The last shape id used in this drawing group. | public int | getNumShapes() The number of shapes in this drawing group. | public short | getRecordId() | public String | getRecordName() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public void | incrementShapeCount() | public int | serialize(int offset, byte[] data, EscherSerializationListener listener) This method serializes this escher record into a byte array.
Parameters: offset - The offset into data to start writing the record data to. Parameters: data - The byte array to serialize to. Parameters: listener - A listener to retrieve start and end callbacks. | public void | setLastMSOSPID(int field_2_lastMSOSPID) The last shape id used in this drawing group. | public void | setNumShapes(int field_1_numShapes) The number of shapes in this drawing group. | public String | toString() Returns the string representation of this record. |
RECORD_DESCRIPTION | final public static String RECORD_DESCRIPTION(Code) | | |
RECORD_ID | final public static short RECORD_ID(Code) | | |
fillFields | public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory)(Code) | | This method deserializes the record from a byte array.
Parameters: data - The byte array containing the escher record information Parameters: offset - The starting offset into data . Parameters: recordFactory - May be null since this is not a container record. The number of bytes read from the byte array. |
getDrawingGroupId | public short getDrawingGroupId()(Code) | | Gets the drawing group id for this record. This is encoded in the
instance part of the option record.
a drawing group id. |
getLastMSOSPID | public int getLastMSOSPID()(Code) | | The last shape id used in this drawing group.
|
getNumShapes | public int getNumShapes()(Code) | | The number of shapes in this drawing group.
|
getRecordId | public short getRecordId()(Code) | | |
getRecordName | public String getRecordName()(Code) | | The short name for this record
|
getRecordSize | public int getRecordSize()(Code) | | Returns the number of bytes that are required to serialize this record.
Number of bytes |
incrementShapeCount | public void incrementShapeCount()(Code) | | |
serialize | public int serialize(int offset, byte[] data, EscherSerializationListener listener)(Code) | | This method serializes this escher record into a byte array.
Parameters: offset - The offset into data to start writing the record data to. Parameters: data - The byte array to serialize to. Parameters: listener - A listener to retrieve start and end callbacks. Use a NullEscherSerailizationListener to ignore these events. The number of bytes written. See Also: NullEscherSerializationListener |
setLastMSOSPID | public void setLastMSOSPID(int field_2_lastMSOSPID)(Code) | | The last shape id used in this drawing group.
|
setNumShapes | public void setNumShapes(int field_1_numShapes)(Code) | | The number of shapes in this drawing group.
|
toString | public String toString()(Code) | | Returns the string representation of this record.
|
|
|