xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CalvinD <cedei...@hacc.edu>
Subject Re: footer/page number in embedded .xsl
Date Thu, 11 May 2006 20:00:04 GMT

Thanks for the info. I have included what I did below to add the footer with
page number and other information.
Calvin

  <!-- ========================= -->
  <!-- root element: phonelist -->
  <!-- ========================= -->
  <xsl:template match="phonelist">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
        <fo:simple-page-master master-name="simpleA4" 
        	page-height="27.8cm" 
        	page-width="21.5cm" 
        	margin-top="1cm" 
        	margin-bottom="1.0cm" 
        	margin-left="1cm" 
        	margin-right="1cm">
          <fo:region-body margin-bottom="1.0cm"/>
Added list line -->      <fo:region-after region-name="footer"
extent="0.5cm"/>
        </fo:simple-page-master>
      </fo:layout-master-set>

      <fo:page-sequence master-reference="simpleA4" initial-page-number="1">
>>--Added this section      
    	<fo:static-content flow-name="footer">
  		<fo:block text-align="center" font-size="10pt" font-family="serif">
    		 HACC Staff Directory -- Page <fo:page-number/> -- <xsl:value-of
select="java:format(java:java.text.SimpleDateFormat.new('MMMM d, yyyy'),
java:java.util.Date.new())"/>
  		</fo:block>
	</fo:static-content>
>>--End of added section

--
View this message in context: http://www.nabble.com/footer-page-number-in-embedded-.xsl-t1579153.html#a4347819
Sent from the FOP - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message