none
Turn on track changes programtically on docx file RRS feed

  • Question

  • How can turn on track changes in docx file programtically using openxml

    Thanks in advance.

    Santhosh

    Thursday, September 30, 2010 11:19 AM

Answers

  • Hi,

    You can use OpenXMLSDKTool to find out the code/XML to do it. Create a document and turn on the "Track Changes" option. Open this document in tool and check the XML and the C# code to do it.

    If you enable the "Track Changes", it adds <w:trackRevisions/> element in settings.xml.

    Thanks
    Ankush


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Ankush Microsoft Online Community Support
    • Marked as answer by Ankush_Bhatia Thursday, October 7, 2010 5:15 PM
    • Unmarked as answer by santhosh04 Friday, October 8, 2010 7:28 AM
    • Marked as answer by santhosh04 Friday, October 8, 2010 7:28 AM
    Thursday, October 7, 2010 5:15 PM
  • Thanks Ankush,

    Worked for me ,Thanks

    • Marked as answer by santhosh04 Friday, October 8, 2010 7:30 AM
    Friday, October 8, 2010 7:30 AM

All replies

  • Hi,

    You can use OpenXMLSDKTool to find out the code/XML to do it. Create a document and turn on the "Track Changes" option. Open this document in tool and check the XML and the C# code to do it.

    If you enable the "Track Changes", it adds <w:trackRevisions/> element in settings.xml.

    Thanks
    Ankush


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Ankush Microsoft Online Community Support
    • Marked as answer by Ankush_Bhatia Thursday, October 7, 2010 5:15 PM
    • Unmarked as answer by santhosh04 Friday, October 8, 2010 7:28 AM
    • Marked as answer by santhosh04 Friday, October 8, 2010 7:28 AM
    Thursday, October 7, 2010 5:15 PM
  • Thanks Ankush,

    Worked for me ,Thanks

    • Marked as answer by santhosh04 Friday, October 8, 2010 7:30 AM
    Friday, October 8, 2010 7:30 AM