10 #ifndef INCLUDED_SVX_SIGNATURELINEHELPER_HXX
11 #define INCLUDED_SVX_SIGNATURELINEHELPER_HXX
15 #include <string_view>
17 #include <rtl/ustring.hxx>
20 #include <com/sun/star/graphic/XGraphic.hpp>
21 #include <com/sun/star/security/XCertificate.hpp>
41 SVX_DLLPUBLIC css::uno::Reference<css::security::XCertificate>
48 getSignerName(
const css::uno::Reference<css::security::XCertificate>& xCertificate);
65 const css::uno::Reference<css::security::XCertificate>& xCertificate);
OUString getSignatureImage(const OUString &rType)
Returns an SVG template.
OUString getSignerName(const css::uno::Reference< css::security::XCertificate > &xCertificate)
Get a signer name out of a certificate.
OUString getLocalizedDate()
Gets a localized date string.
uno::Reference< security::XCertificate > getSignatureCertificate(SfxObjectShell *pShell, weld::Window *pParent)
Choose a signature for signature line purposes.
uno::Reference< graphic::XGraphic > importSVG(std::u16string_view rSVG)
Interprets rSVG as a graphic and gives back the resulting UNO wrapper.
void setShapeCertificate(const SdrView *pView, const css::uno::Reference< css::security::XCertificate > &xCertificate)
Sets xCertificate as the signing certificate of the selected shape on pView.