summaryrefslogtreecommitdiff
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-05 15:40:34 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-26 08:52:35 +0200
commit29bec3144999f82e22d71c0d68e92a8d24e92190 (patch)
treea08c42840d6a3246577cb14d436116feec7c2c0e /include/sfx2/objsh.hxx
parent1e063dceb08adbb2d3a5eeb44091c356b45b5154 (diff)
sd signature line: limit this to PDF signing for now
The intent is to use this to add a visible signature to an existing PDF, disable the command in sd/ for other cases that would not work at the moment, anyway. (cherry picked from commit 2c46c24e75dbd39ef1c6aa72d7c3a00d04b873e6) Change-Id: I78aa68d91126a9981c1240c7dd257d793e7eaba8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97173 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r--include/sfx2/objsh.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 19c615f8d7c1..b3627a6b8788 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -758,6 +758,9 @@ public:
/** override this if you have a XmlIdRegistry. */
virtual const sfx2::IXmlIdRegistry* GetXmlIdRegistry() const { return nullptr; }
+
+ /// Is this read-only object shell opened via .uno:SignPDF?
+ bool IsSignPDF() const;
};
#define SFX_GLOBAL_CLASSID \