xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Need an advice (different headers)
Date Mon, 05 Jan 2009 15:26:13 GMT
page-position="last" is not supported by FOP 0.20.5. FOP 0.95 has
support for page-position="last".
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-page-position

On 05.01.2009 15:53:47 Stefan Kelling wrote:
> I need to print different headers on certain pages, that our sorting machine knows how
to handle the pages:
> First page: X
> First page when last page: Y
> Following pages: X
> Following page when last page: Y
> So basicly when the machine "reads" an Y in the header, it knows  to sort tha pages away
and start a new stack.
>  Im working with FOP 0.20.5.  I tried to work with page-sequences for about a week but
thats does not work form me.
> ==============
>     <fo:page-sequence-master master-name="SeitenSequenz">
>       <fo:repeatable-page-master-alternatives>
>        <fo:conditional-page-master-reference master-reference="first-page" page-position="first"/>
>        <fo:conditional-page-master-reference master-reference="following-pages" page-position="rest"/>
>        <fo:conditional-page-master-reference master-reference="last-page" page-position="last"/>
>       </fo:repeatable-page-master-alternatives>
>     </fo:page-sequence-master>
> ==============
> If i go with this i get first page:X, 2nd and 3rd page get: Y.
> Is it a good idea to work with different headers or are their other possibilities?
> 
> With best regards




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message