User`s guide
11 Functions – Alphabetical List
11-112
Full path for the zipped DOM template, including the file extension .htmtx, specified as
a string.
mainDocument — Name of main document file
string
Main document file name, including the file extension, specified as a string.
partTemplates — Document part library file name
string
Document part library file name, including the file extension, specified as a string.
More About
Tips
• If you created the unzipped template by unzipping a template created by using
mlreportgen.dom.Document.createTemplate or copying the template from a
default DOM template, you can use either of these syntaxes with no further action:
zipTemplate(unzippedTemplateFolder)
zipTemplate(zippedTemplate,unzippedTemplateFolder)
You can also use either of those two syntaxes if the unzipped template was created
without using the DOM interface and the template complies with the following
requirements.
• The main document file is named either report.html or root.html.
• The unzipped template either does not include a document part template
library file, or it includes a document part template library file named
docpart_templates.html.
• The unzipped template stores images in a folder named images.
If the unzipped template main document file is not named either report.html or
root.html, use the mainDocument input argument.
If the unzipped template includes a document part template library file with a name
other than docpart_templates.html, use the partTemplates input argument.