path: root/include/sfx2/viewfrm.hxx
diff options
authorMiklos Vajna <>2016-11-08 09:12:47 +0100
committerMiklos Vajna <>2016-11-08 13:40:34 +0100
commitb58e3de0cd9111b824e31ee4da3df8db0b58f857 (patch)
tree0af8fba9db9675376dc6f9773e8791964383066e /include/sfx2/viewfrm.hxx
parentb2318479c8635af8e022ff4f844e85a1f6b9f4de (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')
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;