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
-
public class MarkupRtfIn extends MarkupEngineIn
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
Constructors Constructor Description MarkupRtfIn(java.lang.String sStrSource)
MarkupRtfIn(java.lang.String sStrSource, MarkupAttr pMarkupAttr)
Constructor with source string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
defaultTypeface()
boolean
skipThisCommand(int eTag)
void
translate()
Pure virtual: Perform the markup translation.-
Methods inherited from class com.adobe.xfa.text.markup.MarkupEngineIn
setSourceText
-
-
-
-
Constructor Detail
-
MarkupRtfIn
public MarkupRtfIn(java.lang.String sStrSource, MarkupAttr pMarkupAttr)
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
public MarkupRtfIn(java.lang.String sStrSource)
-
-
Method Detail
-
translate
public void translate()
Description copied from class:MarkupIn
Pure 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:
translate
in classMarkupEngineIn
-
defaultTypeface
public java.lang.String defaultTypeface()
-
skipThisCommand
public boolean skipThisCommand(int eTag)
-
-