ooodev.adapter.awt.data_transfer_provider_access_partial module

class ooodev.adapter.awt.data_transfer_provider_access_partial.DataTransferProviderAccessPartial(component, interface=com.sun.star.awt.XDataTransferProviderAccess)[source]

Bases: object

Partial class for XDataTransferProviderAccess.

Parameters:
  • component (XDataTransferProviderAccess) –

  • interface (UnoInterface | None) –

__init__(component, interface=com.sun.star.awt.XDataTransferProviderAccess)[source]

Constructor

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

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

Return type:

None

get_clipboard(clipboard_name)[source]

Gets the specified clipboard.

Return type:

XClipboard

Parameters:

clipboard_name (str) –

get_drag_gesture_recognizer(window)[source]

Gets the drag gesture recognizer of the specified window.

Return type:

XDragGestureRecognizer

Parameters:

window (com.sun.star.awt.XWindow) –

get_drag_source(window)[source]

Gets the drag source of the specified window.

Return type:

XDragSource

Parameters:

window (com.sun.star.awt.XWindow) –

get_drop_target(window)[source]

Gets the drop target of the specified window.

Return type:

XDropTarget

Parameters:

window (com.sun.star.awt.XWindow) –