TRVStyleTemplateCollection

Properties   Methods

<< Click to display table of contents >>

TRVStyleTemplateCollection

Properties   Methods

Collection of "real" styles of text and paragraphs. Class of TRVStyle.StyleTemplates property.

Unit RVStyle.

Syntax

TRVStyleTemplateCollection = class(TCollection)

(introduced in version 14)

Hierarchy

TObject

TPersistent

TCollection

Main Properties

Items – array of TRVStyleTemplate.

DefStyleName – a format string used to generate names of new items.

Main Methods

AssignStyleTemplates assigns another collection to this collection;

FindById, FindItemById search for items by their identifiers;

FindByName, FindItemByName search for items by their names;

LoadFromRVST, SaveToRVST save and load the collection to a file;

LoadFromStreamRVST, SaveToStreanRVST save and load the collection to a stream (Delphi 10.3+);

ResetNameCounter resets a counter used to generate names for new items.

See also

Styles and style templates.