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).
We are using Aspose.Words to render an HTML preview of the Word document via an Internet Explorer pop-up.
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.
1. Is it possible search and display results as i described?
2. Is it possible to display this search functionality from the get go?