|Top Previous Next|
TrvActionParaNumbering is the action for "Numbering" command.
TrvActionParaNumbering = class(TrvActionCustomParaListSwitcher)
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.
RichViewActions © trichview.com