Eclipse BIRT Sample Viewer
The Sample Viewer that comes with the Eclipse BIRT Engine and Java API’s is a sample implementation of the BIRT Engine in a web application. It can retrieve HTML report content, display that content page-by-page in a web-based viewer and generate a table-of-contents for a more manageable user experience. It will also generate a PDF version, print, and export to CSV.
The Sample BIRT Viewer is optimized for use within Eclipse for the preview operation. It is implemented as a WAR file. When used outside Eclipse, it acts as an example of the application that might be built to run and view HTML reports. The viewer can also be deployed as an Eclipse plug-in in an RCP application.
Viewer for Paginated BIRT Reports
From within the Eclipse Sample Viewer, the user can navigate and view an HTML report page by page instead of having to manually scroll through a large HTML document. From within the Sample BIRT Viewer, a user can:
- Assign parameters to a report - they can be Boolean, Number, Date, Float or String.
- Execute and generate a report - in HTML or PDF.
- Navigate the report - via a Table of Contents pane.
- Save the report - as HTML, Adobe PDF, Word DOC, Excel XLS, PostScript, and PowerPoint PPT.
- Export report data - to CSV, TSV and PSV.
- Print the report - locally or server side.
- Re-run report - with new parameters.
Application Integration Examples
In addition, the Sample Viewer shows how the BIRT Engine and BIRT Reports can be embedded into an application.
- Servlets - take requests and can generate report documents, PDF, DOC, PPT, PS, XLS, HTML. Calls to these servlets can be embedded into an application to handle the applications reporting needs.
- JSP taglibs (JSP Tag Libraries) - allows developers to easily embed the Eclipse Sample BIRT Viewer, BIRT Reports, BIRT Reportlets, “Standard” parameter collection, and custom parameter collection capabilities into Java/JSP based web applications.