Class RtfFontManager
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager
-
public final class RtfFontManager extends java.lang.ObjectRTF font table.
This work was authored by Andreas Putz (a.putz@skynamics.com).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFontNumber(java.lang.String family)Gets the number of font in the font tablestatic RtfFontManagergetInstance()Singelton.voidwriteFonts(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header)Writes the font table in the header.
-
-
-
Method Detail
-
getInstance
public static RtfFontManager getInstance()
Singelton.- Returns:
- The instance of RtfFontManager
-
getFontNumber
public int getFontNumber(java.lang.String family)
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
public void writeFonts(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header) throws java.io.IOExceptionWrites the font table in the header.- Parameters:
header- The header container to write in- Throws:
java.io.IOException- On error
-
-