XSL-FO watermark

Keith Davies

Usenet Archive
Joined
Oct 26, 2003
Messages
37
Reaction score
0
Hi All,

a friend wants to create a PDF (using XSL-FO) that contains a watermark that covers the entire page.

<fo:block background-image='...'> surrounding the content of the flow almost works, except that it covers *only* where there is content as opposed to the entire page.

A common technique for achieving this goal is to put the watermark in the header or footer, positioned such that it will fill the entire page. How is this done in XSL-FO, and/or is there a better way?

The current attempt has

<fo:page-region extent='0in' overflow='visible' />

in the page master, then

<fo:static-content>
<fo:block>
<fo:external-graphic src='...' />
</fo:block>
</fo:static-content>

in the page-sequence (all things pointing to each other appropriately, etc.).

I think I'm just missing something here, but can't see what it is.

Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,244
Members
248,133
Latest member
DujonT

Latest Threads

Top