User`s guide

mlreportgen.dom.ListItem class
12-207
Format objects that specify the format of a document element.
Parent — Parent of document element
DOM object
This read-only property lists the parent of this document element.
StyleName — This property is ignored
string
This property is ignored.
Tag — Tag for document element
string
Tag for document element, specified as a string.
A session-unique ID is generated as part of document element creation. The generated
tag has the form CLASS:ID, where CLASS is the class of the element and ID is the value
of the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Methods
Method Purpose
append
Use ListItem.append in a similar way
as you use Paragraph.append, except you
can append different content to a list item
than to a paragraph.
Append a string or any of these kinds of
DOM objects to a list item:
Text
Paragraph
Table
Image
ExternalLink
InternalLink
CustomElement