public final class RtfFontManager
extends java.lang.Object
RTF font table.
This work was authored by Andreas Putz (a.putz@skynamics.com).
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(org.apache.fop.render.rtf.rtflib.rtfdoc.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(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws java.io.IOException
header
- The header container to write injava.io.IOException
- On errorCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.