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

public abstract Class OldCellRecord

extends Object
implements GenericRecord
Class Inheritance
All Implemented Interfaces
org.apache.poi.common.usermodel.GenericRecord
Known Direct Subclasses
org.apache.poi.hssf.record.OldFormulaRecord, org.apache.poi.hssf.record.OldLabelRecord
Imports
java.util.Map, java.util.function.Supplier, org.apache.poi.common.usermodel.GenericRecord, org.apache.poi.util.GenericRecordJsonWriter, .GenericRecordUtil

Base class for all old (Biff 2 - Biff 4) cell value records (implementors of CellValueRecordInterface). Subclasses are expected to manage the cell data values (of various types).

Field Summary

Modifier and TypeField and Description
private final int
private final short
private int
private short
private final boolean
private final short

Constructor Summary

AccessConstructor and Description
protected
OldCellRecord(RecordInputStream in, boolean isBiff2)

Method Summary

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

Returns:

index to the XF record
getXFIndex
()

get the index to the ExtendedFormat, for non-Biff2

public boolean

Returns:

true, if this is a Biff2 record or newer
isBiff2
()

Is this a Biff2 record, or newer?

public final String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

field_1_rowback to summary
private final int field_1_row
field_2_columnback to summary
private final short field_2_column
field_3_cell_attrsback to summary
private int field_3_cell_attrs
field_3_xf_indexback to summary
private short field_3_xf_index
isBiff2back to summary
private final boolean isBiff2
sidback to summary
private final short sid

Constructor Detail

OldCellRecordback to summary
protected OldCellRecord(RecordInputStream in, boolean isBiff2)

Method Detail

getCellAttrsback to summary
public int getCellAttrs()
getColumnback to summary
public final short getColumn()
getGenericPropertiesback to summary
public Map<String, Supplier<?>> getGenericProperties()

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

Annotations
@Override
getRowback to summary
public final int getRow()
getSidback to summary
public short getSid()
getXFIndexback to summary
public final short getXFIndex()

get the index to the ExtendedFormat, for non-Biff2

Returns:short

index to the XF record

See Also
org.apache.poi.hssf.record.ExtendedFormatRecord
isBiff2back to summary
public boolean isBiff2()

Is this a Biff2 record, or newer?

Returns:boolean

true, if this is a Biff2 record or newer

toStringback to summary
public final String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override