[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Generating different headers and trailers for the
JBryant@xxxxxxxxx wrote:
Hi, Kevin, If your FO processor supports the page-position="last" condition for page masters you can simply create a different page master with differently-named before and after regions. However, not all FO implementations support page-position="last". Another way is to put all the header or footer content in markers and then use retrieve-position="last-starting-within-page". Create an initial marker with the non-last header or footer content and make it a child of fo:flow. For the last-page header/footer, at the end of the flow, create a zero-height fo:block that contains a marker with the last page content. Since that block will be the last starting within the the last page, it will be used for the last page. The only challenge here would be if the last-page header or footer needed to have a different extent than the other pages, in which case you might have to do some tricky stuff to coordinate the placement of the last-page body contents relative to the header/footer, but it can be managed. Cheers, Eliot -- W. Eliot Kimber Professional Services Innodata Isogen 9390 Research Blvd, #410 Austin, TX 78759 (512) 372-8122 ekimber@xxxxxxxxxxxxxxxxxxx www.innodata-isogen.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|