使用PPT API创建MATLAB程序以将内容添加到PowerPoint演示文稿并创建完整的PowerPoint演示文稿。您可以创建一个与PowerPoint演示文稿中的幻灯片主机和布局一起使用的程序。开始,看创建演示生成器。
与没有在其系统上安装MATLAB的其他人分享完成的演示计划,请参阅从演示程序创建独立应用程序。
打开 |
公开演示文稿 |
关闭 |
关闭介绍 |
getmasternames. |
获取幻灯片主人的名称进行演示 |
getLayoutnames. |
获取演示文稿幻灯片大师的布局名称 |
gettablestylenames. |
获取表现形式的表样式名称 |
添加 |
将幻灯片添加到演示文稿 |
代替 |
在演示中替换文本,表格或图片 |
派遣 |
调度PPT状态消息 |
mlreportgen.ppt.presentation.cleateMplate. |
创建PPT API默认演示文稿模板的副本 |
mlreportgen.ppt.messagedispatcher.getthedispatcher. |
返回PPT消息调度员 |
FormatAstext. |
格式化消息作为文本 |
formatashtml. |
HTML标记中的包裹消息 |
Passesfilter |
确定消息是否通过过滤器 |
PPTVIEW. |
打开微软微软幻灯片软件演示或将其转换为PDF |
mlreportgen.ppt.pruseentation. |
创建一个微软微软幻灯片软件介绍容器 |
mlreportgen.ppt.slide. |
演示幻灯片 |
mlreportgen.ppt.text. |
文本包含在演示文稿中 |
mlreportgen.ppt.textbox. |
文本框 |
mlreportgen.ppt.externallink. |
超链接到演示范围之外的位置 |
mlreportgen.ppt.internallink. |
演示文稿中幻灯片的超链接 |
mlreportgen.ppt.table. |
表介绍 |
mlreportgen.ppt.picture. |
创建图片以包含演示文稿 |
mlreportgen.ppt.contentPlaceHolder. |
占地面士幻灯片 |
mlreportgen.ppt.textBoxPlaceHover. |
占领符号 |
mlreportgen.ppt.tablePlaceHolder. |
幻灯片表的占位符 |
mlreportgen.ppt.picturePlace持有人 |
占地面议员 |
mlreportgen.ppt.messagedispatcher. |
PPT消息调度员 |
mlreportgen.ppt.messageEventData. |
保存消息触发消息事件 |
mlreportgen.ppt.messagefilter |
过滤器控制消息调度程序 |
mlreportgen.ppt.progressmessage. |
进度信息 |
mlreportgen.ppt.debugmessage. |
调试留言 |
mlreportgen.ppt.errormessage. |
错误信息 |
mlreportgen.ppt.warningmessage. |
警告信息 |
创建MATLAB程序以生成PowerPoint演示文稿。
PPT API由称为对象的分层数据结构组成,其代表演示和内容。
所有ppt类名称和构造函数名称都有前缀mlreportgen.ppt.
。
大多数PPT对象具有描述对象的属性。
每个PPT API程序必须创建一个mlreportgen.ppt.pruseentation.
对象以保持演示文稿内容。
要从PPT API程序生成PowerPoint演示文稿,请使用API关闭演示文稿。
在生成PowerPoint演示文稿时,PPT API可以显示消息。
启用与没有安装MATLAB的用户共享PPT API程序。