ooodev.adapter.io.connectable_partial module

class ooodev.adapter.io.connectable_partial.ConnectablePartial(component, interface=com.sun.star.io.XConnectable)[source]

Bases: object

Partial Class XConnectable.

Parameters:
  • component (XConnectable) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.io.XConnectable)[source]

Constructor

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

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

Return type:

None

get_predecessor()[source]

Gets the predecessor of this object.

Return type:

XConnectable

get_successor()[source]

Gets the successor of this object.

Return type:

XConnectable

set_predecessor(predecessor)[source]

Sets the source of the data flow for this object.

Return type:

None

Parameters:

predecessor (com.sun.star.io.XConnectable) –

set_successor(successor)[source]

Sets the sink of the data flow for this object.

Return type:

None

Parameters:

successor (com.sun.star.io.XConnectable) –

property Predecessor: com.sun.star.io.XConnectable

Gets the predecessor of this object.

Return type:

XConnectable

property Successor: com.sun.star.io.XConnectable

Gets the successor of this object.

Return type:

XConnectable