TableOfContents

report_element TPTReport.TableOfContents()

This function generates a table of contents of all sections.

Returns:

the report_element containing the table-of-contents that can be added to report

Examples:

   # generate table of contents at current position
   TPTReport.add(TPTReport.TableOfContents());