ooodev.adapter.table.cell_properties2_partial_props module
This class is a partial class for com.sun.star.table.CellProperties service.
- class ooodev.adapter.table.cell_properties2_partial_props.CellProperties2PartialProps(component)[source]
Bases:
CellPropertiesPartialPropsPartial Class for CellProperties Service.
This class is the same as
CellPropertiesPartialPropsexcept border are not optional.- Parameters:
component (CellProperties) –
- property bottom_border2: BorderLine2StructComp
Gets/Sets a description of the bottom border line of each cell.
Preferred over
bottom_border.Setting value can be done with a
BorderLine2orBorderLine2StructCompobject.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2
- property diagonal_bltr: BorderLineStructComp
Gets/Sets a description of the bottom left to top right diagonal line of each cell.
Setting value can be done with a
BorderLineorBorderLineCompobject.- Returns:
Returns Border Line.
- Return type:
BorderLineComp
Hint
BorderLinecan be imported fromooo.dyn.table.border_line
- property diagonal_bltr2: BorderLine2StructComp
Gets/Sets a description of the bottom left to top right diagonal line of each cell.
Preferred over
diagonal_bltr.Setting value can be done with a
BorderLine2orBorderLine2StructCompobject.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2
- property diagonal_tlbr: BorderLineStructComp
Gets/Sets a description of the top left to bottom right diagonal line of each cell.
Setting value can be done with a
BorderLineorBorderLineCompobject.- Returns:
Returns BorderLine.
- Return type:
BorderLineComp
Hint
BorderLinecan be imported fromooo.dyn.table.border_line
- property diagonal_tlbr2: BorderLine2StructComp
contains a description of the top left to bottom right diagonal line of each cell.
Preferred over
diagonal_tlbr.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2
- property left_border2: BorderLine2StructComp
Gets/Sets a description of the left border line of each cell.
Preferred over
left_border.Setting value can be done with a
BorderLine2orBorderLine2StructCompobject.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2
- property right_border2: BorderLine2StructComp
Gets/Sets a description of the right border line of each cell.
Setting value can be done with a
BorderLine2orBorderLine2StructCompobject.Preferred over
right_border.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2
- property table_border2: TableBorder2StructComp
Gets/Seta a description of the cell or cell range border.
Preferred over
table_border.If used with a cell range, the top, left, right, and bottom lines are at the edges of the entire range, not at the edges of the individual cell.
Setting value can be done with a
TableBorder2orTableBorder2StructCompobject.- Returns:
Returns TableBorder2 or None if not supported.
- Return type:
TableBorder2StructComp | None
Hint
TableBorder2can be imported fromooo.dyn.table.table_border2
- property top_border2: BorderLine2StructComp
Gets/Sets a description of the top border line of each cell.
Preferred over
top_border.Setting value can be done with a
BorderLine2orBorderLine2StructCompobject.- Returns:
Returns BorderLine2.
- Return type:
Hint
BorderLine2can be imported fromooo.dyn.table.border_line2