]> granicus.if.org Git - docbook-dsssl/commitdiff
Added blank.page.content template to allow 'This Page Intentionally Left Blank' blank...
authorNorman Walsh <ndw@nwalsh.com>
Tue, 31 Dec 2002 21:38:20 +0000 (21:38 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 31 Dec 2002 21:38:20 +0000 (21:38 +0000)
xsl/fo/pagesetup.xsl

index 37438275d3205f86652e9679069dcedfab848bdb..5b8db127834a956985247f3c5b21306ab09ef456 100644 (file)
@@ -25,7 +25,9 @@
                            margin-bottom="{$page.margin.bottom}"
                            margin-left="{$page.margin.inner}"
                            margin-right="{$page.margin.outer}">
-      <fo:region-body margin-bottom="{$body.margin.bottom}"
+      <fo:region-body region-name="blank-body"
+                      display-align="center"
+                      margin-bottom="{$body.margin.bottom}"
                       margin-top="{$body.margin.top}">
       </fo:region-body>
       <fo:region-before region-name="xsl-region-before-blank"
 
   <xsl:if test="$fop.extensions = 0">
     <xsl:call-template name="footnote-separator"/>
+    <xsl:call-template name="blank.page.content"/>
   </xsl:if>
 </xsl:template>
 
   </fo:static-content>
 </xsl:template>
 
+<xsl:template name="blank.page.content">
+  <fo:static-content flow-name="blank-body">
+    <fo:block text-align="center"/>
+  </fo:static-content>
+</xsl:template>
+
 <xsl:template name="header.table">
   <xsl:param name="pageclass" select="''"/>
   <xsl:param name="sequence" select="''"/>