Oh damn it didn't see I posted class file. No, Bruno there is no witchcraft in it, only what you and iText team put together. So maybe a trap trap of yours :-)). OK lets take it other way, shall we? Now in attachment is correct file. I re-used the sniplet from pg 586 and some my coding . What I try to do is open PDF, read a page and find out if there are any liks. If I am correct I should be able to do as my code shows, else you will need to point me in correct direction. I know I can open file copy one page and save somewhere, re-open this single page and check for I need. However, this un-necessary extra computing that I try to avoid.
PS: Line 36 is the trouble maker, beside me :-) Peter ----- Original Message ---- From: Bruno Lowagie <[EMAIL PROTECTED]> To: Post all your questions about iText here <itext-questions@lists.sourceforge.net> Sent: Sunday, June 17, 2007 5:48:33 PM Subject: Re: [iText-questions] PDF header signature not found Peter Miklosko wrote: > Hi Paulo, can you please check attachment if it is what you recommended > to do? The attachment is a class file. I don't check class files, only Java files; moreover: this problem occurs when you run code you've written yourself. What about similar code written by others? Have you tried the PdfStamper, PdfReader, PdfCopy examples from the book, the tutorial, or other online resources??? Those have been tested and work for sure. Why not try them? If they execute without any problem, you know you can throw away your own code, and use the working examples as the basis for your new code. If they don't work, you know there's witchcraft involved. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
CreateBackLinks.java
Description: x-unknown/unknown
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/