summaryrefslogtreecommitdiffstats
path: root/include/vcl/VectorGraphicSearch.hxx
Commit message (Collapse)AuthorAgeFilesLines
* sd: support match case, match whole word for PDF searchTomaž Vajngerl2020-06-041-1/+23
| | | | | | | | | | | | THis adds support for match case and match whole word to the VectorGraphicSearch + tests. It uses the new options in PDF seearch in Draw/Impress. Change-Id: I20a6382c22bf01a5a021c8bae1ff78861419c0ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95530 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: VectorGraphicSearch - support changing search stringTomaž Vajngerl2020-06-041-2/+1
| | | | | | | | | | | | | | Initial implementation only allowed to set the search string once. This change allows to change the search string and still retain the last position of a found string, so the search continues from this positon forward or backwards. This mimicks how we search through the GUI (which is the main use for this functionallity anyway). Change-Id: I8a7aee4b6b6525f483f105feaa1f83c4a0ad9594 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95460 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: VectorGraphicSearch - move SearchContext into ImplementationTomaž Vajngerl2020-06-031-3/+0
| | | | | | | Change-Id: I3bbf085fd8b8b66a56e364168c1e70b4ce986467 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95392 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: add search start position support for VectorGraphicSearchTomaž Vajngerl2020-06-031-2/+10
| | | | | | | | | | | | By default we start at the begin of the page, but with this change make it possible to start at the end. This makes it possible to search in the backwards direction (set the start position at to the end and search with "previous"). Change-Id: I78fb1461b86bf9eab2f91c3b9a81cbb5c6557332 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95382 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: add "previous" search to VectorGraphicSearchTomaž Vajngerl2020-06-031-0/+1
| | | | | | | | | Previous moves backwards in the search matches. Change-Id: I88d402e0b8cb9dc4fd93e7f1ce5b08fb42aadd06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95381 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: VectorGraphicSearch return text rectangles in 100th mmTomaž Vajngerl2020-06-011-0/+2
| | | | | | | Change-Id: I12e7ad10dc3ed68d20d94713acece1361da27e81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95261 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: VectorGraphicSearch - add search result selection rectanglesTomaž Vajngerl2020-06-011-0/+3
| | | | | | | 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>
* vcl: Add internal "Implementation" class for VectorGraphicSearchTomaž Vajngerl2020-06-011-3/+3
| | | | | | | | | | | We need to hide includes (needed for members) of PDFium inside from the outside, so not everyone using the VectorGraphicSearch needs to depend on PDFium too. Change-Id: I95e46c714758b130594d78a4618af7350e29a075 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95255 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* vcl: VectorGraphicSearch - for searching text inside PDFTomaž Vajngerl2020-06-011-0/+39
Change-Id: Iee940a3927330c8739774ff3c1af15998f89193b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95254 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>