OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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" 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]