Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XSL-FO watermark

Thread Tools

XSL-FO watermark

Keith Davies
Posts: n/a
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:external-graphic src='...' />

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

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

Keith Davies "Always code as if the guy who ends up Removed) maintaining your code is a psychopath
(E-Mail Removed) who knows where you live." -- Damian Conway
Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[iText] template or watermark Ingo R. Homann Java 0 08-02-2005 02:27 PM
Adding a Watermark to an Image m3ckon ASP .Net 1 08-05-2004 01:06 PM
Watermark in background for Debug build David Slinn ASP .Net 1 06-27-2004 04:44 AM
Background image, fixed and resizeable, watermark. HELP. surjit Java 1 02-19-2004 08:32 PM
how could I add watermark to photoes in java ? j Java 1 11-18-2003 12:32 PM