Jump to content

How to populate 3 different static footers for page overflow


Recommended Posts



I need to populated 3 different footers when my first page overflows more than 2 pages. I am able to populate 2 different footers for page 1 and page 2, but i need to populate a different footer from 3 page.

Page 1 and page 2 footers are different but require same region after extent area. Page 3 footer requires different region after extent area. I am unable to find any logic to change region after extent area and to populate footer from 3rd page.


My stylesheet has 3 simple page masters. I have to handle the above scenario when PageOne overflows and content of PageOne is dynamic.


<fo:layout-master-set> <fo:simple-page-master master-name="pageOne" page-width="210mm" page-height="297mm" margin-top="10.5mm" margin-bottom="10.5mm" margin-left="16mm" margin-right="18mm"> <fo:region-body margin-bottom="60mm"/> <!--65--> <fo:region-after extent="50mm"/> </fo:simple-page-master>

<fo:simple-page-master master-name="pageTwo" page-width="210mm" page-height="297mm" margin-top="11.5mm" margin-bottom="15mm" margin-left="13mm" margin-right="18.5mm"> <fo:region-body margin-bottom="86mm"/> <fo:region-before extent="3mm"/> <fo:region-after extent="70mm"/> </fo:simple-page-master> </fo:simple-page-master> <fo:simple-page-master master-name="pageThree" page-width="210mm" page-height="297mm" margin-top="11.5mm" margin-bottom="10.5mm" margin-left="15mm" margin-right="15mm"> <fo:region-body margin-top="11mm" margin-bottom="11mm"/> <fo:region-before extent="3mm"/> <fo:region-after extent="17mm"/> </fo:simple-page-master> </fo:layout-master-set>


please help me how to proceed with this
thanks in advance.


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...