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 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 418 of file transfer.hxx.

Constructor & Destructor Documentation

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

Definition at line 228 of file transfer2.cxx.

References ImplConstruct().

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

Definition at line 254 of file transfer2.cxx.

References dispose().

Member Function Documentation

sal_Int8 DropTargetHelper::AcceptDrop ( const AcceptDropEvent rEvt)

Reimplemented in SvTreeListBox.

Definition at line 284 of file transfer2.cxx.

void DropTargetHelper::dispose ( void  )

Definition at line 242 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 290 of file transfer2.cxx.

const DataFlavorExVector& DropTargetHelper::GetDataFlavorExVector ( ) const

Definition at line 480 of file transfer.hxx.

References maFormats.

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

Definition at line 271 of file transfer2.cxx.

References TransferableDataHelper::FillDataFlavorExVector(), and maFormats.

void DropTargetHelper::ImplConstruct ( )

Definition at line 260 of file transfer2.cxx.

References mxDropTarget, and mxDropTargetListener.

Referenced by DropTargetHelper().

void DropTargetHelper::ImplEndDrag ( )

Definition at line 278 of file transfer2.cxx.

References maFormats.

bool DropTargetHelper::IsDropFormatSupported ( SotClipboardFormatId  nFormat)

Definition at line 296 of file transfer2.cxx.

References 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 446 of file transfer.hxx.

Member Data Documentation

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

Definition at line 449 of file transfer.hxx.

Referenced by dispose().

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

Definition at line 450 of file transfer.hxx.

Referenced by dispose(), and ImplConstruct().

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

Definition at line 452 of file transfer.hxx.

Referenced by dispose(), and ImplConstruct().

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