11.02.2013 Views

iReport Ultimate Guide

iReport Ultimate Guide

iReport Ultimate Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong><br />

The Properties view (on the right side of the main window) shows the properties of the object that is currently selected in the<br />

Report Inspector view (on the left side of the main window) or in the design area (such as a band or an element). When a new<br />

report is created, the property sheet displays the report properties. You can recall the report properties at any time by selecting<br />

the root node in the Report Inspector (showing the report name) or by clicking any area outside the document in the main<br />

window.<br />

The first property is the report name. It is a logical name, independent of the source file’s name, and is used only by the<br />

JasperReports library (for example, as base name for the temporary Java file produced when a report is compiled).<br />

The page dimensions are probably the report’s most important properties. The unit of measurement used by <strong>iReport</strong> and<br />

JasperReports is the pixel (which has a resolution of 75 dpi, or dots per inch). Table 4-1 lists some standard page formats and<br />

their dimensions in pixels. These are the common formats; a complete list is available in Wikipedia:<br />

By modifying width and height, it is possible to create a report of whatever size you like. The page orientation option,<br />

Landscape or Portrait, in reality is not meaningful, because the page dimensions are characterized by width and height,<br />

independently of the sheet orientation. However, this property can be used by certain report exporters to decide how to orient<br />

the report in a printer.<br />

48<br />

Figure 4-2 A new empty report in main design window<br />

Table 4-1 Size of a Few Common Page Formats<br />

Format<br />

Size in Native Unit of<br />

Measurement<br />

US Letter 8.5 x 11 inches 638 x 825<br />

US Legal 8.5 x 14 inches 638 x 1050<br />

A4 210 × 297 mm 623 x 878<br />

A5 148 × 210 mm 435 x 623<br />

A6 105 × 148 mm 308 x 435<br />

Size in Pixels<br />

(rounded to whole number)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!