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.
append | Append content to paragraph |
add | Add paragraph to text box |
replace | Replace text box paragraphs |
replace | Replace picture |
append | Append row to table |
row | Access table row |
entry | Access table entry |
replace | Replace table with another table |
append | Append table entry to table row |
append | Append text or paragraph to table entry |
pptview | Open Microsoft PowerPoint presentation or convert it to PDF |
rptview | Display report or presentation |
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.
You can create a Text
object using an mlreportgen.ppt.Text
constructor,
specifying a character vector.
To create a Paragraph
object, use the mlreportgen.ppt.Paragraph
constructor.
Create a table using an mlreportgen.ppt.Table
object.
To create a picture for a presentation, use the mlreportgen.ppt.Picture
constructor.
To create a link to a location outside of a presentation, use
the mlreportgen.ppt.ExternalLink
constructor.
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.
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.