| |
|
| java.lang.Object org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.BoolErrRecord
BoolErrRecord | public class BoolErrRecord extends Record implements CellValueRecordInterface,Comparable(Code) | | Creates new BoolErrRecord.
REFERENCE: PG ??? Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
author: Michael P. Harhen author: Jason Height (jheight at chariot dot net dot au) version: 2.0-pre |
Field Summary | |
final public static short | sid |
sid | final public static short sid(Code) | | |
BoolErrRecord | public BoolErrRecord()(Code) | | Creates new BoolErrRecord
|
BoolErrRecord | public BoolErrRecord(RecordInputStream in)(Code) | | Constructs a BoolErr record and sets its fields appropriately.
Parameters: in - the RecordInputstream to read the record from |
fillFields | protected void fillFields(RecordInputStream in)(Code) | | Parameters: in - the RecordInputstream to read the record from |
getBooleanValue | public boolean getBooleanValue()(Code) | | get the value for the cell
boolean representing the boolean value |
getColumn | public short getColumn()(Code) | | |
getErrorValue | public byte getErrorValue()(Code) | | get the error value for the cell
byte representing the error value |
getRecordSize | public int getRecordSize()(Code) | | |
getRow | public int getRow()(Code) | | |
getSid | public short getSid()(Code) | | |
isBoolean | public boolean isBoolean()(Code) | | Indicates whether the call holds a boolean value
boolean true if the cell holds a boolean value |
isError | public boolean isError()(Code) | | Indicates whether the call holds an error value
boolean true if the cell holds an error value |
isInValueSection | public boolean isInValueSection()(Code) | | |
isValue | public boolean isValue()(Code) | | |
serialize | public int serialize(int offset, byte[] data)(Code) | | called by the class that is responsible for writing this sucker.
Subclasses should implement this so that their data is passed back in a
byte array.
byte array containing instance data |
setColumn | public void setColumn(short col)(Code) | | |
setError | public void setError(boolean val)(Code) | | manually indicate this is an error rather than a boolean
|
setRow | public void setRow(int row)(Code) | | |
setValue | public void setValue(boolean value)(Code) | | set the boolean value for the cell
Parameters: value - representing the boolean value |
setValue | public void setValue(byte value)(Code) | | set the error value for the cell
Parameters: value - error representing the error valuethis value can only be 0,7,15,23,29,36 or 42see bugzilla bug 16560 for an explanation |
validateSid | protected void validateSid(short id)(Code) | | called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
Parameters: id - alleged id for this record |
|
|
|