[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



