|
Re: Absolute position in report via API [message #815568 is a reply to message #815098] |
Wed, 07 March 2012 20:31 |
|
The FreeForm report item has not been completed yet. I believe code is
in for writing out to the design, but not generating anything with it yet.
If you are using fixed layout, can you not just use a grid and and set
column and row height and widths?
Jason
On 3/7/2012 3:25 AM, Chris K wrote:
> Hi all!
>
> I unsuccessfully searched the forums in order to make the following
> concept work:
>
> I must arrange basic elements like labels and images in a report via api
> in order to be positioned absolutely. I stumbled upon the
> FreeFormHandle, but it seems like
> A. I am using it wrong or
> B. Absolute position is not possible at all.
>
>
> FreeFormHandle free = factory.newFreeForm(null);
> free.setWidth(400 + "pt");
> free.setHeight(400 + "pt");
> free.setX(100 + "pt");
> free.setY(150 + "pt");
> LabelHandle labeltest = factory.newLabel(null);
> labeltest.setText("Hello World");
> free.addElement(labeltest, 0);
> design.getBody().add(free);
>
>
> I would appreciate any help!
>
> Thanks
> chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03652 seconds