public final class NumberRecord extends CellRecord
REFERENCE: PG 334 Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
| Modifier and Type | Field and Description |
|---|---|
static short |
sid |
| Constructor and Description |
|---|
NumberRecord()
Creates new NumberRecord
|
NumberRecord(RecordInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendValueText(StringBuilder sb)
Append specific debug info (used by
CellRecord.toString() for the value
contained in this record. |
Object |
clone() |
protected String |
getRecordName()
Gets the debug info BIFF record type name (used by
CellRecord.toString(). |
short |
getSid()
return the non static version of the id for this record.
|
double |
getValue()
get the value for the cell
|
protected int |
getValueDataSize() |
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
|
void |
setValue(double value)
set the value for the cell
|
copyBaseFields, getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex, toStringgetRecordSize, serializecloneViaReserialise, serializepublic static final short sid
public NumberRecord()
public NumberRecord(RecordInputStream in)
in - the RecordInputstream to read the record frompublic void setValue(double value)
value - double representing the valuepublic double getValue()
protected String getRecordName()
CellRecordCellRecord.toString().getRecordName in class CellRecordprotected void appendValueText(StringBuilder sb)
CellRecordCellRecord.toString() for the value
contained in this record. Trailing new-line should not be appended
(superclass does that).appendValueText in class CellRecordprotected void serializeValue(LittleEndianOutput out)
CellRecordserializeValue in class CellRecordprotected int getValueDataSize()
getValueDataSize in class CellRecordpublic short getSid()
RecordCopyright © 2020. All rights reserved.