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 20:55 Go to next message
John 555 is currently offline John 555Friend
Messages: 21
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 21:05 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
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
Re: PDF Page Numbers [message #1009136 is a reply to message #1008785] Thu, 14 February 2013 14:17 Go to previous messageGo to next message
John 555 is currently offline John 555Friend
Messages: 21
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 17:35 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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

Jason
BIRT-Exchange
Previous Topic:BIRT report w/ parameter fails when ? placed in SQL where clause
Next Topic:Remove the null values in a multi-value listbox
Goto Forum:
  


Current Time: Sun Dec 21 16:50:37 GMT 2014

Powered by FUDForum. Page generated in 0.08874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software