Document Parts and Embedded Files
Use the DOM API to include document parts and embed files in a document.
Classes
| mlreportgen.dom.DocumentPart | Create a document part object | 
| mlreportgen.dom.HTMLPage | Create a single HTML page of a multipage HTML document (Since R2024a) | 
| mlreportgen.dom.OPCPart | Document part to include in OPC package | 
| mlreportgen.dom.CoreProperties | OPC core properties of document or template | 
| mlreportgen.dom.EmbeddedObject | Embed a file in a document | 
Topics
- Create Microsoft Word Document Part Template LibraryA document part template library is a set of document part templates stored by name in a template file. 
- Create HTML Document Part Template LibraryCreate HTML document part templates to define fixed content and holes for dynamic content. 
- Create PDF Document Part Template LibraryCreate PDF document part templates to define fixed content and holes for dynamic content. 
- PDF and HTML Document Parts and HolesDefine document parts and document holes for PDF and HTML reports. 
- Use Subforms in ReportsA document part is a form that you can add to a document or to another document part. 
- What Are Reporters?Get an overview of reporters and how to use them, and an overview of Report and DOM APIs. 
- Define New ReportersCreate a custom reporter based on mlreportgen.report.Reporter.
- Subclass Reporter DefinitionsCopy and edit a reporter based on a built-in reporter.