Package com.adobe.xfa.text.markup
Class MarkupEngineIn
java.lang.Object
com.adobe.xfa.text.markup.MarkupIn
com.adobe.xfa.text.markup.MarkupEngineIn
- Direct Known Subclasses:
MarkupRtfIn,MarkupXHTMLIn
Class MarkupEngineIn defines a general-purpose markup engine
for handling RTF-like markup languages. Most of the actual parsing
of the markup language and the sequencing of rich text generation
calls to the base class (MarkupIn) occurs in this class. The
derived class primarily supplies tables to drive the process.
Unfortunately this model doesn't work well for XHTML markup. Even though the XHTML input markup engine extends this class, it does most of the processing itself.
For more information, please see the extenral documentation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetSourceText(String sStrSource) Set the source markup string to parse.voidPure virtual: Perform the markup translation.
-
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.
-
setSourceText
Set the source markup string to parse.- Parameters:
sStrSource- - String containing the markup to process.
-