Hello,
I’m using itext-2.1.0 and I have a doubt about something I’m trying to do.
I have an encrypted pdf and I would like to extract a concrete page from it
and create a new pdf document (which wouldn’t be encrypted) containing that
page.
Is it possible? Could you show an example code?
I have tried with the class PdfCopy to get imported pages (PdfImportedPage)
but it doesn’t work, I get the exception IllegalArgumentException.
I have read that PdfCopy, PdfStamper and PdfWriter will throw an exception
unless you have created the PdfReader indicating owner and password.
Please, help.
Thank you very much.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
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/