Background
We have built a Microsoft Word Add-in that allows a user to search and find documents from his company's SharePoint. Once the search results are displayed, the user can select one of the search results and view a preview of the document (without having to open the whole doc).
The requirement
We want to allow users to search a previewed document in a similar manner to using Word's search function (http://bit.ly/2pxc2C7). The user must be able to search for terms and view a list of results. If possible the user should be able to also navigate thru each result, one-by-one.
Currently it's possible to get a find function by pressing ctrl-f. A basic find tool pops up (http://bit.ly/2oqNw6l), however it doesn't list search results like Word's search functionality.
Additionally we'd like to present this search functionality to the user from the beginning of the preview. We can't assume that users will know to hit ctrl-f to be able to search the preview.
The request
1. Is it possible search and display results as i described?
2. Is it possible to display this search functionality from the get go?