DecryptionPasswordNeeded Event
Request to provide decryption password during decryption.
Syntax
public class DefaultOfficedecryptorEventListener implements OfficedecryptorEventListener { ... public void decryptionPasswordNeeded(OfficedecryptorDecryptionPasswordNeededEvent e) {} ... } public class OfficedecryptorDecryptionPasswordNeededEvent { public boolean cancelDecryption; }
Remarks
This event is fired when the component needs decryption password from the user.
if CancelDecryption property is set to true value (default value) then decryption would fail if provided password is invalid. Otherwise this event would be fired again.