![]() |
Show Header based on the current page number |
Post Reply
|
| Author | |
het_hs
Newbie
Joined: 21 Apr 2010 Location: Mumbai Posts: 4 |
Post Options
Quote Reply
Topic: Show Header based on the current page numberPosted: 19 Jul 2010 at 9:24am |
|
In my report, there is a header which I want to show on conditional bases. Header should show up only from page 2 i.e. Header should not be shown for page 1. What is the way I can implement this? I tried googling with IF condition but no luck. Thanks in advance Hetal Sheth |
|
![]() |
|
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 9:48am |
|
Hello.
You need to define a different page master for the first page and use that in an fo:page-sequence-master. Here is a link to get you started with XSL-FO page layout: http://www.learn-xsl-fo-tutorial.com/Page-Layout.cfm#h1.3 If you are still having trouble, please contact support and we'll send you a sample. Thank you, Gabi Edited by gabig - 19 Jul 2010 at 9:48am |
|
![]() |
|
het_hs
Newbie
Joined: 21 Apr 2010 Location: Mumbai Posts: 4 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 9:51am |
|
My 1st page is not static as my the content of my 1st page is a value from database so it is possible that my 1st page's field's value extends in 2nd page and in that can I would want to show Header on 2nd page. So I cannot create separate page master and have no heading for it
Thanks
Hetal Sheth Edited by het_hs - 19 Jul 2010 at 10:01am |
|
![]() |
|
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 9:54am |
|
So, if I understood correctly, the scenarios are:
a) 1 page -> header on 1st page b) 2 pages -> header on 2nd page Any others? If it were to take 3 or 4 pages, where would the header appear? Regards, Gabi |
|
![]() |
|
het_hs
Newbie
Joined: 21 Apr 2010 Location: Mumbai Posts: 4 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 10:05am |
|
In total I have 7 pages and these can be 8 if page 1 value is that big to extend till 2nd page. So irrepective of my total number of pages Header should now show up for the 1st page. Now if the content of 1st page spill over to 2nd page (so 2nd page's content will fall to 3rd page n so on) then my 2nd page should show Header.
I hope I am clear on query.
Thanks
Hetal
|
|
![]() |
|
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 10:07am |
|
Understood.
I'll see if we can have support send you a sample. Regards, Gabi |
|
![]() |
|
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Posted: 19 Jul 2010 at 11:51am |
|
Hetal,
Our developers have managed to create a proof of concept document. Support will be sending you the sample soon. Regards, Gabi |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |