FormatBase module

class FormatBase.FormatBase

Bases: DocumentSerializable

Base class for formatting.

ClearBackground()

Clears the background.

ClearFormatting()

Clears the formatting.

HasKey(key: int) bool

Checks if Key exists.

Parameters:

key (int) – The key.

Returns:

True if the specified key has key, False otherwise.

Return type:

bool

property IsDefault: bool

Gets a value indicating whether format is default.

Returns:

True if format is default; otherwise, False.

Return type:

bool