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:
AbstractPaddingParagraph 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
objis not supported.- Returns:
Padding that represents
objpadding.- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type: