ooodev.adapter.table.table_border2_struct_comp module
- class ooodev.adapter.table.table_border2_struct_comp.TableBorder2StructComp(component, prop_name, event_provider)[source]
Bases:
StructBase
[TableBorder2
]Table Border2 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_TableBorder_changing
. The event raised after the property is changed is calledcom_sun_star_table_TableBorder_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)[source]
Constructor
- Parameters:
component (TableBorder2) – Table Border 2.
prop_name (str) – Property Name. This value is assigned to the
prop_name
ofevent_data
.event_provider (EventsT | None) – Event Provider.
- Return type:
None
- property bottom_line: BorderLine2StructComp
Gets/Set the line style at the bottom edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2
- property distance: UnitMM100
Gets/Sets the distance between the lines and other contents.
When setting value it can be done with a
int
( in1/100th mm
units) orUnitT
object.- Returns:
Distance value.
- Return type:
- property horizontal_line: BorderLine2StructComp
Gets/Set the horizontal line style edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2
- property is_bottom_line_valid: bool
Gets/Sets whether the value of
TableBorder2.BottomLine
is used.- Return type:
bool
- property is_distance_valid: bool
Gets/Sets whether the value of
TableBorder2.Distance
is used.- Return type:
bool
- property is_horizontal_line_valid: bool
Gets/Sets whether the value of
TableBorder2.HorizontalLine
is used.- Return type:
bool
- property is_left_line_valid: bool
Gets/Sets whether the value of
TableBorder2.LeftLine
is used.- Return type:
bool
- property is_right_line_valid: bool
Gets/Sets whether the value of
TableBorder2.RightLine
is used.- Return type:
bool
- property is_top_line_valid: bool
Gets/Sets whether the value of
TableBorder2.TopLine
is used.- Return type:
bool
- property is_vertical_line_valid: bool
Gets/Sets whether the value of
TableBorder2.VerticalLine
is used.- Return type:
bool
- property left_line: BorderLine2StructComp
Gets/Set the line style at the left edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2
- property right_line: BorderLine2StructComp
Gets/Set the line style at the right edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2
- property top_line: BorderLine2StructComp
Gets/Set the line style at the top edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2
- property vertical_line: BorderLine2StructComp
Gets/Set the vertical line style edge.
Setting value can be done with a
BorderLine2
orBorderLine2Comp
object.- Returns:
Returns Border Line.
- Return type:
BorderLine2Comp
Hint
BorderLine2
can be imported fromooo.dyn.table.border_line2