LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface is implemented by any drop target context object. More...
import"XDropTargetDragContext.idl";
Public Member Functions | |
void | acceptDrag ([in] byte dragOperation) |
Accept the Drag. More... | |
void | rejectDrag () |
Reject the drag as a result of examining the available com::sun::star::datatransfer::DataFlavor types received in the com::sun::star::datatransfer::dnd::XDropTargetListener::dragEnter() method. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
This interface is implemented by any drop target context object.
A drop target context is created whenever the logical cursor associated with a Drag and Drop operation moves within the visible geometry of a window associated with a drop target.
The drop target context provides the mechanism for a potential receiver of a drop operation to both provide the end user with the appropriate drag under feedback and effect the subsequent data transfer, if appropriate.
void acceptDrag | ( | [in] byte | dragOperation | ) |
Accept the Drag.
This method should be called from the methods of XDropTargetListener
if the implementation wishes to accept the drag operation with the specified action.
dragOperation | The operation accepted by the target. |
void rejectDrag | ( | ) |
Reject the drag as a result of examining the available com::sun::star::datatransfer::DataFlavor types received in the com::sun::star::datatransfer::dnd::XDropTargetListener::dragEnter() method.