Re: [iText-questions] PdfReader.getMetadat()

2008-06-18 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John H > Sent: Wednesday, June 18, 2008 3:03 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PdfReader.getMetadat() > > > Paulo

Re: [iText-questions] PdfReader.getMetadat()

2008-06-18 Thread John H
Paulo, we used a 3rd party PDF tool to inject metadata into the PDF file. We will ask the tool vendor about this issue. Are you saying that if the PDF had been correctly generated, then PdfReader.getMetadata() would work? John -- View this message in context: http://www.nabble.com/PdfReader.

Re: [iText-questions] PdfReader.getMetadat()

2008-06-18 Thread Paulo Soares
o: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] PdfReader.getMetadat() > > > Paulo, I attached a PDF file: > > PDF_Secure_noPsw.pdf is a PDF that has restrictions on the > document (e.g. no > print) but has no password. The content is encrypted bu

Re: [iText-questions] PdfReader.getMetadat()

2008-06-18 Thread John H
Paulo, I attached a PDF file: PDF_Secure_noPsw.pdf is a PDF that has restrictions on the document (e.g. no print) but has no password. The content is encrypted but the metadata inside this PDF is not encrypted. I can see the metadata (plain xml text) by using UltraEdit. John http://www.nabble.c

Re: [iText-questions] PdfReader.getMetadat()

2008-06-18 Thread Paulo Soares
It should work. Please provide your PDF. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jian hua huang > Sent: Tuesday, June 17, 2008 5:31 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions]

Re: [iText-questions] PdfReader.getMetadat()

2008-06-17 Thread Leonard Rosenthol
On Jun 17, 2008, at 9:30 AM, Jian hua huang wrote: I used PdfReader.getMedata() to get XMP out a PDF file and it works fine when a PDF file is not encrypted or has no restrictions (such as No Print). When a PDF file is encrypted or has restrictions on it, I get exception if I don’t have ow

[iText-questions] PdfReader.getMetadat()

2008-06-17 Thread Jian hua huang
Hi, I used PdfReader.getMedata() to get XMP out a PDF file and it works fine when a PDF file is not encrypted or has no restrictions (such as No Print). When a PDF file is encrypted or has restrictions on it, I get exception if I don’t have owner password. According to PDF Spec 1.4, if y