OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Watermark Images

Hi Otto,

I think you did not receive a response before because no one knows how to do what you are asking.   In the XSL-FO model, it generates a page with margins that define a body area, and then fills in the body area with formatted content. The body area is called <fo:region-body>, and the margin areas are called <fo:region-before> (header), <fo:region-after> (footer), <fo:region-start> (left margin area), <fo:region-end> (right margin area).  The watermark is normally placed as the background image of the page in the fo:region-body, so that the content, when it is generated, lays over it, as you noticed.  That is by design, so that the watermark does not obscure the content and make it unreadable.

Since you want your image to appear on every page, it cannot be part of the content and must be part of the page declaration.  But content for the page declaration only appears in the margin regions, as header or footer, or side margin navigational content.  It might be possible to declare a full size image in one of those areas but extending out side the designated area, but I'm not sure if it would be under or over the page content.

Bob Stayton
Sagehill Enterprises
On 6/29/2018 8:56 PM, Otto Hirr wrote:

I would like to place a watermark over the entire page.
Using the draft mode and watermark image params, the image is place on the page, however it seems to be on the "bottom."

How might one place the watermark over the entire page so that it would mark over non-transparent images?

Presently the watermark is clipped at the edges of images, which are not transparent.
Hence my assumption that the watermark image is on the "bottom" of stacking layers.

Best regards,


( from mobile device, please excuse spelling errors, grammar, abbreviations, shortness, and the such... )

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]