Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Pb with background image
aneso63
I have some troubles to create a report with BIRT 2.2.2.
Here is the initial situation:
I export my report under the PDF format, on a A0 landscape page.
On the 3/4th left of the page, I have an image.
On the 1/4th right of the page, I have a table.
I am using a XML datasource, from which I extract all the data (table + URL of image).
Problem:
The image is displayed too small. I would like it to fill the entire page, with the table overlaping on it.
I don't know how to overlap an image and a table, so I have tried to display the image as a background image, using a script.
In the table, function onCreate, I put the following code.
this.getStyle().backgroundImage = row["image"];
My image is now displayed as a background of the table.
But the problem is that the original image (a tiff) is too big to fit into the A0 page!
I would like to resize/rescale it. Maybe it is possible to store the content of the image, change the size and use this new image as a background... but I only have the URL and the backgroundImage can only be a String.
Does anyone know how to resize the image? Or how to overlap the table and the image?
Thanks by advance.
Find more posts tagged with
Comments
HansGrund
See BIRT Bug #272238