Numbered Sequences in TRichView Documents
Numbered sequence is a non-text item looking like text and displaying a number. For example, this item type can be used for numbering pictures, tables or formulas. This text cannot be wrapped (always displayed on one line).
Class for this item type is TRVSeqItemInfo (see for detailed information).
Style of this item type: rvsSequence (-202)
The following items are inherited from numbered sequences:
The following viewer-style method adds item of this type to the end of the document:
The following method returns TRVSeqItemInfo object
The following editor-style method inserts item of this type in the position of caret:
The following method returns TRVSeqItemInfo object at the position of caret:
The following methods change properties of items as editing operations:
Additionally, it has properties:
▪NumberType – numbering type;
▪SeqName – name of a sequence (this item continues numbering from the previous item having the same name of a sequence);
▪FormatString – optional format string; if defined, a text to display is formatted according to this string.
These properties are also accessible as rvespcSeqName, rvespcSeqFormatString, rveipcSeqStartFrom, rveipcSeqReset, rveipcSeqNumberType properties. Accessing them in this way allows changing them in editing operations.
Export to HTML and text
Numbered sequences are exported as a plain text.
Numbered sequences can be exported in RTF (all main properties are saved except for FormatString).