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 sushilmuppidi <sm...@ctepl.com> on 2008/09/24 10:42:48 UTC

How to add watermark

I have added water mark as image in pdf. but when i click on the watermark
image in pdf file, the image being selected and providing the copy option. I
want to disable copy option of the water mark image.
Code snippet:  
 <fo:simple-page-master master-name="default" page-height="29.7cm"
page-width="23cm"
	margin-top="11mm" margin-bottom="5mm" margin-left="23mm"
margin-right="3cm">
	  <fo:region-body 
	  background-image="E:\pdfimages\watermark.jpg"
background-repeat="no-repeat">	
	  </fo:region-body> 
	  <fo:region-before region-name="header" extent="8in"/>
          <fo:region-after region-name="footer" extent="0.5in"/>
</fo:simple-page-master>
-- 
View this message in context: http://www.nabble.com/How-to-add-watermark-tp19644473p19644473.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: How to add watermark

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
There's nothing in XSL-FO to do that. I don't even know if that is
possible in PDF at all.

On 24.09.2008 10:42:48 sushilmuppidi wrote:
> 
> I have added water mark as image in pdf. but when i click on the watermark
> image in pdf file, the image being selected and providing the copy option. I
> want to disable copy option of the water mark image.
> Code snippet:  
>  <fo:simple-page-master master-name="default" page-height="29.7cm"
> page-width="23cm"
> 	margin-top="11mm" margin-bottom="5mm" margin-left="23mm"
> margin-right="3cm">
> 	  <fo:region-body 
> 	  background-image="E:\pdfimages\watermark.jpg"
> background-repeat="no-repeat">	
> 	  </fo:region-body> 
> 	  <fo:region-before region-name="header" extent="8in"/>
>           <fo:region-after region-name="footer" extent="0.5in"/>
> </fo:simple-page-master>
> -- 
> View this message in context: http://www.nabble.com/How-to-add-watermark-tp19644473p19644473.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org