Skip to content

Implements export to Microsoft PowerPoint format and adds the related command item to a list of available export formats.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-web-forms-viewer-powerpoint-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for ASP.NET Web Forms - Add PowerPoint Export Format in Web Document Viewer

The example adds a Power Point item to the list of available export formats in the Web Document Viewer and implements the custom ExportToPowerPoint method.

Note: The resulting document is exported by rasterizing each page to an image / slide (no native PowerPoint inner elements). This example uses the Microsoft.Office.Interop.PowerPoint library, which requires a local installation of PowerPoint. You can also implement a similar solution with any other library that supports PowerPoint document generation.

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 ExportToPowerPointmethod when the user initializes export to Power Point.

Web Document Viewer Export to Microsoft 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.

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Implements export to Microsoft PowerPoint format and adds the related command item to a list of available export formats.

Topics

Resources

License

Stars

Watchers

Forks