I have used this API with success to edit some pdf's and add some texts and a watermark. But now I can't do that with pdf's generated from Crystal Reports templates with the inet API: com.inet.report.
The error is on the following line: PdfReader reader = new PdfReader("XPTO.pdf");
Here is the stacktrace:
java.io.IOException: Dictionary key is not a name. at file pointer 65942
at com.lowagie.text.pdf.PRTokeniser.throwError(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readDictionary(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPRObject(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readDocObj(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at test.pt.segsocial.gr.service.business.common.TestPDF.main(TestPDF.java:19)
Can anyone give me a clue about what is going on and how can I solve this problem??
Thx
Eduardo Oliveira
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
