Main Content
Paragraphs, Text Strings, and Numbers
Generate and format paragraphs, text, and numbers
Use the DOM API to create and format paragraphs, text, and numbers in a document.
Classes
Functions
mlreportgen.dom.setDefaultNumberFormat | Set default formatting of numeric data generated by DOM API (Since R2021a) |
mlreportgen.dom.getDefaultNumberFormat | Get default formatting for DOM API numeric data (Since R2021a) |
Topics
- Create and Format Text
Add and format text for a report.
- Create and Format Paragraphs
Add and format paragraphs for a report.
- Specify Space Between Paragraphs
Change the spacing between paragraphs in a report.
- Format Numbers
Specify the format to use when representing a number as text in a document.
- Format Numbers in Tables
Format numbers in a table using an
mlreportgen.dom.NumberFormat
object. - 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.