|
|
|
|
|
1. J2EE Module | top |
|
| A new package containing servlets for image delivery in HTML format as well as PDF, XLS and RTF generation was added to the core library. |
| In order to further simplify the use of JasperReports in J2EE applications, new built-in fill time and export time parameters were added to support supplying a class loader at runtime to be used for extending the way resources such as images, fonts and subreports are located. |
| An image type sniffer completes the this J2EE module helping to detect image types and set the appropriate header when delivering those to the browser in Web applications. |
|
2. Styles | top |
|
| Report styles were introduced in order to group together a set of visual properties that would then be applied to report elements that reference the report style. This new concept is an extension of the former report font concept which is now deprecated. Report elements that reference a report style definition could override the values of any visual property defined in the style. |
| Report styles could also reference other report styles and the same inheritance and override mechanism applies to them too. |
|
| Styles are useful when a whole range of elements need to share the same visual properties and any change made to that has to apply to all of them. This can be achieved by changing the report style they all reference. |
|
3. Frames | top |
|
| Sometimes a group of elements have to share a common background or have a common border around them. This was achieved by putting a rectangle behind them, but it did not work with the grid exporters since overlapping elements are not supported there. |
| The new frame element is recognized by the grid exporters and can be used to group elements together by nesting them inside a frame. Frames can be nested on an unlimited number of levels. |
|
4. Datasets | top |
|
| Charts and crosstabs sometimes need to use data which the containing report does not iterate though directly at fill time. This would be the case with data source that have fields which could be themselves data source for subreports. |
| In order to eliminate the need to use subreports in order to render a chart or a crosstab that would be feed with the nested data, a new concept called dataset was introduced. |
| A dataset is something between a data source and a subreport because it contains parameters, fields, variables and groups, but no layout information. |
| Check the demos/samples/charts and demos/samples/crosstabs samples provided. |
|
5. Crosstabs | top |
|
| Crosstabs are a special type of table component in which both the rows and the columns are dynamic. They are used to display aggregated data using tables with multiple levels of grouping for both columns and groups. |
| For more details, check the demos/samples/crosstabs sample provided. |
|
6. New XLS Exporter Using the Java Excel API Library | top |
|
| A new XLS exporter implementation is available as a sample in the demo/samples/jexcelapi directory of the project distribution. |
| It uses the Java Excel API open source library and it is an initial contribution from Manuel Paul (Rat & Tat Beratungsgesellschaft mbH). |
| This exporter implementation has support for images. |
|