TRVStyle.TextStyles

<< Click to display table of contents >>

TRVStyle.TextStyles

This is one of key properties of TRVStyle: a collection of text attributes (styles).

property TextStyles : TFontInfos;

Text styles define fonts and other text attributes in documents.

The first text style in the collection (TextStyles[0]) has some additional meaning:

breaks with color = rvclNone (default value) have the color of this style;

Charset of this style is used for saving language information in HTML files (unless HTML files are saved in UTF-8 encoding);

in some cases this style is used as default, so it's recommended to use it as a style of normal text; please do not set rvprDoNotAutoSwitch in Protection for this style;

TextStyles[0] can be hypertext, but it is not recommended.

See also properties:

ParaStyles;

ListStyles.

See also types:

TFontInfos (collection of text styles);

TFontInfo (item in collection of text styles).