In this example a Power Point item is added to the list of availailable export formats in the Web Document Viewer, and the custom ExportToPowerPoint method is implemented.
The CustomizeMenuActions event is handled to add a custom menu item.
The application registers a CustomOperationLogger class as the WebDocumentViewerOperationLogger service. The CustomOperationLogger class overrides the ExportDocumentStarting method to call the ExportToPowerPoint method when the user initializes export to PowerPoint.
You have to install the Office Developer Tools for Visual Studio to build the project, and have a local Microsoft Office (PowerPoint) installation to run the project.