Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » PDF Page Numbers
PDF Page Numbers [message #1008780] Wed, 13 February 2013 15:55 Go to next message
John 555 is currently offline John 555
Messages: 20
Registered: September 2012
Junior Member
Hello. I am having an issue with page numbers in BIRT 4.2. I need to have page numbers on my report when I output the report to a pdf. With every method that I have tried, the page number variable appears to increment only when there is a page break that I specified in the report design. When there are multiple pages because a table ended up being bigger than usual, both pages with have the same page number. I first tried putting <viewtime-value-of>pageNumber</viewtime-value-of> in the footer. I have also tried adding onCreate and onRender scripts to the footer to increment a global variable and then put it in the footer, but this has the same problem. Does anyone have a method for getting around this problem?
Re: PDF Page Numbers [message #1008785 is a reply to message #1008780] Wed, 13 February 2013 16:05 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you using fixed layout or auto layout (General property for the report)? Standard autotext page number should work fine here.

Jason


Jason Weathersby

BIRT Exchange
Re: PDF Page Numbers [message #1009136 is a reply to message #1008785] Thu, 14 February 2013 09:17 Go to previous messageGo to next message
John 555 is currently offline John 555
Messages: 20
Registered: September 2012
Junior Member
Hi Jason. I am using fixed layout. I tried autotext, and it does work. Thanks for the help.
Re: PDF Page Numbers [message #1009219 is a reply to message #1009136] Thu, 14 February 2013 12:35 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Can you reproduce the issue with the sample db and post the design?

Jason
BIRT-Exchange


Jason Weathersby

BIRT Exchange
Previous Topic:BIRT report w/ parameter fails when ? placed in SQL where clause
Next Topic:source code of BIRT: A Field Guide (third edition)
Goto Forum:
  


Current Time: Thu May 23 01:36:15 EDT 2013

Powered by FUDForum. Page generated in 0.09408 seconds