public class MarkupXHTMLOut extends MarkupEngineOut
| Constructor and Description |
|---|
MarkupXHTMLOut() |
MarkupXHTMLOut(MarkupAttr pMarkupAttr) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits,
TextAttr poAmbientAttrs) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits,
TextAttr poAmbientAttrs,
boolean bIncludeAmbientAttrs) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits,
TextAttr poAmbientAttrs,
boolean bIncludeAmbientAttrs,
boolean bBreakupOutput) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits,
TextAttr poAmbientAttrs,
boolean bIncludeAmbientAttrs,
boolean bBreakupOutput,
boolean bExpandEmbed) |
MarkupXHTMLOut(MarkupAttr pMarkupAttr,
int eDefaultUnits,
TextAttr poAmbientAttrs,
boolean bIncludeAmbientAttrs,
boolean bBreakupOutput,
boolean bExpandEmbed,
boolean bRoundTextSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attr(TextAttr oAttr)
Overridden: Output an attribute change.
|
void |
expandEmbed(boolean bExpand) |
void |
field(TextField poField)
Add a field to the rich text representation.
|
boolean |
issueFirstPara() |
void |
para()
Overridden: Output a paragraph mark.
|
void |
reset()
Reset the (derived) markup engine to its initial state.
|
void |
text(String oStrText)
Overridden: Output raw text content.
|
String |
translation()
Obtain the resulting markup.
|
closeScopedBlock, openScopedBlockembed, suppressAttributesattributePtr, legacyPositioning, marker, markerEnd, markerStartpublic MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput, boolean bExpandEmbed, boolean bRoundTextSize)
pMarkupAttr - - (optional) Markup attribute table to use instead
of the defalt. It is strongly recommended that you pass NULL
(default).
eDefaultUnits - (optional) Default units. All non-text unit values
are converted to this unit before writing. Default is inches.poAmbientAttrs - - (optional) Ambient attributes that can be
inherited from the environment and therefore don't need to be written
out. Default is NULL, no ambient attributes.bIncludeAmbientAttrs - - TRUE if ambient attributes are to be
used to make up for attributes missing in the source text; FALSE
(dafault) if ambient attributes can be suppressed altogether.
bBreakOutput - TRUE (default) to put in the occasional new-line when
allowed in order to prevent one very long line. FALSE to place all
the output on a single line.bExpandEmbed - - TRUE (default) if embedded field content is to
be expanded in-line; FALSE to generate field references.bRoundTextSize - - TRUE (default) if the text sizes are to be
rounded to the nearest 0.05pt.public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput, boolean bExpandEmbed)
public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput)
public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs)
public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs)
public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits)
public MarkupXHTMLOut(MarkupAttr pMarkupAttr)
public MarkupXHTMLOut()
public void reset()
MarkupEngineOutreset in class MarkupEngineOutpublic String translation()
translation in class MarkupEngineOutpublic void text(String oStrText)
MarkupEngineOuttext in class MarkupEngineOutoStrText - - Text content to add to the markup output.public void attr(TextAttr oAttr)
MarkupEngineOutattr in class MarkupEngineOutoAttr - - Attribute change to add to the markup output.public void para()
MarkupEngineOutpara in class MarkupEngineOutpublic void field(TextField poField)
TextMarkupBasepublic boolean issueFirstPara()
issueFirstPara in class TextMarkupBasepublic void expandEmbed(boolean bExpand)
Copyright © 2010 - 2020 Adobe. All Rights Reserved