Problem with watermark's
Joined: 11 Apr 2011
Topic: Problem with watermark's
Posted: 11 Apr 2011 at 1:38pm
We have a problem when we try to use text or images as watermarks, they only show's in the first page of the document, we saw the examples and use the same code for "layout-master-set" but with the same results.
we use a block-container with the image in the "xsl-region-body"
<fo:external-graphic width="356mm" height="216mm" src="url(image.jpg)"/>
thanks in advance!
Joined: 06 Aug 2008
|Post Options Quote Reply Posted: 12 Apr 2011 at 7:16am|
The side regions (before, after, start, end) are repeated on each page. You use fo:static-content instead of fo:flow to map content to them.
The reason you're only seeing the watermark on the first page is that you're placing it in the body (fo:flow mapped to fo:region-body), which flows across the pages without repeating any of the contents.
Make sure you have an fo:region-before defined in your page master:
Then in the fo:page-sequence add the following code before fo:flow:
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum