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 |
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.
To create a table, you can:
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
A format object is a MATLAB® program entity that defines the properties and functions of a specific type of presentation format, such as the weight for text (bold or regular).
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.
Presentation Formatting Approaches
With the PPT API, you can use a PowerPoint® template and PPT API format objects and properties to specify the appearance of an object.
Presentation Format Inheritance
The PPT API allows you to use a PowerPoint template and PPT API format objects and properties to format presentation objects.