Documente Academic
Documente Profesional
Documente Cultură
2.2
• Introduction
• Dynamic Crosstab Support
• Web Service ODA
• BIRT Web Project Wizard
• BIRT Tag Library
• Open Data Access (ODA) Project Wizards
• BIRT Chart Deployment
• Charting Improvements
• New Chart Types
• New Chart Examples View
• XLS Emitter
• Word Emitter
• PPT Emitter
• Poscript Emitter
• BIRT Viewer Changes
• Linking Cascading Style Sheets
• Report Examples View
• Report Parameter Changes
• Highlight Style
• Flat File Data Source Changes
• Joint Data Set Improvement
• Dynamic Connection Profiles
• Application Context Object pushed to Web Viewer
• XML Source Editor
• Property Editor Changes
• Advanced Properties
• Miscellaneous
Introduction
In conjunction with the Europa release, the BIRT team is pleased to announce the
availability of BIRT 2.2. The features in this release expand on the already impressive
features of BIRT 2.1 and offer improvements in many areas such as Deployment,
Charting, Data Sources, Cross Tables and Emitters. Below is a description of some of the
key features that are now available.
The complete list of features for the final 2.2 release is available here.
Charting Improvements
BIRT currently provides scripting support for chart events. By implementing scripts for
these events ,the developer can modify the behavior and appearance of the chart. As an
example, a user may implement the beforeDrawAxisTitle event handler to modify the
label the chart engine renders for the X, Y, and Z-axis titles. While this method works
well, modifying the chart outside of these events can be somewhat difficult. To better
facilitate programmatic chart modifications, BIRT now supplies a simple Chart API. This
API can be called within the BIRT scripting environment and from the design/report
engine API to modify chart properties.
In the above illustration, the beforeFactory event is used to modify the chart title content
and color. See BPS 66 for more details and the class diagrams.
Some additional improvements include new icons, better error support, x-axis labels at
tick marks, textual values on the y-axis for bubble charts, linear time scales for bar and
line series, and the ability to use different aggregate functions per series when grouping
data within the chart. As an example, if a data set exists that contains orders by date, a
chart can be built to display a summation of quantity of orders and a count of orders
grouped by day.
Multiple Aggregate Chart
Charting interactivity is now supported in Swing and SWT-based applications, packaging
has been improved to include all chart components in a single download.
XLS Emitter
BIRT provides output in various formats such as PDF and HTML. These output formats
are generated using BIRT emitters. The framework provides Eclipse extension points to
allow additional emitters to be created. BIRT 2.2 provides a new XLS emitter.
XLS Emitter
Word Emitter
A new Word emitter is available with BIRT 2.2.
PPT Emitter
An emitter has been added to support Microsoft Powerpoint as an output format.
PPT Emitter
Postscript Emitter
BIRT 2.2 adds the ability to emit BIRT reports as PostScript documents. Additionally, the
PDF emitter has been improved to support print-to-fit functionality as illustrated below.
When print-to-fit is set correctly within the engine the PDF emitter will automatically
scale the report output to fit on a single PDF page.
Print to Fit PDF Setting
BIRT Viewer Changes
The Table of Contents feature of BIRT allows quick navigation within a report when
using the BIRT Viewer. BIRT 2.2 introduces the ability to apply styles to TOC elements.
This can be done in the Table of Contents property for standard elements and in the group
editor for groups as shown below.
New TOC Style Property
This change allows the TOC to be formatted similar to report designs.
Example TOC
In addition to these changes, the Viewer now supports exporting the report to different
formats and server side printing.
Report Export
Server Side Printing
Server side printing can be disabled in the web.xml of the Viewer using the following
setting.
<context-param>
<param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>
<param-value>OFF</param-value>
</context-param>
The 2.2 Viewer addresses some cleanup issues by implementing a session listener which
removes temporary files that are created during a user session. Additionally the script tag
which allows a Text element to contain client side JavaScript now functions as expected
in the Web Viewer. This particular improvement will allow reports to be created which
contain additional interactivity. For example, scripts can be added that re-run the report
periodically, display checkboxes interspersed with data values, or perform client-side
validation of user input. Presented below is a report that executes every ten seconds. The
check boxes determine a column's visibility with the next execution.
Using Client Side Script
Advanced Properties
Properties for any element in a BIRT report design can be set using the Property Editor.
These include properties such as size, font, hyperlinks, and visibility. With release 2.2, an
advanced page is now available within the property editor that displays all properties for
a given report element.
BIRT Property Editor
Miscellaneous
BIRT 2.2 contains many additional features and improvements including a simpler
scripting interface to the design engine API, logging per report, performance
enhancements, better PDF font support, and improved support for HTML text when