<< Click to display table of contents >>
|
TrvActionParaList is the action for "Bullets and Numbering" command.
Unit RichViewActions;
Syntax
TrvActionParaList = class(TrvActionParaStyles)
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction |
Description
The action displays a dialog window where the user can choose from the predefined list templates (may be after customizing them). If the caret is placed at 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 and DocX). For numbered styles, the user can choose to continue or to reset numbering, or to create a new list.
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.