ActiveReports 9
TableOfContents
Show AllShow All
Hide AllHide All

The TableOfContents (ToC) report control is used to display the document map, an organized hierarchy of the report heading levels and labels along with their page numbers, in the body of a report. The TableOfContents control allows you to quickly understand and navigate the data inside a report in all viewers that are supported in ActiveReports. Unlike the Document Map that is only available in the Viewers and cannot be rendered or printed, you can use the TableOfContents control to embed the ToC structure in the report body for printing and rendering purposes. You can add a TableOfContents report control to a report by dragging it from the toolbox and dropping it onto the report design surface

In the Properties Window, there are a number of properties that you can use to control the appearance and behavior of the TableOfContents (ToC) report control. For example, in case of Page Report you can use the OverflowName property to specify the OverflowPlaceHolder control name to link it with the ToC control. The FixedHeight property allows you to set the maximum height of the ToC control on each page, similar to the FixedSize property that is available with other report controls.

The Levels property contains the collection of ToC levels and allows you to access the LevelDesigner Collection Editor dialog, where you can set up the report ToC levels and their properties. The MaxLevel property restricts the maximum number of levels in the document map.

Any customization made to the Document Map like setting Numbering Style for document map levels using the Report dialog or using the DocumentMap property gets directly applied to the ToC control. For more information, see Add Items to the Document Map.

ToC properties Dialog

Properties for the TableOfContents are available in the ToC dialog. To open it, with the TableOfContents control selected on the report, under the Properties Window, click the Property dialog link.

The ToC Properties dialog lets you set properties on the report control with the following pages.

Note: You can click <Expression...> in many of these properties to open the Expression Editor where you can create an expression to determine the value.

General

Visibility

Appearance

Data Output

LevelDesigner Collection Editor

The LevelDesigner Collection Editor is used to set up the report ToC levels and their properties. To access the LevelDesigner Collection Editor dialog, go to the Properties Window and in the Levels property, click (Collection).

You can set the ToC level properties from the following locations:

The LevelDesigner Collection Editor lets you set the properties of a ToC level as follows.

Appearance

Data

General

Layout

Misc

See Also

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum