AI-generated Key Takeaways
-
PlaceholderType defines various types of placeholders, many corresponding to ECMA-376 standard placeholder IDs.
-
You can access a specific placeholder type by calling its parent class, name, and property, such as
SlidesApp.PlaceholderType.BODY. -
The different placeholder types include body text, charts, pictures, titles, and many others.
The placeholder types. Many of these placeholder types correspond to placeholder IDs from the ECMA-376 standard. More information on those shapes can be found in the description of the "ST_PlaceholderType" type in section 19.7.10 of "Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th edition .
To call an enum, you call its parent class, name, and property. For example, SlidesApp.PlaceholderType.BODY
.
Properties
| Property | Type | Description |
|---|---|---|
UNSUPPORTED
|
Enum
|
A placeholder type that is not supported. |
NONE
|
Enum
|
Not a Placeholder. |
BODY
|
Enum
|
Body text. |
CHART
|
Enum
|
Chart or graph. |
CLIP_ART
|
Enum
|
Clip art image. |
CENTERED_TITLE
|
Enum
|
Title centered. |
DIAGRAM
|
Enum
|
Diagram. |
DATE_AND_TIME
|
Enum
|
Date and time. |
FOOTER
|
Enum
|
Footer text. |
HEADER
|
Enum
|
Header text. |
MEDIA
|
Enum
|
Multimedia. |
OBJECT
|
Enum
|
Any content type. |
PICTURE
|
Enum
|
Picture. |
SLIDE_NUMBER
|
Enum
|
Number of a slide. |
SUBTITLE
|
Enum
|
Subtitle. |
TABLE
|
Enum
|
Table. |
TITLE
|
Enum
|
Slide title. |
SLIDE_IMAGE
|
Enum
|
Slide image. |

