I'd like to be able to let users edit the content of a contentcontrol, when they exit, save that content to a database.
When the user opens the document, my addin will have a button to let them populate the content of the content control from the database.
Want to preserve formatting.
Having trouble getting AddIn control of document to play nicely with OpenXML...am I missing something?
How can I get at the OpenXML of the content control at Word AddIn, save that to DB (since it will have all styling), and reconsitute that OpenXML from the DB back into the document?
Don't want to use XML Binding as sources of data will vary...need to obtain via WCF service call, managed by AddIn.
Off-hand, I would say that you don't need OpenXML. It sounds like you want to get and set your data values for a document that is open in Word. OpenXML allows for reading and modifying document files. It will not change what is currently in the Word application.