[iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
Hi, Can anyone post the code to remove all OCG layers with name Watermark Or point me to a sample that can remove OCG layers from my files. Thanks. This footnote confirms that this email message has been

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
iText are you? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; From: Jaakov Jalink [mailto:jaak...@syneron.com] Sent: Monday, August 30, 2010 10:38 AM To: itext-questions@lists.sourceforge.net

Re: [iText-questions] PDF OCG layer removal

2010-08-30 Thread Jaakov Jalink
; From: Jaakov Jalink [mailto:jaak...@syneron.com] Sent: Monday, August 30, 2010 12:10 PM To: Post all your questions about iText here Subject: Re: [iText-questions] PDF OCG layer removal I'm new to iText, and have a week to get the code working, or find a bypass. I prefer to get the code, my

Re: [iText-questions] remove watermark layer

2010-06-23 Thread Jaakov Jalink
PDF version 1.4 - file attached -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, June 23, 2010 12:35 PM To: Post all your questions about iText here Subject: Re: [iText-questions] remove watermark layer What PDF are you using? Paulo -Original

Re: [iText-questions] remove watermark layer

2010-06-23 Thread Jaakov Jalink
There is something wrong with the way I created the iText layers - I'll resolve it. Thanks anyway. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of

[iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-22 Thread Jaakov Jalink
can't cover them up. do you think that is my problem as well? On Sun, Jun 20, 2010 at 9:30 AM, Jaakov Jalink jaak...@syneron.commailto:jaak...@syneron.com wrote: Did you try playing with the rectangle opacity?? From: Janle Sirman [mailto:janle.sir...@gmail.commailto:janle.sir...@gmail.com] Sent

[iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-22 Thread Jaakov Jalink
rectangle = stamper.getReader().getPageSizeWithRotation(i); cb.beginLayer(wmLayer); cb.setGState(transparent); ... layer added graphics Cb.endLayer(); From: Jaakov Jalink Sent: Tuesday, June 22, 2010 8:44 AM To: Post all your questions about

Re: [iText-questions] Watermark a PDF and check if an existing PDF is marked

2010-06-22 Thread Jaakov Jalink
com.itextpdf.text.pdf.PdfReader; import com.itextpdf.text.pdf.PdfStamper; import java.io.FileOutputStream; import java.io.IOException; /** * * @author Jaakov Jalink * Syneron Medical LTD. */ public class addWatermark { public static final String inFile = d:\\ChapterSection.pdf

Re: [iText-questions] Watermark a PDF and check if an existing PDF is marked

2010-06-21 Thread Jaakov Jalink
Hi, Thanks for the script reference to PDF standard. Watermarks are indeed annotations - see page 410 at the bottom: http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf The code I got to so far is, but the use of stamper should be avoided: import com.itextpdf.text.DocumentException;

Re: [iText-questions] accessing hidden layer?

2010-06-20 Thread Jaakov Jalink
Did you try playing with the rectangle opacity?? From: Janle Sirman [mailto:janle.sir...@gmail.com] Sent: Sunday, June 20, 2010 6:21 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] accessing hidden layer? Hi everyone, I'm using iText version 2.1.7. I want to highlight a

[iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-20 Thread Jaakov Jalink
). Annotations are added on top of the content. That's why you can't cover them up. do you think that is my problem as well? On Sun, Jun 20, 2010 at 9:30 AM, Jaakov Jalink jaak...@syneron.commailto:jaak...@syneron.com wrote: Did you try playing with the rectangle opacity?? From: Janle Sirman