DecryptionPasswordNeeded Event
Request to provide decryption password during decryption.
Syntax
class OfficeDecryptorDecryptionPasswordNeededEventParams { public: bool CancelDecryption(); void SetCancelDecryption(bool bCancelDecryption); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void DecryptionPasswordNeeded(OfficeDecryptorDecryptionPasswordNeededEventParams *e);
// Or, subclass OfficeDecryptor and override this emitter function. virtual int FireDecryptionPasswordNeeded(OfficeDecryptorDecryptionPasswordNeededEventParams *e) {...}
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.