summaryrefslogtreecommitdiffstats
path: root/include/sfx2/objsh.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-15 09:54:26 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-15 12:19:16 +0200
commit5e040ad05012f91d0ea5116659e58222eea53668 (patch)
tree1d58806601fb71a6042ec1e12bacf51b77d23deb /include/sfx2/objsh.hxx
parentsvx:move functions from GalleryThemeEntry to GalleryBinaryEngine (diff)
downloadcore-5e040ad05012f91d0ea5116659e58222eea53668.tar.gz
core-5e040ad05012f91d0ea5116659e58222eea53668.zip
sd signature line: create signature with pre-selected cert, if available
This makes the "finish signing" button do what it says. The signature line shape is not yet in the output, though. Change-Id: I096210fe505b4c9eafb56eae6c4706e454bac45c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96317 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
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 97622b799852..1bc1f5352c2c 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -772,6 +772,9 @@ public:
/// Is this read-only object shell opened via .uno:SignPDF?
bool IsSignPDF() const;
+
+ /// Gets the certificate that is already picked by the user but not yet used for signing.
+ css::uno::Reference<css::security::XCertificate> GetSignPDFCertificate() const;
};
#define SFX_GLOBAL_CLASSID \