Class RtfFontManager
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager
RTF font table.
This work was authored by Andreas Putz (a.putz@skynamics.com).
-
Method Summary
Modifier and TypeMethodDescriptionint
getFontNumber
(String family) Gets the number of font in the font tablestatic RtfFontManager
Singelton.void
writeFonts
(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) Writes the font table in the header.
-
Method Details
-
getInstance
Singelton.- Returns:
- The instance of RtfFontManager
-
getFontNumber
Gets the number of font in the font table- Parameters:
family
- Font family name ('Helvetica')- Returns:
- The number of the font in the table
-
writeFonts
Writes the font table in the header.- Parameters:
header
- The header container to write in- Throws:
IOException
- On error
-