Enum ListPreset | Apps Script | Google for Developers (original) (raw)
Enum ListPreset
Stay organized with collections Save and categorize content based on your preferences.
ListPreset
Preset patterns of glyphs for lists in text.
These presets use these glyphs:
- ARROW: An arrow, ➔, corresponding to a Unicode U+2794 code point
- ARROW3D: An arrow with 3D shading, ➢, corresponding to a Unicode U+27a2 code point
- CHECKBOX: A hollow square, ❏, corresponding to a Unicode U+274f code point
- CIRCLE: A hollow circle, ○, corresponding to a Unicode U+25cb code point
- DIAMOND: A solid diamond, ◆, corresponding to a Unicode U+25c6 code point
- `DIAMONDX: A diamond with an 'x', ❖, corresponding to a Unicode U+2756 code point
- HOLLOWDIAMOND: A hollow diamond, ◇, corresponding to a Unicode U+25c7 code point
- DISC: A solid circle, ●, corresponding to a Unicode U+25cf code point
- SQUARE: A solid square, ■, corresponding to a Unicode U+25a0 code point
- STAR: A star, ★, corresponding to a Unicode U+2605 code point
- ALPHA: A lowercase letter, like 'a', 'b', or 'c'.
- UPPERALPHA: An uppercase letter, like 'A', 'B', or 'C'.
- DIGIT: A number, like '1', '2', or '3'.
- 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.
- ROMAN: A lowercase roman numeral, like 'i', 'ii', or 'iii'.
- UPPERROMAN: A uppercase roman numeral, like 'I', 'II', or 'III'.
- LEFTTRIANGLE: A triangle pointing left, ◄, corresponding to a Unicode U+25c4 code point
To call an enum, you call its parent class, name, and property. For example, SlidesApp.ListPreset.DISC_CIRCLE_SQUARE
.
Properties
Property | Type | Description |
---|---|---|
DISC_CIRCLE_SQUARE | Enum | A list with a `DISC`, `CIRCLE` and `SQUARE` glyphs for the first 3 list nesting levels. |
DIAMONDX_ARROW3D_SQUARE | Enum | A list with a `DIAMONDX`, `ARROW3D` and `SQUARE` glyphs for the first 3 list nesting levels. |
CHECKBOX | Enum | A list with `CHECKBOX` glyphs for all list nesting levels. |
ARROW_DIAMOND_DISC | Enum | A list with a `ARROW`, `DIAMOND` and `DISC` glyphs for the first 3 list nesting levels. |
STAR_CIRCLE_SQUARE | Enum | A list with a `STAR`, `CIRCLE` and `SQUARE` glyphs for the first 3 list nesting levels. |
ARROW3D_CIRCLE_SQUARE | Enum | A list with a `ARROW3D`, `CIRCLE` and `SQUARE` glyphs for the first 3 list nesting levels. |
LEFTTRIANGLE_DIAMOND_DISC | Enum | A list with a `LEFTTRIANGLE`, `DIAMOND` and `DISC` glyphs for the first 3 list nesting levels. |
DIAMONDX_HOLLOWDIAMOND_SQUARE | Enum | A list with a `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` glyphs for the first 3 list nesting levels. |
DIAMOND_CIRCLE_SQUARE | Enum | A list with a `DIAMOND`, `CIRCLE` and `SQUARE` glyphs for the first 3 list nesting levels. |
DIGIT_ALPHA_ROMAN | Enum | A list with `DIGIT`, `ALPHA` and `ROMAN` glyphs for the first 3 list nesting levels, followed by periods. |
DIGIT_ALPHA_ROMAN_PARENS | Enum | A list with `DIGIT`, `ALPHA` and `ROMAN` glyphs for the first 3 list nesting levels, followed by parenthesis. |
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.'. |
UPPERALPHA_ALPHA_ROMAN | Enum | A list with `UPPERALPHA`, `ALPHA` and `ROMAN` glyphs for the first 3 list nesting levels, followed by periods. |
UPPERROMAN_UPPERALPHA_DIGIT | Enum | A list with `UPPERROMAN`, `UPPERALPHA` and `DIGIT` glyphs for the first 3 list nesting levels, followed by periods. |
ZERODIGIT_ALPHA_ROMAN | Enum | A list with `ZERODIGIT`, `ALPHA` and `ROMAN` glyphs for the first 3 list nesting levels, followed by periods. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.