|IRenderTask#getPageNumber return wrong values for DOC (PDF is correct) [message #1768672]
||Fri, 21 July 2017 08:40
| Alex Volodko
Registered: July 2017
I need to get the page numbers of document's bookmarks. When the report is rendered as PDF, IRenderTask#getPageNumber return the correct page number. But if the document is rendered as DOC file, the page numbers are not correct.
But also the layout is not the same (at least page brakes are missing in DOC).
I am not sure, if this is rather a bug in BIRT or I have done a mistake anywhere, since I am new to BIRT REPORTS.
Please find a simple report test.rpttemplate (using sampledb) and SSCCE SSCCExample.java where the described problem can be reproduced.
Please note, that you have to use the java file in order to see the problem, as the page numbers appears only on the second rendering of the document.
I have to use birt report 3.7.0, but I have also tried it on 4.6.0, where exactly the same problem can be observed.
Can please someone take a look on the problem?
Many thanks in advance!
Powered by FUDForum
. Page generated in 0.01706 seconds