Yes it worked on the pdf I sent but was not working on another pdf which was
corrupted. Adobe was also not able to creat the signature. So the issue is
closed. Thanks

Regards,
Wahaj

"Paulo Soares" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Works for me with "EasyBank International Payment form.pdf".

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Wahaj
> Sent: Monday, January 31, 2005 11:13 AM
> To: [email protected]
> Subject: [iText-questions] Re: Signing a pdf document is
> generating exceptions
>
> Hi Paulo,
>
> Just checked iText 151 with the pdf I sent you earlier and I
> get the following exception.
>
> com.lowagie.text.DocumentException: Append mode requires a
> document without errors even if recovery was possible.
> at com.lowagie.text.pdf.PdfStamperImp.<init>(PdfStamperImp.java:104)
> at com.lowagie.text.pdf.PdfStamper.<init>(PdfStamper.java:121)
> at
> com.lowagie.text.pdf.PdfStamper.createSignature(PdfStamper.java:516)
>
> Regards,
> Wahaj
>
> "Paulo Soares" <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > wrote in message
> <news:[EMAIL PROTECTED]
> > news:[EMAIL PROTECTED]
> There'a bug with mixed xref in append mode. It will be fixed
> next week.
>
> > -----Original Message-----
> > From: Wahaj [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, January 26, 2005 8:21 AM
> > To: Paulo Soares;
> <mailto:[email protected]>
> [email protected]
> > Subject: Re: [iText-questions] Signing a pdf document is
> > generating exceptions
> >
> > Hi Paulo,
> >
> > I tried iText-150 to sign the attached PDF. The API did not
> > give me any
> > error but I could not also see the signature in the resultant
> > pdf. Its seems
> > as if there is a problem. With some pdfs which are simple and
> > do not contain
> > any form fields the API works.
> >
> > Regards,
> > Wahaj
> >
> > ----- Original Message ----- 
> > From: "Paulo Soares" < <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> > To: "Wahaj" < <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>;
> > < <mailto:[email protected]>
> [email protected]>
> > Sent: Tuesday, January 18, 2005 9:54 PM
> > Subject: RE: [iText-questions] Signing a pdf document is generating
> > exceptions
> >
> >
> > > It's a bug when signing in append mode a doc with 1.5
> > compression. It's
> > > already fixed and will be in the next release.
> > >
> > > > -----Original Message-----
> > > > From:
> <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Wahaj
> > > > Sent: Tuesday, January 18, 2005 2:28 PM
> > > > To: <mailto:[email protected]>
> [email protected]
> > > > Subject: [iText-questions] Signing a pdf document is
> > > > generating exceptions
> > > >
> > > > Hi All,
> > > >
> > > > I am trying to sign a pdf document invisibly but getting
> > the following
> > > > exception;
> > > >
> > > > java.lang.ArrayIndexOutOfBoundsException: 7
> > > >  at
> > com.lowagie.text.pdf.PdfWriter.setPdfVersion(PdfWriter.java:1854)
> > > >  at
> > > >
> >
> com.lowagie.text.pdf.PdfWriter.setFullCompression(PdfWriter.java:2250)
> > > >  at
> > com.lowagie.text.pdf.PdfStamperImp.<init>(PdfStamperImp.java:128)
> > > >  at com.lowagie.text.pdf.PdfStamper.<init>(PdfStamper.java:120)
> > > >  at
> > > >
> > com.lowagie.text.pdf.PdfStamper.createSignature(PdfStamper.java:505)
> > > >  at SignPDF.signingPDF(SignPDF.java:92)
> > > >  at SignPDF.signPDF(SignPDF.java:65)
> > > >  at SignPDF.main(SignPDF.java:30)
> > > >
> > > > See attached pdf which I tested. I have tried iText 145 as
> > > > well as iText 149
> > > > but both failed. Is the pdf document OK, seems OK in
> adobe Acrobat
> > > >
> > > > Regards,
> > > > Wahaj
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > > Get a FREE limited edition SourceForge.net t-shirt from
> ThinkGeek.
> > > > It's fun and FREE -- well,
> > almost....http://www.thinkgeek.com/sfshirt
> > > > _______________________________________________
> > > > iText-questions mailing list
> > > > <mailto:[email protected]>
> [email protected]
> > > >
> <https://lists.sourceforge.net/lists/listinfo/itext-questions>
>  https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > >
> > >
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive
> Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at
> <http://www.intelliview.com/go/osdn_nl>
> http://www.intelliview.com/go/osdn_nl
>


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to