diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-05-16 19:45:41 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-07-29 20:45:52 +0200 |
commit | 6cfffc0cfd30792e1e7d26bff3a5abf132e74761 (patch) | |
tree | 3784d128ccef22973bf0878ee120664034de4a85 /include | |
parent | f37819fbf3a2713ef699062e5cd8c482891aa57d (diff) |
vcl: VectorGraphicSearch - add search result selection rectangles
Change-Id: Ia0c5610f600719bcfb5de503f3876fc896cb630a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95256
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 4062b3f87689e48fd250d9cf0297a24b5427bf59)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95833
(cherry picked from commit 4d823e2cfa3171a54f20c313d7670be8ed9fa604)
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/VectorGraphicSearch.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/VectorGraphicSearch.hxx b/include/vcl/VectorGraphicSearch.hxx index 6c2589db1d01..41c7745d0cf5 100644 --- a/include/vcl/VectorGraphicSearch.hxx +++ b/include/vcl/VectorGraphicSearch.hxx @@ -14,6 +14,8 @@ #include <vcl/vectorgraphicdata.hxx> #include <vcl/dllapi.h> +#include <basegfx/range/b2drectangle.hxx> + #include <memory> class SearchContext; @@ -34,6 +36,7 @@ public: bool search(OUString const& rSearchString); bool next(); int index(); + std::vector<basegfx::B2DRectangle> getTextRectangles(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |