FreeFormHandle trouble [message #1614452] |
Fri, 13 February 2015 08:50 |
Alexander Wagner Messages: 6 Registered: February 2015 |
Junior Member |
|
|
Hi,
I'm new on this forum. I try to generate a dynamic report from initialize script using coordinates from dataset. I generate dynamically TextItem's and add it to FreeFormHandle. I do it as follows:
form=reportContext.getDesignHandle().getElementFactory().newFreeForm(null);
textItem = reportContext.getDesignHandle().getElementFactory().newTextItem("sometext");
xCor = 15;
yCor = 15;
textItem.setX(xCor + "px");
textItem.setY(yCor + "px");
reportContext.getDesignHandle().getBody().add(form);
At report generation phase i get ReportServiceException. Please see the attached file.
Any idea what going wrong?
[Updated on: Mon, 16 February 2015 07:17] Report message to a moderator
|
|
|
|
|
|
Re: FreeFormHandle trouble [message #1621407 is a reply to message #1621406] |
Tue, 17 February 2015 21:59 |
|
You could always file an enhancement request for this layout option in the bugzilla. You can find this in the community section of eclipse.org/birt
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03863 seconds