Class MarkupXHTMLOut


public class MarkupXHTMLOut extends MarkupEngineOut
  • Constructor Details

    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput, boolean bExpandEmbed, boolean bRoundTextSize)
      Constructor.
      Parameters:
      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.
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput, boolean bExpandEmbed)
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs, boolean bBreakupOutput)
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs, boolean bIncludeAmbientAttrs)
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits, TextAttr poAmbientAttrs)
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr, int eDefaultUnits)
    • MarkupXHTMLOut

      public MarkupXHTMLOut(MarkupAttr pMarkupAttr)
    • MarkupXHTMLOut

      public MarkupXHTMLOut()
  • Method Details

    • reset

      public void reset()
      Description copied from class: MarkupEngineOut
      Reset the (derived) markup engine to its initial state.
      Overrides:
      reset in class MarkupEngineOut
    • translation

      public String translation()
      Obtain the resulting markup.
      Overrides:
      translation in class MarkupEngineOut
      Returns:
      Generated markup, as a string.
    • text

      public void text(String oStrText)
      Description copied from class: MarkupEngineOut
      Overridden: Output raw text content.
      Overrides:
      text in class MarkupEngineOut
      Parameters:
      oStrText - - Text content to add to the markup output.
    • attr

      public void attr(TextAttr oAttr)
      Description copied from class: MarkupEngineOut
      Overridden: Output an attribute change.
      Overrides:
      attr in class MarkupEngineOut
      Parameters:
      oAttr - - Attribute change to add to the markup output.
    • para

      public void para()
      Description copied from class: MarkupEngineOut
      Overridden: Output a paragraph mark.
      Overrides:
      para in class MarkupEngineOut
    • field

      public void field(TextField poField)
      Description copied from class: TextMarkupBase
      Add a field to the rich text representation.
      Overrides:
      field in class MarkupOut
    • issueFirstPara

      public boolean issueFirstPara()
      Overrides:
      issueFirstPara in class TextMarkupBase
    • expandEmbed

      public void expandEmbed(boolean bExpand)