Hi all
I have created a docx document which has the content controls mapped to a custom XML part
I load the document into a byte array and replace the customXML part with new data using the OpenXml SDK however until this document is loaded into word this data does not replace the content in the main document, it remains as it was before I replaced the customXml. How can commit the new data to the main document as I want to use a third party control to either print the document or convert it to PDF before sending the file on, directly from the in memory document.
These are server side functions so actually opening the document in word is not an option.
any ideas would be greatly appreciated