Re: xslfop footer

Hi rjk
you can do this by placing 
<fo:static-content flow-name="Footer">
	  <fo:block text-align="center"  font-size="8pt" space-before="20pt">
              FOOTER CONTENT HERE
      </fo:block>
</fo:static-content>
inside <page-sequence>
use only one <page-sequnece>
I think it would work.

..............


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">
> 				<fo:flow flow-name="xsl-region-body">
> 					<fo:block>
> 					</fo:block>
> 				</fo:flow>
> 			</fo:page-sequence>
> 			<fo:page-sequence master-reference="all">
> 				<fo:flow flow-name="xsl-region-after">
> 					<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 :(
> 

-- 
View this message in context: http://www.nabble.com/xslfop-footer-tf2669796.html#a7613717
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Saturday, 2 December 2006 01:50:39 UTC