New and Notable Features within BIRT 2.2 Milestone 4

Introduction

BIRT 2.2 Milestone 4 has officially been released to the public. Below is a description of some of the key features that are now available in the M2 build. Keep in mind, as with all milestone releases, the product continues to evolve.

To review the projects slated for the 2.2 release, see the draft project plan, which is available here.

BIRT WTP Integration

The BIRT Web Project, added in milestone 2 creates a web application that embeds the BIRT Web Viewer. This project was implemented to address deployment concerns and leverages the Web Tools Platform Project (WTP). This feature has been expanded to include a BIRT tag library and a new BIRT JSP template.


JSP BIRT Template

The new Tag library provides four tags: param, report, viewer, and requestor. The param tag allows setting parameter values, prior to report execution. The BIRT Viewer supports rendering reports in HTML, paginated HTML or PDF. When rendering reports in paginated HTML the Viewer uses an AJAX based framework to support complex operations such as table of contents, data exports and page navigation. The report tag is used to display a report as a PDF document or as a single HTML page. Alternatively, the viewer tag can be used to display the AJAX based viewer with report content emitted as paginated HTML. When using the report or viewer tags, users are prompted for parameters. The parameter entry screen is auto generated based on parameter definitions within the report design. Often developers prefer to design their own parameter entry pages. Using the requestor tag allows a developer to hook a custom parameter page.


BIRT Tag Selection

An example of using the new requestor tag is illustrated below. Selecting the submit button will automatically submit the parameterized report to the BIRT Viewer. Each new Tag supports multiple attributes to allow configuration and customization.


BIRT Requestor Page


BIRT Custom Requestor Output

Word Emitter

BIRT currently outputs report content to HTML, paginated HTML and PDF. BIRT offers many extension points to improve or add to the existing features. One key extension is the emitter framework, which allows developers to plug in additional output generators. A new Word emitter is available with Milestone 4. This emitter is still being developed and feedback is appreciated.


BIRT Word Emitter

XML Source Editor

BIRT Reports are essentially XML designs. The Report Editor reads and writes the XML file based on developer choices while in the designer. The source for this XML file can be viewed and edited directly using the XML Source Editor, within the Report Designer Perspective. This editor has been revised to leverage the WTP XML Editor. With this change, the XML Source editor now supports features such as code complete, formatting and error reporting.


XML Source Editor

Property Editor Changes

The look and feel of the BIRT Property Editor has been improved and now provides access to report element properties using a tabbed style editor. The underlying APIs were also improved to allow reuse and customization of the editor.


BIRT Property Editor

Highlight Style

BIRT currently supports many runtime customizations of report content, including visibly on the column, row and element level, mapping, sorting and highlighting. Prior to this release, highlighting was accomplished by adding rules to an element, such as a row, which instructs the engine to alter the display properties based on runtime conditions. Highlight rules can now apply styles in addition to setting individual element properties.


Example Row Highlight


Example Output

Miscellaneous

Milestone 4 includes many other changes including chart improvements to support better scaling, data previewing and palette configuration. The engine has been optimized to support better PDF generation, large-scale multi-pass aggregations, and generation performance.

BIRT Milestone 4 release now supports the Eclipse 3.3 and Java 1.5 stack.