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:

Classes

  Class Description
Public class Action Represents a Visual Studio Tools for Office smart tag action in a Microsoft Office Word document.
Public class ActionEventArgs Provides data for the Click and BeforeCaptionShow events.
Public class Bookmark The Bookmark control is a bookmark that has a unique name, exposes events, and can be bound to data.
Public class Bookmark._InformationType Infrastructure.
Public class Bookmark._XMLType Infrastructure.
Public class BuildingBlockGalleryContentControl Represents a gallery of document building blocks that users can insert into a document.
Public class ClickEventArgs Provides data for the BeforeDoubleClick and BeforeRightClick events.
Public class ComboBoxContentControl Represents a combo box on a document.
Public class ContentControl Represents a content control a document.
Public class ContentControlAddedEventArgs Provides data for the Added event of a content control.
Public class ContentControlBase Provides the base class for content controls in Visual Studio Tools for Office solutions.
Public class ContentControlContentUpdatingEventArgs Provides data for the ContentUpdating event of a content control.
Public class ContentControlDeletingEventArgs Provides data for the Deleting event of a content control.
Public class ContentControlEnteringEventArgs Provides data for the Entering event.
Public class ContentControlExitingEventArgs Provides data for the Exiting event of a content control.
Public class ContentControlStoreUpdatingEventArgs Provides data for the StoreUpdating event of a content control.
Public class 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.
Public class ControlCollection Represents a collection of controls on a Word document in a Visual Studio Tools for Office solution.
Public class ControlCollectionEnumerator An enumerator that iterates through the ControlCollection instance.
Public class DatePickerContentControl Represents a date picker control on a document.
Public class Document Represents a document in Visual Studio Tools for Office projects for Microsoft Office Word.
Public class Document._ActiveWritingStyleType Infrastructure.
Public class Document._CompatibilityType Infrastructure.
Public class DropDownListContentControl Represents a drop-down list on a document.
Public class GroupContentControl Represents a protected region of a document that users cannot edit or delete.
Public class MailMergeAfterMergeEventArgs Provides data for the MailMergeAfterMerge event.
Public class MailMergeWizardStateChangeEventArgs Provides data for the MailMergeWizardStateChange event.
Public class NodeInsertAndDeleteEventArgs Provides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control.
Public class OLEControl Represents a linked or embedded control on a document.
Public class PictureContentControl Represents a document region that displays an image.
Public class PlainTextContentControl Represents a block of text in a document.
Public class RichTextContentControl Represents a block of text or other types of content in a document.
Public class SaveEventArgs Provides data for the BeforeSave event.
Public class SelectionEventArgs Provides data for the SelectionChange, Selected, and Deselected events of a Bookmark control.
Public class SmartTag Represents a smart tag in a document-level customization for Microsoft Office Word.
Public class WindowEventArgs Provides information for the ActivateEvent, Deactivate, and WindowSize events.
Public class XMLNode Represents a single XML node on a document that exposes events and that can be bound to data.
Public class XMLNode._ValidationErrorTextType Infrastructure.
Public class XMLNode._XMLType Infrastructure.
Public class 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
Public delegate ActionClickEventHandler Represents the method that will handle the Click event of an Action.
Public delegate BeforeCaptionShowEventHandler Represents the method that will handle the BeforeCaptionShow event of an Action.
Public delegate ClickEventHandler Represents the method that will handle the BeforeDoubleClick and BeforeRightClick events of a Document.
Public delegate 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.
Public delegate MailMergeAfterMergeEventHandler Represents the method that handles the MailMergeAfterMerge event of a Document.
Public delegate MailMergeWizardStateChangeEventHandler Represents the method that handles the MailMergeWizardStateChange event of a Document.
Public delegate 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.
Public delegate SaveEventHandler Represents the method that will handle the BeforeSave event of a Document.
Public delegate SelectionEventHandler Represents the method that handles the SelectionChange, Selected, and Deselected events of a Bookmark control.
Public delegate WindowEventHandler Represents the method that will handle the ActivateEvent, Deactivate, and WindowSize events.

See Also

Reference

Other Resources

Host Items and Host Controls Overview

Document Host Item

Word Host Controls

Content Controls

Programmatic Limitations of Host Items and Host Controls

Word Document-Level Customization Development

Office Solutions Development Overview