Microsoft.Office.Tools Namespace (2007 System)
The Microsoft.Office.Tools namespace contains the host item class for application-level add-in projects, and additional classes that you can use to create custom task panes, actions panes, and smart tags.
The host item class for application-level add-ins is the AddIn class. For more information, see AddIn Host Item.
To create a custom task pane in an application-level add-in, use the CustomTaskPane and CustomTaskPaneCollection classes. For more information, see Custom Task Panes Overview.
To create an actions pane in a document-level customization, use the ActionsPane class. For more information, see Actions Pane Overview.
The Microsoft.Office.Tools namespace also contains the following classes that provide base functionality for smart tags in Visual Studio Tools for Office solutions:
For more information, see Smart Tags Overview.
Classes
Class | Description | |
---|---|---|
ActionBase | Provides the base class for smart tag actions in Visual Studio Tools for Office solutions for Microsoft Office Word and Microsoft Office Excel. | |
ActionsPane | The class that provides implementation for customizing the Document Actions task pane in document-level customizations for Microsoft Office Word and Microsoft Office Excel. | |
AddIn | Provides core functionality for an add-in for a Microsoft Office application. | |
CannotRemoveControlException | The exception that is thrown when code tries to remove a host control or Windows Forms control that was added to a document at design time. | |
CannotRemoveCustomizationException | The exception that is thrown when a customization could not be programmatically removed from a document. | |
ControlNameAlreadyExistsException | The exception that is thrown when you try to add a control to a Microsoft Office Excel workbook or Microsoft Office Word document at run time, but the name provided for the new control already exists in the workbook or document. | |
CustomTaskPane | Represents a custom task pane in a Microsoft Office application. | |
CustomTaskPaneCollection | Represents a collection of custom task panes in a Microsoft Office application. | |
InvalidRangeException | The exception that is thrown when you try to add a control to a Microsoft Office Excel workbook at run time, but the specified range contains multiple areas instead of a contiguous block of cells. | |
OfficeOleAppInfoDocument | Infrastructure. | |
OfficeOpenXmlAppInfoDocument | Infrastructure. | |
OfficeXpsDocumentException | The exception that is thrown when the Visual Studio Tools for Office runtime cannot perform an operation on a Microsoft Office Open XML Formats document because the format of the document is invalid. | |
RangeNotOnWorksheetException | The exception that is thrown when the range provided does not exist on the worksheet. | |
RegexCollection | Represents a collection of regular expressions to be recognized by a smart tag in a Visual Studio Tools for Office solution. | |
SmartTagBase | Provides the base class for smart tags in Visual Studio Tools for Office solutions. | |
SmartTagCollection | Represents a collection of smart tags in a Visual Studio Tools for Office solution. |
Enumerations
Enumeration | Description | |
---|---|---|
StackStyle | Specifies the direction that controls will be stacked on an actions pane. |