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(OutputStream out)
unused
|
void |
writeDefinition(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(OutputStream out) throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementout - The OutputStream to write the content toIOExceptionpublic int getFontNumber(RtfFont font)
font - The font to get the id forpublic void writeDefinition(OutputStream result) throws IOException
writeDefinition in interface RtfExtendedElementresult - The OutputStream to write the element definition toIOExceptionCopyright © 2015. All rights reserved.