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:
objectPartial 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_coloris cancelled and not handled.- Returns:
FillColor instance or
Noneif cancelled.- Return type:
FillColorT | None
- style_area_color_get()[source]
Gets the Area Color Style.
- Raises:
CancelEventError – If the event
before_style_area_color_getis cancelled and not handled.- Returns:
Area color style or
Noneif cancelled.- Return type:
FillColorT | None