Word.Interfaces.ListData interface

An interface describing the data returned by calling "list.toJSON()".

Properties

id

Gets the list's id.

[ API set: WordApi 1.3 ]

levelExistences

Checks whether each of the 9 levels exists in the list. A true value indicates the level exists, which means there is at least one list item at that level. Read-only.

[ API set: WordApi 1.3 ]

levelTypes

Gets all 9 level types in the list. Each type can be 'Bullet', 'Number', or 'Picture'. Read-only.

[ API set: WordApi 1.3 ]

paragraphs

Gets paragraphs in the list. Read-only.

[ API set: WordApi 1.3 ]

Property Details

id

Gets the list's id.

[ API set: WordApi 1.3 ]

id?: number;

Property Value

number

levelExistences

Checks whether each of the 9 levels exists in the list. A true value indicates the level exists, which means there is at least one list item at that level. Read-only.

[ API set: WordApi 1.3 ]

levelExistences?: boolean[];

Property Value

boolean[]

levelTypes

Gets all 9 level types in the list. Each type can be 'Bullet', 'Number', or 'Picture'. Read-only.

[ API set: WordApi 1.3 ]

levelTypes?: Word.ListLevelType[];

Property Value

paragraphs

Gets paragraphs in the list. Read-only.

[ API set: WordApi 1.3 ]

paragraphs?: Word.Interfaces.ParagraphData[];

Property Value