Chapters and Sections
Generate and format chapters and sections
Create and format chapters and sections in a document.
Classes
| mlreportgen.report.Chapter | Chapter reporter | 
| mlreportgen.report.Section | Section reporter | 
| mlreportgen.dom.DOCXSection | (To be removed) Page format and layout for Microsoft Word document section | 
Topics
- Create ChaptersCreate report chapters. 
- Create Page Layout SectionsCreate report sections. Divide a Word or PDF report into sections with different layouts. 
- Customize ChaptersUse custom templates and reporters to customize chapters. 
- Customize Chapter Page HeadersCustomize page headers in Word and PDF reports by defining a custom reporter and modifying the chapter template. 
- 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. 
- Reporter TemplatesDefault Report API reporter templates for Word, PDF, and HTML output.