Get slide index or visibility state of PowerPoint content addin (Office.js)

前端 未结 1 1690
情深已故
情深已故 2020-12-21 15:10

I\'m writing a PowerPoint content addin using Office.js API. I need a way for each instance of that addin to determine the index of the containing slide, or, if this is impo

相关标签:
1条回答
  • 2020-12-21 15:48

    At present, the PowerPoint client seems return the active slide instead of the parent slide since the function “getSelectedDataAsync” is asynchronous.

    is there a way to more or less reliably determine the containing slide index, the way that works in both web and desktop versions of PowerPoint?

    As far as I know, there is no API to return the slide which contains the content app. And if you want the Office add-in support this API, you can submit the feedback from here.

    0 讨论(0)
提交回复
热议问题