ooodev.adapter.text.text_table_row_comp module

class ooodev.adapter.text.text_table_row_comp.TextTableRowComp(component)[source]

Bases: PropertySetComp

Class for managing TextTableRow Component.

Parameters:

component (TextTableRow) –

__init__(component)[source]

Constructor

Parameters:

component (XTextTable) – UNO Component that support com.sun.star.text.TextTableRow service.

Return type:

None

property back_color: Color

Gets/Sets the color of the background.

Returns:

Color

Return type:

Color

property back_graphic: XGraphic | None

Gets/Sets the graphic of the background.

optional

Return type:

XGraphic | None

property back_graphic_filter: str

Gets/Sets - the name of the file filter of a background graphic.

Return type:

str

property back_graphic_location: GraphicLocation

Gets/Sets the position of the background graphic.

Hint

  • GraphicLocation can be imported from ooo.dyn.style.graphic_location

Return type:

GraphicLocation

property back_graphic_url: str

Gets/Sets the URL of a background graphic.

Note the new behavior since it this was deprecated: This property can only be set and only external URLs are supported (no more vnd.sun.star.GraphicObject scheme). When an URL is set, then it will load the graphic and set the BackGraphic property.

Return type:

str

property back_transparent: bool

If True, the background color value in back_color is not visible.

Return type:

bool

property component: com.sun.star.text.TextTableRow

TextTableRow Component

Return type:

TextTableRow

property has_text_changes_only: bool | None

Gets/Sets - If True, the table row wasn’t deleted or inserted with its tracked cell content.

Since LibreOffice 7.2

optional

Return type:

bool | None

property height: UnitMM100

Gets/Sets the height of the table row.

When setting the height, the is_auto_height property must be False for the height to have an effect. Setting the height can be done with a UnitT or an integer in 1/100th mm units.

Returns:

Height

Return type:

UnitMM100

Note

is_auto_height must be False for height to have an effect.

Hint

  • UnitMM100 can be imported from ooodev.units

property is_auto_height: bool

Gets/Sets - If the value of this property is True, the height of the table row depends on the content of the table cells.

Return type:

bool

property is_split_allowed: bool | None

If True, the row is allowed to be split at page or column breaks.

optional

Return type:

bool | None

property row_interop_grab_bag: Tuple[PropertyValue, ...] | None

Gets/Sets - Grab bag of row properties, used as a string-any map for interop purposes.

This property is intentionally not handled by the ODF filter. Any member that should be handled there should be first moved out from this grab bag to a separate property.

optional

Return type:

Tuple[PropertyValue, …] | None

property table_column_separators: Tuple[com.sun.star.text.TableColumnSeparator, ...]

Gets/Sets - contains the description of the columns in the table row.

Return type:

Tuple[TableColumnSeparator, ...]