I have a task pane add-in for PowerPoint in mind that can help users with tasks on the active presentation. With Microsoft Office becoming more and more popular on platforms besides Windows using the JavaScript API would make a great portable implementation. There are a number of COM add-ins doing things like these via the PowerPoint object model:
- Get the color of a selected shape and apply to another
- Change position of shapes to align them
- Copy one or more shapes from a slide in a presentation to another
- Upload a selected image to a web service
- Insert a slide downloaded from a web service
After going through the JavaScript API documentation it seems like these things are impossible at the moment. getFileAsync
sounds remotely promising but does not help in the end. getSelectedDataAsync
only returns text or titles and IDs for slides. So this isn't a solution either.
Is it correct that for the tasks above I am currently out of luck with the available JavaScript API for PowerPoint? I.e. I will need to wait for a more comprehensive API to become available (like the APIs for Word and Excel)? Anyone knows if Microsoft has something in the works here?