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: [email protected] For additional commands, e-mail: [email protected]
