public final class RtfFontManager extends Object
RTF font table.
This work was authored by Andreas Putz (a.putz@skynamics.com).
Modifier and Type | Method and Description |
---|---|
int |
getFontNumber(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(String family)
family
- Font family name ('Helvetica')public void writeFonts(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws IOException
header
- The header container to write inIOException
- On errorCopyright © 2025 Apache Software Foundation. All rights reserved.