Class OldLabelRecord

java.lang.Object
org.apache.poi.hssf.record.OldCellRecord
org.apache.poi.hssf.record.OldLabelRecord

public final class OldLabelRecord extends OldCellRecord
Biff2 - Biff 4 Label Record (0x0004 / 0x0204) - read only support for strings stored directly in the cell, from the older file formats that didn't use LabelSSTRecord
  • Field Details

  • Constructor Details

    • OldLabelRecord

      public OldLabelRecord(RecordInputStream in)
      Parameters:
      in - the RecordInputstream to read the record from
  • Method Details

    • setCodePage

      public void setCodePage(CodepageRecord codepage)
    • getStringLength

      public short getStringLength()
      get the number of characters this string contains
      Returns:
      number of characters
    • getValue

      public String getValue()
      Get the String of the cell
      Returns:
      the String of the cell
    • serialize

      public int serialize(int offset, byte[] data)
      Not supported
      Parameters:
      offset - not supported
      data - not supported
      Returns:
      not supported
    • getRecordSize

      public int getRecordSize()
    • appendValueText

      protected void appendValueText(StringBuilder sb)
      Description copied from class: OldCellRecord
      Append specific debug info (used by OldCellRecord.toString() for the value contained in this record. Trailing new-line should not be appended (superclass does that).
      Specified by:
      appendValueText in class OldCellRecord
      Parameters:
      sb - the StringBuilder to append to
    • getRecordName

      protected String getRecordName()
      Description copied from class: OldCellRecord
      Gets the debug info BIFF record type name (used by OldCellRecord.toString().
      Specified by:
      getRecordName in class OldCellRecord
      Returns:
      the debug info BIFF record type name