IDocumentExtension Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an extension of a Document object.
public interface class IDocumentExtension : Microsoft::Office::Tools::EntryPoint, Microsoft::Office::Tools::IExtension
[System.Runtime.InteropServices.Guid("C57DD47E-97F4-4744-A191-819A6F3CFEAD")]
public interface IDocumentExtension : Microsoft.Office.Tools.EntryPoint, Microsoft.Office.Tools.IExtension
[<System.Runtime.InteropServices.Guid("C57DD47E-97F4-4744-A191-819A6F3CFEAD")>]
type IDocumentExtension = interface
interface IExtension
interface EntryPoint
Public Interface IDocumentExtension
Implements EntryPoint, IExtension
- Derived
- Attributes
- Implements
Remarks
The IDocumentExtension interface defines a set of members that extend the functionality of Document objects.
The IDocumentExtension interface is implemented by the DocumentBase class. This is the base class for the generated ThisDocument
class in document-level projects. For more information, see Programming Document-Level Customizations.
Properties
ExtensionBase |
Gets the object that is being extended by this IExtension. (Inherited from IExtension) |
Methods
BeginInit() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
CreateRibbonExtensibilityObject() |
Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface. |
CreateRibbonObjects() |
Returns an array of IRibbonExtension objects that represent the Ribbon (Visual Designer) items to display in Word at run time. |
EndInit() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
FinishInitialization() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
GetAutomationObject() |
Called by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the document that is associated with a document-level project. |
Initialize() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
InitializeDataBindings() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
OnShutdown() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
OnStartup() |
This API supports the product infrastructure and is not intended to be used directly from your code. (Inherited from EntryPoint) |
ProtectDocument() |
Called by the Visual Studio Tools for Office runtime to give developers an opportunity to reapply password protection to the document in a document-level project after the cached data has been saved. |
RequestService(Guid) |
Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface. |
UnprotectDocument() |
Called by the Visual Studio Tools for Office runtime to give developers an opportunity to remove password protection from the document in a document-level project and enable cached data to be saved. |