Skip to content

Page Number subtracted by 1 #1799

Answered by speckyspooky
mcrexy asked this question in Q&A
Jul 17, 2024 · 5 comments · 5 replies
Discussion options

You must be logged in to vote

There is a way how you can handle it within report with multiple tables an so on.
For that I created a standard report and the master page got an dynamic-text.
The special thing is the JavaScript on the onRender()-method of the element.
There is a small script added to count according your role without the cover.

I added my test report which is not very beautiful but I think it can help you.
Please be aware you need the Run and render task to get the result. If you start the PDF-creation directly from BIRT-eclipse then the pages won't be calculated. If the PDF-created from viewer so the document is created in full with page numbering the PDF looks fine.

PDF-result

cover-content-pages.pdf

D…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@mcrexy
Comment options

Comment options

You must be logged in to vote
2 replies
@speckyspooky
Comment options

@mcrexy
Comment options

Comment options

You must be logged in to vote
1 reply
@mcrexy
Comment options

Answer selected by mcrexy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mcrexy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants