Microsoft.Office.Tools.Word Namespace
The Microsoft.Office.Tools.Word namespace contains a set of classes that extend and support the Microsoft Office Word object model.
The Microsoft.Office.Tools.Word namespace includes the following classes:
-
The Document host item class. For more information on host items, see Host Items and Host Controls Overview.
-
Host control classes, including Bookmark, XMLNode, and XMLNodes. For more information on host controls, see Host Items and Host Controls Overview.
-
Classes that implement smart tag functionality in Word, including Action and SmartTag.
-
Various helper classes, such as event argument and event handler classes for events in the Word host item and host controls.
| Class | Description | |
|---|---|---|
|
Action | Represents a Visual Studio Tools for Office smart tag action in a Microsoft Office Word document. |
|
ActionEventArgs | Provides data for the Click and BeforeCaptionShow events. |
|
Bookmark | The Bookmark control is a bookmark that has a unique name, exposes events, and can be bound to data. |
|
Bookmark._InformationType | |
|
Bookmark._XMLType | |
|
ClickEventArgs | Provides data for the BeforeDoubleClick and BeforeRightClick events. |
|
ContextChangeEventArgs | Provides data for the Select, Deselect, ContextEnter and ContextLeave events of the XMLNode class and the ContextEnter, ContextLeave, Select, and Deselect events of the XMLNodes class. |
|
ControlCollection | Represents a collection of controls. |
|
ControlCollectionEnumerator | An enumerator that iterates through the ControlCollection instance. |
|
Document | Represents a Microsoft Office Word 2003 document. |
|
Document._ActiveWritingStyleType | |
|
Document._CompatibilityType | |
|
MailMergeAfterMergeEventArgs | Provides data for the MailMergeAfterMerge event. |
|
MailMergeWizardStateChangeEventArgs | Provides data for the MailMergeWizardStateChange event. |
|
NodeInsertAndDeleteEventArgs | Provides data for the AfterInsert and BeforeDelete events of XMLNode controls, and for the AfterInsert and BeforeDelete events of XMLNodes controls. |
|
OLEControl | Represents a linked or embedded control on a document. |
|
SaveEventArgs | Provides data for the BeforeSave event. |
|
SelectionEventArgs | Provides data for the SelectionChange, Selected, and Deselected events of a Bookmark control. |
|
SmartTag | Represents a smart tag in Microsoft Office Word. |
|
WindowEventArgs | Provides information for the ActivateEvent, Deactivate, and WindowSize events. |
|
XMLNode | Represents a single XMLNode control that exposes events and that can be bound to data. |
|
XMLNode._ValidationErrorTextType | |
|
XMLNode._XMLType | |
|
XMLNodes | A collection of Microsoft.Office.Interop.Word.XMLNode objects that represent the nodes in the tree view of the XML Structure task pane, which indicates the elements that a user has applied to a document. |
| Delegate | Description | |
|---|---|---|
|
ActionClickEventHandler | Represents the method that will handle the Click event of an Action. |
|
BeforeCaptionShowEventHandler | Represents the method that will handle the BeforeCaptionShow event of an Action. |
|
ClickEventHandler | Represents the method that will handle the BeforeDoubleClick and BeforeRightClick events of a Document. |
|
ContextChangeEventHandler | Represents the method that will handle the Select, Deselect, ContextEnter and ContextLeave events of the XMLNode class and the ContextEnter, ContextLeave, Select, and Deselect events of the XMLNodes class. |
|
MailMergeAfterMergeEventHandler | Represents the method that handles the MailMergeAfterMerge event of a Document. |
|
MailMergeWizardStateChangeEventHandler | Represents the method that handles the MailMergeWizardStateChange event of a Document. |
|
NodeInsertAndDeleteEventHandler | Represents the method that handles the AfterInsert and BeforeDelete events of XMLNode controls, and the AfterInsert and BeforeDelete events of XMLNodes controls. |
|
SaveEventHandler | Represents the method that will handle the BeforeSave event of a Document. |
|
SelectionEventHandler | Represents the method that handles the SelectionChange, Selected, and Deselected events of a Bookmark control. |
|
WindowEventHandler | Represents the method that handles the ActivateEvent, Deactivate, and WindowSize events. |