Enum PredefinedLayout
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zdefiniowanyukład
Zdefiniowane wstępnie układy. To układy często używane w prezentacjach. Nie ma jednak gwarancji, że te układy są obecne w bieżącym pliku master, ponieważ mogły zostać usunięte lub nie należeć do używanego motywu. Dodatkowo zastępcze obrazy w każdym układzie mogły zostać zmienione.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SlidesApp.PredefinedLayout.BLANK
.
Właściwości
Właściwość | Typ | Opis |
UNSUPPORTED | Enum | Nieobsługiwany układ. |
BLANK | Enum | Puste rozmieszczenie bez obiektów zastępczych. |
CAPTION_ONLY | Enum | Układ z tytułem na dole |
TITLE | Enum | Układ z tytułem i podtytułem |
TITLE_AND_BODY | Enum | Układ z tytułem i tekstem. |
TITLE_AND_TWO_COLUMNS | Enum | Układ z tytułem i 2 kolumnami |
TITLE_ONLY | Enum | Układ z tylko tytułem. |
SECTION_HEADER | Enum | Układ z tytułem sekcji |
SECTION_TITLE_AND_DESCRIPTION | Enum | Układ z tytułem i podtytułem po jednej stronie oraz opisem po drugiej |
ONE_COLUMN_TEXT | Enum | Układ z 1 tytułem i 1 tekstem głównym w 1 kolumnie. |
MAIN_POINT | Enum | Układ z głównym punktem. |
BIG_NUMBER | Enum | Układ z nagłówkiem z dużą liczbą |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003ePredefined layouts are standard presentation layouts but may not be available in all master slides or themes.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access predefined layouts using the syntax \u003ccode\u003eSlidesApp.PredefinedLayout.[LayoutName]\u003c/code\u003e, such as \u003ccode\u003eSlidesApp.PredefinedLayout.BLANK\u003c/code\u003e for a blank layout.\u003c/p\u003e\n"],["\u003cp\u003eThere are various predefined layouts available, including \u003ccode\u003eBLANK\u003c/code\u003e, \u003ccode\u003eCAPTION_ONLY\u003c/code\u003e, \u003ccode\u003eTITLE\u003c/code\u003e, \u003ccode\u003eTITLE_AND_BODY\u003c/code\u003e, \u003ccode\u003eTITLE_AND_TWO_COLUMNS\u003c/code\u003e, \u003ccode\u003eTITLE_ONLY\u003c/code\u003e, \u003ccode\u003eSECTION_HEADER\u003c/code\u003e, \u003ccode\u003eSECTION_TITLE_AND_DESCRIPTION\u003c/code\u003e, \u003ccode\u003eONE_COLUMN_TEXT\u003c/code\u003e, \u003ccode\u003eMAIN_POINT\u003c/code\u003e, and \u003ccode\u003eBIG_NUMBER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAlthough predefined, the layout's placeholders may have been modified from their default settings.\u003c/p\u003e\n"]]],["Predefined layouts, common in presentations, may not be available due to deletion or theme changes. Placeholders within layouts can also be modified. Access predefined layouts via their parent class, name, and property (e.g., `SlidesApp.PredefinedLayout.BLANK`). Supported layouts include `BLANK`, `CAPTION_ONLY`, `TITLE`, `TITLE_AND_BODY`, `TITLE_AND_TWO_COLUMNS`, `TITLE_ONLY`, `SECTION_HEADER`, `SECTION_TITLE_AND_DESCRIPTION`, `ONE_COLUMN_TEXT`, `MAIN_POINT`, and `BIG_NUMBER`; `UNSUPPORTED` is also listed.\n"],null,["# Enum PredefinedLayout\n\nPredefinedLayout\n\nPredefined layouts. These are commonly found layouts in presentations. However, there is no\nguarantee that these layouts are present in the current master as they could have been deleted or\nnot part of the used theme. Additionally, the placeholders on each layout may have been changed.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PredefinedLayout.BLANK`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------------------|--------|----------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A layout that is not supported. |\n| `BLANK` | `Enum` | Blank layout, with no placeholders. |\n| `CAPTION_ONLY` | `Enum` | Layout with a caption at the bottom. |\n| `TITLE` | `Enum` | Layout with a title and a subtitle. |\n| `TITLE_AND_BODY` | `Enum` | Layout with a title and body. |\n| `TITLE_AND_TWO_COLUMNS` | `Enum` | Layout with a title and two columns. |\n| `TITLE_ONLY` | `Enum` | Layout with only a title. |\n| `SECTION_HEADER` | `Enum` | Layout with a section title. |\n| `SECTION_TITLE_AND_DESCRIPTION` | `Enum` | Layout with a title and subtitle on one side and description on the other. |\n| `ONE_COLUMN_TEXT` | `Enum` | Layout with one title and one body, arranged in a single column. |\n| `MAIN_POINT` | `Enum` | Layout with a main point. |\n| `BIG_NUMBER` | `Enum` | Layout with a big number heading. |"]]