Class RtfFontManager

java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFontManager

public final class RtfFontManager extends Object

RTF font table.

This work was authored by Andreas Putz (a.putz@skynamics.com).

  • Method Details

    • getInstance

      public static RtfFontManager getInstance()
      Singelton.
      Returns:
      The instance of RtfFontManager
    • getFontNumber

      public int getFontNumber(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 IOException
      Writes the font table in the header.
      Parameters:
      header - The header container to write in
      Throws:
      IOException - On error