5.11.4  Table of Contents

To add a TOC element, follow these steps:

1. Click in the report to place the cursor at the location where you want the Table of Contents to be inserted.

2. Click the 'TOC' component in the Toolbox panel. This automatically generates a TOC based on the headings already defined in the report.

3. Right-click the TOC, and select 'Properties' from the context menu. This opens the 'TOC Properties' dialog box.

 

Additional styles can be created using the Java API.

4. Select a TOC style from the 'Style' menu. There are seven built-in styles.

5. Format the page number display in the TOC by using the 'Page Number Format' option.

There are two special tags available for use in formatting: The “{0}” tag inserts the section number on the TOC, and the “{1}” tag inserts the actual page number. For example, the format “Topic {0} found on page {1}” would translate to something similar to “Topic 1.2 found on page 5.”

Figure 14. A Report with Table of Contents (toc1.srt)

 

<< 5.11.3 Heading © 1996-2013 InetSoft Technology Corporation (v11.4) 5.11.5 Painter >>