getReportHeader()
and getReportFooter()
getPageHeader()
and getPageFooter()
getItemBand()
getNoDataBand()
getWaterMark()
getGroup(int groupLevel)
. The group header and footer are accessible through the group object, so use getGroup(int groupLevel).getGroupHeader() and getGroup(int groupLevel).getGroupFooter(). All report elements share the same stylesheet collection. Report elements cannot be shared between two different report instances. Adding a report element to one band will remove it from the other one. For dynamic computation of content you can add {@link Expression}s and {@link org.pentaho.reporting.engine.classic.core.function.Function}s to the report. Creating a new instance of JFreeReport seems to lock down the JDK on some Windows Systems, where no printer driver is installed. To prevent that behaviour on these systems, you can set the {@link Configuration} key"org.pentaho.reporting.engine.classic.core.NoPrinterAvailable" to "false" and JFreeReport will use a hardcoded default page format instead. A JFreeReport object always acts as Master-Report. The JFreeReport object defines the global report-configuration, the report's datasource (through the DataFactory property) and the ResourceBundleFactory (for localization).
@author David Gilbert
@author Thomas Morgner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|