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 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 than just odd-even with this. Use this with
different header section...[Ismaeil, Sameh]no, I don't want to
distinguish odd and even pages,specifically, I need to distinguish the
frist page from the rest of the pages, any clue?Don't
think about using some predicate considering the page number, xsl fo and fop
are loosely coupled, it is meant to be that way. So it forbids the user to use
the internal page number programaticaly (some FO processor provide extension
to do this, fop does not).[Ismaeil, Sameh]yes, I kind of noticed
that , it is usually one way: FOP code - fo XSL -pdf
documentif your need is more complex and you have some magic
formula to guess wich page is affected, conditionnal master-page may be to low
level ...[Ismaeil, Sameh]I'll give conditional-master-page some insight
and hope it will work, thanks a lotGood
luck.At 13:13 03/12/2001 +, you wrote:
Hello everybodyI am a FOP
beginner, can somebody help me please with this problemI need to put
a cutsomized header in my pages, the header should contain adifferent
block (of text) according to the page currently being generated,so the
condition will be based on the page number1. is there an fo property
I can use (say for the static-content or theblock elemtents) that makes
certain blocks appear/disappear from headersaccording to page
number2. how can I use FOP to generate this
content
Cyril Rognonhttp://www.objectiva.fr