Re: [iText-questions] Reading text from PDF

2010-10-18 Thread Modesto Aguirre Gomez
solved the problem. Thank you. Date: Fri, 15 Oct 2010 09:39:42 -0700 From: msto...@autonomy.com To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Reading text from PDF First of all, I tried to run Acrobat 9.4 pro's PDF Syntax Check on 1.pdf: It FAILED

Re: [iText-questions] Reading text from PDF

2010-10-15 Thread Mark Storer
tware Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Modesto Aguirre Gomez [mailto:modestoagui...@hotmail.com] Sent: Friday, October 15, 2010 12:46 AM To: Mail list iText Subject: Re:

Re: [iText-questions] Reading text from PDF

2010-09-08 Thread Kevin Day
Another option would be to use com.itextpdf.text.pdf.parser.PdfContentReaderTool to obtain the content stream for the page that is causing problems. The tool should actually fail with the null pointer exception, but you'll get the content stream output before then. Replace the text extraction st

Re: [iText-questions] Reading text from PDF

2010-09-08 Thread Modesto Aguirre Gomez
forge.net > Subject: Re: [iText-questions] Reading text from PDF > > > Almost certainly, the PDF is not a valid PDF. When you re-save using > Acrobat, it is cleaning up the problems. > > If you can generate a SMALL PDF that demonstrates the problem, we can take a > look at it

Re: [iText-questions] Reading text from PDF

2010-09-07 Thread Kevin Day
Almost certainly, the PDF is not a valid PDF. When you re-save using Acrobat, it is cleaning up the problems. If you can generate a SMALL PDF that demonstrates the problem, we can take a look at it in RUPS and see what the specific issue is (it may be reasonable for iText to just handle the prob

Re: [iText-questions] Reading text from PDF

2010-09-06 Thread 1T3XT info
On 7/09/2010 0:10, Modesto Aguirre Gomez wrote: > I was investigating with the PDF editor to see what I could do, and I > think Crystal Report add or create and invisible clip in order to > protect these documents. I think there's a reference in the PDF to an object that either doesn't exist, or t

[iText-questions] Reading text from PDF

2010-09-06 Thread Modesto Aguirre Gomez
I have a problem trying to read an PDF document generated by Cristal reports. It is the following: java.lang.NullPointerException at com.itextpdf.text.pdf.PdfContentParser.readArray(PdfContentParser.java:148) at com.itextpdf.text.pdf.PdfContentParser.readPROb