org.openoffice.xmerge.converter.xml.sxc.pexcel.Records
Class ColInfo
java.lang.Object
|
+--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
|
+--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.ColInfo
- public class ColInfo
- extends BIFFRecord
ColInfo describes the formatting for a column
Constructor Summary |
ColInfo(java.io.InputStream is)
Construct a ColInfo from the InputStream |
ColInfo(int colFirst,
int colLast,
int colDX,
byte grbit)
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)
|
void |
write(java.io.OutputStream output)
Writes a ColInfo to the specified Outputstream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColInfo
public ColInfo(java.io.InputStream is)
throws java.io.IOException
- Construct a ColInfo from the InputStream
- Parameters:
is
- the Inputstream
to read from
ColInfo
public ColInfo(int colFirst,
int colLast,
int colDX,
byte grbit)
- Constructs a pocket Excel Document from the
InputStream
and assigns it the document name passed in
- Parameters:
colFirst
- the first column this formatting applies tocolLast
- last column this formatting applies tocoldx
- column widthgrbit
- options flags
getBiffType
public short getBiffType()
- Get the hex code for this particular
BIFFRecord
- Returns:
- the hex code for
ColInfo
read
public int read(java.io.InputStream input)
throws java.io.IOException
write
public void write(java.io.OutputStream output)
throws java.io.IOException
- Writes a ColInfo to the specified
Outputstream
- Overrides:
write
in class BIFFRecord
- Parameters:
os
- the OutputStream
to write to
Copyright © 2002 OpenOffice.org