User`s guide
12 Classes – Alphabetical List
12-80
Type of output, specified as 'html', 'docx' or 'html-file'.
• 'html'— HTML output
• 'docx'— Word output
• 'html-file'— HTML output, using a single file that contains the CSS, JavaScript,
and images for the report
If you specify a template using the templatePath input argument, the value for type
must be consistent with that type of template.
To generate a PDF report, create a Word report and use the rptview function with the
'pdf' argument to convert the Word report to PDF.
templatePath — Path of document template
[] | string
You cannot set this property once the document has been opened.
If you do not want to use the default HTML or Word template, specify a template.
Full path of output file or folder for the template. If you do not specify a file extension,
the extension is based on the document type (for example, .docx for Word).
embeddedTemplateName — Embedded template name
string
An embedded template is a template that is embedded in a Word template.
templateSrc — Document or document part whose template is master template
mlreportgen.dom.Document object | mlreportgen.dom.DocumentPart object
Document or document part whose template is the master template, specified as an
mlreportgen.dom.Document or mlreportgen.dom.DocumentPart object.
Output Arguments
documentPartObj — Document part
mlreportgen.dom.DocumentPart object
Document part, represented by an mlreportgen.dom.DocumentPart object.