jet.report.xls
Class BoolErr

java.lang.Object
  extended by jet.report.xls.Biff
      extended by jet.report.xls.Blank
          extended by jet.report.xls.BoolErr
All Implemented Interfaces:
jet.report.xls.DataConstants

public class BoolErr
extends Blank

It is a boolean cell.


Field Summary
static byte DIV0
          for "#DIV/0!"
static byte NA
          for "#N/A"
static byte NONENAME
          for "#NAME?"
static byte NONENUM
          for "#NUM!"
static byte NONEVALUE
          for "#VALUE!"
static byte NULL
          for"#NULL"
static byte REF
          for "#REF!"
 
Fields inherited from class jet.report.xls.Biff
AI, AREA, AREAFORMAT, ATTACHEDLABEL, AXCEXT, AXESUSED, AXIS, AXISLINEFORMAT, AXISPARENT, BACKUP, BAR, BEGIN, BFONT, BLANK, BOF, BOOKBOOL, BOOLERR, BOPPOP, BOTTOMMARGIN, BOUNDSHEET, CALCCOUNT, CALCMODE, CATERRANGE, CHART, CHART3D, CHARTDATALABELEXT, CHARTFORMAT, CHARTLINE, CODEPAGE, COLINFO, CONTINUE, COUNTRY, DATAFORMAT, DATE1904, DBCELL, DCON, DCONNAME, DCONREF, DEFCOLWIDTH, DEFROWHEIGHT, DEFTEXT, DELTA, DIMENSIONS, DROPBAR, DSF, END, EOF, EXTERNCOUNT, EXTERNSHEET, EXTSST, FBI, FILEPASS, FNGROUPCOUNT, FONTX, FOOTER, FORMAT, FORMULA, FRAME, FTCF, FTCMO, FTEND, FTPIOGRBIT, GELFRAME, GRIDSET, GUTS, HCENTER, HEADER, HIDEOBJ, HLINK, HORIZONTALPAGEBREAKS, IFMT, INDEX, INTEGER, INTERFACEEND, INTERFACEHDR, ITERATION, LABEL, LABELSST, LEFTMARGIN, LEGEND, LEGENDDXN, LINE, LINEFORMAT, MARKERFORMAT, MERGECELLS, MMS, MSODRAWING, MSODRAWINGGROUP, MSODRAWINGSELECTION, MSODRAWINGUNKNOWN, NAME, NOTE, NUMBER, OBJ, OBJECTLINK, PALETTE, PANE, PASSWORD, PIE, PIEFORMAT, PLOTAREA, PLOTGROWTH, PLS, POS, PRECISION, PRINTGRIDLINES, PRINTHEADERS, PROT4REV, PROT4REVPASS, PROTECT, RADAR, RADARAREA, REFMODE, REFRESHALL, RIGHTMARGIN, RK, ROW, SAVERECALC, SCATTER, SCL, SELECTION, SERFORMAT, SERIES, SERIESTEXT, SERTOCRT, SETUP, SHTPROPS, SIINDEX, SST, STRING, STYLE, SUPBOOK, SURFACE, TABID, TABLE, TEXT, TICK, TIP, TOPMARGIN, UNITS, UNKNOWN, UNKNOWN1, UNKNOWN10, UNKNOWN2, UNKNOWN3, UNKNOWN4, UNKNOWN5, UNKNOWN6, UNKNOWN7, UNKNOWN8, UNKNOWN9, USESELFS, VALUERANGE, VCENTER, VERTICALPAGEBREAKS, WINDOW1, WINDOW2, WINDOWPROTECT, WRITEACCESS, WSBOOL, XF
 
Fields inherited from interface jet.report.xls.DataConstants
BIG_BLOCK_SIZE, BYTE, DIRECTORY_TYPE, DOCUMENT_TYPE, DOUBLE, FLOAT, INT, LONG, MAX_LENGTH, MAX_RECORD_SIZE, MIN_DOC_SIZE, PROPERTY_SIZE, PROPERTY_TYPE_OFFSET, ROOT_TYPE, SHORT, SMALL_BLOCK_SIZE, UNUSED_BLOCK
 
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(util.RandomAccessStream stream)
          Inputs the class BoolErr from input stream.
 int opcode()
          Gets the opcode of the BoolErr record.
 int output(util.RandomAccessStream stream)
          Outputs the class BoolErr.
 void setBoolValue(boolean value)
          Sets the BoolValue, which can be true or false.
 void setErrValue(byte value)
          Sets Error value.
 
Methods inherited from class jet.report.xls.Blank
getCol, getIxfe, getRow, setCol, setIxfe, setRow
 
Methods inherited from class jet.report.xls.Biff
getLength
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final byte NULL
for"#NULL"

See Also:
Constant Field Values

DIV0

public static final byte DIV0
for "#DIV/0!"

See Also:
Constant Field Values

NONEVALUE

public static final byte NONEVALUE
for "#VALUE!"

See Also:
Constant Field Values

REF

public static final byte REF
for "#REF!"

See Also:
Constant Field Values

NONENAME

public static final byte NONENAME
for "#NAME?"

See Also:
Constant Field Values

NONENUM

public static final byte NONENUM
for "#NUM!"

See Also:
Constant Field Values

NA

public static final byte NA
for "#N/A"

See Also:
Constant Field Values
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, which you can get by invoking the method GlobalWorksheet.getXfIndex(Xf)
bBoolErr - Boolean value or Error value.
fError - Boolean/Error flag The length of the record body is 8.
Method Detail

opcode

public final int opcode()
Gets the opcode of the BoolErr record.

Overrides:
opcode in class Blank

setBoolValue

public void setBoolValue(boolean value)
Sets the BoolValue, which can be true or false. Sets the boolean value for the cell.

Parameters:
value - true or false As for method setBoolValue(boolean value) and method setErrValue(byte), only the last invoked one can be used.

setErrValue

public void setErrValue(byte value)
Sets Error value. NA NULL NONENAME NONENUM NONEVALUE DIV0 REF As for method setBoolValue(boolean value) and method setErrValue(byte), only the last invoked one can be used.


output

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

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

input

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

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