Label Text Orientation Label Text Orientation
Posted 27 March 2012 - 08:01 AM
Posted 28 March 2012 - 10:58 AM
BIRT Extension Mechanism, Part 1: Custom Report Items
Hope this helps,
Posted 28 March 2012 - 12:13 PM
The problem with that generic approach is that it doesn't permit the rotated text to overlap, which means that 90 degrees is the only useful rotation for column headings.
If text rotation was built in to BIRT then it would be up to the emitters to perform the rotation and it would be possible to have overlapping text at smaller angles (i.e. more like Excel does).
In the absence of a built in BIRT support for rotated text I added it to the SpudSoft BIRT Excel emitters - so you can set a UserProperty on the label and the emitter will rotate it in Excel.
Without support from BIRT there is obviously no design time representation of this, though it does work especially well for crosstabs where there is no design time display of the actual column headers anyway.