Lista obsługiwanych typów glifów.
Aby wywołać wyliczenie, musisz wywołać jego klasę nadrzędną, nazwę i właściwość. Na przykład:
DocumentApp.GlyphType.BULLET.
Aby określić typ punktorów elementów listy, użyj wyliczenia GlyphType.
const body = DocumentApp.getActiveDocument().getActiveTab().asDocumentTab().getBody(); // Insert at list item, with the default nesting level of zero. body.appendListItem('Item 1'); // Append a second list item, with a nesting level of one, indented one inch. // The two items have different bullet glyphs. body.appendListItem('Item 2') .setNestingLevel(1) .setIndentStart(72) .setGlyphType(DocumentApp.GlyphType.SQUARE_BULLET);
Właściwości
| Właściwość | Typ | Opis |
|---|---|---|
BULLET | Enum | Domyślny punktor okrągły i wypełniony. |
HOLLOW_BULLET | Enum | Pusty punktor. |
SQUARE_BULLET | Enum | Punktor kwadratowy. |
NUMBER | Enum | Punktor liczby. |
LATIN_UPPER | Enum | Punktor w alfabecie łacińskim. |
LATIN_LOWER | Enum | Punktor w alfabecie łacińskim. |
ROMAN_UPPER | Enum | Cyfra rzymska z wielkimi literami. |
ROMAN_LOWER | Enum | Cyfra rzymska z małą kropką. |