User`s guide
12 Classes – Alphabetical List
12-76
Type — Type of output
'html' (default) | 'docx' | 'html-file'
Type of output, specified as 'html', 'docx' or 'html-file'.
• 'html'— HTML output HTML output as a zipped or unzipped folder containing the
HTML document text, image, style sheet, and JavaScript files
• '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 property, 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.
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.
Methods
Method Purpose
addHTML Append HTML string to document
addHTMLFile Append HTML file contents to document
append Append document element to the
document.
close Close this document.
createAutoNumberStream Create automatically generated numbering
stream.
createTemplate Create document template.
fill Fill document hole.
getAutoNumberStream Get the automated numbering stream.
getCoreProperties Get core properties of document.
getMainPartPath Get relative path of main part of output
document.