what's new
 version 1.0.2
 
 

 
 

INDEX

 
  1. Built-in Chart Support
2. Support for large reports
3. Support for CLOB and BLOB report fields
4. Returning values from subreports
5. RTF exporter
6. Plain text exporter

         
 1. Built-in Chart Supporttop 
 
 There is a new chart component added to the JasperReports object model that simplifies the creation of chart graphics inside reports. Instead of making direct calls to specific charting APIs, users now only have to configure a chart component from one of the available types: Pie, Pie 3D, Bar, Bar 3D, XY Bar, Stacked Bar, Stacked Bar 3D, Line, XY Line, Area, XY Area, Scatter Plot, Bubble, Time series, High Low Open Close, Candlestick.
 
 JasperReports is relying on the JFreeChart library (1.0.0 RC1 or later) for rendering charts.
 
 There is a new sample /demo/samples/charts provided that shows how the new component works and details about the settings of each chart type and dataset can be found in the Quick Reference and in the Tutorial.
 
 2. Support for large reportstop 
 
 For filling and exporting large documents that would normally eat up memory and crash with an OutOfMemory exception, there is now a new feature called "report virtualizer" that uses serialization of temporary data on disk to optimize memory consumption.
 This can be seen in action in the supplied /demo/samples/virtualizer sample provided. This new feature is a contribution from Works Inc.
 
 3. Support for CLOB and BLOB report fieldstop 
 
 Report fields can be of any type now and this includes the java.sql.Clob and java.sql.Blob types. The JRResultSetDataSource was enhanced and it will try to detect BLOB and CLOB columns in the result set by interrogating the meta data in order to simplify the use of these large data fields. For instance, If a CLOB table column was mapped to a report field of type java.lang.String, the data source will automatically read up the entire CLOB from the database and supply the data to the reporting engine as a full String value.
 Or, in the case of a BLOB column in the database, if we declare the report field as being a java.awt.Image, the data source will try to load an image object from the binary data found in the database using a MediaTracker and then supply this image to the reporting engine.
 Other default mapping like these are also handled automatically by the JRResultSetDataSource.
 
 4. Returning values from subreportstop 
 
 There was no easy way to return to a master report values that were calculated inside a subreport. A new tag <returnValue> is available at subreport level and enables users to map master report variables to subreport variables and also specify the way the returned value should be handled (used in a calculation or just copied).
 The supplied demo/samples/subreport sample show how this new feature can be used.
 
 5. RTF exportertop 
 
 JasperReports now supports RTF as a built-in export channel through the JRRtfExporter implementation. Almost all the provided samples show how to produce RTF output from a generated report.
 
 6. Plain text exportertop 
 
 A new exporter that produced plain text files was added to the library. It is implemented in the JRTextExporter class and can be tested inside the provided /demo/samples/text sample.
 


© 2005 JasperSoft Corporation www.jaspersoft.com