OpenOffice.org
XMerge API

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

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

public class DefinedName
extends BIFFRecord

Represents a BIFF Record representing a defined name in the workbook


Constructor Summary
DefinedName(java.io.InputStream is)
          Constructs a Defined Name from the InputStream
 
Method Summary
 short getBiffType()
          Get the hex code for this particular BIFFRecord
 int read(java.io.InputStream input)
          Reads a Defined Name from the InputStream The byte array must be twice the size of the String as it uses 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

DefinedName

public DefinedName(java.io.InputStream is)
            throws java.io.IOException
Constructs a Defined Name 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 DefinedName

read

public int read(java.io.InputStream input)
         throws java.io.IOException
Reads a Defined Name from the InputStream The byte array must be twice the size of the String as it uses unicode.
Parameters:
is - InputStream containing the record data

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