You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Debasish Jana <de...@gmail.com> on 2007/08/07 09:42:51 UTC
Watermark is not coming on all pages
Hi:
Need some help related to watermark to appear on all pages, currently, I'm
able to make it appear only on the first page. The relevant xsl:fo tags
follow. I have used a
<fo:block break-after="page" />
for forced page break, but after the forced page break, the watermark does
not appear on page2, it appears on page 1 though.
Appreciation in advance.
warm regards,
Debasish
------
<fo:flow flow-name="xsl-region-body">
<fo:block-container position="absolute"
left="0mm" top="0mm" width="210mm" height="297mm">
<fo:block text-align="center" font-size="0mm">
<fo:instream-foreign-object width="210mm" height="297mm">
<svg xmlns="http://www.w3.org/2000/svg"
width="210mm" height="297mm"
viewBox="0 0 200 200" preserveAspectRatio="none">
<g transform="translate(10,100)">
<g transform="rotate(-25)">
<text x="0" y="6"
style="font-family:Courier;font-size:10;font-weight:normal;stroke-width:0.5
;fill:none;stroke:lightgray;stroke-opacity:0.75;">
WaterMark
</text>
</g>
</g>
</svg>
</fo:instream-foreign-object>
</fo:block>
</fo:block-container>
. . . . . . . . .
<fo:block break-after="page" />
</fo:flow>
and then I have other fo tags like fo:table
Re: Watermark is not coming on all pages
Posted by Chris Bowditch <bo...@hotmail.com>.
Debasish Jana wrote:
> Hi:
>
> Need some help related to watermark to appear on all pages, currently,
> I'm able to make it appear only on the first page. The relevant xsl:fo
> tags follow. I have used a
>
> <fo:block break-after="page" />
>
> for forced page break, but after the forced page break, the watermark
> does not appear on page2, it appears on page 1 though.
A block container placed in the flow will only appear on 1 page. Try
putting the block-container in a static region instead.
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org