27#include <com/sun/star/awt/XDisplayConnection.hpp>
28#include <com/sun/star/lang/XInitialization.hpp>
70 uno::Any aRet = ::cppu::queryInterface( rType,
71 static_cast< css::lang::XEventListener*
>(
static_cast<css::datatransfer::dnd::XDragGestureListener*
>(
this) ),
72 static_cast< css::datatransfer::dnd::XDragGestureListener*
>(
this),
73 static_cast< css::datatransfer::dnd::XDragSourceListener*
>(
this),
74 static_cast< css::datatransfer::dnd::XDropTargetListener*
>(
this) );
75 return (aRet.
hasValue() ? aRet : OWeakObject::queryInterface( rType ));
82 if ( !rEvent.Source.is() )
90 mpClient->dragGestureRecognized( rDGE );
97 mpClient->dragDropEnd( rDSDE );
120 mpClient->drop( rDTDE );
126 mpClient->dragEnter( rDTDEE );
132 mpClient->dragExit( dte );
138 mpClient->dragOver( rDTDE );
145css::uno::Reference<css::uno::XInterface>
158css::uno::Reference<css::uno::XInterface>
159vcl::X11DnDHelper(
const css::uno::Reference<css::lang::XInitialization>& xDnD,
const sal_IntPtr pWin)
163 uno::Any(
static_cast<sal_uInt64
>(pWin)) });
static css::uno::Reference< css::awt::XDisplayConnection > GetDisplayConnection()
virtual void drop(const css::datatransfer::dnd::DropTargetDropEvent &dtde)
virtual void dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent &dsde)
virtual void dragEnter(const css::datatransfer::dnd::DropTargetDragEnterEvent &dtdee)
virtual ~DragAndDropClient() COVERITY_NOEXCEPT_FALSE
virtual void dragOver(const css::datatransfer::dnd::DropTargetDragEvent &dtde)
virtual void dragGestureRecognized(const css::datatransfer::dnd::DragGestureEvent &dge)
virtual void dragExit(const css::datatransfer::dnd::DropTargetEvent &dte)
void SAL_CALL dropActionChanged(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
void SAL_CALL drop(const css::datatransfer::dnd::DropTargetDropEvent &dtde) override
virtual ~DragAndDropWrapper() override
VCL_DLLPUBLIC DragAndDropWrapper(DragAndDropClient *pClient)
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
void SAL_CALL dragOver(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
void SAL_CALL dragGestureRecognized(const css::datatransfer::dnd::DragGestureEvent &dge) override
void SAL_CALL dragDropEnd(const css::datatransfer::dnd::DragSourceDropEvent &dsde) override
void SAL_CALL disposing(const css::lang::EventObject &Source) override
void SAL_CALL dragEnter(const css::datatransfer::dnd::DragSourceDragEvent &dsde) override
void SAL_CALL dragExit(const css::datatransfer::dnd::DragSourceEvent &dse) override
VCL_DLLPUBLIC css::uno::Reference< css::uno::XInterface > OleDnDHelper(const css::uno::Reference< css::lang::XInitialization > &, sal_IntPtr pWin, DragOrDrop)
VCL_DLLPUBLIC css::uno::Reference< css::uno::XInterface > X11DnDHelper(const css::uno::Reference< css::lang::XInitialization > &, sal_IntPtr pWin)