bullets TrvActionParaList

Properties   Methods

<< Click to display table of contents >>

bullets TrvActionParaList

Properties   Methods

TrvActionParaList is the action for "Bullets and Numbering" command.

Unit RichViewActions;

Syntax

TrvActionParaList = class(TrvActionParaStyles)

hmtoggle_arrow1Hierarchy

Description

This action displays a bullet & numbering dialog. Two kinds of dialogs are used, depending on the value of GetControlPanel.UserInterface: a general dialog and an HTML dialog.

In the general kind of dialog, the user can choose from predefined templates (may be after customizing them). If the caret is placed in the paragraph having bullets or numbering, the current list style takes the place of one of these templates, so the user can customize it. All templates have 9 list levels (maximal possible count that can be saved in RTF). For numbered styles, the user can choose to continue or to reset numbering, or to create a new list.

In the HTML kind of dialog, templates cannot be customized. All templates have 1 level. The "level" field in this dialog actually does not mean a list level, it affects only indenting (MarkerIndent of list level is IndentStep*level). For numbered styles, the user can choose to continue or to reset numbering.

When applying bullets (without numbered levels), the action tries to reuse existing list styles with the same properties, if they exist. The action may apply properties to TrvActionParaBullets actions.

When applying numbering (if at least one level is numbered), the action uses list styles around the selection (if they exist and have identical properties with the chosen properties). If it's not possible, the action tries to reuse unused list styles (if they exist and have identical properties with the chosen properties). Otherwise, a new list is created. If all levels are numbered, the action may apply properties to TrvActionParaNumbering actions.