Go Back   Velocity Reviews > Newsgroups > XML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

XML - XSL-FO watermark

 
Thread Tools Search this Thread
Old 09-26-2005, 08:35 PM   #1
Default XSL-FO watermark


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

<foage-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
--
Keith Davies "Always code as if the guy who ends up
maintaining your code is a psychopath
who knows where you live."
http://www.kjdavies.org/ -- Damian Conway


Keith Davies
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump