Report Inspector
The Report Inspector is one of two helpful
menus provided by JReport. It is a window that allows you view the properties of
selected fields, 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.
Below are helpful topics that can aid you in your tasks.
Note: Not all of these properties are seen at once. It depends completely on
what fields, objects, or sections you choose.
Report Inspector Directory
- Data Source: This shows you what Working Set you are currently using in that report
- Report Header Panel: Shows you what objects
are located in the Report Header section.
- Page Panel: This section splits into three
areas:
- Page Header Panel: Lists
the objects that are located in the Page Header section.
- Page Footer Panel: Lists the objects
that are located in the Page Footer section.
- Group Header Panel: This section breaks
up into three sub-sections
-Group
Header Panel: Shows the objects that are located in the Group Header section.
-Group
Footer Panel: Lists the objects that are located in the Group
Footer section.
-Details: Shows all the objects found in the Details
section
- Report Footer Panel: Shows you what objects
are located in the Report Footer section
General
- Type: This will tell you what type of object
or section you have
- Field Type: Displays what type of field you
have
- DB Field Name: Shows you the name of the DB
Field
- Query: Displays you what query the field came
from
- Table: Indicates which table the field came
from
- Column: Name of the column from which the
field came
- Data Type: Tells you the field you
selected is in what format
- Formula Name: If you selected a formula
field, this will tell you what its name is
- Expression: If you selected a formula field,
this will show you the expression that makes up this function
- Formula Editor: If you selected a formula
field, click here to bring you to the Formula Editor.
- Summary Name: If a summary field was chosen,
this will display its name
- Summary Function: If a summary field was
selected, this will show which summary function was used. Click here for a list of summary functions.
- Summary On: If a summary field was picked,
this will show which field was summed.
- Break Field: If a summary field was selected,
this shows how the summary field was grouped. Click
here for more information on Break Fields.
Text Format
- Font Face: This allows you to view which font
was used and lets you change it
- Font Size: You can view which font size was
used and change the size if you want
- Bold: Boldfaces your letters
- Italic: Italicizes your letters
- Strikeout: Places a line through the middle
of the word or letters.
- Underline: Places an line under your word or
letters.
- Alignment: Allows you to adjust the
justification of your field or object
- Format: You can change the format and the
look of your data.
- Auto Fit: When you change any property in the
Report Inspector, the borders will automatically reset to a default area of 19 x 160.
If you would like your borders to remain the same area you set them, click false
for this property
- Word Wrap: If this value is true, letters and
words will automatically move to the next line when space runs out on the label
Formula icon: If you have developed
a formula that uses a specific property in Text Format, you
may select this formula by clicking on this icon, and selecting the formula. Click here to learn how to develop a formula.
Geometry
- X: This property shows the horizontal
coordinate for a field or object in a specific section.
If you adjust the number, the object will move horizontally across the section
- Y: This property shows the vertical
coordinate for a field or object in a specific section.
If you adjust the number, the object will move vertically across the section
- Width: You can adjust the width of a field,
object, or section in this area
- Height: You can adjust the height of a field,
object, or section in this area
- Top Attach Pos X: Changing this number will
drag the upper handle horizontally across the section, thus increasing or decreasing its
shape. Click here for an example
- Top Attach Pos Y: Changing this number will
drag the upper handle horizontally across the section, thus increasing or decreasing its
shape. Click here for an example
- Bottom Attach Pos X: Changing this value will
drag the bottom handle horizontally across the section
- Bottom Attach Pos Y: Changing this value will
drag the bottom handle vertically across the section
Color
- Background: This area allows you to select
which color you would like the background of your field or object.
- Foreground: You can select which color you
would like your foreground to be. This option can change the color of fonts.
Formula icon: If you have
developed a formula that uses a specific property in Color, you may
select this formula by clicking on this icon, and selecting the formula. Click here to learn how to develop a formula.
Note: The letter Tr in the palette stands for transparent.
The difference between this and the color white is that transparent allows you to
view the Design area's grid while white does not.
Pattern
- Pattern Color: Changes the color of any
pattern you set
- Pattern Style: Gives you the option to see
patterns in your object or field
- Vertical: |||||||||
- Slash: ////////
- Percent 50: A very light colored hue covers
the field or object
- Horizontal: ====
- Hatch: ######
Formula icon: If you have
developed a formula that uses a specific property in Pattern, you may
select this formula by clicking on this icon, and selecting the formula. Click here to learn how to develop a formula.
Border
- Border Width: Changes width of the border
from 1 to 3 points
- Border Color: Changes the color of the border
- Top Line: Creates a horizontal line on top of
the object or field
- Bottom Line: Creates a horizontal line on
bottom of the object or field
- Left Line: Creates a vertical line left of
the object or field
- Right Line: Creates a vertical line right of
the object or field
- Shadow: A shadow can be inserted
- Shadow Color: Changes the shadow color
Formula icon: If you have developed a formula that
uses a specific property in Border you may select this formula by
clicking on this icon, and selecting the formula. Click here
to learn how to develop a formula.
Picture Property
- Auto Size: If you made any unwanted
adjustments in width and height under Geometry click
true for the image to return to its original size
- Picture Name: Shows the path and name of the
picture
Arc Property
- Start Angle: Enter values from 0 to 360.
This positions your arc. At 0, the vertex of the arc starts at 12:00.
As you get closer to 360, the arc travels in a counter clockwise motion
- Arc Angle: Enter values from 0 to 360.
As you get closer to 360, the arc begin to take an elliptical shape
Box Property
- Box Color: Changes the color of the box
- Box Style: Gives you the choice of what style
you want for your box: solid, dashed, dotted and double borders
- Box Width: Changes the width of the box from
1 to 3 points.
Line Property
- Line Color: Changes the color of the line
- Line Style: Gives you the choice of what
style you want for your line: solid, dashed, dotted, dashed & dotted lines
- Line Width: Changes the width of the line
from 1 to 3 points
Round Box Property
- Corner Factor: The larger the number the more
round the box
Others
- Style: Changes the selected objects' property values using that
defined in the style
- Suppressed: Defines a field or section can be seen or not in view mode
- SuppressedIfNull (to be announced)
- Display Null (to be announced)
- Child Style: If users input an existing style name(we will add a
list later), all children of it will change property values defined in style.
- Invisible: The section is hidden from the
report when you view it
- On New Page: This defines a page break before this section
- Underlay: This defines the relative position of this section and the
following section.
- Can Cross Page: If this is true, this section can cross the page
- Suppress Blank Section: If true, when the section is blank (no child) it
will be suppressed
- Fill Whole Page: If this is true, the section
will completely fill up the whole page of the report
Formula icon: If you have developed a formula that
uses a specific property in Border you may select this formula by
clicking on this icon, and selecting the formula. Click here
to learn how to develop a formula.