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

#include <transfer.hxx>

Inheritance diagram for DropTargetHelper:


class  DropTargetListener

Public Member Functions

virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt)
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt)
 DropTargetHelper (vcl::Window *pWindow)
 DropTargetHelper (const css::uno::Reference< css::datatransfer::dnd::XDropTarget > &rxDropTarget)
void dispose ()
virtual ~DropTargetHelper ()
bool IsDropFormatSupported (SotClipboardFormatId nFormat) const
const DataFlavorExVectorGetDataFlavorExVector () const

Private Member Functions

 DropTargetHelper ()=delete
DropTargetHelperoperator= (const DropTargetHelper &rDropTargetHelper)=delete
bool operator== (const DropTargetHelper &rDropTargetHelper) const =delete
void ImplConstruct ()
void ImplBeginDrag (const css::uno::Sequence< css::datatransfer::DataFlavor > &rSupportedDataFlavors)
void ImplEndDrag ()

Private Attributes

osl::Mutex maMutex
css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget
css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener
DataFlavorExVector maFormats


class DropTargetHelper::DropTargetListener

Detailed Description

Definition at line 420 of file transfer.hxx.

Constructor & Destructor Documentation

DropTargetHelper::DropTargetHelper ( )
DropTargetHelper::DropTargetHelper ( vcl::Window pWindow)

Definition at line 230 of file transfer2.cxx.

References ImplConstruct().

DropTargetHelper::DropTargetHelper ( const css::uno::Reference< css::datatransfer::dnd::XDropTarget > &  rxDropTarget)
DropTargetHelper::~DropTargetHelper ( )

Definition at line 256 of file transfer2.cxx.

References dispose().

Member Function Documentation

sal_Int8 DropTargetHelper::AcceptDrop ( const AcceptDropEvent rEvt)

Reimplemented in SvTreeListBox.

Definition at line 286 of file transfer2.cxx.

void DropTargetHelper::dispose ( void  )

Definition at line 244 of file transfer2.cxx.

References maMutex, mxDropTarget, and mxDropTargetListener.

Referenced by SvTreeListBox::dispose(), and ~DropTargetHelper().

sal_Int8 DropTargetHelper::ExecuteDrop ( const ExecuteDropEvent rEvt)

Reimplemented in SvTreeListBox.

Definition at line 292 of file transfer2.cxx.

const DataFlavorExVector& DropTargetHelper::GetDataFlavorExVector ( ) const

Definition at line 482 of file transfer.hxx.

References maFormats.

void DropTargetHelper::ImplBeginDrag ( const css::uno::Sequence< css::datatransfer::DataFlavor > &  rSupportedDataFlavors)

Definition at line 273 of file transfer2.cxx.

References TransferableDataHelper::FillDataFlavorExVector(), and maFormats.

void DropTargetHelper::ImplConstruct ( )

Definition at line 262 of file transfer2.cxx.

References mxDropTarget, and mxDropTargetListener.

Referenced by DropTargetHelper().

void DropTargetHelper::ImplEndDrag ( )

Definition at line 280 of file transfer2.cxx.

References maFormats.

bool DropTargetHelper::IsDropFormatSupported ( SotClipboardFormatId  nFormat) const

Definition at line 298 of file transfer2.cxx.

References data, and maFormats.

Referenced by SvTreeListBox::AcceptDrop().

DropTargetHelper& DropTargetHelper::operator= ( const DropTargetHelper rDropTargetHelper)
bool DropTargetHelper::operator== ( const DropTargetHelper rDropTargetHelper) const

Friends And Related Function Documentation

Definition at line 448 of file transfer.hxx.

Member Data Documentation

DataFlavorExVector DropTargetHelper::maFormats
osl::Mutex DropTargetHelper::maMutex

Definition at line 451 of file transfer.hxx.

Referenced by dispose().

css::uno::Reference< css::datatransfer::dnd::XDropTarget > DropTargetHelper::mxDropTarget

Definition at line 452 of file transfer.hxx.

Referenced by dispose(), and ImplConstruct().

css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > DropTargetHelper::mxDropTargetListener

Definition at line 454 of file transfer.hxx.

Referenced by dispose(), and ImplConstruct().

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