This SO question shows a programmatic way for highlighting text in a word document. I am looking to do the same thing but for a document opened inside Sharepoint 2010.
From this link I understand that a document can be opened inside sharepoint itself using the office webapp (a bit of a hack in 2010, better in 2013) or in the local user instance of word/excel/...
I would need programmatic, read-only control over that preview. Mainly to highlight particular text fragments. I would think it should be possible to do this for the webapp instance but not for the locally started instance. Though I have't found any example code or pointers how to approach this. Commercial solutions are not an option.
Edit:
- Related question
- There seems to be some kind of an api for the Excel web app but not for word