Microsoft.Office.Tools.Word Namespace

 

The Microsoft.Office.Tools.Word namespace contains types that extend and support the Microsoft Office Word object model in projects created by using the Office development tools in Visual Studio. For more information about these projects, see Office Project Templates Overview.

ClassDescription
System_CAPS_pubclassControlExtensions

Provides extension methods you can use to add Windows Forms controls to a Word document that has been customized by using the Office development tools in Visual Studio.

System_CAPS_pubclassDocumentBase

Provides the base class for the ThisDocument class in document-level projects for Microsoft Office Word.

InterfaceDescription
System_CAPS_pubinterfaceAction

Represents a smart tag action in a Word document that is customized by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceActionEventArgs

Provides data for the Click and BeforeCaptionShow events.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

System_CAPS_pubinterfaceApplicationFactory

Provides methods you can use to perform miscellaneous tasks in application-level add-ins, such as extending native Word documents and creating Ribbon controls at run time.

System_CAPS_pubinterfaceBookmark

The Bookmark control is a bookmark that has a unique name, exposes events, and can be bound to data.

System_CAPS_pubinterfaceBookmark_InformationType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceBookmark_XMLType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceBuildingBlockGalleryContentControl

Represents a gallery of document building blocks that users can insert into a document.

System_CAPS_pubinterfaceClickEventArgs

Provides data for the BeforeDoubleClick and BeforeRightClick events.

System_CAPS_pubinterfaceComboBoxContentControl

Represents a combo box on a document.

System_CAPS_pubinterfaceContentControl

Represents a content control a document.

System_CAPS_pubinterfaceContentControlAddedEventArgs

Provides data for the Added event of a content control.

System_CAPS_pubinterfaceContentControlBase

Provides the base interface for content controls in Word solutions created by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceContentControlContentUpdatingEventArgs

Provides data for the ContentUpdating event of a content control.

System_CAPS_pubinterfaceContentControlDeletingEventArgs

Provides data for the Deleting event of a content control.

System_CAPS_pubinterfaceContentControlEnteringEventArgs

Provides data for the Entering event.

System_CAPS_pubinterfaceContentControlExitingEventArgs

Provides data for the Exiting event of a content control.

System_CAPS_pubinterfaceContentControlStoreUpdatingEventArgs

Provides data for the StoreUpdating event of a content control.

System_CAPS_pubinterfaceContextChangeEventArgs

Provides data for the Select, Deselect, ContextEnter and ContextLeave events of an XMLNode object and the ContextEnter, ContextLeave, Select, and Deselect events of an XMLNodes object.

System_CAPS_pubinterfaceControlCollection

Represents a collection of managed controls on a Word document that has been customized by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceControlSite

Represents a linked or embedded control on a document.

System_CAPS_pubinterfaceDatePickerContentControl

Represents a date picker control on a document.

System_CAPS_pubinterfaceDocument

Represents a document in Word projects created by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceDocument_ActiveWritingStyleType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceDocument_CompatibilityType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceDropDownListContentControl

Represents a drop-down list on a document.

System_CAPS_pubinterfaceFactory

Provides methods you can use to add perform miscellaneous tasks in a document-level customization, such as creating Ribbon controls at run time and adding smart tags to documents.

System_CAPS_pubinterfaceGroupContentControl

Represents a protected region of a document that users cannot edit or delete.

System_CAPS_pubinterfaceIDocumentExtension

Represents an extension of a Document object.

System_CAPS_pubinterfaceISmartTagExtension

Represents an extension of a smart tag in a Word document that is customized by using the Office development tools in Visual Studio. The extension defines a custom recognizer for the smart tag.

System_CAPS_pubinterfaceMailMergeAfterMergeEventArgs

Provides data for the MailMergeAfterMerge event.

System_CAPS_pubinterfaceMailMergeWizardStateChangeEventArgs

Provides data for the MailMergeWizardStateChange event.

System_CAPS_pubinterfaceNodeInsertAndDeleteEventArgs

Provides data for the AfterInsert and BeforeDelete events of an XMLNode control, and for the AfterInsert and BeforeDelete events of an XMLNodes control.

System_CAPS_pubinterfacePictureContentControl

Represents a document region that displays an image.

System_CAPS_pubinterfacePlainTextContentControl

Represents a block of text in a document.

System_CAPS_pubinterfaceRichTextContentControl

Represents a block of text or other types of content in a document.

System_CAPS_pubinterfaceSaveEventArgs

Provides data for the BeforeSave event.

System_CAPS_pubinterfaceSelectionEventArgs

Provides data for the SelectionChange, Selected, and Deselected events of a Bookmark control.

System_CAPS_pubinterfaceSmartTag

Represents a smart tag in a Word document that is customized by using the Office development tools in Visual Studio.

System_CAPS_pubinterfaceSmartTagRecognizeContext

Provides the context of a call to a custom smart tag recognizer.

System_CAPS_pubinterfaceWindowEventArgs

Provides information for the ActivateEvent, Deactivate, and WindowSize events.

System_CAPS_pubinterfaceXMLNode

Represents a single XML node on a document that exposes events and that can be bound to data.

System_CAPS_pubinterfaceXMLNode_ValidationErrorTextType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceXMLNode_XMLType

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubinterfaceXMLNodes

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.

DelegateDescription
System_CAPS_pubdelegateActionClickEventHandler

Represents the method that will handle the Click event of an Action.

System_CAPS_pubdelegateBeforeCaptionShowEventHandler

Represents the method that will handle the BeforeCaptionShow event of an Action.

This type or member is intended to be used only in projects for the 2007 Microsoft Office system. Smart tags are deprecated in Office 2010.

System_CAPS_pubdelegateClickEventHandler

Represents the method that will handle the BeforeDoubleClick and BeforeRightClick events of a Document.

System_CAPS_pubdelegateContentControlAddedEventHandler

Represents the method that will handle the Added event of a ContentControlBase.

System_CAPS_pubdelegateContentControlContentUpdatingEventHandler

Represents the method that will handle the ContentUpdating event of a ContentControlBase.

System_CAPS_pubdelegateContentControlDeletingEventHandler

Represents the method that will handle the Deleting event of a ContentControlBase.

System_CAPS_pubdelegateContentControlEnteringEventHandler

Represents the method that will handle the Entering event of a ContentControlBase.

System_CAPS_pubdelegateContentControlExitingEventHandler

Represents the method that will handle the Exiting event of a ContentControlBase.

System_CAPS_pubdelegateContentControlStoreUpdatingEventHandler

Represents the method that will handle the StoreUpdating event of a ContentControlBase.

System_CAPS_pubdelegateContextChangeEventHandler

Represents the method that will handle the Select, Deselect, ContextEnter and ContextLeave events of an XMLNode object and the ContextEnter, ContextLeave, Select, and Deselect events of an XMLNodes object.

System_CAPS_pubdelegateMailMergeAfterMergeEventHandler

Represents the method that handles the MailMergeAfterMerge event of a Document.

System_CAPS_pubdelegateMailMergeWizardStateChangeEventHandler

Represents the method that handles the MailMergeWizardStateChange event of a Document.

System_CAPS_pubdelegateNodeInsertAndDeleteEventHandler

Represents the method that handles the AfterInsert and BeforeDelete events of an XMLNode control, and the AfterInsert and BeforeDelete events of an XMLNodes control.

System_CAPS_pubdelegateSaveEventHandler

Represents the method that will handle the BeforeSave event of a Document.

System_CAPS_pubdelegateSelectionEventHandler

Represents the method that handles the SelectionChange, Selected, and Deselected events of a Bookmark control.

System_CAPS_pubdelegateWindowEventHandler

Represents the method that will handle the ActivateEvent, Deactivate, and WindowSize events.

The Microsoft.Office.Tools.Word namespace includes the following main types:

Return to top
Show: