Enum ListPreset
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列出預設值文字清單的預設字符模式。
這些預設值會使用以下字形:
- 箭頭:箭頭 ➔,對應至 Unicode U+2794 碼點
- ARROW3D:具有 3D 陰影的箭頭 ➢,對應至 Unicode U+27a2 碼點
- 核取方塊:空心正方形 ❏,對應至 Unicode U+274f 碼點
- CIRCLE:空心圓 ○,對應至 Unicode U+25cb 碼點
- DIAMOND:實心鑽石 ◆,對應至 Unicode U+25c6 碼點
- `DIAMONDX:包含「x」的菱形,對應至萬國碼 U+2756 碼點
- HOLLOWDIAMOND:空心菱形 ◇,對應至 Unicode U+25c7 碼位
- DISC:實心圓 ●,對應至 Unicode U+25cf 碼位
- 正方形:實心正方形,對應於 Unicode U+25a0 碼點
- STAR:星號 ★,對應於 Unicode U+2605 碼點
- ALPHA:小寫英文字母,例如「a」、「b」或「c」。
- UPPERALPHA:大寫英文字母,例如「A」、「B」或「C」。
- DIGIT:數字,例如「1」、「2」或「3」。
- ZERODIGIT:單位數字前面加上零的數字,例如「01」、「02」或「03」。超過一個位數的數字不會加上零。
- ROMAN:小寫羅馬數字,例如「i」、「ii」或「iii」。
- UPPERROMAN:大寫羅馬數字,例如「I」、「II」或「III」。
- LEFTTRIANGLE:指向左側的三角形 ◄,對應至 Unicode U+25c4 碼點
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.ListPreset.DISC_CIRCLE_SQUARE
。
屬性
屬性 | 類型 | 說明 |
DISC_CIRCLE_SQUARE | Enum | 清單中包含 `DISC`、`CIRCLE` 和 `SQUARE` 圖形,代表前 3 個清單巢狀層級。 |
DIAMONDX_ARROW3D_SQUARE | Enum | 清單中包含 `DIAMONDX`、`ARROW3D` 和 `SQUARE` 圖形,代表前 3 個清單巢狀層級。 |
CHECKBOX | Enum | 清單包含所有清單巢狀層級的「CHECKBOX」字形。 |
ARROW_DIAMOND_DISC | Enum | 清單中包含「箭頭」、「菱形」和「圓盤」圖形,用於前 3 個清單巢狀層級。 |
STAR_CIRCLE_SQUARE | Enum | 清單中包含「星星」、「圓圈」和「正方形」圖形,代表前 3 個清單巢狀結構層級。 |
ARROW3D_CIRCLE_SQUARE | Enum | 清單中包含 `ARROW3D`、`CIRCLE` 和 `SQUARE` 圖形,代表前 3 個清單巢狀層級。 |
LEFTTRIANGLE_DIAMOND_DISC | Enum | 清單中包含「左三角形」、「菱形」和「圓形」圖示,代表前 3 個清單巢狀結構層級。 |
DIAMONDX_HOLLOWDIAMOND_SQUARE | Enum | 清單中包含 `DIAMONDX`、`HOLLOWDIAMOND` 和 `SQUARE` 圖形,用於前 3 個清單巢狀層級。 |
DIAMOND_CIRCLE_SQUARE | Enum | 清單,其中包含用於前 3 個清單巢狀層級的「DIAMOND」、「CIRCLE」和「SQUARE」字形。 |
DIGIT_ALPHA_ROMAN | Enum | 清單包含「DIGIT」、「ALPHA」和「ROMAN」字形,代表前 3 個清單巢狀層級,後面接著點。 |
DIGIT_ALPHA_ROMAN_PARENS | Enum | 清單含有「DIGIT」、「ALPHA」和「ROMAN」字形,代表前 3 個清單巢狀層級,後面接著括號。 |
DIGIT_NESTED | Enum | 清單內含以點號分隔的「DIGIT」字形,其中每個巢狀結構層級都會使用上一個巢狀結構層級的字形做為前置字元。例如:「1.」,'1.1.''2.', 「2.2.」 |
UPPERALPHA_ALPHA_ROMAN | Enum | 清單含有 `UPPERALPHA`、`ALPHA` 和 `ROMAN` 字形,代表前 3 個清單巢狀層級,後面接著點。 |
UPPERROMAN_UPPERALPHA_DIGIT | Enum | 清單中包含 `UPPERROMAN`、`UPPERALPHA` 和 `DIGIT` 字形,用於前 3 個清單巢狀層級,後面接著點。 |
ZERODIGIT_ALPHA_ROMAN | Enum | 清單含有前 3 個清單巢狀層級的 `ZERODIGIT`、`ALPHA` 和 `ROMAN` 字形,後面接著點。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eListPreset\u003c/code\u003e provides preset patterns of glyphs for creating lists in text within Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eThese presets utilize various glyphs like arrows, checkboxes, circles, diamonds, and alphanumeric characters for list markers.\u003c/p\u003e\n"],["\u003cp\u003eYou can call an enum by using its parent class, name, and property, such as \u003ccode\u003eSlidesApp.ListPreset.DISC_CIRCLE_SQUARE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDifferent ListPreset options include predefined combinations of glyphs for different nesting levels, offering a range of list formatting choices.\u003c/p\u003e\n"],["\u003cp\u003eSome presets utilize alphanumeric glyphs with periods or parentheses, while others employ nested numbering schemes.\u003c/p\u003e\n"]]],["`ListPreset` defines glyph patterns for lists, including symbols like ARROW (➔), CHECKBOX (❏), and CIRCLE (○), and numbering styles like DIGIT (1, 2, 3) and ROMAN (i, ii, iii). Presets offer options for different nesting levels, such as `DISC_CIRCLE_SQUARE` or `DIGIT_ALPHA_ROMAN`. Glyphs can be called by using `SlidesApp.ListPreset`, and then the corresponding name. The properties provide a description of the list with the included glyphs and their order for the first three nesting levels.\n"],null,["# Enum ListPreset\n\nListPreset\n\nPreset patterns of glyphs for lists in text.\n\nThese presets use these glyphs:\n\n- ARROW: An arrow, ➔, corresponding to a Unicode U+2794 code point\n- ARROW3D: An arrow with 3D shading, ➢, corresponding to a Unicode U+27a2 code point\n- CHECKBOX: A hollow square, ❏, corresponding to a Unicode U+274f code point\n- CIRCLE: A hollow circle, ○, corresponding to a Unicode U+25cb code point\n- DIAMOND: A solid diamond, ◆, corresponding to a Unicode U+25c6 code point\n- \\`DIAMONDX: A diamond with an 'x', ❖, corresponding to a Unicode U+2756 code point\n- HOLLOWDIAMOND: A hollow diamond, ◇, corresponding to a Unicode U+25c7 code point\n- DISC: A solid circle, ●, corresponding to a Unicode U+25cf code point\n- SQUARE: A solid square, ■, corresponding to a Unicode U+25a0 code point\n- STAR: A star, ★, corresponding to a Unicode U+2605 code point\n- ALPHA: A lowercase letter, like 'a', 'b', or 'c'.\n- UPPERALPHA: An uppercase letter, like 'A', 'B', or 'C'.\n- DIGIT: A number, like '1', '2', or '3'.\n- ZERODIGIT: A number where single digit numbers are prefixed with a zero, like '01', '02', or '03'. Numbers with more than one digit are not prefixed a zero.\n- ROMAN: A lowercase roman numeral, like 'i', 'ii', or 'iii'.\n- UPPERROMAN: A uppercase roman numeral, like 'I', 'II', or 'III'.\n- LEFTTRIANGLE: A triangle pointing left, ◄, corresponding to a Unicode U+25c4 code point\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.ListPreset.DISC_CIRCLE_SQUARE`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `DISC_CIRCLE_SQUARE` | `Enum` | A list with a \\`DISC\\`, \\`CIRCLE\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `DIAMONDX_ARROW3D_SQUARE` | `Enum` | A list with a \\`DIAMONDX\\`, \\`ARROW3D\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `CHECKBOX` | `Enum` | A list with \\`CHECKBOX\\` glyphs for all list nesting levels. |\n| `ARROW_DIAMOND_DISC` | `Enum` | A list with a \\`ARROW\\`, \\`DIAMOND\\` and \\`DISC\\` glyphs for the first 3 list nesting levels. |\n| `STAR_CIRCLE_SQUARE` | `Enum` | A list with a \\`STAR\\`, \\`CIRCLE\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `ARROW3D_CIRCLE_SQUARE` | `Enum` | A list with a \\`ARROW3D\\`, \\`CIRCLE\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `LEFTTRIANGLE_DIAMOND_DISC` | `Enum` | A list with a \\`LEFTTRIANGLE\\`, \\`DIAMOND\\` and \\`DISC\\` glyphs for the first 3 list nesting levels. |\n| `DIAMONDX_HOLLOWDIAMOND_SQUARE` | `Enum` | A list with a \\`DIAMONDX\\`, \\`HOLLOWDIAMOND\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `DIAMOND_CIRCLE_SQUARE` | `Enum` | A list with a \\`DIAMOND\\`, \\`CIRCLE\\` and \\`SQUARE\\` glyphs for the first 3 list nesting levels. |\n| `DIGIT_ALPHA_ROMAN` | `Enum` | A list with \\`DIGIT\\`, \\`ALPHA\\` and \\`ROMAN\\` glyphs for the first 3 list nesting levels, followed by periods. |\n| `DIGIT_ALPHA_ROMAN_PARENS` | `Enum` | A list with \\`DIGIT\\`, \\`ALPHA\\` and \\`ROMAN\\` glyphs for the first 3 list nesting levels, followed by parenthesis. |\n| `DIGIT_NESTED` | `Enum` | A list with \\`DIGIT\\` glyphs separated by periods, where each nesting level uses the previous nesting level's glyph as a prefix. For example: '1.', '1.1.', '2.', '2.2.'. |\n| `UPPERALPHA_ALPHA_ROMAN` | `Enum` | A list with \\`UPPERALPHA\\`, \\`ALPHA\\` and \\`ROMAN\\` glyphs for the first 3 list nesting levels, followed by periods. |\n| `UPPERROMAN_UPPERALPHA_DIGIT` | `Enum` | A list with \\`UPPERROMAN\\`, \\`UPPERALPHA\\` and \\`DIGIT\\` glyphs for the first 3 list nesting levels, followed by periods. |\n| `ZERODIGIT_ALPHA_ROMAN` | `Enum` | A list with \\`ZERODIGIT\\`, \\`ALPHA\\` and \\`ROMAN\\` glyphs for the first 3 list nesting levels, followed by periods. |"]]