ActiveReports 8
Add Items to the Document Map

In a page report, use the following steps to add report controls, groups and detail groups to the document map.

This topic will guide you through the following procedures:

To add a control to the Document Map

Using Document Map Label or Label Property 

  1. On the design surface, select a control you want to add to the Document map and right-click to choose Properties from the context menu.
  2. In the command section of the Properties Window, click Property dialog. This is a command to open the control's dialog. See Properties Window for more information on how to access commands.
  3. In the dialog that appears, go to the Navigation page and under the Document map label, enter a text or an expression representing the control in the Document map.

Alternatively,

  1. On the design surface, select the report control you want to add to the Document map and right-click to choose Properties from the context menu.
  2. In the Properties window that appears, enter a text or an expression in the Label property to represent the report control in the Document map.

Using HeadingLevel Property

  1. On the design surface, select the report control you want to add to the Document map and right-click to choose Properties from the context menu.
  2. In the Properties window that appears, set the HeadingLevel property to represent the report control in the Document map.
    Note The HeadingLevel property defines the DocumentMap level for that control.

Go to the preview tab or the Viewer to view the document map.

To add a group or a detail group to the Document Map

  1. Open a report that contains a group. See Grouping in a Data Region for further information.
  2. On the design surface, select the data region on which grouping or detail grouping has been set and go to the command section which appears below the Properties Window.
  3. Click Property dialog to open the data region dialog. See Properties Window for more information on how to access commands.
  4. In the dialog that appears, go to the Grouping or Detail Grouping page, and under the Document map label, enter a text or an expression representing the group or detail group in the Document Map.

Go to the preview tab or the Viewer to view the document map.

To create a hierarchical Document Map

  1. Open a report that contains a data region like a Table.
  2. With the data region selected, right-click to open the context menu and select Properties.
  3. In the Properties Window that appears, select the Property dialog command at the bottom of the window to open the data region dialog. See Properties Window for further information on how to access commands.
  4. On the data region dialog, on the Groups page, set the grouping expression. For example, group the data on StorePrice (=Fields!StorePrice.Value). See Grouping in a Data Region for further information.
  5. On the same Groups page, set the Document map label to the value of the grouping expression. For example, =Fields!StorePrice.Value.
  6. On the design surface, select a control inside the data region. For example, the TextBox in the detail row of the Table data region.
  7. Right-click the control and select properties to open the Properties Window. In the command section of the Properties Window, click Property dialog.
  8. In the dialog that appears, go to the Navigation page and under the Document map label, enter a text or an expression representing the control in the Document map.

Go to the preview tab or the Viewer to view the document map.

Note: In an FPL report, you can also set grouping and set the document map label on the FixedPage dialog > Groups page. See Grouping in a FixedPage to learn how to set groups on a fixed page.

To set the numbering style for Document Map levels

You can the set the numbering style for all document map levels using the Report dialog or in the Properties Window using the DocumentMap property.

  1. In the Report Explorer select the Report item.
  2. In the command section of the Properties Window, click Property dialog. This is a command to open the Report dialog. See Properties Window for more information on how to access commands.
  3. In the Report dialog that appears, go to the Document Map page and set the Source property to one of the available value.
  4. Set the Numbering Style to one of the available formats. The selected style would get applied to all the document levels and only to the selected source that you had set above.
  5. Click OK to close the dialog.

You can also set separate numbering style to different document map levels using the DocumentMapLevelDesigner Collection Editor dialog.

  1. In the Report Explorer select the Report item.
  2. Go to the Properties Window, click the Levels (Collection) property and then click the ellipsis button that appears.
  3. In the DocumentMapLevelDesigner Collection Editor dialog that appears, consider the hierarchy of report bookmarks that appears in Document Map and add as many levels required using the Add button.
  4. Select each level and set its NumberingStyle to any of the available format.
  5. Click OK to close the dialog.


Support Forum