jet.report.xls
Class BLabel

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

public class BLabel
extends Blank
implements jet.report.xls.DataConstants

Specifies a label cell. That is, to write a String value to a cell.


Field Summary
 
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
BLabel(int row, int col, int ixfe, java.lang.String label, java.lang.String encoding)
          Constructs a BLabel object.
 
Method Summary
 java.lang.String getLabel()
          Gets lable string .
 int getLength()
          Gets this record length.
 void input(util.RandomAccessStream stream)
          Inputs label from input stream.
 int opcode()
          Gets the opcode of BLabel.
 int output(util.RandomAccessStream stream)
          Outputs the class BLabel.
 void setLable(java.lang.String str)
          Sets lable string.
 
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

BLabel

public BLabel(int row,
              int col,
              int ixfe,
              java.lang.String label,
              java.lang.String encoding)
Constructs a BLabel object.

Parameters:
row - the row number to locate the BLable (based 0)
col - the column number to locate the BLable (based 0)
ixfe - index to the Xf record, which you can get by GlobalWorksheet.getXfIndex(Xf)
label - value of the label
Method Detail

getLength

public int getLength()
Gets this record length.

Overrides:
getLength in class jet.report.xls.Biff

opcode

public final int opcode()
Gets the opcode of BLabel.

Overrides:
opcode in class Blank

setLable

public void setLable(java.lang.String str)
Sets lable string.


getLabel

public java.lang.String getLabel()
Gets lable string .


output

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

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

input

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

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