Community
Participate
Working Groups
We are generating PDF reports using BIRT. - We use the run and render task separately & in the rpt design we have used - Page <value-of>pageNumber</value-of> of <value-of>totalPage</value-of> - Also we customize the rpt design using the BIRT Report Design Engine API, below lines we have used for PDF render option: renderOption.setOption(IPDFRenderOption.PDF_TEXT_WRAPPING, true); renderOption.setOption(IPDFRenderOption.PDF_HYPHENATION, true); We see issues w.r.t. to page numbers getting displayed in the report in few cases. ==> specially when number of columns is more & as per above our requiremnets settings we did for render options, BIRT report applies the text wrap. Now because of large content to be displayed in the report, same page contents are rendered in two pages, hence we see inconsistency in page numbers in final PDF Report. Please provide solution what to be done here. Our requirement is: 1. At run time any number of columns can be selected by user. 2. To achieve this we modify rptdesign using BIRT Design API report is generated fine as per our requirement except this page number issue.
We have the same problem. Our report contains text fields with longer html text. If this html text wraps over pages, page numbers won't be correct in the resulting pdf document. This bug occures only if the birt report will be executed with separate run and render method. If run+render method will be used instead, the page numbers will be fine. (But we need separate run and render steps because our reports contains a toc.) We are using BIRT 4.4.2. I'll add a simple text report to demonstrate the bug.
Created attachment 257534 [details] Test report to demonstrate the bug with incorrect page numbers.
Created attachment 257535 [details] The resulting pdf document with incorrect page numbers.
I am also facing same issue. Is this issue fixed in any BIRT version?