简体   繁体   English

我想使用JavaScript来控制PowerPoint的办公室在线服务器翻页,但是我找不到任何相关文档

[英]I want to use JavaScript to control office online server page turning of PowerPoint, but I can't find any relevant documents

I want to use JavaScript to control the last page, the next page, the full screen of PowerPoint . 我想使用JavaScript来控制最后一页,下一页, PowerPoint的全屏。 I looked at the PostMessage , but there were no such actions 我看了看PostMessage ,但是没有这样的动作

I am searching for a long time on net. 我正在网上搜索很长时间。 But no use. 但是没用。 Please help or try to give some ideas how to achieve this 请帮助或尝试给出一些想法如何实现这一目标

You can't use javascript "directly" you have to call these actions through Microsoft javascript API. 您不能直接使用javascript,而必须通过Microsoft javascript API调用这些操作。 You will need to build PowerPoint add-in by using Office Add-ins platform. 您将需要使用Office加载项平台来构建PowerPoint加载 There are some nice tutorials for PowerPoint here and here that you can follow and that will give you an idea of what can be done by building PowerPoint add-in. 您可以在此处此处找到一些适用于PowerPoint的不错的教程,它们将使您大致了解通过构建PowerPoint加载项可以完成的工作。 I would suggest you get familiar with the technology and concepts before moving to tutorials. 我建议您在转向教程之前先熟悉一下技术和概念。 Also note that PowerPoint API is not fully developed and there are some features missing but you might not need them. 另请注意, PowerPoint API尚未完全开发,缺少某些功能,但您可能不需要它们。 There is UserVoice page where you can register and up vote for different office-js API features so it gets Microsoft office-js team attention. UserVoice页面上,您可以注册并投票支持不同的office-js API功能,从而引起Microsoft office-js团队的注意。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM