The properties of a list
which describe the look and feel of bullets belonging to paragraphs associated with a list.
JSON representation | |
---|---|
{
"nestingLevels": [
{
object ( |
Fields | |
---|---|
nestingLevels[] |
Describes the properties of the bullets at the associated level. A list has at most nine levels of nesting with nesting level 0 corresponding to the top-most level and nesting level 8 corresponding to the most nested level. The nesting levels are returned in ascending order with the least nested returned first. |
NestingLevel
Contains properties describing the look and feel of a list bullet at a given level of nesting.
JSON representation | |
---|---|
{ "bulletAlignment": enum ( |
Fields | ||
---|---|---|
bulletAlignment |
The alignment of the bullet within the space allotted for rendering the bullet. |
|
glyphFormat |
The format string used by bullets at this level of nesting. The glyph format contains one or more placeholders, and these placeholder are replaced with the appropriate values depending on the For example, the glyph format
The glyph format can contain placeholders for the current nesting level as well as placeholders for parent nesting levels. For example, a list can have a glyph format of
For nesting levels that are ordered, the string that replaces a placeholder in the glyph format for a particular paragraph depends on the paragraph's order within the list. |
|
indentFirstLine |
The amount of indentation for the first line of paragraphs at this level of nesting. |
|
indentStart |
The amount of indentation for paragraphs at this level of nesting. Applied to the side that corresponds to the start of the text, based on the paragraph's content direction. |
|
textStyle |
The text style of bullets at this level of nesting. |
|
startNumber |
The number of the first list item at this nesting level. A value of 0 is treated as a value of 1 for lettered lists and roman numeraled lists, i.e. for values of both 0 and 1, lettered and roman numeraled lists will begin at This value is ignored for nesting levels with unordered glyphs. |
|
Union field glyph_kind . The kind of glyph used by bullets. This defines the bullet glyph which replaces the placeholders in the glyph_format . glyph_kind can be only one of the following: |
||
glyphType |
The type of glyph used by bullets when paragraphs at this level of nesting are ordered. The glyph type determines the type of glyph used to replace placeholders within the |
|
glyphSymbol |
A custom glyph symbol used by bullets when paragraphs at this level of nesting are unordered. The glyph symbol replaces placeholders within the |