Document Parts

Add preformatted report blocks and text

Classes

mlreportgen.dom.DocumentPartCreate a document part object
mlreportgen.dom.OPCPartDocument part to include in OPC package
mlreportgen.dom.CorePropertiesOPC core properties of document or template

Topics

Create a 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 an HTML Document Part Template Library

Create HTML document part templates to define fixed content and holes for dynamic content

Create a 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

Example of defining document parts and document holes for PDF and HTML reports

Use Subforms in a Report

A document part is a form that you can add to a document or to another document part.

What Is a Reporter?

Overview of reporters and how to use them, and Report and DOM APIs

Define New Types of Reporters

Create your own reporters

Subclass a Reporter Definition

Copy and edit a reporter based on a built-in reporter