]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed fop.extensions=0 condition for draft background image
authorBob Stayton <bobs@sagehill.net>
Thu, 31 Jul 2003 17:03:30 +0000 (17:03 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 31 Jul 2003 17:03:30 +0000 (17:03 +0000)
now that FOP 0.20.5 supports background images.

xsl/fo/pagesetup.xsl

index b5f2f27de7a7654ca93fbc602edbade01716c0ea..6bf18b3badb1863bd25777a4b7b671bda462f5c7 100644 (file)
                              margin-right="{$page.margin.inner}">
         <fo:region-body margin-bottom="{$body.margin.bottom}"
                         margin-top="{$body.margin.top}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.titlepage}"
                         column-count="{$column.count.titlepage}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.titlepage}"
                         column-count="{$column.count.titlepage}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.titlepage}"
                         column-count="{$column.count.titlepage}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.lot}"
                         column-count="{$column.count.lot}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.lot}"
                         column-count="{$column.count.lot}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.lot}"
                         column-count="{$column.count.lot}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.front}"
                         column-count="{$column.count.front}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.front}"
                         column-count="{$column.count.front}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.front}"
                         column-count="{$column.count.front}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.body}"
                         column-count="{$column.count.body}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.body}"
                         column-count="{$column.count.body}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.body}"
                         column-count="{$column.count.body}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.back}"
                         column-count="{$column.count.back}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.back}"
                         column-count="{$column.count.back}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.back}"
                         column-count="{$column.count.back}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.index}"
                         column-count="{$column.count.index}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.index}"
                         column-count="{$column.count.index}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>
                         margin-top="{$body.margin.top}"
                         column-gap="{$column.gap.index}"
                         column-count="{$column.count.index}">
-          <xsl:if test="$draft.watermark.image != ''
-                        and $fop.extensions = 0">
+          <xsl:if test="$draft.watermark.image != ''">
             <xsl:attribute name="background-image">
               <xsl:call-template name="fo-external-image">
                 <xsl:with-param name="filename" select="$draft.watermark.image"/>