Screen Shots
A basic print settings dialog. This lets you pick paper type and
orientation for the report. The reporting mechanisms know how to
redraw the data to fit into whatever orientation you decide.
Note the tab. You can put custom tabs into your dialog for
special print settings for an individual report type. |
|
The output of the sample report, jreporter.examples.ReportExamples.
Click the report to see it close up. This report print out
data which consists simply of the integers 1-300, where every three
integers is considered to be a record, so 1,2,3 and the first record,
4,5,6 are the second, and so on. Only the first page is shown.
What to see in this example:
- The library automatically assigned widths to the fields.
- It automatically decided how many columns of records could fit on a
page (the "PackTight" feature).
- It automatically drew the grid around the data.
- Automatically determined how many rows could fit on a page.
- All the spaces are customizable, from the page margins, to the space
between the columns of records, to the padding within the boxes
themselves.
Note: This report was generated using the source code in the CVS,
not the most recently released version of the source code.
|
|
This is the same report as above, except that the user chose to print it
out as landscape rather than portrait in the print setup dialog.
Only the first page is shown. Click to see it up close.
Notice:
- The library chose to put an extra column of records on the page
because it could fit.
- The number of rows was automatically adjusted.
- All the spaces are customizable, as above.
Note that the spacing effort is being done by the library, freeing the
user from having to worry about it, and lightening the burden on the
programmer. No source code changes were necessary to go from the above
report print out to this one.
Note: This report was generated using the source code in the CVS,
not the most recently released version of the source code. |
|
|