mlreportgen.report.ListOfFigures Class
Namespace: mlreportgen.report
Superclasses: mlreportgen.report.Reporter
Description
Use an object of the mlreportgen.report.ListOfFigures
class to create a
reporter that adds a list of figures section to a report. The generated list of figures
contains the captions of the figures (images) that are represented as mlreportgen.report.FormalImage
or mlreportgen.report.Figure
objects in your report generation program. The list
entries link to the captions in the report. In PDF and Word reports, the list also includes
the page numbers of the captions in the report. A leader fills the space between a caption and
its page number.
The way the list of figures is generated depends on the report type:
PDF — The Report API generates the list during report generation.
Word — The Report API generates a placeholder for the list. To generate the list items, you must update the Word document in your report generation program or in Word. See Update Tables of Contents and Generated Lists in Word Documents.
HTML — The Report API generates a placeholder for the list. When the report opens in an HTML browser, the browser generates the list in a sidebar.
The mlreportgen.report.ListOfFigures
class is a handle
class.
Creation
Description
creates a lof
= mlreportgen.report.ListOfFiguresListOfFigures
reporter with default property values.
creates a lof
= mlreportgen.report.ListOfFigures(title
)ListOfFigures
reporter with the Title
property set to the specified title.
sets properties using name-value pairs. You can specify multiple name-value pair arguments
in any order.lof
= mlreportgen.report.ListOfFigures(Name=Value
)
Properties
Methods
Examples
Version History
Introduced in R2020b