xsl-list
[Top] [All Lists]

Generating different headers and trailers for the first, subseque nt and last pages using FOP

2005-01-12 07:17:49
Hi

I'm using FOP to process and FO document which is structured so it has some
header information on the first page, different header/trailer info on
subsequent pages and yet another different format of trailer on the last
page. 

I'd hoped to do it by using 

   <fo:page-sequence-master master-name="contract">
        <fo:repeatable-page-master-alternatives>
             <fo:conditional-page-master-reference 
                  master-reference="first" 
                  page-position="first">
             </fo:conditional-page-master-reference>
             <fo:conditional-page-master-reference 
                  master-reference="rest" 
                  page-position="rest">    
             </fo:conditional-page-master-reference>
             <fo:conditional-page-master-reference 
                  master-reference="last" 
                  page-position="last">    
             </fo:conditional-page-master-reference>
        </fo:repeatable-page-master-alternatives>


but when it didn't work I looked on the Apache website and discovered that
page-position="last" isn't supported.

Can anyone suggest how I can achieve the same result without
page-position="last"?


Thanks


Kevin
Systems Programmer
 
Tel : 01480 484332
Fax : 01480 494039





 
This email is sent on behalf of Northgate Information Solutions UK Limited 
("Northgate") and is strictly confidential and intended solely for the 
addressee(s).  It may contain personal and confidential information and as such 
may be protected by the Data Protection Act 1998.

If you are not the intended recipient of this email you must: (i) not disclose, 
copy or distribute its contents to any other person nor use its contents in any 
way or you may be acting unlawfully;  (ii) contact Northgate immediately on +44 
(0)1442 232424 quoting the name of the sender and the addressee then delete it 
from your system.

Any views or opinions expressed within this email are those of the author, and 
do not necessarily represent those of Northgate.

Northgate has scanned this email for viruses but does not accept any 
responsibility once this email has been transmitted.  You should scan 
attachments (if any) for viruses.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>