public class RtfFontList extends RtfElement implements RtfExtendedElement
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
FONT_NUMBER
Constant for the font number
|
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfFontList(RtfDocument doc)
Creates a RtfFontList
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFontNumber(RtfFont font)
Gets the index of the font in the list of fonts.
|
void |
writeContent(java.io.OutputStream out)
unused
|
void |
writeDefinition(java.io.OutputStream result)
Writes the definition of the font list
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInHeader, setInTable, setRtfDocumentpublic RtfFontList(RtfDocument doc)
doc - The RtfDocument this RtfFontList belongs topublic void writeContent(java.io.OutputStream out)
throws java.io.IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementout - The OutputStream to write the content tojava.io.IOExceptionpublic int getFontNumber(RtfFont font)
font - The font to get the id forpublic void writeDefinition(java.io.OutputStream result)
throws java.io.IOException
writeDefinition in interface RtfExtendedElementresult - The OutputStream to write the element definition tojava.io.IOExceptionCopyright © 2017. All Rights Reserved.