Class Components

class ooodev.loader.comp.components.Components(component)[source]

Bases: ComponentsComp

Class for managing Components.

__init__(component)[source]

Constructor

Parameters:

component (Any) – UNO Component that implements com.sun.star.frame.Components service.

Return type:

None

create_enumeration()

Creates an enumeration of the container’s elements.

Return type:

XEnumeration

get_element_type()

Gets the type of the elements contained in the container.

Returns:

The type of the elements. None means that it is a multi-type container and you cannot determine the exact types with this interface.

Return type:

Any

has_elements()

Determines whether the container has elements.

Return type:

bool

property component: com.sun.star.frame.Components

Components Component

Return type:

Components