TrvActionIndent

Properties   Methods

<< Click to display table of contents >>

TrvActionIndent

Properties   Methods

TrvActionIndent is a base class for the actions changing indents in the selected paragraphs.

Unit RichViewActions;

Syntax

TrvActionIndent = class(TrvActionParaStyles)

hmtoggle_arrow1Hierarchy

Description

The actions inherited from this class perform the following operations:

change LeftIndent property of styles for the selected paragraphs (RVStyle.ParaStyles[].LeftIndent); for paragraphs styles having BiDiMode=rvbdRightToLeft, RightIndent is changed instead;

change list levels for all paragraphs with bullets&numbering (by calling TCustomRichViewEdit.ChangeListLevels).

The actions do not change indents of list styles for bulleted or numbered paragraphs, they promote/demote their levels instead.

To do: to implement changing of LeftIndent property of list style, if bullets or numbering has only one level.

This action is not used directly. The following actions are inherited from it:

TrvActionIndentDec

TrvActionIndentInc