PowerPoint Web Add-In: get data within document

五迷三道 提交于 2019-12-10 12:16:57

问题


Is it possible to get all data in PPT document?

Something like getSelectedDataAsync method but for all data whether selected or not.

I want to verify the content(Text) of the PPT document.


回答1:


The PPT JS API is not yet as rich as the Excel and Word ones, and today there is no API to do this directly. There is an intricate workaround where you need to get the entire file (pptx) (using the getFileAsync method) send it to service that uses the OOXML SDK to open it and grab the content you need.



来源:https://stackoverflow.com/questions/45466762/powerpoint-web-add-in-get-data-within-document

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!