| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private static int | |
| private static final byte[] | |
| public static final short | |
| private byte[] | thedata
The data for this record not including the 8 byte header |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public EscherTextboxRecord | copy()
Implements abstract org. Implements org.
|
| public int | fillFields(byte[]
The byte array containing the serialized escher
records. data, int The offset into the byte array. offset, EscherRecordFactory A factory for creating new escher records. recordFactory)Implements abstract org. The contract of this method is to deserialize an escher record including its children. |
| public byte[] | |
| public Map | |
| public Enum | |
| public static int | |
| public String | getRecordName()
Implements abstract org. Subclasses should return the short name for this escher record. |
| public int | getRecordSize()
Implements abstract org. Subclasses should effeciently return the number of bytes required to serialize the record. |
| public int | serialize(int
the offset within the byte array offset, byte[] the data array to serialize to data, EscherSerializationListener 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. listener)Implements abstract org. Serializes the record to an existing byte array. |
| public void | setData(byte[]
the buffer which contains the data b, int the start position in the buffer start, int the length of the block length)Sets the extra data (in the parent application's format) to be contained by the record. |
| public void | setData(byte[]
the data b)Sets the extra data (in the parent application's format) to be contained by the record. |
| public static void |
| DEFAULT_MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int DEFAULT_MAX_RECORD_LENGTH | |
| MAX_RECORD_LENGTH | back to summary |
|---|---|
| private static int MAX_RECORD_LENGTH | |
| NO_BYTES | back to summary |
|---|---|
| private static final byte[] NO_BYTES | |
| RECORD_ID | back to summary |
|---|---|
| public static final short RECORD_ID | |
| thedata | back to summary |
|---|---|
| private byte[] thedata The data for this record not including the 8 byte header | |
| EscherTextboxRecord | back to summary |
|---|---|
| public EscherTextboxRecord() | |
| EscherTextboxRecord | back to summary |
|---|---|
| public EscherTextboxRecord(EscherTextboxRecord other) | |
| copy | back to summary |
|---|---|
| public EscherTextboxRecord copy() Implements abstract org. Implements org.
| |
| fillFields | back to summary |
|---|---|
| public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) Implements abstract org. Doc from org. The contract of this method is to deserialize an escher record including its children.
| |
| getData | back to summary |
|---|---|
| public byte[] getData() Returns any extra data associated with this record. In practice excel does not seem to put anything here, but with PowerPoint this will contain the bytes that make up a TextHeaderAtom followed by a TextBytesAtom/TextCharsAtom
| |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public Enum Overrides default org.
| |
| getMaxRecordLength | back to summary |
|---|---|
public static int getMaxRecordLength()
| |
| getRecordName | back to summary |
|---|---|
| public String getRecordName() Implements abstract org. Doc from org. Subclasses should return the short name for this escher record. | |
| getRecordSize | back to summary |
|---|---|
| public int getRecordSize() Implements abstract org. Doc from org. Subclasses should effeciently return the number of bytes required to serialize the record.
| |
| serialize | back to summary |
|---|---|
| public int serialize(int offset, byte[] data, EscherSerializationListener listener) Implements abstract org. Doc from org. Serializes the record to an existing byte array.
| |
| setData | back to summary |
|---|---|
| public void setData(byte[] b, int start, int length) Sets the extra data (in the parent application's format) to be contained by the record. Used when the parent application changes the contents.
| |
| setData | back to summary |
|---|---|
| public void setData(byte[] b) Sets the extra data (in the parent application's format) to be contained by the record. Used when the parent application changes the contents.
| |
| setMaxRecordLength | back to summary |
|---|---|
public static void setMaxRecordLength(int length)
| |