rvico TRichView Reference | Global constants and variables

RichViewAutoAssignNormalStyleTemplate Typed Constant

Top  Previous  Next

Unit RVStyle.

Syntax

const

  RichViewAutoAssignNormalStyleTemplate: Boolean = True;

(introduced in version 14)

This constant controls how unstyled paragraphs (i.e. paragraphs not linked to any style template) are loaded from RTF and RVF files/streams, if style templates are used.

If True, "Normal" style template (if it exists) is assigned to paragraph styles of the loaded document.

If False, -1 is assigned to paragraph styles of the loaded document.

This constant affects the both loading and insertion. See also TRichView.StyleTemplateInsertMode property.

See also:

Styles and style templates.


TRichView © trichview.com