Word.Interfaces.ListData interface
An interface describing the data returned by calling list.toJSON().
Properties
| id | Gets the list's ID. |
| level |
Checks whether each of the 9 levels exists in the list. |
| level |
Gets all 9 level types in the list. Each type can be |
| paragraphs | Gets paragraphs in the list. |
Property Details
id
levelExistences
Checks whether each of the 9 levels exists in the list. true indicates the level exists, which means there's at least one list item at that level.
levelExistences?: boolean[];
Property Value
boolean[]
Remarks
levelTypes
Gets all 9 level types in the list. Each type can be bullet, number, or picture.
levelTypes?: Word.ListLevelType[];
Property Value
Remarks
paragraphs
Gets paragraphs in the list.
paragraphs?: Word.Interfaces.ParagraphData[];