ooodev.adapter.sheet.database_ranges_comp module

class ooodev.adapter.sheet.database_ranges_comp.DatabaseRangesComp(component)[source]

Bases: ComponentBase, DatabaseRangesPartial, EnumerationAccessPartial[DatabaseRangeComp], IndexAccessPartial[DatabaseRangeComp], ServiceInfoPartial, TypeProviderPartial

Class for managing Database Ranges Component.

__init__(component)[source]

Constructor

Parameters:

component (DatabaseRanges) – UNO Sheet Cell Component

Return type:

None

get_by_index(idx)[source]

Gets the element at the specified index.

Parameters:

idx (int) – The Zero-based index of the element.

Returns:

The element at the specified index.

Return type:

Any

get_by_name(name)[source]

Gets the element with the specified name.

Parameters:

name (str) – The name of the element.

Returns:

The element with the specified name.

Return type:

Any

property component: com.sun.star.sheet.DatabaseRanges

Sheet Cell Component

Return type:

DatabaseRanges