a custom header according to page number

2001-12-03 Thread Ismaeil, Sameh Z
Hello everybody I am a FOP beginner, can somebody help me please with this problem I need to put a cutsomized header in my pages, the header should contain a different block (of text) according to the page currently being generated, so the condition will be based on the page number 1. is there

Re: a custom header according to page number

2001-12-03 Thread Cyril Rognon
Your question is a little underspecified ... if you want to distinguish odd and even pages, the page master conditionnal part is for you (see the page master fo definition : chapter 6.4.11 http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference). I think you may handle more

RE: a custom header according to page number

2001-12-03 Thread Ismaeil, Sameh Z
Thanks Cyril, please see answers below -Original Message-From: Cyril Rognon [mailto:[EMAIL PROTECTED]]Sent: Monday, December 03, 2001 3:46 PMTo: [EMAIL PROTECTED]Subject: Re: a custom header according to page numberYour question is a little underspecified ...if you want

RE: a custom header according to page number

2001-12-03 Thread Cyril Rognon
If you only need to ditinguish the first page from the other ones, simply use a different page-master (reference or name ;-) according to the spec conformance) and use this page master for your cover page only. This will do the trick easily. one page-master for the cover (one page-sequence using

Re: a custom header according to page number

2001-12-03 Thread Jens Eckert
I do have a similar (or the same?) problem. I have a flow that runs through all the pages. On the first page, though, I'd like to have a different header (static content). So far I defined two simple-page masters and a page-sequence-master that uses a simple-page master for the first page and

Re: a custom header according to page number

2001-12-03 Thread Arved Sandstrom
the other region-name. They will get appropriately mapped. Hope this helps. Arved Sandstrom - Original Message - From: Jens Eckert To: [EMAIL PROTECTED] Sent: Monday, December 03, 2001 11:21 AM Subject: Re: a custom header according to page number I do have

Re: a custom header according to page number

2001-12-03 Thread Cyril Rognon
Jens, I think you are trying to do too much in the fo stage. It is aknowledged that you have the power of xsl fo to take care of formatting. The feature you are talking about is a document structure decision. It is meant to be done by XSLT code. When you decide to create your fo document, you

Re: a custom header according to page number

2001-12-03 Thread Jens Eckert
I had this idea as well, but only FO knows which if it is formatting the first or the other pages. But Arved's approach works fine. Thanks a lot! Jens Cyril Rognon schrieb: Jens, I think you are trying to do too much in the fo stage. It is aknowledged that you have the power of xsl fo to take