Yep. It should be throwing a password exception. I thought this was addressed
recently... what version are you using?
--Mark Storer
Senior Software Engineer
Cardiff.com
#include <disclaimer>
typedef std::Disclaimer<Cardiff> DisCard;
-----Original Message-----
From: Red Light [mailto:skydelt...@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 FileInputStream(inputTest.getFile());
PdfReader reader = new PdfReader(inputStream);
i took another copy and edited it using adobe acrobate9 pro and remove the
autorization to read/write ; and i got trailer not found within the
IOException, is is normal ?
and thanks
------------------------------------------------------------------------------
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 applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/