com.lowagie.text.rtf.style
public class RtfFontList extends RtfElement implements RtfExtendedElement
Field Summary | |
---|---|
static byte[] | DEFAULT_FONT
Constant for the default font |
ArrayList | fontList
The list of fonts |
static byte[] | FONT_NUMBER
Constant for the font number |
static byte[] | FONT_TABLE
Constant for the font table |
Constructor Summary | |
---|---|
RtfFontList(RtfDocument doc)
Creates a RtfFontList
|
Method Summary | |
---|---|
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 |
Parameters: doc The RtfDocument this RtfFontList belongs to
Parameters: font The font to get the id for
Returns: The index of the font