mlreportgen.dom.TOC Class
Namespace: mlreportgen.dom
Create placeholder for generating table of contents
Description
Create a placeholder for a document table of contents. When a generated Word document opens, Word replaces the placeholder with a TOC that it generates. Similarly, when a generated HTML document opens in an HTML browser, the browser replaces the placeholder with a TOC that it generates. For PDF, the DOM API replaces the placeholder with a TOC that it generates when outputting the document.
In all cases, the TOC entries consist of the content of paragraphs using the number of heading levels that you specify. For PDF and Word, the TOC placeholder also specifies a leader that fills the space between the content and the page number in the TOC entry.
The mlreportgen.dom.TOC
class is a handle
class.
Creation
Description
Input Arguments
Properties
Examples
Version History
Introduced in R2016a