Class OldLabelRecord

java.lang.Object
org.apache.poi.hssf.record.OldCellRecord
org.apache.poi.hssf.record.OldLabelRecord
All Implemented Interfaces:
GenericRecord

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()
    • getGenericRecordType

      public HSSFRecordTypes getGenericRecordType()
    • getGenericProperties

      public Map<String,Supplier<?>> getGenericProperties()
      Specified by:
      getGenericProperties in interface GenericRecord
      Overrides:
      getGenericProperties in class OldCellRecord