Bug 460188 - FreeFormHandle bug
Summary: FreeFormHandle bug
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.4.0   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Birt-Report-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 01:29 EST by Alexander Wagner CLA
Modified: 2015-03-02 09:08 EST (History)
1 user (show)

See Also:


Attachments
ReportServiceException message (14.97 KB, text/plain)
2015-02-18 01:29 EST, Alexander Wagner CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wagner CLA 2015-02-18 01:29:30 EST
Created attachment 250900 [details]
ReportServiceException message

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?
Comment 1 Alexander Wagner CLA 2015-03-02 09:08:27 EST
Why it's can't create a FreeForm?