Enum PlaceholderType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
プレースホルダタイププレースホルダのタイプ。これらのプレースホルダ タイプの多くは、ECMA-376 標準のプレースホルダ ID に対応しています。これらのシェイプの詳細については、ECMA-376 第 5 版のパート 1「Office Open XML ファイル形式 - 基礎とマークアップ言語リファレンス」の「ST_PlaceholderType」型の説明をご覧ください。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.PlaceholderType.BODY
です。
プロパティ
プロパティ | タイプ | 説明 |
UNSUPPORTED | Enum | サポートされていないプレースホルダの種類。 |
NONE | Enum | プレースホルダではありません。 |
BODY | Enum | (本文や |
CHART | Enum | グラフ。 |
CLIP_ART | Enum | クリップアート画像。 |
CENTERED_TITLE | Enum | タイトルは中央に配置します。 |
DIAGRAM | Enum | 図 |
DATE_AND_TIME | Enum | 日付と時刻。 |
FOOTER | Enum | フッター テキスト。 |
HEADER | Enum | ヘッダー テキスト。 |
MEDIA | Enum | マルチメディア。 |
OBJECT | Enum | 任意のコンテンツ タイプ。 |
PICTURE | Enum | 写真。 |
SLIDE_NUMBER | Enum | スライド番号。 |
SUBTITLE | Enum | 字幕。 |
TABLE | Enum | 表] をクリックします。 |
TITLE | Enum | スライドのタイトル。 |
SLIDE_IMAGE | Enum | スライド画像。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003ePlaceholderType is used to specify the type of content a placeholder in Google Slides can hold, like text, images, or charts.\u003c/p\u003e\n"],["\u003cp\u003eThese types are based on the ECMA-376 standard for Office Open XML file formats, with more details available in the standard's documentation.\u003c/p\u003e\n"],["\u003cp\u003eTo use a PlaceholderType, refer to its parent class (SlidesApp), name (PlaceholderType), and specific property (e.g., BODY for body text).\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive list of PlaceholderTypes is provided, including common types like TITLE, BODY, CHART, and more specific ones like DATE_AND_TIME or SLIDE_NUMBER.\u003c/p\u003e\n"],["\u003cp\u003eIf a placeholder type isn't recognized, it falls under the UNSUPPORTED or NONE types.\u003c/p\u003e\n"]]],["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"],null,["# Enum PlaceholderType\n\nPlaceholderType\n\nThe placeholder types. Many of these placeholder types correspond to placeholder IDs from the\nECMA-376 standard. More information on those shapes can be found in the description of the\n\"ST_PlaceholderType\" type in section 19.7.10 of \"Office Open XML File Formats - Fundamentals and\nMarkup Language Reference\", part 1 of [ECMA-376 5th\nedition](https://ecma-international.org/publications-and-standards/standards/ecma-376/).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PlaceholderType.BODY`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A placeholder type that is not supported. |\n| `NONE` | `Enum` | Not a Placeholder. |\n| `BODY` | `Enum` | Body text. |\n| `CHART` | `Enum` | Chart or graph. |\n| `CLIP_ART` | `Enum` | Clip art image. |\n| `CENTERED_TITLE` | `Enum` | Title centered. |\n| `DIAGRAM` | `Enum` | Diagram. |\n| `DATE_AND_TIME` | `Enum` | Date and time. |\n| `FOOTER` | `Enum` | Footer text. |\n| `HEADER` | `Enum` | Header text. |\n| `MEDIA` | `Enum` | Multimedia. |\n| `OBJECT` | `Enum` | Any content type. |\n| `PICTURE` | `Enum` | Picture. |\n| `SLIDE_NUMBER` | `Enum` | Number of a slide. |\n| `SUBTITLE` | `Enum` | Subtitle. |\n| `TABLE` | `Enum` | Table. |\n| `TITLE` | `Enum` | Slide title. |\n| `SLIDE_IMAGE` | `Enum` | Slide image. |"]]