diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-06-28 12:34:19 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-29 23:38:31 +0200 |
commit | f5124552d87e84b5b6d6707c30b5f8a5defed69e (patch) | |
tree | 26dcb8ac5938cd80fa6b61f1f361b53f911ed561 /include | |
parent | 64b7feb7f0e0d3f29625c73e9790b2f152e34c09 (diff) |
pdf: support PDF Form object and getMatrix
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97365
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit b5b8da80439419a2daa6a80c9d3979173fe2887a)
Change-Id: I61f2004df7f9c9ac37959e0b50ea1ff83387c77a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97450
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 501f964f395d..9f34bdb92ad6 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -20,6 +20,7 @@ #include <rtl/instance.hxx> #include <basegfx/vector/b2dsize.hxx> #include <basegfx/range/b2drectangle.hxx> +#include <basegfx/matrix/b2dhommatrix.hxx> #include <rtl/ustring.hxx> #include <fpdf_doc.h> @@ -87,6 +88,11 @@ public: int getType(); OUString getText(std::unique_ptr<PDFiumTextPage> const& pTextPage); + + int getFormObjectCount(); + std::unique_ptr<PDFiumPageObject> getFormObject(int nIndex); + + basegfx::B2DHomMatrix getMatrix(); }; class VCL_DLLPUBLIC PDFiumTextPage final |