Page Summary
-
PredefinedLayout refers to commonly found layouts in presentations, though their presence and placeholder configurations may vary.
-
Enums within PredefinedLayout are accessed by calling their parent class, name, and property, such as
SlidesApp.PredefinedLayout.BLANK. -
The Properties table lists various predefined layouts and their descriptions, ranging from blank to layouts with titles, bodies, columns, or specific elements like captions, main points, or big numbers.
Predefined layouts. These are commonly found layouts in presentations. However, there is no guarantee that these layouts are present in the current master as they could have been deleted or not part of the used theme. Additionally, the placeholders on each layout may have been changed.
Each property below maps to a specific layout name as seen in the Google Slides UI (the "theme").
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.PredefinedLayout.BLANK.
Properties
| Property | Type | Description |
|---|---|---|
UNSUPPORTED | Enum | A layout that is not supported. |
BLANK | Enum | Blank layout, with no placeholders. Matches the "Blank" layout in the Google Slides UI. |
CAPTION_ONLY | Enum | Layout with a caption at the bottom. Matches the "Caption" layout in the Google Slides UI. |
TITLE | Enum | Layout with a title and a subtitle. Matches the "Title slide" layout in the Google Slides UI. |
TITLE_AND_BODY | Enum | Layout with a title and body. Matches the "Title and body" layout in the Google Slides UI. |
TITLE_AND_TWO_COLUMNS | Enum | Layout with a title and two columns. Matches the "Title and two columns" layout in the Google Slides UI. |
TITLE_ONLY | Enum | Layout with only a title. Matches the "Title only" layout in the Google Slides UI. |
SECTION_HEADER | Enum | Layout with a section title. Matches the "Section header" layout in the Google Slides UI. |
SECTION_TITLE_AND_DESCRIPTION | Enum | Layout with a title and subtitle on one side and description on the other. Matches the "Section title and description" layout in the Google Slides UI. |
ONE_COLUMN_TEXT | Enum | Layout with one title and one body, arranged in a single column. Matches the "One column text" layout in the Google Slides UI. |
MAIN_POINT | Enum | Layout with a main point. Matches the "Main point" layout in the Google Slides UI. |
BIG_NUMBER | Enum | Layout with a big number heading. Matches the "Big number" layout in the Google Slides UI. |