Updating the Deprecated BIRT Custom Report Item "Rotated Text"
I have not found anything similar to examples in the past and because of that, I have decided to update the example based on the newer Eclipse and Java version.
Join the DZone community and get the full member experience.Join For Free
When I first started to work with BIRT, I was searching for tutorials and examples. That way I could explore the possibilities of the reporting framework, which is open source and based on Eclipse RCP. My goal wasn't only for creating fancy reports by learning the report design, but also extending the framework—like creating custom items that rendered SVG images and diagrams into the PDF export. The first two tutorials about creating custom report item in BIRT I could find under the following links:
I have used this examples in the year 2010 or 2011 but as you can see they are from 2008 and based on BIRT 2.3 and java 1.5. Because the examples are so old, they are also marked as deprecated. Searching again for this kind of example, I have not found anything similar and because of that, I have decided to update the example based on the newer Eclipse and Java version.
Updated Custom Item
Using a special eclipse version 4.9.0, which has surprised me at first (because in the past the standard edition was necessary), and Java 1.8, I could finish the implementation of the examples known as "Rotated Text". The eclipse version which this example is based on can be found under:
The custom item is a "Rotated Text." You can add the angle of the text and in the report designer where you can see the first version of the result. The final result can be seen after exporting the output as PDF or Microsoft Word document from the BIRT report editor.
You can download this version of the report item from GitHub.
To run it, you need to install eclipse from the links above and use Java 1.8. Also, you need some experience in using the BIRT report designer and knowledge in Eclipse RCR (eclipse plug-in) programming.
The project was created at the end of 2019 but committed to GitHub at the beginning of 2020.
Opinions expressed by DZone contributors are their own.