This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Paragraphs and Text Strings

Generate and format paragraphs and strings

Classes

mlreportgen.dom.ParagraphFormatted block of text (paragraph)
mlreportgen.report.Section Section reporter
mlreportgen.dom.TextText object
mlreportgen.dom.LeaderLeader character for PDF output
mlreportgen.dom.FirstLineIndentIndent first line of paragraph
mlreportgen.dom.LineSpacingSpacing between lines of paragraph
mlreportgen.dom.OutlineLevelLevel of paragraph in outline
mlreportgen.dom.HAlignSpecify horizontal alignment of document object
mlreportgen.dom.VAlignVertical alignment of document object
mlreportgen.dom.PageRefCreate placeholder for reference to page number of link target
mlreportgen.dom.StyleRefPlaceholder for reference to content with specified style name or outline level
mlreportgen.dom.DisplayDisplay option for DOM objects
mlreportgen.dom.DOCXPageLayoutPage format and layout for Microsoft Word document section
mlreportgen.dom.DOCXPageFooterPage footer definition for Microsoft Word document
mlreportgen.dom.HeadingHeading paragraph using variable level
mlreportgen.dom.Heading1Create Heading1 paragraph
mlreportgen.dom.Heading2Create Heading2 paragraph
mlreportgen.dom.Heading3Create Heading3 paragraph
mlreportgen.dom.Heading4Create Heading4 paragraph
mlreportgen.dom.Heading5Create Heading5 paragraph
mlreportgen.dom.Heading6Create Heading6 paragraph
mlreportgen.dom.FontFamilyFont family
mlreportgen.dom.FontSizeFont size
mlreportgen.dom.BoldBold for text object
mlreportgen.dom.ItalicItalic for text object
mlreportgen.dom.ColorColor of document element
mlreportgen.dom.StrikeStrike through text
mlreportgen.dom.UnderlineDraw line under text

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

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