OpenOffice.org
XMerge API

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

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

public class Formula
extends BIFFRecord

Represents a BIFF Record describing a formula


Constructor Summary
Formula(java.io.InputStream is)
          Constructs a pocket Excel Document from the InputStream and assigns it the document name passed in
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
          Reads the formula data members from the stream.
 void write(java.io.OutputStream output)
          Writes the record, including the BIFF record byte to the outputstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Formula

public Formula(java.io.InputStream is)
        throws java.io.IOException
Constructs a pocket Excel Document from the InputStream and assigns it the document name passed in
Parameters:
is - InputStream containing a Pocket Excel Data file.
Method Detail

getBiffType

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

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Reads the formula data members from the stream. Byte arrays for Strings are doubled as they are stored as unicode
Returns:
total number of bytes read

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Description copied from class: BIFFRecord
Writes the record, including the BIFF record byte to the outputstream
Overrides:
write in class BIFFRecord
Following copied from class: org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
Parameters:
output - The output stream to write to in LittleEndian format.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org