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 TextAdd and format text for a report. 
- Create and Format ParagraphsAdd and format paragraphs for a report. 
- Specify Space Between ParagraphsChange the spacing between paragraphs in a report. 
- Format NumbersSpecify the format to use when representing a number as text in a document. 
- Format Numbers in TablesFormat numbers in a table using an mlreportgen.dom.NumberFormatobject.
- 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.