DocumentEvents2_Event Interface

Definition

Events interface for Microsoft Word Document object events.

public interface class DocumentEvents2_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface DocumentEvents2_Event
type DocumentEvents2_Event = interface
Public Interface DocumentEvents2_Event
Derived
Attributes

Methods

add_BuildingBlockInsert(DocumentEvents2_BuildingBlockInsertEventHandler)
add_Close(DocumentEvents2_CloseEventHandler)
add_ContentControlAfterAdd(DocumentEvents2_ContentControlAfterAddEventHandler)
add_ContentControlBeforeContentUpdate(DocumentEvents2_ContentControlBeforeContentUpdateEventHandler)
add_ContentControlBeforeDelete(DocumentEvents2_ContentControlBeforeDeleteEventHandler)
add_ContentControlBeforeStoreUpdate(DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler)
add_ContentControlOnEnter(DocumentEvents2_ContentControlOnEnterEventHandler)
add_ContentControlOnExit(DocumentEvents2_ContentControlOnExitEventHandler)
add_New(DocumentEvents2_NewEventHandler)
add_Open(DocumentEvents2_OpenEventHandler)
add_Sync(DocumentEvents2_SyncEventHandler)
add_XMLAfterInsert(DocumentEvents2_XMLAfterInsertEventHandler)
add_XMLBeforeDelete(DocumentEvents2_XMLBeforeDeleteEventHandler)
remove_BuildingBlockInsert(DocumentEvents2_BuildingBlockInsertEventHandler)
remove_Close(DocumentEvents2_CloseEventHandler)
remove_ContentControlAfterAdd(DocumentEvents2_ContentControlAfterAddEventHandler)
remove_ContentControlBeforeContentUpdate(DocumentEvents2_ContentControlBeforeContentUpdateEventHandler)
remove_ContentControlBeforeDelete(DocumentEvents2_ContentControlBeforeDeleteEventHandler)
remove_ContentControlBeforeStoreUpdate(DocumentEvents2_ContentControlBeforeStoreUpdateEventHandler)
remove_ContentControlOnEnter(DocumentEvents2_ContentControlOnEnterEventHandler)
remove_ContentControlOnExit(DocumentEvents2_ContentControlOnExitEventHandler)
remove_New(DocumentEvents2_NewEventHandler)
remove_Open(DocumentEvents2_OpenEventHandler)
remove_Sync(DocumentEvents2_SyncEventHandler)
remove_XMLAfterInsert(DocumentEvents2_XMLAfterInsertEventHandler)
remove_XMLBeforeDelete(DocumentEvents2_XMLBeforeDeleteEventHandler)

Events

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.

Applies to