ooodev.adapter.configuration.configuration_access_comp module

class ooodev.adapter.configuration.configuration_access_comp.ConfigurationAccessComp(component)[source]

Bases: _ConfigurationAccessComp, ExactNamePartial, PropertyPartial, CompDefaultsPartial

Class for managing ConfigurationAccess Component.

Note

This is a Dynamic class that is created at runtime. This means that the class is created at runtime and not defined in the source code. In addition, the class may be created with additional classes implemented.

The Type hints for this class at design time may not be accurate. To check if a class implements a specific interface, use the isinstance function or is_supported_interface() methods which is always available in this class.

Parameters:

component (Any) –

__init__(component)[source]

Constructor

Parameters:

component (Any) – UNO Component that supports com.sun.star.configuration.ConfigurationAccess service.

Return type:

None

classmethod from_lo(node_name, lo_inst=None, *args)[source]

Get the singleton instance from the Lo.

Parameters:
  • lo_inst (LoInst, optional) – LoInst, Defaults to Lo.current_lo.

  • args (Any, optional) – One or more args to pass to instance creation.

  • node_name (str) –

Returns:

The instance with additional classes implemented.

Return type:

ConfigurationProviderComp

property component: com.sun.star.configuration.ConfigurationAccess

ConfigurationAccess Component

Return type:

ConfigurationAccess

ooodev.adapter.configuration.configuration_access_comp.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder