<< Click to display table of contents >> TRVHTMLSaveProperties.ListMarkerSavingType |
Defines how paragraph lists are saved in HTML.
type // Defined in RVStyle.pas
TRVHTMLListMarkerSavingType = (
rvhtmlmstNormal,
rvhtmlmstAsText
);
property ListMarkerSavingType: TRVHTMLListMarkerSavingType;
(introduced in version 21)
Value |
Meaning |
---|---|
rvhtmlmstNormal |
Normal saving, using <ul>, <ol>, <li> tags |
rvhtmlmstAsText |
Saving list markers as text or images (depending on the marker type). |
When saving HTML using CSS (HTMLSavingType = rvhtmlstNormal), CSS of lists are inserted directly in HTML (in "style" attribute):
▪rvlstBullet, rvlstUnicodeBullet – if possible, exported as bullets with default markers (disc, circle or square); otherwise, as FormatString;
▪rvlstDecimal, rvlstLowerAlpha and other numbering – exported as lists with the proper numbering. FormatString and Font are ignored;
▪rvlstPicture, rvlstImageList, rvlstImageListCounter – exported as a bullet with picture. It's possible to change default image saving by OnHTMLSaveImage;
▪indents are saved
When saving without CSS (HTMLSavingType = rvhtmlstSimplified):
▪rvlstBullet, rvlstUnicodeBullet, rvlstPicture, rvlstImageList – exported as bullets with default markers (disc, circle or square). FormatString, Picture, ImageList and Font are ignored;
▪rvlstDecimal, rvlstLowerAlpha and other numbering – exported as lists with the proper numbering (if this numbering type cannot be represented in HTML, as a decimal numbering). FormatString and Font are ignored;
▪rvlstImageListCounter – saved as a decimal numbering;
▪indents are not saved.
Markers are saved without special HTML keywords for lists (like <ol>, <ul>, <li>).
Font and format strings settings are respected.
When saving HTML using CSS (HTMLSavingType = rvhtmlstNormal):
LeftIndent and MarkerIndent are retained. FirstIndent are retained for non-hanging markers only (MarkerIndent>LeftIndent+FirstIndent)..
When saving without CSS (HTMLSavingType = rvhtmlstSimplified): all indents are ignored.
Generally, HTML files saved with this option look closer to the original.
Default value:
rvhtmlmstNormal