Welcome to OpenXML Developer Sign in | Join | Help

Committing CustomXML Part to the document

Last post 10-04-2008, 6:23 AM by PMcNulty. 0 replies.
Sort Posts: Previous Next
  •  10-04-2008, 6:23 AM 3753

    Committing CustomXML Part to the document

    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

View as RSS news feed in XML