Main Content

Chapters and Sections

Generate and format chapters and sections

Classes Chapter reporter Section reporter
mlreportgen.dom.DOCXSectionPage format and layout for Microsoft Word document section


Create Chapters

Create report chapters.

Create Page Layout Sections

Create report sections. Divide a Word or PDF report into sections with different layouts.

Customize Chapters

Use custom templates and reporters to customize chapters.

Customize Chapter Page Headers

Customize page headers in Word and PDF reports by defining a custom reporter and modifying the chapter template.

What Is a Reporter?

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

Define a New Reporter

Create a custom reporter based on

Subclass a Reporter Definition

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

Reporter Templates

Default Report API reporter templates for Word, PDF, and HTML output.