我最近开始使用新的Office加载项模型为PowerPoint 2016开发加载项。新的加载项模型使用html,css和javascript,并主要通过Office的Javascript API与Office进行交互。但是,我意识到支持的与Office的互动非常有限。例如,我是否可以通过Javascript API for Office或任何其他方式将新的PPT幻灯片插入PowerPoint?
I recently started to develop an add-in for PowerPoint 2016 using the new Office Add-In model. The new add-in model uses html, css and javascript, and interacts with Office mainly through Javascript API for Office. However, I realized that the supported interactions with Office are pretty limited. For example, would it be possible for me to insert a new PPT slide into PowerPoint through Javascript API for Office, or any other means?
推荐答案
使用JavaScript API制作的PowerPoint和Project支持加载项。但是,它们目前没有特定于主机的API。您通过共享API与这些主机进行的互动。
PowerPoint and Project support add-ins made with the JavaScript API. However, they currently do not have host-specific APIs. You interact with these hosts through the Shared API.
docs.microsoft/en-us/javascript/office/requirement-sets / powerpoint-and-project-note?view = office-js
更多推荐
通过Office加载项模型将新幻灯片添加到PowerPoint 2016中
发布评论