ooodev.adapter.table.border_line_struct_comp module
- class ooodev.adapter.table.border_line_struct_comp.BorderLineStructComp(component, prop_name, event_provider=None)[source]
Bases:
StructBase
[BorderLine
]Border Line 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_BorderLine_changing
. The event raised after the property is changed is calledcom_sun_star_table_BorderLine_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 (BorderLine) – Border Line.
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 inner_line_width: UnitMM100
Gets/Sets the width of the inner part of a double line (in
1/100 mm
).Value can be set with a
UnitT
instance or anint
in1/100 mm
units.- Returns:
Inner Line Width.
- Return type:
Hint
UnitMM100
can be imported fromooodev.units
.
- property line_distance: UnitMM100
Gets/Sets the distance between the inner and outer parts of a double line (in
1/100 mm
).Value can be set with a
UnitT
instance or anint
in1/100 mm
units.- Returns:
Line Distance.
- Return type:
Hint
UnitMM100
can be imported fromooodev.units
.