Microsoft.Office.Tools.Word 命名空間

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

類別

ControlExtensions

提供可用來將 Windows Forms 控制項新增至 Word 文件的擴充方法,Word 文件已經使用 Visual Studio 的 Office 開發工具自訂。

DocumentBase

提供 Microsoft Office Word 文件層級專案中 ThisDocument 類別的基底類別。

介面

Action

代表 Word 文件中使用 Visual Studio 的 Office 開發工具所自訂的智慧標籤動作。

ActionEventArgs

提供 ClickBeforeCaptionShow 事件的資料。 這個類型或成員僅適用於 2007 Microsoft Office system 專案。 智慧標籤在 Office 2010 中已被取代。

ApplicationFactory

提供您可以用於在應用程式層級增益集中執行其他工作的方法,例如:在執行階段擴充原生 Word 文件和建立 Ribbon 控制項。

Bookmark

Bookmark 控制項是具有唯一名稱、可公開事件及繫結至資料的書籤。

Bookmark_InformationType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

Bookmark_XMLType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

BuildingBlockGalleryContentControl

代表使用者可以插入到文件的文件建置組塊庫。

ClickEventArgs

提供 BeforeDoubleClickBeforeRightClick 事件的資料。

ComboBoxContentControl

代表文件上的下拉式方塊。

ContentControl

代表文件的內容控制項。

ContentControlAddedEventArgs

提供內容控制項之 Added 事件的資料。

ContentControlBase

提供使用 Visual Studio 的 Office 開發工具所建立之 Word 方案中的內容控制項基底介面。

ContentControlContentUpdatingEventArgs

提供內容控制項之 ContentUpdating 事件的資料。

ContentControlDeletingEventArgs

提供內容控制項之 Deleting 事件的資料。

ContentControlEnteringEventArgs

提供 Entering 事件的資料。

ContentControlExitingEventArgs

提供內容控制項之 Exiting 事件的資料。

ContentControlStoreUpdatingEventArgs

提供內容控制項之 StoreUpdating 事件的資料。

ContextChangeEventArgs

提供 XMLNode 物件之 SelectDeselectContextEnterContextLeave 事件的資料,以及 XMLNodes 物件之 ContextEnterContextLeaveSelectDeselect 事件的資料。

ControlCollection

代表 Word 文件上在 Visual Studio 中使用 Office 開發工具所自訂的受管理控制項集合。

ControlSite

代表文件上的連結或內嵌控制項。

DatePickerContentControl

代表文件上的日期選擇器控制項。

Document

代表 Word 專案中使用 Visual Studio 的 Office 開發工具所建立的文件。

Document_ActiveWritingStyleType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

Document_CompatibilityType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

DropDownListContentControl

代表文件上的下拉式清單。

Factory

提供您可以用於在文件層級自訂中執行其他工作的方法,例如:在執行階段建立 Ribbon 控制項以及將智慧標籤加入至文件。

GroupContentControl

代表文件受保護區域,使用者不能予以編輯或刪除。

IDocumentExtension

代表 Document 物件的延伸模組。

ISmartTagExtension

代表使用 Visual Studio 中 Office 開發工具所自訂 Word 文件中之智慧標籤的延伸模組。 延伸模組會定義智慧標籤的自訂辨識器。

MailMergeAfterMergeEventArgs

提供 MailMergeAfterMerge 事件的資料。

MailMergeWizardStateChangeEventArgs

提供 MailMergeWizardStateChange 事件的資料。

NodeInsertAndDeleteEventArgs

提供 XMLNode 控制項之 AfterInsertBeforeDelete 事件的資料,以及 XMLNodes 控制項之 AfterInsertBeforeDelete 事件的資料。

PictureContentControl

代表可顯示影像的文件區域。

PlainTextContentControl

代表文件中的文字區塊。

RichTextContentControl

代表文件中的文字區塊或其他類型的內容。

SaveEventArgs

提供 BeforeSave 事件的資料。

SelectionEventArgs

提供 Bookmark 控制項之 SelectionChangeSelectedDeselected 事件的資料。

SmartTag

表示使用 Visual Studio 的 Office 開發工具所自訂之 Word 文件中的智慧標籤。

SmartTagRecognizeContext

提供自訂智慧標籤辨識器呼叫的內容。

WindowEventArgs

提供 ActivateEventDeactivate,以及 WindowSize 事件的資訊。

XMLNode

代表文件上的公開事件以及可以繫結至資料的單一 XML 節點。

XMLNode_ValidationErrorTextType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

XMLNode_XMLType

Microsoft.Office.Tools.Word 命名空間所包含的類型,可擴充及支援使用 Visual Studio 中的 Office 開發工具所建立之專案中的 Microsoft Office Word 物件模型。 如需這些專案的詳細資訊,請參閱 Office Project Templates Overview(Office 專案範本概觀)。

XMLNodes

XMLNode 物件集合,代表 [XML 結構] 工作窗格樹狀檢視中的節點,此工作窗格指出使用者已套用至文件的項目。

委派

ActionClickEventHandler

代表將處理 ActionClick 事件之方法。

BeforeCaptionShowEventHandler

代表將處理 ActionBeforeCaptionShow 事件之方法。 這個類型或成員僅適用於 2007 Microsoft Office system 專案。 智慧標籤在 Office 2010 中已被取代。

ClickEventHandler

表示處理 BeforeDoubleClickBeforeRightClickDocument 事件的方法。

ContentControlAddedEventHandler

代表將處理 AddedContentControlBase 事件的方法。

ContentControlContentUpdatingEventHandler

代表將處理 ContentUpdatingContentControlBase 事件的方法。

ContentControlDeletingEventHandler

代表將處理 DeletingContentControlBase 事件的方法。

ContentControlEnteringEventHandler

代表將處理 EnteringContentControlBase 事件的方法。

ContentControlExitingEventHandler

代表將處理 ExitingContentControlBase 事件的方法。

ContentControlStoreUpdatingEventHandler

代表將處理 StoreUpdatingContentControlBase 事件的方法。

ContextChangeEventHandler

代表將處理 XMLNode 物件之 SelectDeselectContextEnterContextLeave 事件的方法,以及 XMLNodes 物件之 ContextEnterContextLeaveSelectDeselect 事件的方法。

MailMergeAfterMergeEventHandler

代表處理 DocumentMailMergeAfterMerge 事件的方法。

MailMergeWizardStateChangeEventHandler

代表處理 DocumentMailMergeWizardStateChange 事件的方法。

NodeInsertAndDeleteEventHandler

代表處理 XMLNode 控制項之 AfterInsertBeforeDelete 事件的方法,以及 XMLNodes 控制項之 AfterInsertBeforeDelete 事件的方法。

SaveEventHandler

代表將處理 BeforeSaveDocument 事件的方法。

SelectionEventHandler

代表處理 Bookmark 控制項之 SelectionChangeSelectedDeselected 事件的方法。

WindowEventHandler

代表將處理 ActivateEventDeactivateWindowSize 事件的方法。

備註

命名空間 Microsoft.Office.Tools.Word 包含下列主要類型: