Does that mean, iText doesn't support this type of PDF? I thought it couldn't write linearized file but could read them.
Thanks Dean On Thu, Jul 2, 2009 at 10:43 AM, Paulo Soares<psoa...@glintt.com> wrote: > Looks like the files are truncated. If the files are linearized Acrobat won't > look for the trailer as all the information it requires is in the > linerization tables. > > Paulo > >> -----Original Message----- >> From: Dean Krueger [mailto:dmkrue...@gmail.com] >> Sent: Thursday, July 02, 2009 3:00 PM >> To: iText-questions@lists.sourceforge.net >> Subject: [iText-questions] "trailer not found." >> >> Hi, >> I have some PDF's created by a customer, using Distiller 9 on >> windows. When I try to open a PdfReader, I get an exception "trailer >> not found.", Stack Trace is : >> iTextSharp.text.pdf.PdfReader.RebuildXref() >> at iTextSharp.text.pdf.PdfReader.ReadPdf() >> at iTextSharp.text.pdf.PdfReader..ctor(String filename, >> Byte[] ownerPassword) >> at iTextSharp.text.pdf.PdfReader..ctor(String filename) >> >> The PDF's are 1.6 and they are Linearized. >> >> Anybody have any idea's why I get this exception. These files open >> fine in Acrobat and Apple's Preview.app with no errors. >> >> I can supply the files if someone wants to have a look. >> >> Thanks >> Dean Krueger > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta mensagem > for recebida por engano, por favor envie-a de volta para o remetente e > apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o > destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It may contain > confidential or legally protected information. The incorrect transmission of > this message does not mean the loss of its confidentiality. If this message > is received by mistake, please send it back to the sender and delete it from > your system immediately. It is forbidden to any person who is not the > intended receiver to use, distribute or copy any part of this message. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > 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/ > ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/