Index

Report Inspector

Introduction

Report Inspector is a helpful menus provided by JReport. It is a tool to view the properties of selected objects and sections. Some properties include color, width, location, and style. Report Inspector also allows you to edit and format those objects directly from this window for accurate and precise adjustments.

Reference Notes: Different types of objects will have properties of their own, please refer to User Reference book for the in-depth specifications for each property associated with different objects and sections.

Launching Report Inspector

To bring up Report Inspector, you can use one of the following ways:

Report Inspector

Structure

Data Source
Shows what Working Set you are currently using in the report.

Report Header Panel
Shows what objects are located in the Report Header section.

Page Panel
This section has three areas:

Properties

Here we are just giving you a brief introduction to the general properties.

Reference Notes: Not all of these properties are available all the time. It depends completely on what fields, objects, or sections you choose. Go to Reference | Reporting Features for the detailed properties of each type of object.

Editing Objects in Report Inspector

Report Inspector can be used to examine and edit objects in a report. Whenever you click on an object, its properties will be displayed in Report Inspector.

Here are some examples for editing an object in Report Inspector.

Example 1: Changing Geometry

From Report Inspector, you can change the geometrical properties of shapes. Typically when we deal with coordinates, each section is a separate quadrant. The x coordinate goes from left (0) to right (720) and the y coordinate goes from top (0) to bottom (unlimited).

Example 2: Changing Color

JReport has the option of changing the background and foreground color of any object.

changecolor.gif (14919 bytes)

Select one label field, go to Report Inspector and under the Color item, select Background and choose dark blue. Next, under the Color item, select Foreground and choose yellow.
The result of your color selection will be shown instantly on the screen like this:

changecolor1.gif (7601 bytes)

Example 3: Changing Format

JReport lets you define the result format for various field types including currency, date, percent etc.

changefmt.gif (12535 bytes)

In this example, we select a field of currency data type. In Report Inspector, find the property TextFormat and expand it, then click Format. In the drop-down menu, select $#,##0.00 for the display format.

Index