TCustomRVFontInfo.ParaStyleTemplateId

<< Click to display table of contents >>

TCustomRVFontInfo.ParaStyleTemplateId

Links this text style to the style template of paragraph.

property ParaStyleTemplateId: TRVStyleTemplateId;

(introduced in version 14)

This property is used only if style templates are used.

This property is redundant: the style template of paragraph is linked using TParaInfo.StyleTemplateId. However, it is necessary to distinguish text styles having all identical properties but used for text in paragraphs linked to different style templates.

TRichView ensures for all text items that their TextStyle.ParaStyleTemplateId=ParaStyle.StyleTemplateId. If not, it automatically links the item to another text style with the correct properties (adding it to the end of TextStyles, if necessary).