mlreportgen.dom.TemplateDOCXStyle Class
Namespace: mlreportgen.dom
Description
This class represents a DOCX style defined by a DOCX template (.dotx
)
file. Opening a DOCX template creates an array containing an instance of this class for each
style defined by the source template file. You can access the styles via the
TemplateStyles
object of the template's Stylesheet
property.
This class indicates only that a style exists in the source DOCX template and that the style is copied to generated templates. You cannot view or modify the style formats for objects of this class, only replace the object or remove it from a style sheet. To view the formats for an object of this class, open the source DOCX template in Microsoft® Word and inspect the style. If you determine the style does not meet your requirements, create new text, paragraph, linked, table, or list styles programmatically and set the formats as needed.
The mlreportgen.dom.TemplateDOCXStyle
class is a handle
class.
Properties
Examples
Version History
Introduced in R2024a