User`s guide
mlreportgen.dom.Document class
12-73
Output Arguments
documentObj — Report definition document
mlreportgen.dom.Document object
Report definition document, represented by an mlreportgen.dom.Document 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.
• A block hole can contain a Paragraph, Table, OrderedList, UnorderedList,
DocumentPart, and Group.
CurrrentDOCXSection — The current section of Word document
mlreportgen.dom.DOCXSection object
This read-only property for a Word document is a mlreportgen.dom.DOCXSection
object that specifies the properties, as well as the headers and footers, of the current
document section. In HTML documents, the value of this property is always [].
ForceOverwrite — Option to overwrite existing output file
[] (default) | logical value
Set this property to true to overwrite an existing output file of the same name for a
report from this document. If this property is false, or if the existing output file is read-