Enum PredefinedLayout

  • 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.

PredefinedLayout

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

PropertyTypeDescription
UNSUPPORTEDEnumA layout that is not supported.
BLANKEnumBlank layout, with no placeholders. Matches the "Blank" layout in the Google Slides UI.
CAPTION_ONLYEnumLayout with a caption at the bottom. Matches the "Caption" layout in the Google Slides UI.
TITLEEnumLayout with a title and a subtitle. Matches the "Title slide" layout in the Google Slides UI.
TITLE_AND_BODYEnumLayout with a title and body. Matches the "Title and body" layout in the Google Slides UI.
TITLE_AND_TWO_COLUMNSEnumLayout with a title and two columns. Matches the "Title and two columns" layout in the Google Slides UI.
TITLE_ONLYEnumLayout with only a title. Matches the "Title only" layout in the Google Slides UI.
SECTION_HEADEREnumLayout with a section title. Matches the "Section header" layout in the Google Slides UI.
SECTION_TITLE_AND_DESCRIPTIONEnumLayout 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_TEXTEnumLayout with one title and one body, arranged in a single column. Matches the "One column text" layout in the Google Slides UI.
MAIN_POINTEnumLayout with a main point. Matches the "Main point" layout in the Google Slides UI.
BIG_NUMBEREnumLayout with a big number heading. Matches the "Big number" layout in the Google Slides UI.