Create Presentation Objects
You can add presentation content objects, such as text, tables, and pictures, to a presentation. You can format those content objects by defining styles that use format objects specific to the type of content object. Also, you can specify formats using content object formatting properties. To get started, see Add and Replace Presentation Content.
Functions
Classes
Topics
- Presentation Formatting Approaches
Format a presentation by using style sheets, format objects, or format properties.
- Presentation Format Inheritance
The PPT API allows you to use a PowerPoint® template and PPT API format objects and properties to format presentation objects.
- Create and Format Text
You can create a
Text
object using anmlreportgen.ppt.Text
constructor, specifying a character vector. - Create and Format Paragraphs
To create a
Paragraph
object, use themlreportgen.ppt.Paragraph
constructor. - Create and Format Tables
Create a table using an
mlreportgen.ppt.Table
object. - Create and Format Pictures
To create a picture for a presentation, use the
mlreportgen.ppt.Picture
constructor. - Create and Format Links
In a presentation, you can create an internal link, from one slide to another slide, or an external link to a location outside of the presentation.
- Define a Style Using Format Objects
Create 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 Properties
Most PPT API presentation objects (such as a
Paragraph
object) include properties that you can use to set the format of the content of an object.