ooodev.format.inner.direct.write.para.padding module

Module for managing paragraph padding.

New in version 0.9.0.

class ooodev.format.inner.direct.write.para.padding.Padding(*, left=None, right=None, top=None, bottom=None, all=None)[source]

Bases: AbstractPadding

Paragraph Padding

Any properties starting with prop_ set or get current instance values.

All methods starting with fmt_ can be used to chain together properties.

classmethod from_obj(obj)[source]
classmethod from_obj(obj, **kwargs)
classmethod from_obj(obj, **kwargs)

Gets Padding instance from object

Parameters:

obj (object) – UNO object.

Raises:

NotSupportedError – If obj is not supported.

Returns:

Padding that represents obj padding.

Return type:

Padding

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind