Events interface for Microsoft Word Document object events.
The DocumentEvents2_Event type exposes the following members.
|BuildingBlockInsert||Occurs when you insert a building block into a document.|
|Close||Occurs when a document is closed.|
|ContentControlAfterAdd||Occurs after adding a content control to a document.|
|ContentControlBeforeContentUpdate||Occurs before updating the content in a content control, only when the content comes from the Office XML data store.|
|ContentControlBeforeDelete||Occurs before removing a content control from a document.|
|ContentControlBeforeStoreUpdate||Occurs before updating the document's XML data store with the value of a content control.|
|ContentControlOnEnter||Occurs when a user enters a content control.|
|ContentControlOnExit||Occurs when a user leaves a content control.|
|New||Occurs when a new document based on the template is created.|
|Open||Occurs when a document is opened.|
|Sync||Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server.|
|XMLAfterInsert||Occurs when a user adds a new XML element to a document.|
|XMLBeforeDelete||Occurs when a user deletes an XML element from a document.|