public class RtfFontManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
getFontNumber(java.lang.String family)
Gets the number of font in the font table
|
static RtfFontManager |
getInstance()
Singelton.
|
void |
writeFonts(RtfHeader header)
Writes the font table in the header.
|
public static RtfFontManager getInstance()
public int getFontNumber(java.lang.String family)
family - Font family name ('Helvetica')public void writeFonts(RtfHeader header) throws java.io.IOException
header - The header container to write injava.io.IOException - On error