summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-10-13 21:03:46 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-10-14 08:40:40 +0200
commit7c88c0089af36bc8075b87480669e78385d6b878 (patch)
tree5284312a95df341a16e6aa2cb9445bea1c489923 /include
parent538d69a4c9e382b95ea9a42fa7e51efad22b6807 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/filter/PDFiumLibrary.hxx3
1 files changed, 3 insertions, 0 deletions
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 <basegfx/matrix/b2dhommatrix.hxx>
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
+#include <tools/gen.hxx>
#include <vcl/checksum.hxx>
#include <vcl/pdf/PDFAnnotationSubType.hxx>
@@ -81,6 +82,7 @@ public:
std::vector<basegfx::B2DPoint> getVertices();
};
+class PDFiumPage;
class PDFiumTextPage;
class VCL_DLLPUBLIC PDFiumPathSegment final
@@ -131,6 +133,7 @@ public:
// Path
int getPathSegmentCount();
std::unique_ptr<PDFiumPathSegment> getPathSegment(int index);
+ Size getImageSize(PDFiumPage& rPage);
};
class VCL_DLLPUBLIC PDFiumTextPage final