Events for protected mode in Word 2010 RRS feed

  • Question

  • Hello, I'm developing a Word 2010 application-level addin using VSTO 4.0 and .Net framework 4.0. I'm looking for some events for "protected" documents. In order to protect the document, I tried to use 2 different scenarios:

    1. Trying to protect the entire document using GroupContentControl
    2. Using the Microsoft.Office.Interop.Word.Document.Protect method (ReadOnly mode)

    But I could not find appropriate events for these two scenarios. I need event that is triggered after the user tries to change protected document (change the text, drag a table and so on). Is there any such events in the VSTO object model?

    Monday, October 31, 2011 3:45 PM


  • Hi Tenere

    There are no such events, not in the object model and not in VSTO.

    Closest I can think of would be WindowSelectionChange, which will fire when the user clicks somewhere on the document surface...

    Cindy Meister, VSTO/Word MVP
    • Marked as answer by Tenere Tuesday, November 1, 2011 3:53 PM
    Monday, October 31, 2011 4:28 PM