summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-10-14 23:00:43 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-10-15 15:42:11 +0200
commit3e062a80a8f329b593f85a4b3a065389a9e16577 (patch)
tree5f7c4120f962336e23ef3a46ec2cc8bf164dae98 /include/vcl
parent342e427d33af0d4bfa694248e7a47fdf1f7f270d (diff)
pdfium: add reading of attachment points to the wrapper
Attachment points are used to define where to highlight the text. Quad points - points of the rectangle that can be rotated (typical text). Change-Id: I5438a6520195b89149c9cd1a8235a77dbc622243 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104362 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/filter/PDFiumLibrary.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx
index 8e8cba1782e6..2ffbfd951459 100644
--- a/include/vcl/filter/PDFiumLibrary.hxx
+++ b/include/vcl/filter/PDFiumLibrary.hxx
@@ -98,6 +98,8 @@ public:
Color getInteriorColor();
float getBorderWidth();
basegfx::B2DSize getBorderCornerRadius();
+ size_t getAttachmentPointsCount();
+ std::vector<basegfx::B2DPoint> getAttachmentPoints(size_t nIndex);
};
class PDFiumPage;