User`s guide

12 Classes – Alphabetical List
12-318
'docx'— Word output
'html-file'— HTML output consisting of a single file that contains the text, style
sheets, JavaScript®, and images for the report
If you specify a template using the templatePath input argument, the template must be
consistent with the type argument. You must specify a Word template (.dotx) for docx
output, an HTML template package (.htmtx) for HTML output, and a single-file HTML
template (.html) for html-file output.
sourceTemplatePath — Location of template to copy
string
The location of the template to copy. The source template used is based on the type of
template specified in the type input argument.
Output Arguments
templateObj — Template for document
mlreportgen.dom.Template object
Template, represented by an mlreportgen.dom.Template object.
Properties
Children — Children of this document
cell array of mlreportgen.dom.Element objects
This read-only property lists child elements that the document element contains.
CurrentHoleId — Hole ID of current hole in document
string
This read-only property is the hole ID of the current hole in this document.
CurrentHoleType — Type of current hole
string
This read-only property is the type (inline or block) of the current template hole.
An inline hole is for document elements that a paragraph element can contain: Text,
Image, LinkTarget, ExternalLink, InternalLink, CharEntity, AutoNumber.