LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
DragSource Class Reference

#include <dnd_source.hxx>

Inheritance diagram for DragSource:
[legend]
Collaboration diagram for DragSource:
[legend]

Public Member Functions

 DragSource (const Reference< XComponentContext > &rxContext)
 
virtual ~DragSource () override
 
 DragSource (const DragSource &)=delete
 
DragSourceoperator= (const DragSource &)=delete
 
virtual void SAL_CALL initialize (const Sequence< Any > &aArguments) override
 
virtual sal_Bool SAL_CALL isDragImageSupported () override
 
virtual sal_Int32 SAL_CALL getDefaultCursor (sal_Int8 dragAction) override
 
virtual void SAL_CALL startDrag (const DragGestureEvent &trigger, sal_Int8 sourceActions, sal_Int32 cursor, sal_Int32 image, const Reference< XTransferable > &trans, const Reference< XDragSourceListener > &listener) 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 STDMETHODCALLTYPE QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
virtual ULONG STDMETHODCALLTYPE AddRef () override
 
virtual ULONG STDMETHODCALLTYPE Release () override
 
virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag (BOOL fEscapePressed, DWORD grfKeyState) override
 
virtual HRESULT STDMETHODCALLTYPE GiveFeedback (DWORD dwEffect) override
 

Public Attributes

LONG m_RunningDndOperationCount
 
DWORD m_threadIdWindow
 
Reference< XDragSourceContext > m_currentContext
 
IDataObjectPtr m_spDataObject
 
sal_Int8 m_sourceActions
 

Private Member Functions

void StartDragImpl (const DragGestureEvent &trigger, sal_Int8 sourceActions, sal_Int32 cursor, sal_Int32 image, const Reference< XTransferable > &trans, const Reference< XDragSourceListener > &listener)
 

Private Attributes

Reference< XComponentContext > m_xContext
 
HWND m_hAppWindow
 
short m_MouseButton
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 45 of file dnd_source.hxx.

Constructor & Destructor Documentation

◆ DragSource() [1/2]

DragSource::DragSource ( const Reference< XComponentContext > &  rxContext)
explicit

◆ ~DragSource()

virtual DragSource::~DragSource ( )
overridevirtual

◆ DragSource() [2/2]

DragSource::DragSource ( const DragSource )
delete

Member Function Documentation

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE DragSource::AddRef ( )
overridevirtual

◆ getDefaultCursor()

virtual sal_Int32 SAL_CALL DragSource::getDefaultCursor ( sal_Int8  dragAction)
overridevirtual

◆ getImplementationName()

virtual OUString SAL_CALL DragSource::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

virtual Sequence< OUString > SAL_CALL DragSource::getSupportedServiceNames ( )
overridevirtual

◆ GiveFeedback()

virtual HRESULT STDMETHODCALLTYPE DragSource::GiveFeedback ( DWORD  dwEffect)
overridevirtual

◆ initialize()

virtual void SAL_CALL DragSource::initialize ( const Sequence< Any > &  aArguments)
overridevirtual

◆ isDragImageSupported()

virtual sal_Bool SAL_CALL DragSource::isDragImageSupported ( )
overridevirtual

◆ operator=()

DragSource & DragSource::operator= ( const DragSource )
delete

◆ QueryContinueDrag()

virtual HRESULT STDMETHODCALLTYPE DragSource::QueryContinueDrag ( BOOL  fEscapePressed,
DWORD  grfKeyState 
)
overridevirtual

◆ QueryInterface()

virtual HRESULT STDMETHODCALLTYPE DragSource::QueryInterface ( REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvObject 
)
overridevirtual

◆ Release()

virtual ULONG STDMETHODCALLTYPE DragSource::Release ( )
overridevirtual

◆ startDrag()

virtual void SAL_CALL DragSource::startDrag ( const DragGestureEvent &  trigger,
sal_Int8  sourceActions,
sal_Int32  cursor,
sal_Int32  image,
const Reference< XTransferable > &  trans,
const Reference< XDragSourceListener > &  listener 
)
overridevirtual

◆ StartDragImpl()

void DragSource::StartDragImpl ( const DragGestureEvent &  trigger,
sal_Int8  sourceActions,
sal_Int32  cursor,
sal_Int32  image,
const Reference< XTransferable > &  trans,
const Reference< XDragSourceListener > &  listener 
)
private

◆ supportsService()

virtual sal_Bool SAL_CALL DragSource::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ m_currentContext

Reference<XDragSourceContext> DragSource::m_currentContext

Definition at line 75 of file dnd_source.hxx.

◆ m_hAppWindow

HWND DragSource::m_hAppWindow
private

Definition at line 52 of file dnd_source.hxx.

◆ m_MouseButton

short DragSource::m_MouseButton
private

Definition at line 55 of file dnd_source.hxx.

◆ m_RunningDndOperationCount

LONG DragSource::m_RunningDndOperationCount

Definition at line 68 of file dnd_source.hxx.

◆ m_sourceActions

sal_Int8 DragSource::m_sourceActions

Definition at line 80 of file dnd_source.hxx.

◆ m_spDataObject

IDataObjectPtr DragSource::m_spDataObject

Definition at line 78 of file dnd_source.hxx.

◆ m_threadIdWindow

DWORD DragSource::m_threadIdWindow

Definition at line 73 of file dnd_source.hxx.

◆ m_xContext

Reference<XComponentContext> DragSource::m_xContext
private

Definition at line 51 of file dnd_source.hxx.


The documentation for this class was generated from the following file: