Hi,

Seems currently the only option how to open pdf encrypted with password is
to try-catch around "Load" function and in case of specific exception call
"SetPassword" to finalise loading. But as name suggests exceptions should
be used for exceptional things which do not occur very often also because
they are relatively slow. But podofo requires exception mechanism for such
regular workflow as opening password protected documents.

Better would be to signal this in different way (return value?) or have
possibility to set password before loading pdf. There is also interesting
function "QuickEncryptedCheck" in parser but it accepts only file names.
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to