Re: [iText-questions] Removing XMP Metadata

2007-09-17 Thread Paulo Soares
Paul Edward [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 16, 2007 12:36 AM > To: Paulo Soares > Subject: Re: [iText-questions] Removing XMP Metadata > > Hello > > I was reading with interest the recent emails concerning > removing xmp metadata. What is the current recom

Re: [iText-questions] Removing XMP Metadata

2007-09-11 Thread Paulo Soares
Send me the PDF and the code you use to remove/add the metadata. Paulo - Original Message - From: "Tobias Meier" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Tuesday, September 11, 2007 5:27 PM Subject: Re: [iText-questions] Re

Re: [iText-questions] Removing XMP Metadata

2007-09-11 Thread Tobias Meier
UnusedObjects() after the > catalog.remove(). > > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Tobias Meier > > Sent: Tuesday, September 11, 2007 9:15 AM > > To: Post all your questions

Re: [iText-questions] Removing XMP Metadata

2007-09-11 Thread Paulo Soares
> [mailto:[EMAIL PROTECTED] On > Behalf Of Tobias Meier > Sent: Tuesday, September 11, 2007 9:15 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Removing XMP Metadata > > > That will certainly remove the metadata and if you look at the P

Re: [iText-questions] Removing XMP Metadata

2007-09-11 Thread Tobias Meier
> > Paulo > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Tobias Meier > > Sent: Monday, September 10, 2007 4:40 PM > > To: Post all your questions about iText here > > Subject:

Re: [iText-questions] Removing XMP Metadata

2007-09-10 Thread Paulo Soares
Behalf Of Tobias Meier > Sent: Monday, September 10, 2007 4:40 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Removing XMP Metadata > > Do you mean like this? > > PdfDictionary dict = this.stamper.getReader().getCatalog(); > dict.remove(new

Re: [iText-questions] Removing XMP Metadata

2007-09-10 Thread Tobias Meier
t; To: itext-questions@lists.sourceforge.net > > Subject: [iText-questions] Removing XMP Metadata > > > > Hi! > > > > I experienced some strange behavior while removing XMP data from an > > existing pdf file. > > > > First i used > > > > stam

Re: [iText-questions] Removing XMP Metadata

2007-09-10 Thread Paulo Soares
Remove the /Metadata key in the catalog. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tobias Meier > Sent: Monday, September 10, 2007 3:30 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-qu

[iText-questions] Removing XMP Metadata

2007-09-10 Thread Tobias Meier
Hi! I experienced some strange behavior while removing XMP data from an existing pdf file. First i used stamper.setXmpMetadata(new byte[0]); on the original file but the xmp data was partly still in the pdf. Then i tried stamper.setXmpMetadata(null); on the original file with a similar result