diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-05 15:40:34 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-05 21:45:23 +0200 |
commit | 2c46c24e75dbd39ef1c6aa72d7c3a00d04b873e6 (patch) | |
tree | 38e4310c75e20323ff7a0678bc72cbb7041c30b8 /include/sfx2/objsh.hxx | |
parent | Upcoming loplugin:elidestringvar: uui (diff) | |
download | core-2c46c24e75dbd39ef1c6aa72d7c3a00d04b873e6.tar.gz core-2c46c24e75dbd39ef1c6aa72d7c3a00d04b873e6.zip |
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.
Change-Id: I78aa68d91126a9981c1240c7dd257d793e7eaba8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95604
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r-- | include/sfx2/objsh.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 98a00a44b3cb..97622b799852 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -769,6 +769,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 \ |