PowerPoint Web Add-In: get data within document

2019-06-10 23:52发布

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条回答
聊天终结者
2楼-- · 2019-06-11 00:08

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.

查看更多
登录 后发表回答