diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-09 18:03:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-09 23:44:55 +0200 |
commit | f1566f0b813e439531a37154b52d491fd9d3224b (patch) | |
tree | 5da4b80c0928164d9ee595e3d04e8698e9318c0d /include/svx | |
parent | dbf3eba5514f0ed48683e2b58ac56c96b6d48792 (diff) |
sd signature line: select certificate after drawing the shape's rectangle
Also move the shape-type-specific setup to
FuConstructRectangle::SetAttributes() where the rest of the shape types
are handled.
Change-Id: I9ecf94957ec82ba187f2767b01d96fb14de2b657
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95958
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/signaturelinehelper.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/svx/signaturelinehelper.hxx b/include/svx/signaturelinehelper.hxx index 4cdb40651479..0906d88ef095 100644 --- a/include/svx/signaturelinehelper.hxx +++ b/include/svx/signaturelinehelper.hxx @@ -21,6 +21,7 @@ namespace weld { class Window; } +class SdrView; class SfxObjectShell; namespace svx::SignatureLineHelper @@ -52,6 +53,13 @@ SVX_DLLPUBLIC OUString getLocalizedDate(); * Interprets rSVG as a graphic and gives back the resuling UNO wrapper. */ SVX_DLLPUBLIC css::uno::Reference<css::graphic::XGraphic> importSVG(const OUString& rSVG); + +/** + * Sets xCertificate as the signing certificate of the selected shape on pView. + */ +SVX_DLLPUBLIC void +setShapeCertificate(SdrView* pView, + const css::uno::Reference<css::security::XCertificate>& xCertificate); } #endif |