User`s guide
mlreportgen.dom.ListItem class
12-205
mlreportgen.dom.ListItem class
Package: mlreportgen.dom
Create item for ordered or unordered list
Description
Specifies an item in an ordered (numbered) or unordered (bulleted) list.
Construction
listItemObj = ListItem() creates an empty list item.
listItemObj = ListItem(text) creates a list item using the specified text. The
constructor creates a Text object and appends the text object to the list item.
listItemObj = ListItem(text,styleName) creates a list item using the specified
text and applies the specified style.
listItemObj = ListItem(domObj) creates a list item and appends the specified
document element object to the list item.
listItemObj = ListItem(domObj,styleName) creates a list item using the
specified document element object and style name.
Input Arguments
text — Text for list item
string
The constructor creates an mlreportgen.dom.Text object for the specified text.
domObj — Document element object
a DOM object
You can specify a Paragraph object or elements that you can append to a paragraph,
including the following kinds of DOM objects:
• mlreportgen.dom.Text