|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord | +--org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.FontDescription
Represents a BIFF Record descibing a font used
Constructor Summary | |
FontDescription(boolean italic,
boolean bold,
boolean underline)
Constructs a FontDescription from the bold italic and undelrine attributes |
|
FontDescription(java.io.InputStream is)
Constructs a Font Description from the InputStream |
Method Summary | |
boolean |
compareTo(FontDescription rhs)
|
short |
getBiffType()
Get the hex code for this particular BIFFRecord |
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isUnderline()
|
int |
read(java.io.InputStream input)
Constructs a Font Description 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 |
public FontDescription(boolean italic, boolean bold, boolean underline) throws java.io.IOException
italic
- Italic attributebold
- Bold attributeunderline
- Underline attributepublic FontDescription(java.io.InputStream is) throws java.io.IOException
InputStream
is
- InputStream containing a FontDescription
Method Detail |
public boolean compareTo(FontDescription rhs)
public short getBiffType()
BIFFRecord
FontDescription
public boolean isBold()
public boolean isItalic()
public boolean isUnderline()
public int read(java.io.InputStream input) throws java.io.IOException
InputStream
is
- InputStream containing a FontDescription
public void write(java.io.OutputStream output) throws java.io.IOException
BIFFRecord
write
in class BIFFRecord
org.openoffice.xmerge.converter.xml.sxc.pexcel.Records.BIFFRecord
output
- The output stream to write to in LittleEndian format.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |