jet.report.xls
Class ColInfo

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

public class ColInfo
extends jet.report.xls.Biff

Description: Specifies a spreadsheet ColInfo
Record Body Length: 12 bytes
Record Body Byte Structure:

     Byte Number     Byte Description                             Byte Name

          0-1        First formatted column                        colFirst
          2-3        Last formatted column                         colLast
          4-5        Column width, in 1/256th of a character width  coldx
          6-7        Index to XF record that contains the 
                     default format for the column                 ixfe                    
          8-9        Options                                       grbit
         10-11       RESERVED                                      zero
 
A ColInfo class extends Biff class.


Field Summary
static short COLLAPSED
           
static short HIDDEN
           
static short OUTLEVEL
           
 
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
ColInfo()
          Constructs a ColInfo record
ColInfo(short colFirst, short colLast, short coldx, short ixfe, short grbit)
          Constructs a ColInfo record and sets its fields appropriately.
 
Method Summary
 boolean getCollapsed()
          get whether the cells are collapsed
 boolean getHidden()
          get whether or not these cells are hidden
 boolean getOutLevel()
          get the outline level for the cells
 void input(util.RandomAccessStream stream)
          input ColInfo from input stream
 int opcode()
          get the opcode of ColInfo.
 int output(util.RandomAccessStream stream)
          output the class colInfo.
 void setCollapsed(boolean fCollapsed)
          set whether the cells are collapsed
 void setHidden(boolean hidden)
          set whether or not these cells are hidden
 void setOutLevel(boolean outlevel)
          set the outline level for the cells
 
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

HIDDEN

public static final short HIDDEN
See Also:
Constant Field Values

OUTLEVEL

public static final short OUTLEVEL
See Also:
Constant Field Values

COLLAPSED

public static final short COLLAPSED
See Also:
Constant Field Values
Constructor Detail

ColInfo

public ColInfo()
Constructs a ColInfo record


ColInfo

public ColInfo(short colFirst,
               short colLast,
               short coldx,
               short ixfe,
               short grbit)
Constructs a ColInfo record and sets its fields appropriately.

Parameters:
colFirst - The first formatted column
colLast - The last formatted column
coldx - Column width, in 1/256th of a character width
ixfe - Index to XF record that contains the default format for the column
grbit - Options
Method Detail

opcode

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

Specified by:
opcode in class jet.report.xls.Biff

output

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

Overrides:
output in class jet.report.xls.Biff
Throws:
java.io.IOException

input

public void input(util.RandomAccessStream stream)
           throws java.io.IOException
input ColInfo from input stream

Overrides:
input in class jet.report.xls.Biff
Throws:
java.io.IOException

setCollapsed

public void setCollapsed(boolean fCollapsed)
set whether the cells are collapsed

Parameters:
fCollapsed - - true if the cells are collapsed

getCollapsed

public boolean getCollapsed()
get whether the cells are collapsed

Returns:
true if the cells are collapsed

setOutLevel

public void setOutLevel(boolean outlevel)
set the outline level for the cells

Parameters:
outlevel - -outline level for the cells

getOutLevel

public boolean getOutLevel()
get the outline level for the cells

Returns:
outline level for the cells

setHidden

public void setHidden(boolean hidden)
set whether or not these cells are hidden

Parameters:
hidden - - true if the cells are hidden.

getHidden

public boolean getHidden()
get whether or not these cells are hidden

Returns:
true if the cells are hidden.