ooodev.adapter.view.control_access_partial module

class ooodev.adapter.view.control_access_partial.ControlAccessPartial(component, interface=com.sun.star.view.XControlAccess)[source]

Bases: object

Partial class for XControlAccess.

Parameters:
  • component (XControlAccess) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.view.XControlAccess)[source]

Constructor

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

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

Return type:

None

get_control(model)[source]

Returns the control from the specified model.

Parameters:

model (XControlModel) – The model of the control to be returned.

Returns:

The control from the specified model.

Return type:

XControl