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 (Since R2020a) |
Topics
- Create Microsoft Word Document Part Template Library
A document part template library is a set of document part templates stored by name in a template file.
- Create HTML Document Part Template Library
Create HTML document part templates to define fixed content and holes for dynamic content.
- Create PDF Document Part Template Library
Create PDF document part templates to define fixed content and holes for dynamic content.
- PDF and HTML Document Parts and Holes
Define document parts and document holes for PDF and HTML reports.
- Use Subforms in Reports
A 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 Reporters
Create a custom reporter based on
mlreportgen.report.Reporter
. - Subclass Reporter Definitions
Copy and edit a reporter based on a built-in reporter.