20#ifndef INCLUDED_VCL_INC_DNDLCON_HXX
21#define INCLUDED_VCL_INC_DNDLCON_HXX
23#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
24#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
25#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
26#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
27#include <com/sun/star/datatransfer/dnd/XDropTargetDropContext.hpp>
35 public ::cppu::WeakImplHelper<css::datatransfer::dnd::XDropTargetDropContext>
47 public ::cppu::WeakImplHelper<css::datatransfer::dnd::XDropTargetDragContext>
59 css::datatransfer::dnd::XDragGestureRecognizer,
60 css::datatransfer::dnd::XDropTargetDragContext,
61 css::datatransfer::dnd::XDropTargetDropContext,
62 css::datatransfer::dnd::XDropTarget >
77 const css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext >& context,
78 sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY,
sal_Int8 sourceActions,
79 const css::uno::Reference< css::datatransfer::XTransferable >& transferable );
84 const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& context,
85 sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY,
sal_Int8 sourceActions );
88 const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& context,
89 sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY,
sal_Int8 sourceActions,
90 const css::uno::Sequence< css::datatransfer::DataFlavor >& dataFlavor );
93 const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext >& context,
94 sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY,
sal_Int8 sourceActions );
97 sal_Int8 dragAction, sal_Int32 dragOriginX, sal_Int32 dragOriginY,
98 const css::uno::Reference< css::datatransfer::dnd::XDragSource >& dragSource,
99 const css::uno::Any& triggerEvent );
105 virtual void SAL_CALL
addDragGestureListener(
const css::uno::Reference< css::datatransfer::dnd::XDragGestureListener >& dgl )
override;
106 virtual void SAL_CALL
removeDragGestureListener(
const css::uno::Reference< css::datatransfer::dnd::XDragGestureListener >& dgl )
override;
128 virtual void SAL_CALL
addDropTargetListener(
const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& dtl )
override;
129 virtual void SAL_CALL
removeDropTargetListener(
const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& dtl )
override;
sal_uInt32 fireDragOverEvent(const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &context, sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY, sal_Int8 sourceActions)
css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > m_xDropTargetDragContext
virtual void SAL_CALL removeDragGestureListener(const css::uno::Reference< css::datatransfer::dnd::XDragGestureListener > &dgl) override
virtual sal_Bool SAL_CALL isActive() override
virtual void SAL_CALL addDragGestureListener(const css::uno::Reference< css::datatransfer::dnd::XDragGestureListener > &dgl) override
virtual void SAL_CALL resetRecognizer() override
virtual void SAL_CALL acceptDrop(sal_Int8 dropOperation) override
comphelper::OInterfaceContainerHelper4< css::datatransfer::dnd::XDropTargetListener > maDropTargetListeners
virtual void SAL_CALL rejectDrag() override
sal_uInt32 fireDragEnterEvent(const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &context, sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY, sal_Int8 sourceActions, const css::uno::Sequence< css::datatransfer::DataFlavor > &dataFlavor)
sal_Int8 m_nDefaultActions
virtual void SAL_CALL addDropTargetListener(const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &dtl) override
sal_uInt32 fireDragGestureEvent(sal_Int8 dragAction, sal_Int32 dragOriginX, sal_Int32 dragOriginY, const css::uno::Reference< css::datatransfer::dnd::XDragSource > &dragSource, const css::uno::Any &triggerEvent)
virtual void SAL_CALL dropComplete(sal_Bool success) override
virtual void SAL_CALL setActive(sal_Bool active) override
virtual ~DNDListenerContainer() override
DNDListenerContainer(sal_Int8 nDefaultActions)
comphelper::OInterfaceContainerHelper4< css::datatransfer::dnd::XDragGestureListener > maDragGestureListeners
sal_uInt32 fireDropActionChangedEvent(const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &context, sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY, sal_Int8 sourceActions)
virtual void SAL_CALL removeDropTargetListener(const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > &dtl) override
sal_uInt32 fireDropEvent(const css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext > &context, sal_Int8 dropAction, sal_Int32 locationX, sal_Int32 locationY, sal_Int8 sourceActions, const css::uno::Reference< css::datatransfer::XTransferable > &transferable)
virtual void SAL_CALL acceptDrag(sal_Int8 dragOperation) override
virtual void SAL_CALL rejectDrop() override
virtual sal_Int8 SAL_CALL getDefaultActions() override
virtual void SAL_CALL setDefaultActions(sal_Int8 actions) override
css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext > m_xDropTargetDropContext
sal_uInt32 fireDragExitEvent()
virtual void SAL_CALL rejectDrag() override
GenericDropTargetDragContext()
virtual void SAL_CALL acceptDrag(sal_Int8 dragOperation) override
virtual void SAL_CALL rejectDrop() override
virtual void SAL_CALL acceptDrop(sal_Int8 dragOperation) override
GenericDropTargetDropContext()
virtual void SAL_CALL dropComplete(sal_Bool success) override