diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-10-03 11:02:34 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-10-04 08:40:01 +0200 |
commit | b68761f4a5cd22b48c3214c8be919cb4c84da241 (patch) | |
tree | d4939210d51101e560ec3d830f1ada3922e6d8dc /include | |
parent | 9f9dec0679da48e49af09d8fa609955bca6db67b (diff) |
pdfium: Support for InkStrokes and Vertices
This extends PDFium with getting InkStrokes and Vertices for
annotations, which wasn't implemented before, and adds support to
PDFium wrapper in LibreOffice.
Change-Id: I570d53038a59ab830fcd5639583c75cf8adda86c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103885
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/PDFiumLibrary.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 3688d091d601..205f8cc62ca6 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -77,6 +77,8 @@ public: std::unique_ptr<PDFiumAnnotation> getLinked(OString const& rKey); int getObjectCount(); std::unique_ptr<PDFiumPageObject> getObject(int nIndex); + std::vector<std::vector<basegfx::B2DPoint>> getInkStrokes(); + std::vector<basegfx::B2DPoint> getVertices(); }; class PDFiumTextPage; |