ooodev.adapter.container.enumeration_access_partial module

class ooodev.adapter.container.enumeration_access_partial.EnumerationAccessPartial(component, interface=com.sun.star.container.XEnumerationAccess)[source]

Bases: Generic[T], ElementAccessPartial

Partial Class for XEnumerationAccess.

This class can be used to iterate over the elements of a container.

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

Constructor

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

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

Return type:

None

create_enumeration()[source]

Creates an enumeration of the container’s elements.

Return type:

XEnumeration

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

Type:    TypeVar

Invariant TypeVar.