diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-06-28 13:46:41 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-06-29 14:36:16 +0200 |
commit | 4e9b03d04f740a0cbafa22a4f3cedfae7f37a994 (patch) | |
tree | 52e23b903d350255937d817fa13f8de15f279119 /include | |
parent | b5b8da80439419a2daa6a80c9d3979173fe2887a (diff) |
pdf: add text page object attribs, refactor ImpSdrPdfImport, tests
This refactors ImpSdrPdfImport to push more functions into the
PDFium wrapper. The focus is on text page object attributes.
Change-Id: Ie1faf5e3743eec7c77050835651533f9e227c2a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97366
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 9f34bdb92ad6..f7dcc4b2c99e 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -22,6 +22,7 @@ #include <basegfx/range/b2drectangle.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <rtl/ustring.hxx> +#include <tools/color.hxx> #include <fpdf_doc.h> @@ -93,6 +94,12 @@ public: std::unique_ptr<PDFiumPageObject> getFormObject(int nIndex); basegfx::B2DHomMatrix getMatrix(); + basegfx::B2DRectangle getBounds(); + double getFontSize(); + OUString getFontName(); + int getTextRenderMode(); + Color getFillColor(); + Color getStrokeColor(); }; class VCL_DLLPUBLIC PDFiumTextPage final |