I'm newbie with the OpenXML SDK.
I need to perform the following tasks on word docx on server side, and I believe the OpenXML SDK is the first place I should look into.
So my requirements are as follows:
Look for a specific text in the document
Add a comment in the location of the found text.
Is it possible with the OpenXML SDK? I tried to go through the docs, and I found a way to search and replace text, but couldn't find a way to add a comment in the appropriate location.
Thanks!
The link Ron gave indicate how to insert the comment. To insert it where you want, you can find the paragraph with something like
Maybe you have to adapt it a bit depending what are the matching criteria