使用插件扩展 Google 幻灯片的功能
Google 幻灯片是一款基于云的演示文稿解决方案,提供实时协作功能和强大的工具,可让您快速构建自定义幻灯片。
您可以使用插件扩展 Google 幻灯片,帮助用户构建新的演示文稿、建立与第三方系统的连接,以及将您的幻灯片数据与其他 Google Workspace 应用(例如 Google 表格)集成。
您可以在 Google Workspace Marketplace 中查看其他人构建的 Google 幻灯片插件。
可以采取的措施
下面列出了您可以通过扩展 Google 幻灯片的插件执行的一些操作:
幻灯片插件是使用 Apps 脚本构建的。如需详细了解如何使用 Apps 脚本访问和管理 Google 幻灯片,请参阅扩展 Google 幻灯片。
演示文稿结构
Google 幻灯片演示文稿由页面组成,每个页面包含一些元素,例如文本框和图片。
Apps Script 幻灯片服务提供了多个类来表示幻灯片中的组织结构(例如 Slide
和 Shape
)。您可以使用这些类来读取和修改幻灯片数据和行为。
如需详细了解幻灯片演示文稿的组织方式,请参阅幻灯片演示文稿的结构。
触发器
借助 Apps Script 触发器,脚本项目可以在满足特定条件(例如打开演示文稿或安装插件)时执行指定函数。
如需详细了解哪些触发器可与 Google 幻灯片插件搭配使用,以及使用这些触发器时受到哪些限制,请参阅插件触发器。
深入阅读
在开发幻灯片插件时,以下 Apps Script 指南可能很有帮助:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-16。
[null,null,["最后更新时间 (UTC):2025-02-16。"],[[["Google Slides is a cloud-based presentation tool with real-time collaboration and robust features for creating custom presentations."],["Slides add-ons enhance Google Slides by allowing users to build presentations, connect to external systems, and integrate with other Google Workspace apps."],["Developers can utilize Apps Script and the Slides service to programmatically read, edit, format, and visualize Google Slides presentations."],["Apps Script triggers can automate tasks within Google Slides by executing specific functions when predefined events occur, like opening a presentation."],["Google provides comprehensive documentation and guides to support developers in building and extending Google Slides functionality with add-ons."]]],["Google Slides add-ons, built with Apps Script, extend Slides' functionality. Key actions include reading, editing, visualizing, and formatting slides using Apps Script's Slides service or the Google Slides API. Developers can create custom menus, dialogs, and sidebars with HTML and CSS, and set up triggers for specific events. Add-ons interact with presentation elements like slides and shapes, modifying data and behavior, with the option to install from the Google Workspace Marketplace.\n"]]