<< Click to display table of contents >> TRVHTMLReaderProperties.EnforceListLevels |
This property specifies whether the components should choose to keep a list level or a list type.
property EnforceListLevels: Boolean;
(introduced in version 21)
In HTML model, all lists have only one level, and lists can be nested.
In TRichView (like in Microsoft Word), lists may have multiple levels but cannot be nested.
As a result, the following list cannot be loaded as it is (because it has different type of markers at the second level):
•itemA
oitemAA
•itemA
1. itemBA
If rvmdloEnforceListLevels is included, this list is loaded as:
•itemA (level 1)
oitemAA (level 2)
•itemB (level 1)
oitemBA (level 2)
If rvmdloEnforceListLevels is excluded, this list is loaded like the following list:
•itemA (level 1)
oitemAA (level 2)
•itemB (level 1)
1. itemBA (level 3)
Default value:
True
See also:
▪rvmdloEnforceListLevels option in TRichView.MarkdownProperties.LoadOptions