ooodev.adapter.table.table_rows_partial module

class ooodev.adapter.table.table_rows_partial.TableRowsPartial(component, interface=com.sun.star.table.XTableRows)[source]

Bases: IndexAccessPartial[T], Generic[T]

Partial Class for XTableRows.

__init__(component, interface=com.sun.star.table.XTableRows)[source]

Constructor

Parameters:
  • component (XTableRows) – UNO Component that implements com.sun.star.container.XTableRows interface.

  • interface (UnoInterface, optional) – The interface to be validated. Defaults to XTableRows.

Return type:

None

insert_by_index(idx, count=1)[source]

Inserts a new column at the specified index.

Parameters:
  • idx (int) – The index at which the column will be inserted.

  • count (int, optional) – The number of columns to insert. Defaults to 1.

Return type:

None

remove_by_index(idx, count=1)[source]

Removes columns from the specified index.

Parameters:
  • idx (int) – The index at which the column will be removed.

  • count (int, optional) – The number of columns to remove. Default is 1.

Return type:

None

ooodev.adapter.table.table_rows_partial.T = TypeVar(T)

Type:    TypeVar

Invariant TypeVar.