- From: Roland Neilands <rneilands@pulsemining.com.au>
- Date: Tue, 21 Nov 2006 09:58:55 +1100
- CC: www-xsl-fo@w3.org
rjk, rjk wrote: > Hello I am having trouble getting a footer to show up on every page of my pdf > generated using FOP. After reading as much information as I could find on > the subject I still can't get it to work. I can get it to fall directly > after my body, but when I do that the footer only shows up on the last page. > Any help would be appreciated. Here is what my xsl file looks like: (edited > to not take up dozens of pages) > > <xsl:template match="/"> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master master-name="page" page-height="11in" > page-width="8.5in" margin-top="0cm" margin-bottom="0cm" margin-left="0cm" > margin-right="0cm"> > <fo:region-before/> > <fo:region-body/> > <fo:region-after extent="2cm"/> > </fo:simple-page-master> > <fo:page-sequence-master master-name="all"> > <fo:repeatable-page-master-alternatives> > <fo:conditional-page-master-reference master-reference="page" > page-position="first"/> > </fo:repeatable-page-master-alternatives> > </fo:page-sequence-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="all"> <!-- Static content appears on every page --> <fo:static-content flow-name="xsl-region-after"> <fo:block> </fo:block> </fo:static-content> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > </xsl:template> > > Sorry for the noob-like request but I have been trying to figure this out > for the better part of 2 days now :( Cheers, Roland.
Received on Monday, 20 November 2006 22:59:22 UTC