User`s guide
Create a Table of Contents
13-79
5
Select a TOC format option to generate a table of contents. For example, select the
Built-In format option. The TOC appears.
6
Save the template.
Update the TOC in a Word Report
After you generate a Word report with the DOM API, open the report in Word and
update the document. Updating a document refers to the process of updating the parts of
a Word document that Word itself generates, such as a TOC, page numbers, and so on,
to reflect changes in the document content. The DOM rptview function causes Word to
update a report after opening it. If you use rptview to display your document in Word,
you do not need to do anything else to generate a TOC in your report.