User`s guide

Create and Format Lists
13-57
Create a Word List Style
To define a list style in a Word template, select List as the style type in the Create
New Style from Formatting dialog box (see “Add Styles to a Word Template” on page
13-118).
Create an HTML List Style
To define a list style in an HTML template cascading style sheet (CSS), use the ul
element for unordered list styles and the ol element for ordered list styles. You can use
the parent element selector (>) to define multilevel list styles. For example, this CSS
code defines the appearance of a two-level unordered list that can contain ordered or
unordered sublists.
ul.MyUnorderedList {
list-style-type:disc;
}
ul.MyUnorderedList > ul {
list-style-type:circle;
}
ul.MyUnorderedList > ol {
list-style-type:decimal;
}
For information about editing a cascading style sheet (CSS), see documentation such as
the W3Schools.com CSS tutorial.
See Also
Classes
mlreportgen.dom.ListItem | mlreportgen.dom.OrderedList |
mlreportgen.dom.UnorderedList
Functions
mlreportgen.dom.OrderedList.append
Related Examples
“Use Style Sheets” on page 13-21