Re: [iText-questions] trailer not found

2011-10-28 Thread mkl
mingqiang yu, mingqiang yu wrote: > I recently got a pdf file which makes the PDFReader failed: > > com.itextpdf.text.exceptions.InvalidPdfException: trailer not found. > [...] > > I tried to open the pdf with wordpad and it's true that it doesn't have > trailer. Can you share that file w

[iText-questions] trailer not found

2011-10-27 Thread mingqiang yu
Hi, I recently got a pdf file which makes the PDFReader failed: com.itextpdf.text.exceptions.InvalidPdfException: trailer not found. at com.itextpdf.text.pdf.PdfReader.rebuildXref(PdfReader.java:1567) at com.itextpdf.text.pdf.PdfReader.readPdf(PdfReader.java:522) at com.it

Re: [iText-questions] trailer not found

2009-10-03 Thread Red Light
Hi Mark, ok thanks for info. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile

Re: [iText-questions] trailer not found

2009-10-02 Thread Mark Storer
M To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] trailer not found Hi Mark, my fault i think i'm using itext-1.3.1 ; I should try with the new one. and thanks -- Come build with us

Re: [iText-questions] trailer not found

2009-10-02 Thread Red Light
Hi Mark, my fault i think i'm using itext-1.3.1  ; I should try with the new one. and thanks -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend th

Re: [iText-questions] trailer not found

2009-10-02 Thread Mark Storer
...@yahoo.com] Sent: Friday, October 02, 2009 8:43 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] trailer not found Hi , i have one simple pdf file and my following code works great, InputFile inputTest = (InputFile) event.getSource(); InputStream inputStream= new

[iText-questions] trailer not found

2009-10-02 Thread Red Light
Hi , i have one simple pdf file and my following code works great,     InputFile inputTest = (InputFile) event.getSource();             InputStream inputStream= new FileInputStream(inputTest.getFile());           PdfReader   reader = new PdfReader(inputStream); i took another copy and edited it

Re: [iText-questions] "trailer not found."

2009-07-06 Thread Paulo Soares
about iText here > Subject: Re: [iText-questions] "trailer not found." > > Paulo, how do I get the latest version that includes this fix for > itextsharp? Do I compile it myself? or will there be a 4.1.3? > > Thanks > Dean > > On Fri, Jul 3, 2009 at 7:50 AM,

Re: [iText-questions] "trailer not found."

2009-07-06 Thread Dean Krueger
t;> Sent: Thursday, July 02, 2009 4:15 PM >>> To: Post all your questions about iText here >>> Subject: Re: [iText-questions] "trailer not found." >>> >>> Ok, here is a smaller one.. Thanks! >>> >>> >>> On Thu, Jul 2, 2009 at 11

Re: [iText-questions] "trailer not found."

2009-07-03 Thread Dean Krueger
>> From: Dean Krueger [mailto:dmkrue...@gmail.com] >> Sent: Thursday, July 02, 2009 4:15 PM >> To: Post all your questions about iText here >> Subject: Re: [iText-questions] "trailer not found." >> >> Ok, here is a smaller one.. Thanks! >> >> >

Re: [iText-questions] "trailer not found."

2009-07-03 Thread Paulo Soares
7;s better to look at one > of those PDFs. > > > > Paulo > > > >> -Original Message- > >> From: Dean Krueger [mailto:dmkrue...@gmail.com] > >> Sent: Thursday, July 02, 2009 4:04 PM > >> To: Post all your questions about iText here > &g

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Leonard Rosenthol
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-question

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
I'll have look. Paulo > -Original Message- > From: Dean Krueger [mailto:dmkrue...@gmail.com] > Sent: Thursday, July 02, 2009 4:15 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] "trailer not found." > > Ok, here i

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
ll your questions about iText here > Subject: Re: [iText-questions] "trailer not found." > > 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, 2

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Dean Krueger
or 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.sourcef

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
, 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 e

[iText-questions] "trailer not found."

2009-07-02 Thread Dean Krueger
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

Re: [iText-questions] trailer not found: how to locate/id entify error in PDF

2009-01-30 Thread Mark Storer
Paul Gatewood onr.navy.mil> writes: > > Thanks to both of you for your quick feedback. > If the supplier of the PDF asks I will simply let them know this. > Thanks again. > -paul I have seen this same exception crop up when the file is encrypted. Admittedly, this was in my own bastardized vers

Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-30 Thread Paul Gatewood
Thanks to both of you for your quick feedback. If the supplier of the PDF asks I will simply let them know this. Thanks again. -paul 1T3XT info wrote: > Leonard Rosenthol wrote: >> The message in the ioException is pretty clear - the trailer is not found... > > In other words: either the trailer

Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread 1T3XT info
Leonard Rosenthol wrote: > The message in the ioException is pretty clear - the trailer is not found... In other words: either the trailer was cut off from the file, or the trailer could not be found because plenty of garbage was added at the end of the file. -- This answer is provided by 1T3XT B

Re: [iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread Leonard Rosenthol
The message in the ioException is pretty clear - the trailer is not found... Leonard On Thu, Jan 29, 2009 at 3:06 PM, Paul Gatewood wrote: > When calling PdfReader(String filename) I get > > java.io.IOException: trailer not found. >at com.lowagie.text.pdf.PdfReader.rebuildXref > > so I

[iText-questions] trailer not found: how to locate/identify error in PDF

2009-01-29 Thread Paul Gatewood
When calling PdfReader(String filename) I get java.io.IOException: trailer not found. at com.lowagie.text.pdf.PdfReader.rebuildXref so I suspected (from other posts here) that the PDF to be read had some error. I was able to read the source PDF with Acrobat 8.1.3, so perhaps Acrobat has