ooodev.format.inner.partial.area.fill_color_partial module
- class ooodev.format.inner.partial.area.fill_color_partial.FillColorPartial(factory_name, component, lo_inst=None)[source]
Bases:
object
Partial class for FillColor.
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- __init__(factory_name, component, lo_inst=None)[source]
- Parameters:
factory_name (str) –
component (Any) –
lo_inst (LoInst | None) –
- Return type:
None
- style_area_color(color=-1)[source]
Style Area Color.
- Parameters:
color (
Color
, optional) – FillColor Color. Defaults toStandardColor.AUTO_COLOR
.- Raises:
CancelEventError – If the event
before_style_area_color
is cancelled and not handled.- Returns:
FillColor instance or
None
if cancelled.- Return type:
FillColorT | None
- style_area_color_get()[source]
Gets the Area Color Style.
- Raises:
CancelEventError – If the event
before_style_area_color_get
is cancelled and not handled.- Returns:
Area color style or
None
if cancelled.- Return type:
FillColorT | None