Report Parts

In this section we will take a look at the individual properties of the report parts.

Resizing report parts

The height of the report parts can be adjusted by using the drag bar. Select the report part that has to be resized and position the cursor near the drag bar. The default cursor changes to a hand cursor. Now by pressing the mouse down drag bar up or down till the required height of the report part has been set.

The height of the report parts can be altered according to the requirements. Position the cursor in the report part section you wish to move or resize. It should be moved towards its drag bar. The mouse cursor turns to hand shape. Now, select the drag bar with the cursor and pull it down. The height of the report part will be altered. Alternatively, to change the height of the report part it will be necessary to perform the above mentioned function.

Table of Contents (TOC)

The properties wizard of the Report parts can be invoked by either double clicking on the background or from the popup menu. The wizard consists of the TOC, Format and Scripts tabbed panes. The Format and Scripts tabs have already been described in previous sections, so we will focus here on TOC which is an acronym for Table Of Contents.

The TOC tab contains the fields similar to that of the Field tab in the Data Field and other elements. Additionally, there is a TOC Enabled checkbox which when turned on allows enabling the TOC feature at that level.

The TOC properties can also be accessed from the property table of the report part. The TOC node in the properties table includes the Data, Enabled, Format and Locale. The Data value can be entered directly in the text field or by clicking the button in that field the Properties Wizard is invoked from which the data source field can be selected.

The Format value can be entered directly in the field of the property table. Alternatively, by clicking the button in the field the Properties Wizard is invoked in which the Format properties can be set. The table of contents can be enabled by turning on the Enabled check box which is similar to the TOC Enabled check box in the TOC tab. The Locale property is discussed earlier in this chapter.

Note

Table of Contents produces a tree of bookmarks and is currently only supported in the PDF output format.

Properties

The Section header, Detail, Section Footer, etc have the following properties in addition to the above mentioned properties.

Force New Page: The Default value of this property is None. If the default value is specified then a new page will not be added. The other possible values are Before, After, Before and After. If these values are selected then the data in the specific report sections are printed on a new page at the respective location.

Vertical Align:

There are three possible values: Top (the default), Center and Bottom. Top positions the report part in the normal flow of the report, so most of the time, this is what you want. Bottom positions the report part at the bottom of the current page, just above any page footer. Subsequent parts therefore appear on the next page. Center positions the report part in the center of the remaining space on the page. Subsequent report parts will render immediately below, if there is space. Center can always be used in conjunction with Force New Page = After, to ensure subsequent parts are pushed to the next page.

Bottom Padding:

This Bottom Padding property describes how much space to be included between the bottom border and the data. This property is useful when the CanShrink property check box is selected otherwise the end of the records will touch the bottom of the component. In this case as a value is set for the Bottom Padding property some amount of space will be available between the component and the records.

Caption:

The Caption property is similar to the Name property of the report elements. This property is useful when you want to display the caption for the grouped data for instance in case of Elixir Report Mobile Edition(ERME) when you want output data to small screens like hand phones.