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: