| java.lang.Object org.apache.poi.ddf.EscherRecord org.apache.poi.ddf.EscherTextboxRecord
EscherTextboxRecord | public class EscherTextboxRecord extends EscherRecord (Code) | | Holds data from the parent application. Most commonly used to store
text in the format of the parent application, rather than in
Escher format. We don't attempt to understand the contents, since
they will be in the parent's format, not Escher format.
author: Glen Stampoultzis (glens at apache.org) author: Nick Burch (nick at torchbox dot com) |
Method Summary | |
public Object | clone() | 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 byte[] | getData() Returns any extra data associated with this record. | public String | getRecordName() | public int | getRecordSize() Returns the number of bytes that are required to serialize this record. | public int | serialize(int offset, byte[] data, EscherSerializationListener listener) Writes this record and any contained records to the supplied byte
array. | 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. | public void | setData(byte[] b) | public String | toString() |
RECORD_DESCRIPTION | final public static String RECORD_DESCRIPTION(Code) | | |
RECORD_ID | final public static short RECORD_ID(Code) | | |
EscherTextboxRecord | public EscherTextboxRecord()(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. |
getData | public byte[] getData()(Code) | | 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
|
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 |
serialize | public int serialize(int offset, byte[] data, EscherSerializationListener listener)(Code) | | Writes this record and any contained records to the supplied byte
array.
the number of bytes written. |
setData | public void setData(byte[] b, int start, int length)(Code) | | 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 | public void setData(byte[] b)(Code) | | |
|
|