diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-11-08 09:12:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-11-08 13:40:34 +0100 |
commit | b58e3de0cd9111b824e31ee4da3df8db0b58f857 (patch) | |
tree | 0af8fba9db9675376dc6f9773e8791964383066e /include/sfx2/viewfrm.hxx | |
parent | b2318479c8635af8e022ff4f844e85a1f6b9f4de (diff) |
sfx2: let .uno:SignPDF add a matching button to the infobar
When the user uses .uno:SignPDF to open a PDF file in read-only mode,
then the infobar now has a "Sign Document" button, which is a shortcut
for the File -> Digital Signatures -> Digital Signatures menu item.
Change-Id: I2953a5cb1252c5ff1c395d45c54db1a97b39433e
Diffstat (limited to 'include/sfx2/viewfrm.hxx')
-rw-r--r-- | include/sfx2/viewfrm.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index fcfdf3161750..1702e22020f0 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -78,6 +78,7 @@ protected: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; DECL_LINK( SwitchReadOnlyHandler, Button*, void ); + DECL_LINK(SignDocumentHandler, Button*, void); SAL_DLLPRIVATE void KillDispatcher_Impl(); virtual ~SfxViewFrame() override; |