Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Taariq Levack
That makes sense, maybe I did something wrong with my new array and flattening the original. We decided it wouldn't be wise for us to store editable copies in case someone gets hold of it and starts printing their own documents, with or without another password to manage. Thanks anyway, appreciate

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Jason Berk
Not sure I understand exactly what you want, but I create a PDF in memory and then use http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html#copyO f(byte[], int) to copy it and store the copy in the DB. You could flatten the original after you make the copy. Jason From

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Taariq San
That helps, thanks. The password is no good for fear of fraud, but I will take your client's approach. On 20 May 2011, at 10:06 AM, 1T3XT BVBA wrote: > Op 20/05/2011 8:48, Taariq Levack schreef: >> I've tried a few things and failed, is this possible with iText? > > You could flatten all field

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread 1T3XT BVBA
Op 20/05/2011 8:48, Taariq Levack schreef: > I've tried a few things and failed, is this possible with iText? You could flatten all fields but the date field, and make that field Read-Only. Downside: people with Acrobat could change the field property, you'd have to encrypt the document with an o