From: Chen, Cindy (C)(STP) (Cindy.Chen@guidant.com)
Date: Wed Apr 14 2004 - 07:43:43 PDT
Hi,
Is there a way to define a page sequence master to set a special page master if the total page number is 1?
What I want to achieve is to have a large header on the first page and a large footer on the last page and regular small header and footer on the rest of the page. If the total page number of the output is 1, I would like to have large header and large footer to be printed. I couldn't find a way of doing this, does anybody have any suggestion?
My page masters are defined as:
<fo:simple-page-master margin="3mm" master-name="mainPage">
<fo:region-body margin="25mm" region-name="xsl-region-body"/>
<fo:region-before extent="25mm" region-name="xsl-region-before-main"/>
<fo:region-after extent="12mm" region-name="xsl-region-after-main"/>
</fo:simple-page-master>
<fo:simple-page-master margin="3mm" master-name="firstPage">
<fo:region-body margin="35mm" region-name="xsl-region-body"/>
<fo:region-before extent="35mm" region-name="xsl-region-before-first"/>
<fo:region-after extent="12mm" region-name="xsl-region-after-main"/>
</fo:simple-page-master>
<fo:simple-page-master margin="3mm" master-name="lastPage">
<fo:region-body margin="25mm" region-name="xsl-region-body"/>
<fo:region-before extent="25mm" region-name="xsl-region-before-main"/>
<fo:region-after extent="18mm" region-name="xsl-region-after-last"/>
</fo:simple-page-master>
<fo:simple-page-master margin="3mm" master-name="firstAndLastPage">
<fo:region-body margin="25mm" region-name="xsl-region-body"/>
<fo:region-before extent="25mm" region-name="xsl-region-before-first"/>
<fo:region-after extent="18mm" region-name="xsl-region-after-last"/>
</fo:simple-page-master>
Thanks,
Cindy(Jinqiu) Chen
Contract Software Engineer
Tel 651.582.7576
-------------------
(*) 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 Apr 14 2004 - 07:52:37 PDT