This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] background-image across page regions


On Mon, Jun 23, 2003 at 05:28:23PM +0200, Jeroen van Holst wrote:
> Hi,
> 
> Can someone give me an XSL-FO example on how to setup a background image
> to fill the entire page? I'm using the user.pagemasters template with
> the background-image attribute.

The page masters for draft.mode in the stylesheets output
a background image.  Take a look at any of those page
masters fo/pagesetup.xsl, such as:

  <fo:simple-page-master master-name="blank-draft">

It sets a bunch of extra attributes on the <fo:region-body>.

If you are using FOP, notice in that template that it
doesn't output the background image if $fop.extensions isn't
zero, because FOP doesn't support all the attributes
for background images.  See the FOP compliance page for
a description:  http://xml.apache.org/fop/compliance.html

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]