You can add labels, images, banded objects, tables, crosstabs, charts, special fields and web controls to page reports. However, for page report created in JReport Designer, you can add more objects to them only when the corresponding catalog contains business views.
A JReport Live license for JReport Server is required in order to use this feature. If you do not have the license, contact your Jinfonet Software account manager to obtain it.
Object placement
Objects can be placed within banded objects, tables, tabulars, as well as onto an empty area of a report. The following table lists the report areas that are valid targets for the various objects, listed on the left.
Report Layout Area |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object | Page Header/Footer | Report Header/Footer | Report Body | Banded Detail | Banded Page Header/Footer | Banded Header/Footer | Banded Group Header/Footer | Table Cell | Tabular Cell | ||
Banded object | Y | N | Y | Y | Y | Y | Y | N | Y | ||
Chart | Y | Y | Y | Y | Y | Y | Y | N | Y | ||
Crosstab | Y | Y | Y | Y | Y | Y | Y | N | Y | ||
Table | Y | Y | Y | Y | Y | Y | Y | N | Y | ||
Group object | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||
Detail object | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||
Aggregation object | N | N | Y | N | N | Y | Y | N | N | ||
Formula | Y | Y | Y | Y | Y | Y | Y | Y | Y | ||
Label | Y | N | Y | Y | Y | Y | Y | Y | Y | ||
Special field | Y | N | Y | Y | Y | Y | Y | Y | Y | ||
Image | Y | N | Y | Y | Y | Y | Y | Y | Y | ||
Web control | Y | Y | Y | Y | Y | Y | Y | N | Y |
To add an object into a report:
Note: If your JReport Server is in an intranet, to successfully access the image via URL, you need to add the parameters -Dhttp.proxyHost=XXX -Dhttp.proxyPort=XX
to the server's startup file JRServer.bat located in <install_root>\bin
.
Alternatively, you can also use the Toolbox panel to add objects other than special fields into a report by dragging them from the panel to the destination.