ooodev.adapter.datatransfer.transferable_supplier_partial module

class ooodev.adapter.datatransfer.transferable_supplier_partial.TransferableSupplierPartial(component, interface=com.sun.star.datatransfer.XTransferableSupplier)[source]

Bases: object

Partial class for XTransferableSupplier.

Parameters:
  • component (XTransferableSupplier) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.datatransfer.XTransferableSupplier)[source]

Constructor

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

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

Return type:

None

get_transferable()[source]

Gets access to a transferable representation of a selected part of an object.

Returns:

The transferable object representing the selection inside the supplying object

Return type:

XTransferable

insert_transferable(transferable)[source]

Hands over a transferable object that shall be inserted.

Parameters:

transferable (XTransferable) – The transferable object to be inserted

Return type:

None