Hi. First, many thanks for the excellent iText.
I am using iTextSharp in VB.Net to paginate and insert various pdfs into one file. My question relates to what happens if a pdf I am trying to insert has been restricted for editing. I only have access to Acrobat 6.0 but I find that no matter what variation of permissions/editing restrictions I apply to a pdf, if I use iTextSharp to try to paginate (wth PDFStamper) or copy pages (with PDFCopy) from a restricted pdf without opening it with the owner password, I get a "PdfReader not opened with owner password" error. So, basically, if I open a pdf, then query 'IsOpenedWithFullPermissions' and it returns false, then can I be sure that I wil never be able to paginate and insert that pdf? So, for example, there will never be a case where a pdf has only very limited editing restrictions and, despite not opening it with full permissions, I would be able to insert it into another pdf? I want to create a routine for the user to give them a chance to enter the password for a pdf that has not been opened with full permissions and, if the password is wrong, I want to be sure that I can safely skip trying to paginate and insert it because I know I never can. Or should I still attempt to paginate and insert the pdf as it might work for some pdfs with very limited permission restrictions? Hope that makes sense. Thanks. JFK -- View this message in context: http://www.nabble.com/Will-%22IsOpenedWithFullPermissions-%3D-False%22-always-mean-that-stamping-copying-will-fail--tp25102228p25102228.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/