LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
svxform::OLocalExchangeHelper Class Referenceabstract

a helper for navigator windows (SvTreeListBox'es) which allow DnD within themself More...

#include <fmexch.hxx>

Inheritance diagram for svxform::OLocalExchangeHelper:
[legend]
Collaboration diagram for svxform::OLocalExchangeHelper:
[legend]

Public Member Functions

 OLocalExchangeHelper (vcl::Window *_pDragSource)
 
virtual ~OLocalExchangeHelper ()
 
void prepareDrag ()
 
void startDrag (sal_Int8 nDragSourceActions)
 
void copyToClipboard () const
 
bool isDragSource () const
 
bool isClipboardOwner () const
 
bool isDataExchangeActive () const
 
void clear ()
 
SVX_DLLPRIVATE void setClipboardListener (const Link< OLocalExchange &, void > &_rListener)
 

Protected Member Functions

virtual SVX_DLLPRIVATE OLocalExchangecreateExchange () const =0
 
SVX_DLLPRIVATE void implReset ()
 

Protected Attributes

VclPtr< vcl::Windowm_pDragSource
 
rtl::Reference< OLocalExchangem_xTransferable
 

Detailed Description

a helper for navigator windows (SvTreeListBox'es) which allow DnD within themself

Definition at line 93 of file fmexch.hxx.

Constructor & Destructor Documentation

svxform::OLocalExchangeHelper::OLocalExchangeHelper ( vcl::Window _pDragSource)

Definition at line 341 of file fmexch.cxx.

svxform::OLocalExchangeHelper::~OLocalExchangeHelper ( )
virtual

Definition at line 347 of file fmexch.cxx.

References implReset().

Member Function Documentation

void svxform::OLocalExchangeHelper::clear ( )
inline

Definition at line 111 of file fmexch.hxx.

Referenced by svxform::NavigatorTree::ModelHasRemoved().

void svxform::OLocalExchangeHelper::copyToClipboard ( ) const
virtual SVX_DLLPRIVATE OLocalExchange* svxform::OLocalExchangeHelper::createExchange ( ) const
protectedpure virtual
void svxform::OLocalExchangeHelper::implReset ( )
protected

Definition at line 367 of file fmexch.cxx.

References m_xTransferable.

Referenced by prepareDrag(), and ~OLocalExchangeHelper().

bool svxform::OLocalExchangeHelper::isClipboardOwner ( ) const
inline
bool svxform::OLocalExchangeHelper::isDataExchangeActive ( ) const
inline

Definition at line 110 of file fmexch.hxx.

Referenced by svxform::NavigatorTree::ModelHasRemoved().

bool svxform::OLocalExchangeHelper::isDragSource ( ) const
inline
void svxform::OLocalExchangeHelper::prepareDrag ( )
SVX_DLLPRIVATE void svxform::OLocalExchangeHelper::setClipboardListener ( const Link< OLocalExchange &, void > &  _rListener)
inline

Definition at line 113 of file fmexch.hxx.

Referenced by svxform::NavigatorTree::doCopy(), and svxform::NavigatorTree::doCut().

void svxform::OLocalExchangeHelper::startDrag ( sal_Int8  nDragSourceActions)

Definition at line 353 of file fmexch.cxx.

References DBG_ASSERT, m_pDragSource, and m_xTransferable.

Referenced by svxform::FmFilterNavigator::StartDrag().

Member Data Documentation

VclPtr<vcl::Window> svxform::OLocalExchangeHelper::m_pDragSource
protected

Definition at line 96 of file fmexch.hxx.

Referenced by copyToClipboard(), and startDrag().

rtl::Reference<OLocalExchange> svxform::OLocalExchangeHelper::m_xTransferable
protected

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