summaryrefslogtreecommitdiff
path: root/desktop/qa/data/SearchIndexResultTest.odt
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-07-09 14:41:21 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-07-30 08:22:19 +0200
commite1511ce551f27a5560600029193f076fd65ece17 (patch)
tree3f104ccdda4a63bbaf4d7745f56944ff4d0ad4b3 /desktop/qa/data/SearchIndexResultTest.odt
parenteb31491b2a419ba7e67cc0a59a9b295fe49526e5 (diff)
indexing: add LOKit API to render the search result into a bitmap
This adds a new LOKit API to render the search result into a bitmap buffer. It combines the SearchResultLocator to get the location inside the document of the search result (a series of rectangles) and the existing LOKit paintTile API to render the result into a bitmap (byte) buffer. It also adds a LOKit test to show how the API is used and to render a search result of a example document. Change-Id: I4284d90188777fd28158d029daa04151e71022bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118670 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'desktop/qa/data/SearchIndexResultTest.odt')
-rw-r--r--desktop/qa/data/SearchIndexResultTest.odtbin0 -> 126871 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/desktop/qa/data/SearchIndexResultTest.odt b/desktop/qa/data/SearchIndexResultTest.odt
new file mode 100644
index 000000000000..58ed3a0f5447
--- /dev/null
+++ b/desktop/qa/data/SearchIndexResultTest.odt
Binary files differ