Any option to find Track Revisions - Reject Insertion

Hi,

We are working on word customisation using VSTO 2005. We have set the track changes on and inserted bulk of xml tags. On the tracked changes window, i have selected "Reject Insertion" option which fires XMLBeforeDelete event where i have done some functional things. Basically if Track Revisions - Reject Insertion option is selected, we need to skip some of the block of code execution in XMLBeforeDelete event.

Is there any option to find "Reject-Insertion" updation is selected or is in progress.

Any pointers would be a timely help.

Thanks,

Jeevanantham.S



Answer this question

Any option to find Track Revisions - Reject Insertion

  • ofblong

    Jeevanantham,

    I believe that what you are attempting to do is not possible in the Word object model. Basically, there is no specific event tied to Revision.Reject or Revision.Accept. As you have seen, the XML event that fires does not handle things in the way you need. I am confident you are bumping up against limitations in the Word OM.

    As you continue your Word solution, I recommend looking at this list of resources I have compiled here:

    http://blogs.msdn.com/johnrdurant/archive/2005/12/16/word_developer_resources.aspx

    John.



  • Any option to find Track Revisions - Reject Insertion