User`s guide
mlreportgen.dom.RawText class
12-249
Word XML markup or HTML markup, specified as a string. For a Word document, the
markup must be valid Word XML markup that can be inserted into the w:body element.
To improve the readability of your report document, consider assigning the markup to a
variable. Then use the variable as an input argument, as shown in the example below.
doctype — Type of markup to use
'html' | 'docx'
Type of markup to use, specified as a string.
Output Arguments
rawText — Word XML or HTML markup to insert in document
mlreportgen.dom.RawText object
Word XML or HTML markup to insert in document, represented by an
mlreportgen.dom.RawText object.
Properties
DOCXText — Text to output to Word document
string
Word XML markup, specified as a string. The value of this property is included in a Word
document. The markup must be valid Word XML markup that can be inserted into the
w:body element of a Word document.
HTMLText — Text to output to HTML document
string
HTML markup, specified as a string. The value of this property is included in an HTML
document. The text must be valid HTML markup that can be inserted into the body
element of an HTML document.
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.