Main Content

Paragraphs, Text Strings, and Numbers

Generate and format paragraphs, text, and numbers


expand all

mlreportgen.dom.ParagraphFormatted block of text
mlreportgen.dom.TextText object
mlreportgen.dom.NumberNumber to include as formatted text in a document (Since R2021a) reporter
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.XRefCross-reference element for DOCX or PDF report (Since R2022a)
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 section of Microsoft Word document
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.PreformattedPreformatted block of text (Since R2020a)
mlreportgen.dom.BoldBold for text object
mlreportgen.dom.ItalicItalic for mlreportgen.dom.Text object
mlreportgen.dom.ColorColor of document element
mlreportgen.dom.StrikeStrike through text
mlreportgen.dom.UnderlineDraw line under text
mlreportgen.dom.NumberFormatNumber formatting (Since R2021a)


mlreportgen.dom.setDefaultNumberFormatSet default formatting of numeric data generated by DOM API (Since R2021a)
mlreportgen.dom.getDefaultNumberFormatGet default formatting for numeric data generated by DOM API (Since R2021a)