ooodev.format.inner.common.abstract.abstract_fill_color module
Abstract Fill Color Module
- class ooodev.format.inner.common.abstract.abstract_fill_color.AbstractColor(color=-1)[source]
Bases:
StyleBase
Paragraph Fill Coloring
New in version 0.9.0.
- __init__(color=-1)[source]
Constructor
- Parameters:
color (
Color
, optional) – FillColor Color.- Return type:
None
- apply(obj: Any)[source]
- apply(obj, **kwargs)
Applies padding to
obj
- Parameters:
obj (object) – UNO object.
- Return type:
None
- classmethod from_obj(obj)[source]
- classmethod from_obj(obj, **kwargs)
- classmethod from_obj(obj, **kwargs)
Gets instance from object
- Parameters:
obj (object) – UNO object.
- Raises:
NotSupportedError – If
obj
is not supported.- Returns:
Color
instance that representsobj
Color properties.- Return type:
- property default: _TAbstractColor
Gets Color empty.
- Return type:
TypeVar
(_TAbstractColor
, bound= AbstractColor)