From d30d41b36118ccfa473fab1e82c94c016e3a3f21 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Tue, 29 Sep 2020 11:42:20 +0200 Subject: pdfium: add getObject, getValueType for PDFiumAnnotation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iadfd767463a57958f5ffb2dc5c8b5387b59373fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103883 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/vcl/filter/PDFiumLibrary.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index bc3314fa56f6..3688d091d601 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -34,7 +35,9 @@ constexpr char constDictionaryKeyTitle[] = "T"; constexpr char constDictionaryKeyContents[] = "Contents"; constexpr char constDictionaryKeyPopup[] = "Popup"; constexpr char constDictionaryKeyModificationDate[] = "M"; + class PDFiumDocument; +class PDFiumPageObject; class VCL_DLLPUBLIC PDFium final { @@ -69,9 +72,11 @@ public: PDFAnnotationSubType getSubType(); basegfx::B2DRectangle getRectangle(); bool hasKey(OString const& rKey); + int getValueType(OString const& rKey); OUString getString(OString const& rKey); std::unique_ptr getLinked(OString const& rKey); int getObjectCount(); + std::unique_ptr getObject(int nIndex); }; class PDFiumTextPage; -- cgit