Presentation Formatting
Specify presentation formatting by using a PowerPoint® presentation template, along with PPT API format objects and properties. See Presentation Formatting Approaches.
Functions
| getMasterNames | Get names of slide masters for presentation | 
| getLayoutNames | Get names of layouts for presentation slide master | 
| open | Open presentation | 
| close | Close presentation | 
| pptview | Open Microsoft PowerPoint presentation or convert it to PDF | 
| rptview | Display report or presentation | 
| mlreportgen.ppt.getDefaultNumberFormat | Get default formatting for PPT API numeric data (Since R2024b) | 
| mlreportgen.ppt.setDefaultNumberFormat | Set default formatting of numeric data generated by PPT API (Since R2024b) | 
Classes
Topics
- Presentation Formatting ApproachesFormat a presentation by using style sheets, format objects, or format properties. 
- Set Up a PowerPoint Presentation TemplateA PowerPoint template specifies the fixed content and default layout and appearance of the slides in a presentation. 
- Access PowerPoint Template ElementsThe PPT API uses PowerPoint presentations as templates to generate presentations. 
- Presentation Format InheritanceThe PPT API allows you to use a PowerPoint template and PPT API format objects and properties to format presentation objects. 
- Define a Style Using Format ObjectsCreate an array of formats, such as color, font family, and font size, that specify the appearance of a paragraph or other content object. 
- Use Format PropertiesMost PPT API presentation objects (such as a Paragraphobject) include properties that you can use to set the format of the content of an object.