org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfFontManager
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager
public final class RtfFontManager
extends java.lang.Object
RTF font table
- Andreas Putz a.putz@skynamics.com
getFontNumber
public int getFontNumber(String family)
Gets the number of font in the font table
family
- Font family name ('Helvetica')
- The number of the font in the table
getInstance
public static RtfFontManager getInstance()
Singelton.
- The instance of RtfFontManager
writeFonts
public void writeFonts(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader header)
throws IOException
Writes the font table in the header.
header
- The header container to write in
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.