summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-11-08 09:12:47 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-11-08 13:40:34 +0100
commitb58e3de0cd9111b824e31ee4da3df8db0b58f857 (patch)
tree0af8fba9db9675376dc6f9773e8791964383066e /include
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')
-rw-r--r--include/sfx2/sfx.hrc1
-rw-r--r--include/sfx2/viewfrm.hxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sfx.hrc b/include/sfx2/sfx.hrc
index 020f82bcb1d0..1cd446269016 100644
--- a/include/sfx2/sfx.hrc
+++ b/include/sfx2/sfx.hrc
@@ -153,6 +153,7 @@
#define STR_CLASSIFIED_INTELLECTUAL_PROPERTY (RID_SFX_START+134)
#define STR_CLASSIFIED_NATIONAL_SECURITY (RID_SFX_START+135)
#define STR_CLASSIFIED_EXPORT_CONTROL (RID_SFX_START+136)
+#define STR_READONLY_SIGN (RID_SFX_START+137)
#define STR_ACCTITLE_PRODUCTIVITYTOOLS (RID_SFX_START+157)
#define SFX_THUMBNAIL_TEXT (RID_SFX_START+158)
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;