ooodev.adapter.container.enumeration_partial module

class ooodev.adapter.container.enumeration_partial.EnumerationPartial(component, interface=com.sun.star.container.XEnumeration)[source]

Bases: Generic[T]

Partial class for XEnumeration.

__init__(component, interface=com.sun.star.container.XEnumeration)[source]

Constructor

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

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

Return type:

None

has_more_elements()[source]

tests whether this enumeration contains more elements.

Return type:

bool

next_element()[source]

Gets the next element of this enumeration.

Returns:

the next element of this enumeration.

Return type:

Any

ooodev.adapter.container.enumeration_partial.T = TypeVar(T)

Type:    TypeVar

Invariant TypeVar.