#include <dndeventdispatcher.hxx>
|  | 
|  | DNDEventDispatcher (vcl::Window *pTopWindow) | 
|  | 
| virtual | ~DNDEventDispatcher () override | 
|  | 
| virtual void SAL_CALL | acceptDrag (sal_Int8 dropAction) override | 
|  | 
| virtual void SAL_CALL | rejectDrag () override | 
|  | 
| virtual void SAL_CALL | drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde) override | 
|  | 
| virtual void SAL_CALL | dragEnter (const css::datatransfer::dnd::DropTargetDragEnterEvent &dtdee) override | 
|  | 
| virtual void SAL_CALL | dragExit (const css::datatransfer::dnd::DropTargetEvent &dte) override | 
|  | 
| virtual void SAL_CALL | dragOver (const css::datatransfer::dnd::DropTargetDragEvent &dtde) override | 
|  | 
| virtual void SAL_CALL | dropActionChanged (const css::datatransfer::dnd::DropTargetDragEvent &dtde) override | 
|  | 
| virtual void SAL_CALL | dragGestureRecognized (const css::datatransfer::dnd::DragGestureEvent &dge) override | 
|  | 
| virtual void SAL_CALL | disposing (const css::lang::EventObject &eo) override | 
|  | 
|  | 
| static sal_Int32 | fireDragEnterEvent (vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &xContext, const sal_Int8 nDropAction, const Point &rLocation, const sal_Int8 nSourceAction, const css::uno::Sequence< css::datatransfer::DataFlavor > &aFlavorList) | 
|  | 
| static sal_Int32 | fireDragOverEvent (vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &xContext, const sal_Int8 nDropAction, const Point &rLocation, const sal_Int8 nSourceAction) | 
|  | 
| static sal_Int32 | fireDragExitEvent (vcl::Window *pWindow) | 
|  | 
| static sal_Int32 | fireDropActionChangedEvent (vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > &xContext, const sal_Int8 nDropAction, const Point &rLocation, const sal_Int8 nSourceAction) | 
|  | 
| static sal_Int32 | fireDropEvent (vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext > &xContext, const sal_Int8 nDropAction, const Point &rLocation, const sal_Int8 nSourceAction, const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable) | 
|  | 
| static sal_Int32 | fireDragGestureEvent (vcl::Window *pWindow, const css::uno::Reference< css::datatransfer::dnd::XDragSource > &xSource, const css::uno::Any &event, const Point &rOrigin, const sal_Int8 nDragAction) | 
|  | 
Definition at line 31 of file dndeventdispatcher.hxx.
 
◆ DNDEventDispatcher()
      
        
          | DNDEventDispatcher::DNDEventDispatcher | ( | vcl::Window * | pTopWindow | ) |  | 
      
 
 
◆ ~DNDEventDispatcher()
  
  | 
        
          | DNDEventDispatcher::~DNDEventDispatcher | ( |  | ) |  |  | overridevirtual | 
 
 
◆ acceptDrag()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::acceptDrag | ( | sal_Int8 | dropAction | ) |  |  | overridevirtual | 
 
 
◆ DECL_LINK()
  
  | 
        
          | DNDEventDispatcher::DECL_LINK | ( | WindowEventListener | , |  
          |  |  | VclWindowEvent & | , |  
          |  |  | void |  |  
          |  | ) |  |  |  | private | 
 
 
◆ designate_currentwindow()
  
  | 
        
          | void DNDEventDispatcher::designate_currentwindow | ( | vcl::Window * | pWindow | ) |  |  | private | 
 
 
◆ disposing()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::disposing | ( | const css::lang::EventObject & | eo | ) |  |  | overridevirtual | 
 
 
◆ dragEnter()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::dragEnter | ( | const css::datatransfer::dnd::DropTargetDragEnterEvent & | dtdee | ) |  |  | overridevirtual | 
 
 
◆ dragExit()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::dragExit | ( | const css::datatransfer::dnd::DropTargetEvent & | dte | ) |  |  | overridevirtual | 
 
 
◆ dragGestureRecognized()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::dragGestureRecognized | ( | const css::datatransfer::dnd::DragGestureEvent & | dge | ) |  |  | overridevirtual | 
 
 
◆ dragOver()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::dragOver | ( | const css::datatransfer::dnd::DropTargetDragEvent & | dtde | ) |  |  | overridevirtual | 
 
 
◆ drop()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::drop | ( | const css::datatransfer::dnd::DropTargetDropEvent & | dtde | ) |  |  | overridevirtual | 
 
 
◆ dropActionChanged()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::dropActionChanged | ( | const css::datatransfer::dnd::DropTargetDragEvent & | dtde | ) |  |  | overridevirtual | 
 
 
◆ findTopLevelWindow()
Definition at line 45 of file dndeventdispatcher.cxx.
References AllSettings::GetLayoutRTL(), vcl::Window::GetOutDev(), vcl::Window::ImplFindWindow(), vcl::Window::ImplGetClientWindow(), OutputDevice::ImplIsAntiparallel(), vcl::Window::ImplMirrorFramePos(), m_pTopWindow, and OutputDevice::ReMirror().
Referenced by dragEnter(), dragGestureRecognized(), dragOver(), drop(), and dropActionChanged().
 
 
◆ fireDragEnterEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDragEnterEvent | ( | vcl::Window * | pWindow, |  
          |  |  | const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > & | xContext, |  
          |  |  | const sal_Int8 | nDropAction, |  
          |  |  | const Point & | rLocation, |  
          |  |  | const sal_Int8 | nSourceAction, |  
          |  |  | const css::uno::Sequence< css::datatransfer::DataFlavor > & | aFlavorList |  
          |  | ) |  |  |  | staticprivate | 
 
- Exceptions
- 
  
    | css::uno::RuntimeException |  |  
 
Definition at line 249 of file dndeventdispatcher.cxx.
References fireDragEnterEvent(), vcl::Window::GetDropTarget(), vcl::Window::IsInModalMode(), vcl::Window::IsInputEnabled(), n, vcl::Window::ScreenToOutputPixel(), Point::X(), and Point::Y().
Referenced by dragEnter(), dragOver(), drop(), dropActionChanged(), and fireDragEnterEvent().
 
 
◆ fireDragExitEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDragExitEvent | ( | vcl::Window * | pWindow | ) |  |  | staticprivate | 
 
 
◆ fireDragGestureEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDragGestureEvent | ( | vcl::Window * | pWindow, |  
          |  |  | const css::uno::Reference< css::datatransfer::dnd::XDragSource > & | xSource, |  
          |  |  | const css::uno::Any & | event, |  
          |  |  | const Point & | rOrigin, |  
          |  |  | const sal_Int8 | nDragAction |  
          |  | ) |  |  |  | staticprivate | 
 
 
◆ fireDragOverEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDragOverEvent | ( | vcl::Window * | pWindow, |  
          |  |  | const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > & | xContext, |  
          |  |  | const sal_Int8 | nDropAction, |  
          |  |  | const Point & | rLocation, |  
          |  |  | const sal_Int8 | nSourceAction |  
          |  | ) |  |  |  | staticprivate | 
 
 
◆ fireDropActionChangedEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDropActionChangedEvent | ( | vcl::Window * | pWindow, |  
          |  |  | const css::uno::Reference< css::datatransfer::dnd::XDropTargetDragContext > & | xContext, |  
          |  |  | const sal_Int8 | nDropAction, |  
          |  |  | const Point & | rLocation, |  
          |  |  | const sal_Int8 | nSourceAction |  
          |  | ) |  |  |  | staticprivate | 
 
 
◆ fireDropEvent()
  
  | 
        
          | sal_Int32 DNDEventDispatcher::fireDropEvent | ( | vcl::Window * | pWindow, |  
          |  |  | const css::uno::Reference< css::datatransfer::dnd::XDropTargetDropContext > & | xContext, |  
          |  |  | const sal_Int8 | nDropAction, |  
          |  |  | const Point & | rLocation, |  
          |  |  | const sal_Int8 | nSourceAction, |  
          |  |  | const css::uno::Reference< css::datatransfer::XTransferable > & | xTransferable |  
          |  | ) |  |  |  | staticprivate | 
 
 
◆ rejectDrag()
  
  | 
        
          | void SAL_CALL DNDEventDispatcher::rejectDrag | ( |  | ) |  |  | overridevirtual | 
 
 
◆ m_aDataFlavorList
  
  | 
        
          | css::uno::Sequence< css::datatransfer::DataFlavor > DNDEventDispatcher::m_aDataFlavorList |  | private | 
 
 
◆ m_aMutex
  
  | 
        
          | std::recursive_mutex DNDEventDispatcher::m_aMutex |  | private | 
 
 
◆ m_pCurrentWindow
◆ m_pTopWindow
The documentation for this class was generated from the following files: