Tables and Lists

Generate and format tables, bulleted and numbered lists, and include MATLAB table objects


mlreportgen.dom.TableHeaderTable header
mlreportgen.dom.TableHeaderEntryEntry in table header
mlreportgen.dom.RepeatAsHeaderRowRepeat table row
mlreportgen.dom.TableFooterFormal table footer
mlreportgen.dom.TextOrientationOrientation of text in a table entry
mlreportgen.dom.ResizeToFitContentsAllow table to resize its columns
mlreportgen.dom.HAlignSpecify horizontal alignment of document object
mlreportgen.dom.VAlignVertical alignment of document object
mlreportgen.dom.TableColSpecFormatting for one or more adjacent table columns
mlreportgen.dom.TableColSpecGroupDefine style for group of table columns
mlreportgen.dom.ColSepDraw lines between table columns
mlreportgen.dom.TableRowTable row
mlreportgen.dom.RowHeightHeight of table row
mlreportgen.dom.RowSepDraw lines between table rows
mlreportgen.dom.AllowBreakAcrossPagesAllow row to straddle page break
mlreportgen.dom.BorderBorder properties of object
mlreportgen.dom.BorderCollapseCollapse HTML table borders
mlreportgen.dom.OrderedListCreate ordered list
mlreportgen.dom.UnorderedListUnordered (bulleted) list
mlreportgen.dom.ListItemCreate item for ordered or unordered list
mlreportgen.dom.ListStyleTypeBullet or number style for HTML and PDF output


Create and Format Lists

Add and format ordered and unordered lists for a report

Multilevel List

Create multilevel lists in HTML, PDF, or Word reports. Use cell arrays or List and ListItem objects.

Custom Styled Word List

Use a custom Word template to style a multilevel list.

Create and Format Tables

Add and format tables for a report

Create a Zebra-Striped Table

Create striped table with alternating row colors.

Create a Dynamic Table

Create a table whose size you do not know before run time

Side-By-Side Tables

Arrange tables next to each other on a page.

Fit Wide Tables in a Page

Slice a wide table to fit on a page.

Span a Table Entry Across Rows and Columns

Set table entry to span across rows or columns.

Set Table Column Width

Set table column widths.

Aligning Table Entry Content Horizontally

Horizontally align table entries.

What Is a Reporter?

Overview of reporters and how to use them, and Report and DOM APIs

Excel to PDF

Create a PDF report from a Microsoft® Excel® spreadsheet.

Define New Types of Reporters

Create your own reporters

Subclass a Reporter Definition

Copy and edit a reporter based on a built-in reporter