Re: [iText-questions] Remove content added to a existing pdf

2012-06-26 Thread vee
I am learning and got your point: PdfWriter Generates PDF documents from scratch. Can import pages from other PDF documents. The major downside is that all interactive features of the imported page (annotations, bookmarks, fields, and so forth) are lost in the process. PdfStamper: Manipulates one

Re: [iText-questions] Remove content added to a existing pdf

2012-06-25 Thread 1T3XT BVBA
On 25/06/2012 20:48, vee wrote: > I have a situation where I need to add content an existing pdf which I am > able to do with the following code : Your code throws away all the interactivity that may be present in the original file. If you were taking an exam, you wouldn't pass with that code. >

[iText-questions] Remove content added to a existing pdf

2012-06-25 Thread vee
I have a situation where I need to add content an existing pdf which I am able to do with the following code : public static void appendStamp(String src, String dest, String name, String dateTime) throws IOException, DocumentException { Document document = new Document(Pag