This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] background-image across page regions
- From: Bob Stayton <bobs at sco dot com>
- To: Jeroen van Holst <j_holst at wanadoo dot nl>
- Cc: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 23 Jun 2003 10:08:50 -0700
- Subject: Re: [docbook-apps] background-image across page regions
- References: <1056382103.2078.24.camel@cherry>
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