ooodev.adapter.table.table_columns_partial module

class ooodev.adapter.table.table_columns_partial.TableColumnsPartial(component, interface=com.sun.star.table.XTableColumns)[source]

Bases: IndexAccessPartial[TableColumn]

Partial Class for XTableColumns.

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

Constructor

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

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

Return type:

None

insert_by_index(idx, count)[source]

Inserts a new column at the specified index.

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

  • count (int) – The number of columns to insert.

Return type:

None

remove_by_index(idx, count)[source]

Removes columns from the specified index.

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

  • count (int) – The number of columns to remove.

Return type:

None