I am trying to use Microsoft Word stlye bookmarks in a C# Application.
Limitation: The application may be running on a PC that does NOT have Microsoft Word installed so my option of using VBA runtime stuff may be limited (unless there are available libs I am not aware of)
I would like to be able to import a .RTF document written in Microsoft Word (with bookmarks set in MS Word) then be able to find and change those bookmarks in my application. Does anybody know if any references or libraries that may be available to do this sort of thing?
So Here is a quick Use Case to help clarify...
User has a file created by someone off site (using Microsoft Word) saved as a RTF document.
I receive the document and load their document into my app. (App currently reads MS Word .RTF docs just fine)
(My app currently has some limited text / font / color edit functions.)
I would like to be able to
1) find the bookmarks that someone pre-set in MS Word and display them in a list in my app
2) be able to goto and edit any bookmarks in the file (using 'editor' in my app)
3) After I save the .RTF file from my app, have the other user be able to see the bookmarks (made by my app) in MS Word.
In short... I would like to know how to disply / goto/ set /delete and save Word style bookmarks using C#.
Hope this is clear. Thank You in advance for your kind help.