#include <dnd_target.hxx>
|
| DropTarget (const Reference< XComponentContext > &rxContext) |
|
virtual | ~DropTarget () override |
|
| DropTarget (DropTarget const &)=delete |
|
DropTarget & | operator= (DropTarget const &)=delete |
|
virtual void SAL_CALL | disposing () override |
|
virtual void SAL_CALL | initialize (const Sequence< Any > &aArguments) override |
|
virtual void SAL_CALL | addDropTargetListener (const Reference< XDropTargetListener > &dtl) override |
|
virtual void SAL_CALL | removeDropTargetListener (const Reference< XDropTargetListener > &dtl) override |
|
virtual sal_Bool SAL_CALL | isActive () override |
|
virtual void SAL_CALL | setActive (sal_Bool isActive) override |
|
virtual sal_Int8 SAL_CALL | getDefaultActions () override |
|
virtual void SAL_CALL | setDefaultActions (sal_Int8 actions) override |
|
virtual OUString SAL_CALL | getImplementationName () override |
|
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
|
virtual Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
|
virtual HRESULT | DragEnter (IDataObject *pDataObj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
|
virtual HRESULT STDMETHODCALLTYPE | DragOver (DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
|
virtual HRESULT STDMETHODCALLTYPE | DragLeave () |
|
virtual HRESULT STDMETHODCALLTYPE | Drop (IDataObject *pDataObj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
|
void | _acceptDrop (sal_Int8 dropOperation, const Reference< XDropTargetDropContext > &context) |
|
void | _rejectDrop (const Reference< XDropTargetDropContext > &context) |
|
void | _dropComplete (bool success, const Reference< XDropTargetDropContext > &context) |
|
void | _acceptDrag (sal_Int8 dragOperation, const Reference< XDropTargetDragContext > &context) |
|
void | _rejectDrag (const Reference< XDropTargetDragContext > &context) |
|
Definition at line 52 of file dnd_target.hxx.
◆ DropTarget() [1/2]
DropTarget::DropTarget |
( |
const Reference< XComponentContext > & |
rxContext | ) |
|
|
explicit |
◆ ~DropTarget()
virtual DropTarget::~DropTarget |
( |
| ) |
|
|
overridevirtual |
◆ DropTarget() [2/2]
◆ _acceptDrag()
void DropTarget::_acceptDrag |
( |
sal_Int8 |
dragOperation, |
|
|
const Reference< XDropTargetDragContext > & |
context |
|
) |
| |
◆ _acceptDrop()
void DropTarget::_acceptDrop |
( |
sal_Int8 |
dropOperation, |
|
|
const Reference< XDropTargetDropContext > & |
context |
|
) |
| |
◆ _dropComplete()
void DropTarget::_dropComplete |
( |
bool |
success, |
|
|
const Reference< XDropTargetDropContext > & |
context |
|
) |
| |
◆ _rejectDrag()
void DropTarget::_rejectDrag |
( |
const Reference< XDropTargetDragContext > & |
context | ) |
|
◆ _rejectDrop()
void DropTarget::_rejectDrop |
( |
const Reference< XDropTargetDropContext > & |
context | ) |
|
◆ addDropTargetListener()
virtual void SAL_CALL DropTarget::addDropTargetListener |
( |
const Reference< XDropTargetListener > & |
dtl | ) |
|
|
overridevirtual |
◆ disposing()
virtual void SAL_CALL DropTarget::disposing |
( |
| ) |
|
|
overridevirtual |
◆ DragEnter()
virtual HRESULT DropTarget::DragEnter |
( |
IDataObject * |
pDataObj, |
|
|
DWORD |
grfKeyState, |
|
|
POINTL |
pt, |
|
|
DWORD * |
pdwEffect |
|
) |
| |
|
virtual |
◆ DragLeave()
virtual HRESULT STDMETHODCALLTYPE DropTarget::DragLeave |
( |
| ) |
|
|
virtual |
◆ DragOver()
virtual HRESULT STDMETHODCALLTYPE DropTarget::DragOver |
( |
DWORD |
grfKeyState, |
|
|
POINTL |
pt, |
|
|
DWORD * |
pdwEffect |
|
) |
| |
|
virtual |
◆ Drop()
virtual HRESULT STDMETHODCALLTYPE DropTarget::Drop |
( |
IDataObject * |
pDataObj, |
|
|
DWORD |
grfKeyState, |
|
|
POINTL |
pt, |
|
|
DWORD * |
pdwEffect |
|
) |
| |
|
virtual |
◆ fire_dragEnter()
void DropTarget::fire_dragEnter |
( |
const DropTargetDragEnterEvent & |
dtde | ) |
|
|
protected |
◆ fire_dragExit()
void DropTarget::fire_dragExit |
( |
const DropTargetEvent & |
dte | ) |
|
|
protected |
◆ fire_dragOver()
void DropTarget::fire_dragOver |
( |
const DropTargetDragEvent & |
dtde | ) |
|
|
protected |
◆ fire_drop()
void DropTarget::fire_drop |
( |
const DropTargetDropEvent & |
dte | ) |
|
|
protected |
◆ fire_dropActionChanged()
void DropTarget::fire_dropActionChanged |
( |
const DropTargetDragEvent & |
dtde | ) |
|
|
protected |
◆ getDefaultActions()
virtual sal_Int8 SAL_CALL DropTarget::getDefaultActions |
( |
| ) |
|
|
overridevirtual |
◆ getFilteredActions() [1/2]
sal_Int8 DropTarget::getFilteredActions |
( |
DWORD |
grfKeyState | ) |
|
|
inlineprotected |
◆ getFilteredActions() [2/2]
sal_Int8 DropTarget::getFilteredActions |
( |
DWORD |
grfKeyState, |
|
|
DWORD |
sourceActions |
|
) |
| |
|
inlineprotected |
◆ getImplementationName()
virtual OUString SAL_CALL DropTarget::getImplementationName |
( |
| ) |
|
|
overridevirtual |
◆ getSupportedServiceNames()
virtual Sequence< OUString > SAL_CALL DropTarget::getSupportedServiceNames |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
virtual void SAL_CALL DropTarget::initialize |
( |
const Sequence< Any > & |
aArguments | ) |
|
|
overridevirtual |
◆ isActive()
virtual sal_Bool SAL_CALL DropTarget::isActive |
( |
| ) |
|
|
overridevirtual |
◆ operator=()
◆ removeDropTargetListener()
virtual void SAL_CALL DropTarget::removeDropTargetListener |
( |
const Reference< XDropTargetListener > & |
dtl | ) |
|
|
overridevirtual |
◆ setActive()
virtual void SAL_CALL DropTarget::setActive |
( |
sal_Bool |
isActive | ) |
|
|
overridevirtual |
◆ setDefaultActions()
virtual void SAL_CALL DropTarget::setDefaultActions |
( |
sal_Int8 |
actions | ) |
|
|
overridevirtual |
◆ supportsService()
virtual sal_Bool SAL_CALL DropTarget::supportsService |
( |
const OUString & |
ServiceName | ) |
|
|
overridevirtual |
◆ DndTargetOleSTAFunc
DWORD WINAPI DndTargetOleSTAFunc |
( |
LPVOID |
pParams | ) |
|
|
friend |
◆ m_bActive
bool DropTarget::m_bActive |
|
private |
◆ m_bDropComplete
bool DropTarget::m_bDropComplete |
|
private |
◆ m_currentData
Reference<XTransferable> DropTarget::m_currentData |
|
private |
◆ m_currentDragContext
Reference<XDropTargetDragContext> DropTarget::m_currentDragContext |
|
private |
◆ m_currentDropContext
Reference<XDropTargetDropContext> DropTarget::m_currentDropContext |
|
private |
◆ m_hOleThread
HANDLE DropTarget::m_hOleThread |
|
private |
◆ m_hWnd
◆ m_nCurrentDropAction
sal_Int8 DropTarget::m_nCurrentDropAction |
|
private |
◆ m_nDefaultActions
◆ m_nLastDropAction
◆ m_oleThreadId
DWORD DropTarget::m_oleThreadId |
|
private |
◆ m_pDropTarget
IDropTarget* DropTarget::m_pDropTarget |
|
private |
◆ m_threadIdTarget
DWORD DropTarget::m_threadIdTarget |
|
private |
◆ m_threadIdWindow
DWORD DropTarget::m_threadIdWindow |
|
private |
◆ m_xContext
Reference<XComponentContext> DropTarget::m_xContext |
|
private |
The documentation for this class was generated from the following file: