Home
Analytics
Automatic Page Breaks Maintaining Page size
4robert
I am new to BIRT and I have created a report that contains a table. I have used a master page(Simple Master Page) for my report which is A4 and Portrait in size. My table's detail row contains a Dynamic Text component that may render several lines or it may be of one single line depending upon the data. When this data are large or spread across multiple lines my table size become smaller and my page is no longer A4. So, I want the page breaks to be inserted automatically. When the page files up, insert a page break and always maintain A4 page size. However, that is not what happens. The grid has three Page Break options: Before, After, and Inside. But they are of no use. There is also a Page Break Interval. If the interval is set to 2 then two detail lines are printed on each page. If the interval is set to 20 then twenty detail lines are printed on each page. If I set the value to 2 then each page has lots of white space. If I set the value to 20 then twenty detail lines are
'compressed' on to the page regardless if they can fit or not. So it is difficult for me to set the interval as I dont know the data size which is dynamic.
I don't want to use the interval, when a page fills up I want BIRT to 'AUTO'matically insert a page break and maintain A4 page size always and may be a table spread accorss multiple pages.
Can anyone tell me how can I resolve this problem? I am using PDF as the output. I am using birt-rcp-report-designer-2.2.2 to develop the report.
Thanks in Advance!
Robert
Find more posts tagged with
Comments
mwilliams
Hi Robert,
There were issues with the PDF pagebreak in 2.2.2. The PDF output was improved greatly in 2.3.x. If you have the ability to upgrade to a newer version, the output should work more as you're expecting.
4robert
Hi Michael,
Thank you very much for your reply.
I have now updated my Birt version to birt-rcp-report-designer-2_3_2.
And it works fine.
I think the "auto page break" option was not properly working on birt-rcp-report-designer-2_2_2. But now it is working.
Thanks Again.
Regards,
Robert
mwilliams
Robert,
No problem. Glad to be of assistance.