User`s guide

12 Classes – Alphabetical List
12-162
Parent — Parent of this HTML object
a DOM object
This read-only property lists the parent of this HTML object.
Style — Formatting to apply to this HTML object
cell array of format objects
Formatting to apply to this HTML object, specified as a cell array of DOM format objects.
The children of this HTML object inherit any of these formats that they do not override.
StyleName — Style name of this HTML object
string
Style name of this HTML object, specified as a string. Use a name of a style specified in
the stylesheet of the document to which this HTML object is appended. The specified style
defines the appearance of the HTML object in the output document where not overridden
by the formats specified by this StyleName property of the HTML object.
Tag — Tag for HTML object
string
Tag for HTML object, specified as a string.
A session-unique ID is generated as part of HTML object 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
Examples
Convert HTML Text to a Word Report
Create an HTML object from HTML text to use for a Word report.
import mlreportgen.dom.*;