summaryrefslogtreecommitdiff
path: root/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java
diff options
context:
space:
mode:
authorXimeng Zu <uznomis@yahoo.com>2017-03-29 15:43:15 -0500
committerTomaž Vajngerl <quikee@gmail.com>2017-04-18 13:31:38 +0200
commit5333f93a6fd191e424327afe3935f2770a71f620 (patch)
tree27ce4db30bc7b76dedf357435b47ef5aceeed9dc /android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java
parentbb9ac80998c1e7cd1ff154903b3c60d3e8636a5e (diff)
tdf#96811 Android Viewer doesn't focus on the word you search.
Added the function of focusing on the word you search. Two methods were added. The first one is searchResultSelection, which parses a JSONObject passed from LOK and focuses on the text selection. The second one is moveViewportToMakeSelectionVisible. It handles well both documents and spreadsheets. I also tried to add a search not found toast message. Also corrected a typo. Change-Id: I4453c01afc520bf4deae4c2bd71adea2fe856d7e Reviewed-on: https://gerrit.libreoffice.org/35715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java')
0 files changed, 0 insertions, 0 deletions