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 Detail

      • MarkupRtfOut

        public MarkupRtfOut​(MarkupAttr pMarkupAttr,
                            java.util.List<GFXColour> pColorTable,
                            java.util.List<java.lang.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,
                            java.util.List<GFXColour> pColorTable)
      • MarkupRtfOut

        public MarkupRtfOut​(MarkupAttr pMarkupAttr)
      • MarkupRtfOut

        public MarkupRtfOut()
    • Method Detail

      • translation

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