ooodev.adapter.table.shadow_format_struct_comp module
- class ooodev.adapter.table.shadow_format_struct_comp.ShadowFormatStructComp(component, prop_name, event_provider=None)[source]
Bases:
StructBase
[ShadowFormat
]Shadow Format Struct.
This class raises an event before and after a property is changed if it has been passed an event provider.
The event raised before the property is changed is called
com_sun_star_table_ShadowFormat_changing
. The event raised after the property is changed is calledcom_sun_star_table_ShadowFormat_changed
.The event args for before the property is changed is of type
KeyValCancelArgs
. The event args for after the property is changed is of typeKeyValArgs
.- __init__(component, prop_name, event_provider=None)[source]
Constructor
- Parameters:
component (ShadowFormat) – Shadow Format.
prop_name (str) – Property Name. This value is assigned to the
prop_name
ofevent_data
.event_provider (EventsT, optional) – Event Provider.
- Return type:
None
- property is_transparent: bool
Gets/Sets -
True
, if shadow is transparent.- Returns:
Is Transparent.
- Return type:
bool
- property location: ShadowLocation
Gets/Sets the location of the shadow.
- Returns:
Shadow Location.
- Return type:
ShadowLocation
Hint
ShadowLocation
can be imported fromooo.dyn.table.shadow_location
.