Home
Analytics
Static Content
kosta
Hello BIRT community,
there is a part of my report which uses static content (text and images). I put them into a grid and I have used text report items for the text and another row for the images(embedded image). The first page of this static part has a table of content which I made static too as HTML list (without page number).
So I have something like:
first page:
- table of content (grid, text report item with HTML in it)
second and third page
- (grid, row: text report item for the title, row: text over the image, the image, text under the image )
This is all static content.
I thought I can use parameter for the text fields and some solution (image from share folder) for the image but that noticed that the texts can have different length and the images different height.
Is there any way how I can produce this dynamically, where the image can be seen in the middle of the page and above and below it the text appears without white blocks between them?
I am trying to use the same rptdesign-file for many scenarios where the text can have different length and the image are different too.
For any suggestion thanks in advance.
Find more posts tagged with
Comments
thuston
Can you post an image example of the output requirement?
There is not a tool that can wrap text around an image (like in Word). You'll have to use two controls and script some logic to choose how many characters to display.
Does anyone have an example of dynamically setting the dimensions of an image control?
kosta
Hi thuston,
thank you for you answer.
I thought like you mentioned a tool like in some office text editor i.e. word.
1. Actually I thought more on the float parameter in HTML where you have text and image.
But that solution is like in the report designer. You must cut the text by yourself which will be displayed over the image and beside and under it.
2. Another idea was to combine rptdesign-files but I don't know if that is possible. With combine I mean then on rendering the main report has 6 pages and the second one has 2 pages and those 2 pages are added after the first page of the main report. So the paging in not interrupted.
Can you show me an example how and where I can use the controls for the logic and the image control?
Thank you in advance.
kosta
Any other suggestion on this one?