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