Making simple modifications to report objects

By virtue of Page Report Studio's powerful ad hoc functions, you can make simple modifications to report objects at runtime while viewing the report in Page Report Studio.

Note: Except for showing/hiding objects, a JReport Live license for JReport Server is required in order to use all the other features introduced in this article. If you do not have a Live license please contact your Jinfonet Software account manager to obtain a license.

Moving an object

A table, banded object, chart, crosstab, tabular, or image, can be easily moved to a new position. What you need to do is click anywhere in the object, then drag the icon appearing at its upper left corner to the destination. After Page Report Studio has finished processing, the object will be redrawn in the new location.

For other objects, select it and move it to the new position.

Notes:

Resizing an object

To resize an object, click anywhere in the object, when the icon appears at its upper left corner, click the icon to select the object, then you will see that it is surrounded by a rectangle with three resizing handles. Point to a handle, when the mouse pointer turns to a double-headed arrow, you can drag the handle to resize the object.

To resize a panel in a banded object, select it and drag the resizing handle to the desired position.

To adjust the width/height of a column/row in a table, point to the right/lower boundary of the column/row, when the mouse pointer becomes a horizontal/vertical double-headed arrow, drag the handle and the width/height of the column/row will change. This will also resize all cells in the column or row.

For a crosstab, you can resize its rows and columns the same as you do with a table.

For a tabular, point to the boundary between two cells and the mouse pointer will become a double-headed arrow, you can then drag the boundary to adjust the size of the related cells.

To change the width and height of a field, click any value of this field to select it, then drag the right or lower resizing handle on its borders to a new position, and the width or height of the field will change. You can also do this for any label.

Notes:

Hiding/showing an object

To hide a table, banded object, chart, crosstab, or tabular, click on the object, when the icon appears at its upper left corner, right-click on the icon and then select Hide from the shortcut menu. For other objects such as text boxes, drop-down lists, fields, and labels, right-click it and then select Hide to hide it.

To show a hidden object, right-click the object containing it, then on the shortcut menu, select the object name from the Show submenu.

Splitting and merging cells in a tabular

Adjacent cells in a tabular which can form a rectangle may be merged into one cell.

To merge adjacent cells, select them one by one while holding the Ctrl key, then click Menu > Report > Merge, and these cells will be merged into one cell.

To split a cell:

  1. Select the cell and click Menu > Report > Split.
  2. In the Split dialog, specify the number of rows and columns.
  3. Click OK and the cell will be split.

Modifying object properties

Page Report Studio allows you to modify object properties with the corresponding properties dialog.

Tip: If you just want to modify the text related properties for a field or label, for example, you want to change the text alignment or make the text bold, you can achieve it by simply selecting the field or label, then clicking the corresponding buttons on the toolbar.

For detailed explanation about options in the properties dialogs, refer to the specific topics in Page Report Studio dialogs.

Deleting an object

An object can be removed from the report if it is no longer required. However, objects that are in a subreport cannot be deleted.