RE: [iText-questions] Reading PDF's created by PdfAcroForm
Quoting Chris Ward [EMAIL PROTECTED]: I guess the question then: is all text inserted by iText in a binary format, and how does it differ from text inserted by Acrobat. If you set Document.compress = false (we do it only for debugging reasons), you will see that the streams are not compressed. If you open them in another editor, you will be able to see the PDF syntax. --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] Reading PDF's created by PdfAcroForm
At 1:34 PM -0500 6/21/02, Chris Ward wrote: I have a co-worker that was on a project (not using iText) that parsed through a PDF file and looked for certain label text and then grabbed the preceding text as a value. The problem with doing that (assuming you are treating PDF as a text file) is that it doesn't take into account the possibility of object revisions, nor does it potentially help you with hierarchical field names. Leonard -- --- Leonard Rosentholmailto:[EMAIL PROTECTED] Chief Technical Officer http://www.pdfsages.com PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax) --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] Reading PDF's created by PdfAcroForm
At 10:43 AM -0500 6/21/02, Chris Ward wrote: How are PDF files that contain forms created by PdfAcroForm read? I thought that I had seen others post that iText objects could not be pulled out of a PDF file due to it's binary file type, and that makes sense. I see that you can get some information such as number of pages and such using PdfReader, but I am not seeing a method that would access a form. The current version of iText does not support reading or writing the content of form fields from existing PDF's. Hang in there - it's coming! Leonard -- --- Leonard Rosentholmailto:[EMAIL PROTECTED] Chief Technical Officer http://www.pdfsages.com PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax) --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] Reading PDF's created by PdfAcroForm
That's great that it is coming in the future, but for now... I have a co-worker that was on a project (not using iText) that parsed through a PDF file and looked for certain label text and then grabbed the preceding text as a value. When I look at the output of a iText PDF (in a text editor), the data (other than the /tag's) appears to be in binary, so that this method would not work either. However, if said document is edited in Acrobat and saved, the additional text is visible, when looking at the file in a text editor. I guess the question then: is all text inserted by iText in a binary format, and how does it differ from text inserted by Acrobat. Chris -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 12:38 PM To: Chris Ward; iText (E-mail) Subject: Re: [iText-questions] Reading PDF's created by PdfAcroForm At 10:43 AM -0500 6/21/02, Chris Ward wrote: How are PDF files that contain forms created by PdfAcroForm read? I thought that I had seen others post that iText objects could not be pulled out of a PDF file due to it's binary file type, and that makes sense. I see that you can get some information such as number of pages and such using PdfReader, but I am not seeing a method that would access a form. The current version of iText does not support reading or writing the content of form fields from existing PDF's. Hang in there - it's coming! Leonard -- --- Leonard Rosentholmailto:[EMAIL PROTECTED] Chief Technical Officer http://www.pdfsages.com PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax) --- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions