summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-11-11 21:09:06 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-11-12 09:02:25 +0100
commit9e0ff8d1929b9925473f9efc54fd7bd0c90611c2 (patch)
tree5158e8547957be398b1056d5b1dac6938e4cfa61 /include
parent941b5a0bb597285737b4796106974468ac357b17 (diff)
xmlsecurity: prepare to verify signatures using pdfium
All the needed API is already in the version we bundle, except one. And also we'll need direct access to the underling pdfium document, for now. Change-Id: Ib5c87c95072401b1a6ca0151177d70b4bcd8c46d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105610 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/filter/PDFiumLibrary.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx
index 0eb2373a4400..014505d7739d 100644
--- a/include/vcl/filter/PDFiumLibrary.hxx
+++ b/include/vcl/filter/PDFiumLibrary.hxx
@@ -250,6 +250,7 @@ public:
bool saveWithVersion(SvMemoryStream& rStream, int nFileVersion);
std::unique_ptr<PDFiumPage> openPage(int nIndex);
+ FPDF_DOCUMENT getPointer() { return mpPdfDocument; }
};
struct PDFiumLibrary final : public rtl::StaticWithInit<std::shared_ptr<PDFium>, PDFiumLibrary>