ooodev.adapter.util.changes_notifier_partial module

class ooodev.adapter.util.changes_notifier_partial.ChangesNotifierPartial(component, interface=com.sun.star.util.XChangesNotifier)[source]

Bases: object

Partial Class XChangesNotifier.

Parameters:
  • component (XChangesNotifier) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.util.XChangesNotifier)[source]

Constructor

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

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

Return type:

None

add_changes_listener(listener)[source]

Adds the specified listener to receive events when changes occurred.

Return type:

None

Parameters:

listener (com.sun.star.util.XChangesListener) –

remove_changes_listener(listener)[source]

Removes the specified listener.

Return type:

None

Parameters:

listener (com.sun.star.util.XChangesListener) –

ooodev.adapter.util.changes_notifier_partial.get_builder(component)[source]

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder