[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Adding a background image in footers
> -----Original Message----- > From: Nancy Brandt > > I am trying to put a background image in a footer. But the > problem is that it does not cover the whole page width (not > including the margins of course). Could you please advise me > what I do wrong? As far as I understand the problem is that > the footer is built as a table, so only one cell is covered > by the image. You'll have to customize the "footer.table" template (pagesetup.xsl). Modify the "candidate" variable in that template: <xsl:variable name="candidate"> <fo:table xsl:use-attribute-sets="footer.table.properties"> <!-- Add background image to footer --> <xsl:attribute name="background-image"> <xsl:call-template name="fo-external-image"> <xsl:with-param name="filename" select="$footer.path"/> </xsl:call-template> </xsl:attribute> ... ... </xsl:variable> Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]