演示格式基础知识
指定表示格式
使用PowerPoint指定演示文稿格式®演示模板,以及PPT API格式对象和属性。看到演示文稿格式化方法.
功能
getMasterNames |
获取幻灯片主文件的名称 |
getLayoutNames |
获取演示幻灯片母版的布局名称 |
开放 |
公开演讲 |
关闭 |
关闭报告 |
类
mlreportgen.ppt.Presentation |
创建Microsoft PowerPoint演示文稿 |
mlreportgen.ppt.Slide |
演示文稿幻灯片 |
mlreportgen.ppt.FontFamily |
字体 |
mlreportgen.ppt.FontColor |
表示元素的字体颜色 |
mlreportgen.ppt.FontSize |
字体大小 |
mlreportgen.ppt.Bold |
文本对象加粗 |
mlreportgen.ppt.Italic |
斜体表示文本对象 |
mlreportgen.ppt.Strike |
跳过文本 |
mlreportgen.ppt.Underline |
下划线的文本 |
mlreportgen.ppt.Subscript |
下标 |
mlreportgen.ppt.Superscript |
上标 |
mlreportgen.ppt.HAlign |
段落横向对齐 |
mlreportgen.ppt.VAlign |
表条目内容的垂直对齐 |
mlreportgen.ppt.ColSpec |
表列的格式化 |
mlreportgen.ppt.ColWidth |
表列宽度 |
mlreportgen.ppt.BackgroundColor |
呈现元素的背景色 |
pptview |
打开微软PowerPoint演示文稿或将其转换为PDF格式 |
主题
通过使用PPT API,您可以使用PPT模板和PPT API格式对象和属性来指定对象的外观。
当您使用现有的PPT演示文稿作为PPT API演示文稿的模板时,模板演示文稿中的内容将出现在新的PPT API演示文稿中。
PPT API使用PPT演示文稿作为模板来生成演示文稿。
PPT API允许您使用PPT模板和PPT API格式对象和属性来格式化演示对象。
格式对象是一个MATLAB®定义特定表示格式类型的属性和功能的程序实体,例如文本(粗体或正则)的权重。
大多数PPT API演示对象(如a段
对象)包含可用于设置对象内容格式的属性。