numbering TrvActionParaNumbering

Properties

Top  Previous  Next

TrvActionParaNumbering is the action for "Numbering" command.

Unit RichViewActions;

Syntax

TrvActionParaNumbering = class(TrvActionCustomParaListSwitcher)

hmtoggle_arrow1Hierarchy

Description

This action applies or removes numbering to the selected paragraphs.

This action does not introduce any new properties in addition to properties of TrvActionCustomParaListSwitcher.

ListLevels should contain numbered levels.

When applying lists, the action does the following:

1.if the paragraph before the selection, the selection or the paragraph after the selection contains a list style with the same properties as ListLevels, applies this list style;

2.otherwise, if RVStyle.ListStyles has unused list style with the same properties as ListLevels, applies this list style;

3.otherwise, creates a new list style, assigns ListLevels to it, applies this list style.

See also:

TrvActionParaBullets

TrvActionParaList


RichViewActions © trichview.com