Enum SpacingMode
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
スペーシング モード
段落間隔のさまざまなモード。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.SpacingMode.NEVER_COLLAPSE
です。
プロパティ
プロパティ | タイプ | 説明 |
UNSUPPORTED | Enum | サポートされていない間隔モード。 |
NEVER_COLLAPSE | Enum | 段落間隔は常にレンダリングされます。 |
COLLAPSE_LISTS | Enum | リスト要素の間に段落間隔が挿入されない。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003e\u003ccode\u003eSpacingMode\u003c/code\u003e controls the spacing behavior between paragraphs in Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eYou can access specific spacing modes like \u003ccode\u003eNEVER_COLLAPSE\u003c/code\u003e and \u003ccode\u003eCOLLAPSE_LISTS\u003c/code\u003e using \u003ccode\u003eSlidesApp.SpacingMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNEVER_COLLAPSE\u003c/code\u003e ensures consistent paragraph spacing, while \u003ccode\u003eCOLLAPSE_LISTS\u003c/code\u003e removes spacing between list items.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNSUPPORTED\u003c/code\u003e indicates a spacing mode that is not currently functional.\u003c/p\u003e\n"]]],["`SpacingMode` defines how paragraph spacing is handled. It includes three modes: `UNSUPPORTED`, indicating an unsupported mode; `NEVER_COLLAPSE`, where spacing is always rendered; and `COLLAPSE_LISTS`, where spacing is omitted between list items. To use a specific mode, call it using the syntax: `SlidesApp.SpacingMode.MODE_NAME`, where MODE_NAME is one of the enum properties.\n"],null,["# Enum SpacingMode\n\nSpacingMode\n\nThe different modes for paragraph spacing.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.SpacingMode.NEVER_COLLAPSE`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-----------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A spacing mode that is not supported. |\n| `NEVER_COLLAPSE` | `Enum` | Paragraph spacing is always rendered. |\n| `COLLAPSE_LISTS` | `Enum` | Paragraph spacing is skipped between list elements. |"]]