diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-20 17:09:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-21 06:05:13 +0000 |
commit | f7a6867d6ae88cd6ca9001c61880fc1511370b16 (patch) | |
tree | b3e5b13411f4582389af668d0cce32212d27511c /include/vcl/pdfwriter.hxx | |
parent | da8357463ca088c81774ab6c3ffc6f8b3903ffe7 (diff) |
xmlsecurity: export description in PDF signature
Extract appendUnicodeTextString() from the PDF writer impl, and reuse it
in xmlsecurity, to share code.
Change-Id: Icdc2f89132cd29e07280001e30bad97e0a644654
Reviewed-on: https://gerrit.libreoffice.org/30110
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/vcl/pdfwriter.hxx')
-rw-r--r-- | include/vcl/pdfwriter.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 6b9c52920a53..79ac5db594a5 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -1267,6 +1267,9 @@ The following structure describes the permissions used in PDF security /// Fill a PDF signature template. static bool Sign(PDFSignContext& rContext); + + /// Write rString as a PDF hex string into rBuffer. + static void AppendUnicodeTextString(const OUString& rString, OStringBuffer& rBuffer); }; } |