ooodev.adapter.util.flushable_partial module

class ooodev.adapter.util.flushable_partial.FlushablePartial(component, interface=com.sun.star.util.XFlushable)[source]

Bases: object

Partial Class XFlushable.

Parameters:
  • component (XFlushable) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

add_flush_listener(listener)[source]

Adds the specified listener to receive event flushed.

Return type:

None

Parameters:

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

flush()[source]

Flushes the data of the object to the connected data source.

Return type:

None

remove_flush_listener(listener)[source]

Removes the specified listener.

Return type:

None

Parameters:

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

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

Get the builder for the component.

Parameters:

component (Any) – The component.

Returns:

Builder instance.

Return type:

DefaultBuilder