OpenOffice.org
XMerge API

org.openoffice.xmerge.converter.xml.sxc.pexcel.Records
Class LabelCell

java.lang.Object
  |
  +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
        |
        +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.LabelCell

public class LabelCell
extends BIFFRecord

Reperesent a BIFF Record descibing a cell containing a string


Constructor Summary
LabelCell(java.io.InputStream is)
          Reads a LabelCell from the InputStream
LabelCell(int row, int column, java.lang.String cellContents, int ixfe)
          Constructs a LabelCell using specified attributes
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int getCol()
          Get the column number of this cell
 java.lang.String getLabel()
          Gets the String representing the cells contents
 int getRow()
          Get the row number of this cell
 int read(java.io.InputStream input)
          Writes aLabelCell to the specified Outputstream
 void write(java.io.OutputStream output)
          Writes a LabelCell to the specified Outputstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelCell

public LabelCell(java.io.InputStream is)
          throws java.io.IOException
Reads a LabelCell from the InputStream
Parameters:
is - the Inputstream to read from

LabelCell

public LabelCell(int row,
                 int column,
                 java.lang.String cellContents,
                 int ixfe)
          throws java.io.IOException
Constructs a LabelCell using specified attributes
Parameters:
row - row number
col - column number
cellContents - contents of the cell
ixfe - font index
Method Detail

getBiffType

public short getBiffType()
Get the hex code for this particular BIFFRecord
Returns:
the hex code for LabelCell

getCol

public int getCol()
Get the column number of this cell
Returns:
the column number of this cell

getLabel

public java.lang.String getLabel()
                          throws java.io.IOException
Gets the String representing the cells contents
Returns:
the String representing the cells contents

getRow

public int getRow()
Get the row number of this cell
Returns:
the row number of this cell

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Writes aLabelCell to the specified Outputstream
Parameters:
os - the OutputStream to write to

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Writes a LabelCell to the specified Outputstream
Overrides:
write in class BIFFRecord
Parameters:
os - the OutputStream to write to

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org