:
Subject: Re: add watermark to
generated PDF using FOP
04/16/2004 16:37
I thought this would be in the FAQ, but it's not there (yet
;-) )
http://xml.apache.org/fop/output.html#pdf-postprocess
http://xml.apache.org/fop/output.html#pdf-watermark
Yes, seems like FOP does not support watermark. My colleague
told me that iText can do that. I will take a look at
I use a watermark for generated draft pdf documents.
I accomplished this with a background image, which isn't a true watermark,
but is adequate for the purpose.
Snip...
fo:simple-page-master master-name=formal xsl:use-attribute-sets=master
fo:region-body margin-top=2.8in
Derrick,
Thanks for your info. I am quite new to XSL. So, just bear with
me. You use the element xsl:text to refer to an external
image. I do not know exactly how it works. Would you please tell
me how to refer to an external image using the following snip
codes given the image
, Derrick
Subject: Re: RE: add watermark to generated PDF using FOP
Derrick,
Thanks for your info. I am quite new to XSL. So, just bear with
me. You use the element xsl:text to refer to an external
image. I do not know exactly how it works. Would you please tell
me how to refer to an external image
= No, try not, do or do not, there is no
try.
}
-Original Message-
From: David Beck [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 3:35 PM
To: Koes, Derrick
Subject: Re: RE: add watermark to generated PDF using FOP
Derrick,
Thanks for your info. I am quite new to XSL
On Apr 16, 2004, at 1:22 PM, David Beck wrote:
I used FOP and JAI to render PDF. I did not use configuration
class to set baseDir. In my case, do you think if there is a way
to pass this draft.jpg image into XSL and display it on each pdf
as background? Or can I use fo:external-graphic src=...
Matt,
We just tried the following:
fo:layout-master-set
fo:simple-page-master margin-right=1.5cm
margin-left=1.5cm margin-bottom=3cm margin-top=1.5cm
page-width=20cm page-height=28cm master-name=left
fo:region-body margin-top=1cm margin-bottom=1cm
xsl:attribute