OpenOffice.org
XMerge API

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

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

public class NumberFormat
extends BIFFRecord

Represents a BIFF Record describing a number format


Constructor Summary
NumberFormat(java.io.InputStream is)
          Constructs a NumberFormat Record from the InputStream
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
          Reads the NumberFormat from the InputStream Byte array containg strings are doubled in length becuse they use unicode
 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

NumberFormat

public NumberFormat(java.io.InputStream is)
             throws java.io.IOException
Constructs a NumberFormat Record from the InputStream
Parameters:
is - InputStream containing the record data
Method Detail

getBiffType

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

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Reads the NumberFormat from the InputStream Byte array containg strings are doubled in length becuse they use unicode
Returns:
the 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