jet.report.xls
Class BoolErr

java.lang.Object
  extended by Biff
      extended by jet.report.xls.Blank
          extended by jet.report.xls.BoolErr

public class BoolErr
extends Blank

Description: Cell Value, Boolean or Error Record Body Length: 8 bytes Record Body Byte Structure: Byte Number Byte Description Contents (hex) 0-1 Row 2-3 Column 4-6 Index to the record 7 Boolean value or error value 8-263 Boolean/error flag A BoolErr class extends Blank class.


Field Summary
 
Fields inherited from class jet.report.xls.Blank
META
 
Constructor Summary
BoolErr(int row, int col, int ixfe, byte bBoolErr, byte fError)
          Constructs a BoolErr record and sets its fields appropriately.
 
Method Summary
 void input(RandomAccessStream stream)
          input class BoolErr from input stream
 int opcode()
          get the opcode of BoolErr.
 int output(RandomAccessStream stream)
          output class BoolErr.
 void setBoolValue(boolean value)
          set BoolValue, true or false .
 void setErrValue(byte value)
          set Error value, 0 for #NULL, 7 for #DIV/0!, 15 for #VALUE!, 23 for #REF!, 29 for #NAME?, 36 for #NUM!, 42 for #N/A.
 
Methods inherited from class jet.report.xls.Blank
getCol, getIxfe, getRow, setCol, setIxfe, setRow
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoolErr

public BoolErr(int row,
               int col,
               int ixfe,
               byte bBoolErr,
               byte fError)
Constructs a BoolErr record and sets its fields appropriately.

Parameters:
row - The row number to locate the BoolErr(based 0)
col - The column number to locate the BoolErr(based 0)
ixfe - Index to the Xf record
bBoolErr - Boolean value or Error value.
fError - Boolean/Error flag the length of the body is 8
Method Detail

opcode

public final int opcode()
get the opcode of BoolErr.

Overrides:
opcode in class Blank

setBoolValue

public void setBoolValue(boolean value)
set BoolValue, true or false .


setErrValue

public void setErrValue(byte value)
set Error value, 0 for #NULL, 7 for #DIV/0!, 15 for #VALUE!, 23 for #REF!, 29 for #NAME?, 36 for #NUM!, 42 for #N/A.


output

public int output(RandomAccessStream stream)
           throws java.io.IOException
output class BoolErr.

Overrides:
output in class Blank
Throws:
java.io.IOException

input

public void input(RandomAccessStream stream)
           throws java.io.IOException
input class BoolErr from input stream

Overrides:
input in class Blank
Throws:
java.io.IOException