Package com.adobe.xfa.text.markup
Class MarkupRtfIn
java.lang.Object
com.adobe.xfa.text.markup.MarkupIn
com.adobe.xfa.text.markup.MarkupEngineIn
com.adobe.xfa.text.markup.MarkupRtfIn
This class is the RTF input 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.
For more information, please see the extenral documentation.
-
Constructor Summary
ConstructorsConstructorDescriptionMarkupRtfIn(String sStrSource) MarkupRtfIn(String sStrSource, MarkupAttr pMarkupAttr) Constructor with source string. -
Method Summary
Modifier and TypeMethodDescriptionbooleanskipThisCommand(int eTag) voidPure virtual: Perform the markup translation.Methods inherited from class com.adobe.xfa.text.markup.MarkupEngineIn
setSourceText
-
Constructor Details
-
MarkupRtfIn
Constructor with source string.- Parameters:
sStrSource- - RTF source string to translate.pMarkupAttr- - (optional) Pointer to RTF translation attribute table to use instead of the default. It is strongly recommended that you leave this parameter NULL (default).
-
MarkupRtfIn
-
-
Method Details
-
translate
public void translate()Description copied from class:MarkupInPure virtual: Perform the markup translation.The derived class implements this to perform the actual translation from markup to rich text. Note that the derived class must be prepopulated with any translation parameters.
- Overrides:
translatein classMarkupEngineIn
-
defaultTypeface
-
skipThisCommand
public boolean skipThisCommand(int eTag)
-