Package com.adobe.xfa.text.markup
Class MarkupRtfOut
java.lang.Object
com.adobe.xfa.text.TextMarkupBase
com.adobe.xfa.text.markup.MarkupOut
com.adobe.xfa.text.markup.MarkupEngineOut
com.adobe.xfa.text.markup.MarkupRtfOut
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 Summary
ConstructorsConstructorDescriptionMarkupRtfOut(MarkupAttr pMarkupAttr) MarkupRtfOut(MarkupAttr pMarkupAttr, List<GFXColour> pColorTable) MarkupRtfOut(MarkupAttr pMarkupAttr, List<GFXColour> pColorTable, List<String> pFontTable) Constructor. -
Method Summary
Methods inherited from class com.adobe.xfa.text.markup.MarkupEngineOut
attr, closeScopedBlock, openScopedBlock, para, reset, textMethods inherited from class com.adobe.xfa.text.markup.MarkupOut
embed, field, suppressAttributesMethods inherited from class com.adobe.xfa.text.TextMarkupBase
attributePtr, issueFirstPara, legacyPositioning, marker, markerEnd, markerStart
-
Constructor Details
-
MarkupRtfOut
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
-
MarkupRtfOut
-
MarkupRtfOut
public MarkupRtfOut()
-
-
Method Details
-
translation
Obtain the resulting markup.- Overrides:
translationin classMarkupEngineOut- Returns:
- Generated markup, as a string.
-