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 and Leonard and Bruno, for all the very helpful (and quick) responses! -paul mkl wrote: > 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, > does not contain a trailer keyword followed by a trailer dictionary anymore > (the contents of which are now part of the XRef stream dictionary), but > there's still the "stratxref XREF_STREAM_OFFSET %%EOF" left. Maybe due to > this Leonard and others doubted that there was some PDF file without trailer > at all. > > > Paul Gatewood wrote: >> I think there must be something else wrong with the original file. I, >> too, had no problem instantiating PdfReader with the file produced by >> Acrobat via "Save As". The original file, however, causes the "missing >> trailer" exception. Both files have no trailer, but the original clearly >> has some other issue which is causing the problem. >> > > I'm afraid unless your supplier generates a sample for us to look at, we > wont be able to help at all. > > Regards, Michael. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
