Class TextObjectRecord


public class TextObjectRecord extends TextObjectBaseRecord
  • Constructor Details

    • TextObjectRecord

      public TextObjectRecord()
    • TextObjectRecord

      public TextObjectRecord(RecordInputStream in)
  • Method Details

    • fillFields

      protected void fillFields(RecordInputStream in)
      Description copied from class: Record
      called by the constructor, should set class level fields. Should throw runtime exception for bad/icomplete data.
      Overrides:
      fillFields in class TextObjectBaseRecord
      Parameters:
      in - the RecordInputstream to read the record from
    • getRecordSize

      public int getRecordSize()
      Description copied from class: TextObjectBaseRecord
      Size of record (exluding 4 byte header)
      Overrides:
      getRecordSize in class TextObjectBaseRecord
    • serialize

      public int serialize(int offset, byte[] data)
      Description copied from class: Record
      called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.
      Overrides:
      serialize in class TextObjectBaseRecord
      Parameters:
      offset - to begin writing at
      data - byte array containing instance data
      Returns:
      number of bytes written
    • getStr

      public HSSFRichTextString getStr()
    • setStr

      public void setStr(HSSFRichTextString str)
    • toString

      public String toString()
      Description copied from class: Record
      get a string representation of the record (for biffview/debugging)
      Overrides:
      toString in class TextObjectBaseRecord