OpenOffice.org
XMerge API

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

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

public class ExtendedFormat
extends BIFFRecord

Represents a BIFF Record descibing extended formatting information


Constructor Summary
ExtendedFormat(java.io.InputStream is)
          Constructs an ExtendedFormat from the InputStream
ExtendedFormat(int ixfnt)
          Constructs a pocket Excel Document using defualt values and sets the font index using the specified attribute
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
          Reads the extended format from the Inputstream
 void write(java.io.OutputStream output)
          Writes the ExtendedFormat to the Outputstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedFormat

public ExtendedFormat(java.io.InputStream is)
               throws java.io.IOException
Constructs an ExtendedFormat from the InputStream
Parameters:
is - InputStream to read from

ExtendedFormat

public ExtendedFormat(int ixfnt)
Constructs a pocket Excel Document using defualt values and sets the font index using the specified attribute
Parameters:
ixfnt - index of the font this format should use
Method Detail

getBiffType

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

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Reads the extended format from the Inputstream
Parameters:
input - the Inputstreamto read
Returns:
toal number of bytes read

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
Writes the ExtendedFormat to the Outputstream
Overrides:
write in class BIFFRecord
Parameters:
output - the Outputstreamto write to

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org