| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherClientDataRecord
EscherClientDataRecord | public class EscherClientDataRecord extends EscherRecord (Code) | | The EscherClientDataRecord is used to store client specific data about the position of a
shape within a container.
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 | getRecordId() Returns the identifier of this record. | public String | getRecordName() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public byte[] | getRemainingData() Any data recording this record. | 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 | setRemainingData(byte[] remainingData) Any data recording this record. | 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. |
getRecordId | public short getRecordId()(Code) | | Returns the identifier of this record.
|
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 |
getRemainingData | public byte[] getRemainingData()(Code) | | Any data recording this record.
|
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 |
setRemainingData | public void setRemainingData(byte[] remainingData)(Code) | | Any data recording this record.
|
toString | public String toString()(Code) | | Returns the string representation of this record.
|
|
|