diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-07 15:35:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-07 15:35:56 +0200 |
commit | 8fab6ab36589d0dcd75d45feab43a0b06b7f2a3e (patch) | |
tree | 6471120650079335e156d46007071ae80a1bc463 /offapi | |
parent | Minor performance improvement of previous patch (diff) | |
download | core-8fab6ab36589d0dcd75d45feab43a0b06b7f2a3e.tar.gz core-8fab6ab36589d0dcd75d45feab43a0b06b7f2a3e.zip |
filter: don't loose signing description during pdf export
The free-form string attached to a signature is called description
during ODF/OOXML signing. The certificate chooser dialog has an input
field to provide that. The PDF export dialog's signature tab reuses
this dialog, but also provides an an own reason input field for the same
purpose.
So in case the generic dialog's description field is filled, don't
simply throw away that string, but set the pdf export's reason field to
the same value.
XDocumentDigitalSignatures.idl is not a published interface and it is
used only internally, so the API change is only nominal.
Change-Id: I6d4cf0b3f586417a76a052dc30c960478a95c984
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/security/XDocumentDigitalSignatures.idl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl index cc785b988390..5ee5b9e44106 100644 --- a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl +++ b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl @@ -131,8 +131,10 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface void addLocationToTrustedSources( [in] string Location ); /** This method shows CertificateChooser dialog, used by document and PDF signing + + @since LibreOffice 5.3 */ - com::sun::star::security::XCertificate chooseCertificate(); + com::sun::star::security::XCertificate chooseCertificate( [out] string Description ); } ; |