ooodev.adapter.io.active_data_sink_partial module

class ooodev.adapter.io.active_data_sink_partial.ActiveDataSinkPartial(component, interface=com.sun.star.io.XActiveDataSink)[source]

Bases: object

Partial Class XActiveDataSink.

Parameters:
  • component (XActiveDataSink) –

  • interface (UnoInterface | None) –

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

Constructor

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

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

Return type:

None

get_input_stream()[source]

Gets the plugged stream.

Return type:

XInputStream

set_input_stream(stream)[source]

Plugs the input stream.

If XConnectable is also implemented, this method should query aStream for an XConnectable and connect both.

Return type:

None

Parameters:

stream (com.sun.star.io.XInputStream) –