ooodev.adapter.beans.properties_change_notifier_partial module

class ooodev.adapter.beans.properties_change_notifier_partial.PropertiesChangeNotifierPartial(component, interface=com.sun.star.beans.XPropertiesChangeNotifier)[source]

Bases: object

Partial class for XPropertiesChangeNotifier.

Parameters:
  • component (XPropertiesChangeNotifier) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.beans.XPropertiesChangeNotifier)[source]

Constructor

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

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

Return type:

None

add_properties_change_listener(listener, *names)[source]

adds an XPropertiesChangeListener to the specified properties with the specified names.

Return type:

None

Parameters:
  • listener (com.sun.star.beans.XPropertiesChangeListener) –

  • names (str) –

remove_properties_change_listener(listener, *names)[source]

Removes an XPropertiesChangeListener from the listener list.

Return type:

None

Parameters:
  • listener (com.sun.star.beans.XPropertiesChangeListener) –

  • names (str) –