Microsoft.Office.Tools Namespace (2007 System)
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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.

  ClassDescription
Public classActionBaseProvides the base class for smart tag actions in Visual Studio Tools for Office solutions for Microsoft Office Word and Microsoft Office Excel. 
Public classActionsPaneThe class that provides implementation for customizing the Document Actions task pane in document-level customizations for Microsoft Office Word and Microsoft Office Excel.
Public classAddInProvides core functionality for an add-in for a Microsoft Office application.
Public classCannotRemoveControlExceptionThe 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.
Public classCannotRemoveCustomizationExceptionThe exception that is thrown when a customization could not be programmatically removed from a document.
Public classControlNameAlreadyExistsExceptionThe 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.
Public classCustomTaskPaneRepresents a custom task pane in a Microsoft Office application.
Public classCustomTaskPaneCollectionRepresents a collection of custom task panes in a Microsoft Office application.
Public classInvalidRangeExceptionThe 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.
Public classOfficeOleAppInfoDocumentInfrastructure.
Public classOfficeOpenXmlAppInfoDocumentInfrastructure.
Public classOfficeXpsDocumentExceptionThe 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.
Public classRangeNotOnWorksheetExceptionThe exception that is thrown when the range provided does not exist on the worksheet.
Public classRegexCollectionRepresents a collection of regular expressions to be recognized by a smart tag in a Visual Studio Tools for Office solution.
Public classSmartTagBaseProvides the base class for smart tags in Visual Studio Tools for Office solutions.
Public classSmartTagCollectionRepresents a collection of smart tags in a Visual Studio Tools for Office solution.

  EnumerationDescription
Public enumerationStackStyleSpecifies the direction that controls will be stacked on an actions pane.
Show:
© 2016 Microsoft