You are here: Object Model Reference > Preformatted Property

Preformatted Property

This property affects how text formatted with this style appears in HTML-based targets. It is especially useful for source code examples where you dont want text wrap and white space adjustments.


Applies To


Paragraph Style


If this property is set to True, the text formatted with this style is enclosed in a <pre> tag in the resulting HTML. This ensures that there is no text wrap and white spaces are treated literally. See HTML documentation for more information about the <pre> tag.

NOTE: This property can be set to True only for paragraph styles with Style.Type=Body text.


      Click the Project Icon.

      From the Style Properties in the left pane, choose Paragraph Styles.

      Choose a Paragraph Style from the right.

      This property is located under the Display group in the Properties Pane.