i am implementing a custom emitter and i need to know the width and height of a cell, table or grid in pixels or points. The issue ocurrs if the measures are not explicitly set in the Report Designer.
I tried to get these info by calling cellContent.getWidth() and cellContent.getComputedStyle().getWidth(). The first one returns null, the second one throws a "createUnsupportedPropertyException" exception.
I think, i have the same problem as you. I am also working on a custom BIRT Emitter for evaluation purposes for our company and need to know the dimensions of the given report items.
When the startTable method void startTable(ITableContent tableContent), or the startCell method void startCell(ICellContent celllContent) is called, i need to know the dimensions of the table or the cell.
But i also don't see how to get these values when they are not set in the Report-Design-file since ITableContent or ICellContent do not have them.