Package org.apache.poi.hssf.record
Class OldCellRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.OldCellRecord
-
- All Implemented Interfaces:
GenericRecord
- Direct Known Subclasses:
OldFormulaRecord
,OldLabelRecord
public abstract class OldCellRecord extends Object implements GenericRecord
Base class for all old (Biff 2 - Biff 4) cell value records (implementors ofCellValueRecordInterface
). Subclasses are expected to manage the cell data values (of various types).
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OldCellRecord(RecordInputStream in, boolean isBiff2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCellAttrs()
short
getColumn()
Map<String,Supplier<?>>
getGenericProperties()
int
getRow()
short
getSid()
short
getXFIndex()
get the index to the ExtendedFormat, for non-Biff2boolean
isBiff2()
Is this a Biff2 record, or newer?String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
OldCellRecord
protected OldCellRecord(RecordInputStream in, boolean isBiff2)
-
-
Method Detail
-
getRow
public final int getRow()
-
getColumn
public final short getColumn()
-
getXFIndex
public final short getXFIndex()
get the index to the ExtendedFormat, for non-Biff2- Returns:
- index to the XF record
- See Also:
ExtendedFormatRecord
-
getCellAttrs
public int getCellAttrs()
-
isBiff2
public boolean isBiff2()
Is this a Biff2 record, or newer?- Returns:
- true, if this is a Biff2 record or newer
-
getSid
public short getSid()
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericProperties
in interfaceGenericRecord
-
-