Class MarkupRtfOut


public class MarkupRtfOut extends MarkupEngineOut
This class is the RTF output markup engine. To use it, one creates an instance, passing the string to be translated in a constructor parameter. Then the engine is passed to a Markup() method on either a text stream or range. Finally, one calls the Translation() method on this class to obtain the resulting markup.

For more information, please see the extenral documentation.

  • Constructor Details

    • MarkupRtfOut

      public MarkupRtfOut(MarkupAttr pMarkupAttr, List<GFXColour> pColorTable, List<String> pFontTable)
      Constructor.
      Parameters:
      pMarkupAttr - - (optional) Markup attribute table to use instead of the defalt. It is strongly recommended that you pass NULL (default).
      pColorTable - - (optional) Colour table.
      pFontTable - - (optional) Font table.
    • MarkupRtfOut

      public MarkupRtfOut(MarkupAttr pMarkupAttr, List<GFXColour> pColorTable)
    • MarkupRtfOut

      public MarkupRtfOut(MarkupAttr pMarkupAttr)
    • MarkupRtfOut

      public MarkupRtfOut()
  • Method Details

    • translation

      public String translation()
      Obtain the resulting markup.
      Overrides:
      translation in class MarkupEngineOut
      Returns:
      Generated markup, as a string.