Work with Office Add-ins
Sometimes you might want to give access to interface controls that run code to modify documents. Aspose.Words API provides the WebExtensions namespace, which grants various classes to customize elements and attributes extending the XML vocabulary for representing Office Add-ins.
WebExtensions namespace can be conditionally divided into:
- Objects for working with the task pane
- Objects for working with web extensions
Using Task Panes
The task panes are interface surfaces that are displayed on the right side of the window in Microsoft Word. Task pane allows users to access interface controls that can run code to modify documents.
For example, using Aspose.Words API, you can add a task pane add-in and customize its appearance.
Using Web Extensions
Web Extensions are tools that expand the capabilities of Office applications and interact with Office document content. Web Extensions provide additional functionality to Office clients for improving user experience.
The following code example shows how to create task panes and add to web extension task panes with basic properties:
To see a list of task pane add-ins, use the WebExtensionTaskPanes property.
The following code example shows how to get such a list of add-ins: