Top Description Fields Constructors Methods
org.apache.poi.hssf.record

public final Class OldLabelRecord

extends OldCellRecord
Class Inheritance
Imports
java.util.Map, java.util.function.Supplier, org.apache.logging.log4j.LogManager, .Logger, org.apache.poi.hssf.usermodel.HSSFWorkbook, org.apache.poi.util.GenericRecordUtil, .IOUtils, .RecordFormatException

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 Summary

Modifier and TypeField and Description
public static final short
public static final short
private CodepageRecord
private short
private final byte[]
private static final Logger

Constructor Summary

AccessConstructor and Description
public
OldLabelRecord(RecordInputStream
the RecordInputstream to read the record from
in
)

Method Summary

Modifier and TypeMethod and Description
public Map<String, Supplier<?>>
public HSSFRecordTypes
public int
public short

Returns:

number of characters
getStringLength
()

get the number of characters this string contains

public String

Returns:

the String of the cell
getValue
()

Get the String of the cell

public int

Returns:

not supported
serialize
(int
not supported
offset
,
byte[]
not supported
data
)

Not supported

public void
Inherited from org.apache.poi.hssf.record.OldCellRecord:
getCellAttrsgetColumngetRowgetSidgetXFIndexisBiff2toString

Field Detail

biff2_sidback to summary
public static final short biff2_sid
biff345_sidback to summary
public static final short biff345_sid
codepageback to summary
private CodepageRecord codepage
field_4_string_lenback to summary
private short field_4_string_len
field_5_bytesback to summary
private final byte[] field_5_bytes
LOGback to summary
private static final Logger LOG

Constructor Detail

OldLabelRecordback to summary
public OldLabelRecord(RecordInputStream in)
Parameters
in:RecordInputStream

the RecordInputstream to read the record from

Method Detail

getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

Overrides org.apache.poi.hssf.record.OldCellRecord.getGenericProperties.

Implements org.apache.poi.common.usermodel.GenericRecord.getGenericProperties.

Annotations
@Override
getGenericRecordTypeback to summary
public HSSFRecordTypes getGenericRecordType()

Overrides default org.apache.poi.common.usermodel.GenericRecord.getGenericRecordType.

Annotations
@Override
getRecordSizeback to summary
public int getRecordSize()
getStringLengthback to summary
public short getStringLength()

get the number of characters this string contains

Returns:short

number of characters

getValueback to summary
public String getValue()

Get the String of the cell

Returns:String

the String of the cell

serializeback to summary
public int serialize(int offset, byte[] data)

Not supported

Parameters
offset:int

not supported

data:byte[]

not supported

Returns:int

not supported

setCodePageback to summary
public void setCodePage(CodepageRecord codepage)