| Create elements that derive from rptlibrary using Designer API [message #990692] |
Thu, 13 December 2012 15:07  |
ivkina Mising name Messages: 34 Registered: April 2012 |
Member |
|
|
Hello,
We are testing BIRT Designer API to create some reports on the fly at runtime. So far it works but we seems can't find a way how to create an item in a report that derives from an item defined in rptlibrary. For example, I can add a label to a grid dynamically:
GridHandle grid = elementFactory.newGridItem("QR_VertGrid", 2, 5);
CellHandle g_cell = grid.getCell(0, 0);
LabelHandle label = elementFactory.newLabel(null);
label.setText("Test Label");
g_cell.getContent().add(label);
but I can't find a method that would allow me to create a label that would be a subclass of the one that is defined in my rptlibrary. Is that possible?
Thanks,
Aleksey
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04632 seconds