public abstract class TextMarkupBase extends Object
For more information, please see the extenral documentation.
| Constructor and Description |
|---|
TextMarkupBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
attr(TextAttr oAttr)
Change attributes in the rich text representation.
|
TextAttr |
attributePtr()
Query the attributes currently in effect.
|
void |
closeScopedBlock() |
void |
field(TextField poField)
Add a field to the rich text representation.
|
boolean |
issueFirstPara() |
boolean |
legacyPositioning() |
void |
marker(TextMarker poMarker)
Append a position marker to the markup output.
|
void |
markerEnd(TextMarker poMarker)
End a range marker in the markup output.
|
TextMarker |
markerStart(TextMarker poMarker)
Start a range marker in the markup output.
|
void |
openScopedBlock() |
abstract void |
para()
Output a paragraph break to the rich text representation.
|
abstract void |
text(String sText)
Add text to the rich text representation.
|
public abstract void text(String sText)
sText - - Text to be added.public abstract void attr(TextAttr oAttr)
Because the rich text representation is built up serially, this method sets the attributes for subsequent text, until called again.
oAttr - - Attributes to set. The implementation must honour
enabled attributes and carry forward disabled ones.public abstract void para()
public void field(TextField poField)
public void openScopedBlock()
public void closeScopedBlock()
public boolean issueFirstPara()
public boolean legacyPositioning()
public void marker(TextMarker poMarker)
poMarker - - Pointer to marker to append. Note that markers are
always cloned on insertion, so a copy actually gets inserted. The
caller continues to retain ownership of the instance referred to by
this parameter, and can delete it any time after the call.public TextMarker markerStart(TextMarker poMarker)
There must be a corresponding call to MarkerEnd() sometime later in the translation for the markup operation to be considered valid.
poMarker - - Pointer to marker to append. Note that markers are
always cloned on insertion, so a copy actually gets inserted. The
caller continues to retain ownership of the instance referred to by
this parameter, and can delete it any time after the call.public void markerEnd(TextMarker poMarker)
This must occur some time after a corresponding call to MarkerStart() earlier in the translation for the markup operation to be considered valid.
poMarker - - Pointer to the marker object returned by the
earlier call to MarkerStart(). The client must use the return value
of that earlier call, not the value passed into it. In making this
call, the client transfers ownership if its reference to AXTE and
must not subsequenty attempt to remove that reference on this marker.public TextAttr attributePtr()
Copyright © 2010 - 2020 Adobe. All Rights Reserved