Re: [iText-questions] question regarding missing trailer

2009-06-12 Thread Paul Gatewood
Hi Michael, Your explanation brings everything together very understandably -- thanks very much. So for now, I agree -- there is no point in pursuing this further until I have a sample from the supplier to work with. If/when that happens I will repost with the sample. Many thanks again to you,

Re: [iText-questions] question regarding missing trailer

2009-06-12 Thread Paul Gatewood
Hi Michael, Your explanation brings everything together very understandably -- thanks very much. So for now, I agree -- there is no point in pursuing this further until I have a sample from the supplier to work with. If/when that happens I will repost with the sample. Many thanks again to yo

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread mkl
Paul, Paul Gatewood wrote: > > Especially the comment you made regarding an "XRef stream style PDF" was > very useful -- this tells me that there are indeed cases where a PDF > legitimately does not have a trailer. > More exactly, these PDFs do have a file trailer. This file trailer, though,

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Michael, Thank you very much for the feedback. I'm sorry I did not read all of your response earlier -- I was replying to Leonard and Bruno. Especially the comment you made regarding an "XRef stream style PDF" was very useful -- this tells me that there are indeed cases where a PDF legitimate

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Thanks Leonard -- I am working on getting a test case from the source of the original document. In the meantime, did you have a chance to take a look at the text at the end of sectoin 7.5.8.1 of http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf? > The value following the start

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Leonard Rosenthol
I can't explain why Acrobat isn't adding the trailer w/o seeing the original - sorry :(. Leonard On 6/11/09 5:04 PM, "Paul Gatewood" wrote: Hi Bruno, Sorry for the confusion -- yes, the problem still exists. Again, here is exactly what I did, using Adobe Acrobat 9 Pro, Version 9.1.1 on Wind

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Yes, that is right -- the original file did not have a trailer. This arises when I am creating a combined PDF from several files. At the point when I instantiate a PdfReader for the original file, I get the IOException, with the "missing trailer" message. I have contact information from the or

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Leonard Rosenthol
OH - the original file didn't have a trailer either??? Leonard On 6/11/09 3:28 PM, "Paul Gatewood" wrote: Hi Leonard, Thanks for the very speedy feedback. I am using Adobe Acrobat 9 Pro, Version 9.1.1 on Windows XP. I am going to repeat my steps here, just to be sure. 1) Start Acrobat 2) Op

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Hi Bruno, Sorry for the confusion -- yes, the problem still exists. Again, here is exactly what I did, using Adobe Acrobat 9 Pro, Version 9.1.1 on Windows XP. 1) Start Acrobat 2) Open original file (without trailer) (sorry I can not supply this -- it has confidential information from a

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Bruno Lowagie
Paul Gatewood wrote: > Please ignore the text > "Yes, I produced the file as follows: " > after my name -- I had started to describe what I had done before I > decided to just do it again, step-by-step, to be sure. I don't understand: is there still a problem? Or did redoing everything step-

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paulo Soares
09 1:19 PM Subject: [iText-questions] question regarding missing trailer Is the trailer element always required in a PDF document? I have recently encountered documents without the trailer (IOException "trailer not found" when instantiating PdfReader). In the past, the "save as"

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Please ignore the text "Yes, I produced the file as follows: " after my name -- I had started to describe what I had done before I decided to just do it again, step-by-step, to be sure. Paul Gatewood wrote: > Hi Leonard, > > Thanks for the very speedy feedback. > > I am using Adobe Acrobat

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread mkl
wgap, wgap wrote: > > I have recently encountered documents without the trailer (IOException > "trailer not found" when instantiating PdfReader). > > [...] > > I can not supply the PDF I received, due to its confidential content. > I have, however, edited it with Acrobat 9 to remove all the c

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Hi Leonard, Thanks for the very speedy feedback. I am using Adobe Acrobat 9 Pro, Version 9.1.1 on Windows XP. I am going to repeat my steps here, just to be sure. 1) Start Acrobat 2) Open original file (without trailer) (sorry I can not supply this -- it has confidential information from a 3rd

Re: [iText-questions] question regarding missing trailer

2009-06-11 Thread Leonard Rosenthol
Yes - without the trailer you can't find anything else in the PDF. I find it VERY hard to believe that you saved that file from Adobe Acrobat 9.x - it would have a trailer. Please provide the file that you opened originally in Acrobat 9 and then any information about the saving process. Did you

[iText-questions] question regarding missing trailer

2009-06-11 Thread Paul Gatewood
Is the trailer element always required in a PDF document? I have recently encountered documents without the trailer (IOException "trailer not found" when instantiating PdfReader). In the past, the "save as" feature of Acrobat produced a PDF with the trailer. Now I am using Acrobat 9 and the