Package com.adobe.xfa.text.markup
Class MarkupEngineOut
- java.lang.Object
-
- com.adobe.xfa.text.TextMarkupBase
-
- com.adobe.xfa.text.markup.MarkupOut
-
- com.adobe.xfa.text.markup.MarkupEngineOut
-
- Direct Known Subclasses:
MarkupRtfOut
,MarkupXHTMLOut
public class MarkupEngineOut extends MarkupOut
Class MarkupEngineout represents the output markup engine. Referring to it as an engine is perhaps a bit of a misnomer in that it doesn't actualloy drive the generation of output markup; that is instead controlled by a text stream, which makes a series of calls to the output engine.One derives a class from this in order to implement a markup engine for a particular language.
For more information, please see the extenral documentation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attr(TextAttr oAttr)
Overridden: Output an attribute change.void
closeScopedBlock()
void
openScopedBlock()
void
para()
Overridden: Output a paragraph mark.void
reset()
Reset the (derived) markup engine to its initial state.void
text(java.lang.String sStrText)
Overridden: Output raw text content.java.lang.String
translation()
Obtain the output markup.-
Methods inherited from class com.adobe.xfa.text.markup.MarkupOut
embed, field, suppressAttributes
-
Methods inherited from class com.adobe.xfa.text.TextMarkupBase
attributePtr, issueFirstPara, legacyPositioning, marker, markerEnd, markerStart
-
-
-
-
Method Detail
-
translation
public java.lang.String translation()
Obtain the output markup.- Returns:
- Result of the markup operation, as a text string.
-
reset
public void reset()
Reset the (derived) markup engine to its initial state.
-
text
public void text(java.lang.String sStrText)
Overridden: Output raw text content.
-
attr
public void attr(TextAttr oAttr)
Overridden: Output an attribute change.
-
openScopedBlock
public void openScopedBlock()
- Overrides:
openScopedBlock
in classTextMarkupBase
-
closeScopedBlock
public void closeScopedBlock()
- Overrides:
closeScopedBlock
in classTextMarkupBase
-
-