public final class BoolErrRecord extends CellRecord
REFERENCE: PG ??? Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
BoolErrRecord()
Creates new BoolErrRecord
|
BoolErrRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendValueText(java.lang.StringBuilder sb)
Append specific debug info (used by
CellRecord.toString() for the value
contained in this record. |
java.lang.Object |
clone() |
boolean |
getBooleanValue()
get the value for the cell
|
byte |
getErrorValue()
get the error value for the cell
|
protected java.lang.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.
|
protected int |
getValueDataSize() |
boolean |
isBoolean()
Indicates whether the call holds a boolean value
|
boolean |
isError()
Indicates whether the call holds an error value
|
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
|
void |
setValue(boolean value)
set the boolean value for the cell
|
void |
setValue(byte value)
set the error value for the cell
|
copyBaseFields, getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex, toString
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public BoolErrRecord()
public BoolErrRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic void setValue(boolean value)
value
- representing the boolean valuepublic void setValue(byte value)
value
- error representing the error value
this value can only be 0,7,15,23,29,36 or 42
see bugzilla bug 16560 for an explanationpublic boolean getBooleanValue()
public byte getErrorValue()
public boolean isBoolean()
public boolean isError()
protected java.lang.String getRecordName()
CellRecord
CellRecord.toString()
.getRecordName
in class CellRecord
protected void appendValueText(java.lang.StringBuilder sb)
CellRecord
CellRecord.toString()
for the value
contained in this record. Trailing new-line should not be appended
(superclass does that).appendValueText
in class CellRecord
protected void serializeValue(LittleEndianOutput out)
CellRecord
serializeValue
in class CellRecord
protected int getValueDataSize()
getValueDataSize
in class CellRecord
public short getSid()
Record
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.