Microsoft.Office.Tools.Word Namespace (2007 System)
The Microsoft.Office.Tools.Word namespace contains a set of classes that extend and support the Microsoft Office Word object model in projects created by using Visual Studio Tools for Office. The types in this namespace can be used only in Visual Studio Tools for Office projects. For more information about these projects, see Visual Studio Tools for Office Project Templates Overview.
The Microsoft.Office.Tools.Word namespace includes the following classes:
The Document host item class. For information about host items, see Host Items and Host Controls Overview and Document Host Item.
Host control classes, including content controls, Bookmark, XMLNode, and XMLNodes. For information about host controls, see Host Items and Host Controls Overview and Word Host Controls.
Classes that implement smart tag functionality in document-level projects for 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.
Classes
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 | Infrastructure. | |
Bookmark._XMLType | Infrastructure. | |
BuildingBlockGalleryContentControl | Represents a gallery of document building blocks that users can insert into a document. | |
ClickEventArgs | Provides data for the BeforeDoubleClick and BeforeRightClick events. | |
ComboBoxContentControl | Represents a combo box on a document. | |
ContentControl | Represents a content control a document. | |
ContentControlAddedEventArgs | Provides data for the Added event of a content control. | |
ContentControlBase | Provides the base class for content controls in Visual Studio Tools for Office solutions. | |
ContentControlContentUpdatingEventArgs | Provides data for the ContentUpdating event of a content control. | |
ContentControlDeletingEventArgs | Provides data for the Deleting event of a content control. | |
ContentControlEnteringEventArgs | Provides data for the Entering event. | |
ContentControlExitingEventArgs | Provides data for the Exiting event of a content control. | |
ContentControlStoreUpdatingEventArgs | Provides data for the StoreUpdating event of a content control. | |
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 on a Word document in a Visual Studio Tools for Office solution. | |
ControlCollectionEnumerator | An enumerator that iterates through the ControlCollection instance. | |
DatePickerContentControl | Represents a date picker control on a document. | |
Document | Represents a document in Visual Studio Tools for Office projects for Microsoft Office Word. | |
Document._ActiveWritingStyleType | Infrastructure. | |
Document._CompatibilityType | Infrastructure. | |
DropDownListContentControl | Represents a drop-down list on a document. | |
GroupContentControl | Represents a protected region of a document that users cannot edit or delete. | |
MailMergeAfterMergeEventArgs | Provides data for the MailMergeAfterMerge event. | |
MailMergeWizardStateChangeEventArgs | Provides data for the MailMergeWizardStateChange event. | |
NodeInsertAndDeleteEventArgs | Provides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control. | |
OLEControl | Represents a linked or embedded control on a document. | |
PictureContentControl | Represents a document region that displays an image. | |
PlainTextContentControl | Represents a block of text in a document. | |
RichTextContentControl | Represents a block of text or other types of content in 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 a document-level customization for Microsoft Office Word. | |
WindowEventArgs | Provides information for the ActivateEvent, Deactivate, and WindowSize events. | |
XMLNode | Represents a single XML node on a document that exposes events and that can be bound to data. | |
XMLNode._ValidationErrorTextType | Infrastructure. | |
XMLNode._XMLType | Infrastructure. | |
XMLNodes | A collection of 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. |
Delegates
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 an XMLNode control, and the AfterInsert and BeforeDelete events of an XMLNodes control. | |
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 will handle the ActivateEvent, Deactivate, and WindowSize events. |
See Also
Reference
Other Resources
Host Items and Host Controls Overview
Programmatic Limitations of Host Items and Host Controls