Enum ListPreset
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
列表预设
文本中列表的预设字形模式。
这些预设使用以下字形:
- 箭头:箭头 ➔,对应于 Unicode U+2794 码位
- ARROW3D:带有 3D 阴影的箭头 ➢,对应于 Unicode U+27a2 代码点
- 复选框:空心方形 ❏,对应于 Unicode U+274f 码位
- 圆形:空心圆圈 ○,对应于 Unicode U+25cb 码位
- 钻石:实心钻石图标,◆,对应于 Unicode U+25c6 码位
- `DIAMONDX:带有“x”的菱形 ❖,对应于 Unicode U+2756 码位
- HOLLOWDIAMOND:空心钻石图案 ◇,对应于 Unicode U+25c7 代码点
- DISC:实心圆圈(●),对应于 Unicode U+25cf 码位
- 方形:实心方形(■),对应于 Unicode U+25a0 代码点
- 星形:星形符号(★),对应于 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 | 一个列表,其中包含前 3 个列表嵌套级别的“DISC”“CIRCLE”和“SQUARE”字形。 |
DIAMONDX_ARROW3D_SQUARE | Enum | 一个列表,其中包含前 3 个列表嵌套级别的 `DIAMONDX`、`ARROW3D` 和 `SQUARE` 图形。 |
CHECKBOX | Enum | 包含所有列表嵌套级别的“CHECKBOX”字体的列表。 |
ARROW_DIAMOND_DISC | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“箭头”“钻石”和“圆盘”符号。 |
STAR_CIRCLE_SQUARE | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“STAR”“CIRCLE”和“SQUARE”字形。 |
ARROW3D_CIRCLE_SQUARE | Enum | 一个列表,其中包含前 3 个列表嵌套级别的 `ARROW3D`、`CIRCLE` 和 `SQUARE` 图形。 |
LEFTTRIANGLE_DIAMOND_DISC | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“LEFTTRIANGLE”“DIAMOND”和“DISC”符号。 |
DIAMONDX_HOLLOWDIAMOND_SQUARE | Enum | 一个列表,其中包含前 3 个列表嵌套级别的 `DIAMONDX`、`HOLLOWDIAMOND` 和 `SQUARE` 字形。 |
DIAMOND_CIRCLE_SQUARE | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“DIAMOND”“CIRCLE”和“SQUARE”符号。 |
DIGIT_ALPHA_ROMAN | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“DIGIT”“ALPHA”和“ROMAN”字形,后跟英文句点。 |
DIGIT_ALPHA_ROMAN_PARENS | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“DIGIT”“ALPHA”和“ROMAN”字符,后跟圆括号。 |
DIGIT_NESTED | Enum | 一个由 `DIGIT` 字符组成的列表,以英文句点分隔,其中每个嵌套级别都使用上一个嵌套级别的字符作为前缀。例如:“1.”,'1.1.', '2.', '2.2.'。 |
UPPERALPHA_ALPHA_ROMAN | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“UPPERALPHA”“ALPHA”和“ROMAN”字形,后跟英文句点。 |
UPPERROMAN_UPPERALPHA_DIGIT | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“UPPERROMAN”“UPPERALPHA”和“DIGIT”字形,后跟英文句点。 |
ZERODIGIT_ALPHA_ROMAN | Enum | 一个列表,其中包含前 3 个列表嵌套级别的“ZERODIGIT”“ALPHA”和“ROMAN”字符,后跟英文句点。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]