Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Page numbering by master page(How to create page numbering for each master page)
Page numbering by master page [message #775333] Thu, 05 January 2012 19:43 Go to next message
VinceG Missing name is currently offline VinceG Missing nameFriend
Messages: 8
Registered: August 2011
Junior Member
I apologize in advance if question has already been asked and resolved in past topics but I have not found anything.

Here is my requirement for my BIRT 3.7 report (using run and output straight to PDF):

MasterPageA (instead of having Page 1 of 2, I am getting Page 1 of 3)
Page1

MasterPageA
Page2

MasterPageB
SummaryPage (always only one page)

I am using auto-text in the header of masterPage. My question is how can I have access to the total-page variable, so I can display in my masterPageA something like (total-page) - 1 ?

Any ideas are much appreciated.

Thanks
Re: Page numbering by master page [message #775768 is a reply to message #775333] Fri, 06 January 2012 16:42 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

When you deploy this report how will you be running it?

Jason

On 1/5/2012 2:43 PM, VinceG Mising name wrote:
> I apologize in advance if question has already been asked and resolved
> in past topics but I have not found anything.
>
> Here is my requirement for my BIRT 3.7 report (using run and output
> straight to PDF):
>
> MasterPageA (instead of having Page 1 of 2, I am getting Page 1 of 3)
> Page1
>
> MasterPageA
> Page2
>
> MasterPageB
> SummaryPage (always only one page)
>
> I am using auto-text in the header of masterPage. My question is how can
> I have access to the total-page variable, so I can display in my
> masterPageA something like (total-page) - 1 ?
>
> Any ideas are much appreciated.
>
> Thanks
Re: Page numbering by master page [message #775801 is a reply to message #775768] Fri, 06 January 2012 17:36 Go to previous messageGo to next message
VinceG Missing name is currently offline VinceG Missing nameFriend
Messages: 8
Registered: August 2011
Junior Member
It will be running using WebViewer with straight output to PDF.
Re: Page numbering by master page [message #775826 is a reply to message #775801] Fri, 06 January 2012 18:34 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

When you run the report in the Viewer, if you run to html using the
frameset mapping and then export to pdf does the report come out
correctly? Also try frameset mapping with &__format=pdf appended to the
url.

Jason

On 1/6/2012 12:36 PM, VinceG Mising name wrote:
> It will be running using WebViewer with straight output to PDF.
Re: Page numbering by master page [message #775853 is a reply to message #775826] Fri, 06 January 2012 19:51 Go to previous messageGo to next message
VinceG Missing name is currently offline VinceG Missing nameFriend
Messages: 8
Registered: August 2011
Junior Member
I am using run mapping with &__format=pdf. Would frameset make a difference?

Quote:
When you run the report in the Viewer, if you run to html using the
frameset mapping and then export to pdf does the report come out
correctly? Also try frameset mapping with &__format=pdf appended to the
url.

Jason
Re: Page numbering by master page [message #775869 is a reply to message #775853] Fri, 06 January 2012 20:43 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Yes, frameset uses a run task then a render task. run mapping uses
runandrender task, which does not create a rptdocument.

Jason

On 1/6/2012 2:51 PM, VinceG Mising name wrote:
> I am using run mapping with &__format=pdf. Would frameset make a
> difference?
>
> Quote:
>> When you run the report in the Viewer, if you run to html using the
>> frameset mapping and then export to pdf does the report come out
>> correctly? Also try frameset mapping with &__format=pdf appended to the
>> url.
>>
>> Jason
>
Previous Topic:Inserting Background Image Problem
Next Topic:Birt Chart Script Error
Goto Forum:
  


Current Time: Sat Nov 29 04:03:03 GMT 2014

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

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