Package org.apache.poi.hssf.record
Class OldCellRecord
java.lang.Object
org.apache.poi.hssf.record.OldCellRecord
- Direct Known Subclasses:
OldFormulaRecord
,OldLabelRecord
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).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
Append specific debug info (used bytoString()
for the value contained in this record.int
final short
protected abstract String
Gets the debug info BIFF record type name (used bytoString()
.final int
getRow()
short
getSid()
final short
get the index to the ExtendedFormat, for non-Biff2boolean
isBiff2()
Is this a Biff2 record, or newer?final String
toString()
-
Constructor Details
-
OldCellRecord
-
-
Method Details
-
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:
-
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() -
toString
-
appendValueText
Append specific debug info (used bytoString()
for the value contained in this record. Trailing new-line should not be appended (superclass does that).- Parameters:
sb
- the StringBuilder to append to
-
getRecordName
Gets the debug info BIFF record type name (used bytoString()
.- Returns:
- the debug info BIFF record type name
-