Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » ddf » [javadoc | source]
org.apache.poi.ddf
public class: EscherTextboxRecord [javadoc | source]
java.lang.Object
   org.apache.poi.ddf.EscherRecord
      org.apache.poi.ddf.EscherTextboxRecord
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.
Field Summary
public static final  short RECORD_ID     
public static final  String RECORD_DESCRIPTION     
Constructor:
 public EscherTextboxRecord() 
Method from org.apache.poi.ddf.EscherTextboxRecord Summary:
clone,   fillFields,   getData,   getRecordName,   getRecordSize,   serialize,   setData,   setData,   toString
Methods from org.apache.poi.ddf.EscherRecord:
clone,   display,   fillFields,   fillFields,   getChild,   getChildRecords,   getInstance,   getOptions,   getRecordId,   getRecordName,   getRecordSize,   isContainerRecord,   readHeader,   serialize,   serialize,   serialize,   setChildRecords,   setOptions,   setRecordId
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.ddf.EscherTextboxRecord Detail:
 public Object clone() 
 public int fillFields(byte[] data,
    int offset,
    EscherRecordFactory recordFactory) 
    This method deserializes the record from a byte array.
 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
 public String getRecordName() 
    The short name for this record
 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) 
 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.
 public String toString()