Enum PlaceholderType
PlaceholderType
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["PlaceholderType is used to specify the type of content a placeholder in Google Slides can hold, like text, images, or charts."],["These types are based on the ECMA-376 standard for Office Open XML file formats, with more details available in the standard's documentation."],["To use a PlaceholderType, refer to its parent class (SlidesApp), name (PlaceholderType), and specific property (e.g., BODY for body text)."],["A comprehensive list of PlaceholderTypes is provided, including common types like TITLE, BODY, CHART, and more specific ones like DATE_AND_TIME or SLIDE_NUMBER."],["If a placeholder type isn't recognized, it falls under the UNSUPPORTED or NONE types."]]],["Placeholder types, corresponding to ECMA-376 standard IDs, are accessed via `SlidesApp.PlaceholderType.PROPERTY`. Key types include: `UNSUPPORTED`, `NONE`, `BODY` (text), `CHART`, `CLIP_ART`, `CENTERED_TITLE`, `DIAGRAM`, `DATE_AND_TIME`, `FOOTER`, `HEADER`, `MEDIA`, `OBJECT`, `PICTURE`, `SLIDE_NUMBER`, `SUBTITLE`, `TABLE`, `TITLE`, and `SLIDE_IMAGE`. Each represents a specific content category, like text, visuals, or metadata, within a slide. Refer to the standard for more shape details.\n"]]