diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-15 09:54:26 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-26 08:55:32 +0200 |
commit | f03e70884a236200c4a6e52b5ccdbec40f552fd0 (patch) | |
tree | 01b657e185799c687a4280d9508092c117ff71c0 /include/sfx2/objsh.hxx | |
parent | 745c27088f90eff8bf17dd959a2731fcda5da0e3 (diff) |
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.
(cherry picked from commit 5e040ad05012f91d0ea5116659e58222eea53668)
Change-Id: I096210fe505b4c9eafb56eae6c4706e454bac45c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97181
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.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index b3627a6b8788..4c0ea7f22f09 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -761,6 +761,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 \ |