Name: PowerPoint-Add-in-JavaScript-SliceDataChunks
Owner: Office Developer
Description: Shows how to use JavaScript in a PowerPoint 2013 task pane add-in to slice the current presentation into chunks of data.
Created: 2015-08-18 20:32:10.0
Updated: 2018-04-11 22:15:57.0
Pushed: 2017-12-28 21:35:53.0
Homepage: null
Size: 1593
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Table of contents
This sample shows how to use JavaScript in a PowerPoint 2013 task pane add-in to get the current presentation and slice it into chunks of data in user-defined sizes. The data could then be submitted to a service (such as an e-book publishing service).
This sample requires the following:
The sample solution contains the following key files:
EBookPublisher project
EBookPublisherWeb project
The Adventure Works.pptx file is set as the Start Document property of the task pane add-in. The presentation is large enough (1,204 slides) to be sliced into a number of discrete chunks of data.
The sample demonstrates:
Adventure Works.pptx
file does not open automatically, open it. It is in the project at \EBookPublisher
.The add-in displays the number of slices and the size of each slice, along with buttons you can use to view the content of each slice.
This sample displays the slice information to the user, but your add-in will probably send the data slices to a web service. The web service can then rebuild the presentation from the slices.
Copyright (c) 2015 Microsoft. All rights reserved.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.