[xep-support] Placing special footers on last page?

From: Dean, Tim (STP) (Tim.Dean@guidant.com)
Date: Wed Mar 10 2004 - 10:25:13 PST

  • Next message: Oliver Becker: "Re: [xep-support] looking for a math / bullets font i can use in XEP"

    I have created several page sequences in the FO source. We have a requirement to have a special header for the first page and a special footer for the last page for each page sequence. So I created a page-sequence-master as follows:

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

    Also to support duplex printing, for each page sequence, I have set force-page-count attribute to "even" so that the next page sequence would start from the odd page. I found an extra page is added as desired if the total page number for the page sequence is an odd number. But my last page footer is printed on the blank page as it assumes the blank page as the last page for the sequence. Is there a way to have the last page footer printed on the second last page if a blank page is added at the end?

    Attached is an example showing the problem: It's a modified form of one of the XEP example FO files.

    Thanks,

    Tim Dean
    Principal Software Engineer
    Guidant Corporation
    4100 Hamline Avenue N, MS E-222
    St. Paul, MN 55112
    Telephone: (651) 582-4791 Fax: (651) 582-7484
    Tim.Dean at guidant.com
    http://www.guidant.com/


    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html




    This archive was generated by hypermail 2.1.5 : Wed Mar 10 2004 - 10:34:38 PST