OpenOffice.org
XMerge API

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

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

public class Selection
extends BIFFRecord

Represents a BIFF Record that describes the selected area of a worksheet


Constructor Summary
Selection()
          Constructor
Selection(java.io.InputStream is)
          Constructs a Selection Record from the InputStream
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
          Reads a Selection Record from the InputStream
 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

Selection

public Selection()
Constructor

Selection

public Selection(java.io.InputStream is)
          throws java.io.IOException
Constructs a Selection Record from the InputStream
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 Selection

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Reads a Selection Record from the InputStream
Parameters:
is - InputStream containing a Pocket Excel Data file.

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