thanks for the info.
Bruno Lowagie <[EMAIL PROTECTED]> wrote: S A wrote:
> the problem is, pdf file is not password protected. I can open the file
> without entering the password.
That doesn't mean the PDF is not password protected.
A PDF document can have 2 passwords:
- an user password (the user has to enter it to view the PDF)
- an owner password (the owner has to enter it to CHANGE the PDF)
> But when my program takes the same pdf as
> input for merging I get the exception as Bad Password.
As you are using iText to MANIPULATE (or in other words CHANGE)
the PDF, you need the owner password.
> I donot know what password I have to give.
Ask the person who created the PDF for the owner password.
br,
Bruno
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
---------------------------------
Don't get soaked. Take a quick peak at the forecast
with theYahoo! Search weather shortcut.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/