通过Office加载项模型将新幻灯片添加到PowerPoint 2016中 [英] Adding a new slide into PowerPoint 2016 through Office Add-In Model

查看:183
本文介绍了通过Office加载项模型将新幻灯片添加到PowerPoint 2016中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始使用新的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.

https://docs.microsoft.com/en-us/javascript/office/requirement-sets / powerpoint-and-project-note?view = office-js


这篇关于通过Office加载项模型将新幻灯片添加到PowerPoint 2016中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆