ListStyleCollection module

class ListStyleCollection.ListStyleCollection

Bases: DocumentSerializableCollection

Represents a collection of list style

Add(style: ListStyle) int

Adds the list style into collection.

Parameters:

style – The ListStyle to be added.

Returns:

The index of the added ListStyle.

FindByName(name: str) ListStyle

Finds list style by name.

Parameters:

name – The name of the ListStyle.

Returns:

The ListStyle with the specified name.

get_Item(index: int) ListStyle

Gets the ListStyle at the specified index.

Parameters:

index – The index of the ListStyle.

Returns:

The ListStyle at the specified index.