See http://www.lowagie.com/iText/history.html#V200. Paulo
________________________________ De: [EMAIL PROTECTED] em nome de [EMAIL PROTECTED] Enviada: sex 06-Abr-07 12:03 Para: itext-questions@lists.sourceforge.net Assunto: [iText-questions] Watermark and PdfPublicKeySecurityHandler Hi I have downloaded the latest iText-2.0.1, somehow I got problems with Watermark and PdfPublicKeySecurityHandler. For PdfPublicKeySecurityHandler, I had to go to bouncycastle (http://www.bouncycastle.org) and get their jar in order for me to keep the program running (the setEncryption was the one complaining) For Watermark, it was a bigger issue (I am actually new to itext, just started learning it from yesterday), so it took me 3 hours before I found out the Watermark was actually missing from the source (may be from the jar too, I don't know). The error message that I got was Watermark cannot be resolved to a type 10: 11: // watermark 12: Image image=Image.getInstance("C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/myapp/WEB-INF/sample36.jpg"); 13: Watermark watermark=new Watermark(image,((PageSize.A4).width()-image.plainWidth())/2,((PageSize.A4).height()-image.plainHeight())/2); Anyway, at the end, I just went to http://sourceforge.net/project/showfiles.php?group_id=15255 and downloaded itext1.4.8 , Watermark was there, I grabbed it and compiled it and it works. I think it's also missing in iText2.0.0. May be I missed something (when I was setting up iText), I don't know but if anyone encountered similar problems, may be they can try what I did, thx. Adrian ______________________________________ =================================================================== [EMAIL PROTECTED] http://adimages.sina.com.hk/Dict_Footer_0704_v3.html [EMAIL PROTECTED] http://mobile.sina.com.hk/ ·Qn³Ì·s¤â¾÷©wÁʪ«Â§¨é¡H¥ò¦³¼Æ½X¬Û¾÷µ¥§A©ð¡I http://adawards.sina.com.hk/4/form.html =================================================================== Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
<<winmail.dat>>
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/