From 7c88c0089af36bc8075b87480669e78385d6b878 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 13 Oct 2020 21:03:46 +0200 Subject: pdfium: add an FPDFImageObj_GetImageMetadata() wrapper And in general use more pdfium wrappers in CppunitTest_vcl_pdfexport, so all the '#if defined OSL_BIGENDIAN' checks can be removed. Change-Id: Id05e6ecf3dbb103a263d6068085eede847be320f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104254 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- include/vcl/filter/PDFiumLibrary.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 2664d2bccb39..877308d7d40b 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -81,6 +82,7 @@ public: std::vector getVertices(); }; +class PDFiumPage; class PDFiumTextPage; class VCL_DLLPUBLIC PDFiumPathSegment final @@ -131,6 +133,7 @@ public: // Path int getPathSegmentCount(); std::unique_ptr getPathSegment(int index); + Size getImageSize(PDFiumPage& rPage); }; class VCL_DLLPUBLIC PDFiumTextPage final -- cgit