User`s guide

mlreportgen.dom.TemplateHole class
12-325
determine the purpose of the hole when viewing the template in Microsoft Word (for
Word templates) or in a Web browser (for HTML templates). The description is replaced
by appended hole content in a report generated from the template.
Output Arguments
templateHoleObj — Hole to append to template
mlreportgen.dom.TemplateHole object
Hole to append to template, represented by an mlreportgen.dom.TemplateHole
object.
Properties
DefaultHoleStyleName — Name of default style for hole content
string
Name of default style for hole content. This style name is assigned to hole content that
does not specify a style name. For example, suppose you append a Text object to this
hole and the Text object does not specify a style name. Then the value of this property
is assigned to the text object as its style name. This property allows a template to specify
the appearance of appended content.
Description — Description of this hole
string
Description for the template hole, specified as a string. The value of this property
becomes the content of the hole in the template to which it is assigned to allow you to
determine the purpose of the hole when viewing the template in Microsoft Word (for
Word templates) or in a Web browser (for HTML templates). The description is replaced
by appended hole content in a report generated from the template.
HoleId — ID of this hole
string
ID of this template hole.
Id — ID for document element
string