ooodev.adapter.container.name_container_partial module
- class ooodev.adapter.container.name_container_partial.NameContainerPartial(component, interface=com.sun.star.container.XNameContainer)[source]
Bases:
NameReplacePartial
[T
],Generic
[T
]Partial Class for XNameContainer.
- __init__(component, interface=com.sun.star.container.XNameContainer)[source]
Constructor
- Parameters:
component (XNameContainer) – UNO Component that implements
com.sun.star.container.XNameContainer
.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XNameContainer
.
- Return type:
None
- ooodev.adapter.container.name_container_partial.get_builder(component)[source]
Get the builder for the component.
- Parameters:
component (Any) – The component.
- Returns:
Builder instance.
- Return type:
- ooodev.adapter.container.name_container_partial.T = TypeVar(T)
Type:
TypeVar
Invariant
TypeVar
.