LibreOffice Module dtrans (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CXNotifyingDataObject Class Reference

#include <XNotifyingDataObject.hxx>

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

Public Member Functions

 CXNotifyingDataObject (const IDataObjectPtr &aIDataObject, const css::uno::Reference< css::datatransfer::XTransferable > &aXTransferable, const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &aXClipOwner, CWinClipbImpl *theWinClipImpl)
 
virtual ~CXNotifyingDataObject ()
 
STDMETHODIMP QueryInterface (REFIID iid, void **ppvObject) override
 
 STDMETHODIMP_ (ULONG) AddRef() override
 
 STDMETHODIMP_ (ULONG) Release() override
 
STDMETHODIMP GetData (FORMATETC *pFormatetc, STGMEDIUM *pmedium) override
 
STDMETHODIMP GetDataHere (FORMATETC *pFormatetc, STGMEDIUM *pmedium) override
 
STDMETHODIMP QueryGetData (FORMATETC *pFormatetc) override
 
STDMETHODIMP GetCanonicalFormatEtc (FORMATETC *pFormatectIn, FORMATETC *pFormatetcOut) override
 
STDMETHODIMP SetData (FORMATETC *pFormatetc, STGMEDIUM *pmedium, BOOL fRelease) override
 
STDMETHODIMP EnumFormatEtc (DWORD dwDirection, IEnumFORMATETC **ppenumFormatetc) override
 
STDMETHODIMP DAdvise (FORMATETC *pFormatetc, DWORD advf, IAdviseSink *pAdvSink, DWORD *pdwConnection) override
 
STDMETHODIMP DUnadvise (DWORD dwConnection) override
 
STDMETHODIMP EnumDAdvise (IEnumSTATDATA **ppenumAdvise) override
 
 operator IDataObject * ()
 

Private Member Functions

void lostOwnership ()
 

Private Attributes

sal_Int32 m_nRefCnt
 
IDataObjectPtr m_aIDataObject
 
const css::uno::Reference< css::datatransfer::XTransferable > m_XTransferable
 
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > m_XClipboardOwner
 
CWinClipbImplm_pWinClipImpl
 

Friends

class CWinClipbImpl
 

Detailed Description

Definition at line 42 of file XNotifyingDataObject.hxx.

Constructor & Destructor Documentation

CXNotifyingDataObject::CXNotifyingDataObject ( const IDataObjectPtr &  aIDataObject,
const css::uno::Reference< css::datatransfer::XTransferable > &  aXTransferable,
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > &  aXClipOwner,
CWinClipbImpl theWinClipImpl 
)

Definition at line 30 of file XNotifyingDataObject.cxx.

virtual CXNotifyingDataObject::~CXNotifyingDataObject ( )
inlinevirtual

Definition at line 51 of file XNotifyingDataObject.hxx.

Member Function Documentation

STDMETHODIMP CXNotifyingDataObject::DAdvise ( FORMATETC *  pFormatetc,
DWORD  advf,
IAdviseSink *  pAdvSink,
DWORD *  pdwConnection 
)
override

Definition at line 114 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::DUnadvise ( DWORD  dwConnection)
override

Definition at line 120 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::EnumDAdvise ( IEnumSTATDATA **  ppenumAdvise)
override

Definition at line 125 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::EnumFormatEtc ( DWORD  dwDirection,
IEnumFORMATETC **  ppenumFormatetc 
)
override

Definition at line 88 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::GetCanonicalFormatEtc ( FORMATETC *  pFormatectIn,
FORMATETC *  pFormatetcOut 
)
override

Definition at line 104 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::GetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium 
)
override

Definition at line 83 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::GetDataHere ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium 
)
override

Definition at line 99 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

void CXNotifyingDataObject::lostOwnership ( )
private
CXNotifyingDataObject::operator IDataObject * ( )

Definition at line 130 of file XNotifyingDataObject.cxx.

STDMETHODIMP CXNotifyingDataObject::QueryGetData ( FORMATETC *  pFormatetc)
override

Definition at line 94 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

STDMETHODIMP CXNotifyingDataObject::QueryInterface ( REFIID  iid,
void **  ppvObject 
)
override

Definition at line 43 of file XNotifyingDataObject.cxx.

References hr.

STDMETHODIMP CXNotifyingDataObject::SetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium,
BOOL  fRelease 
)
override

Definition at line 109 of file XNotifyingDataObject.cxx.

References m_aIDataObject.

CXNotifyingDataObject::STDMETHODIMP_ ( ULONG  )
override
CXNotifyingDataObject::STDMETHODIMP_ ( ULONG  )
override

Friends And Related Function Documentation

friend class CWinClipbImpl
friend

Definition at line 83 of file XNotifyingDataObject.hxx.

Member Data Documentation

IDataObjectPtr CXNotifyingDataObject::m_aIDataObject
private
sal_Int32 CXNotifyingDataObject::m_nRefCnt
private

Definition at line 77 of file XNotifyingDataObject.hxx.

CWinClipbImpl* CXNotifyingDataObject::m_pWinClipImpl
private

Definition at line 81 of file XNotifyingDataObject.hxx.

Referenced by lostOwnership().

const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > CXNotifyingDataObject::m_XClipboardOwner
private

Definition at line 80 of file XNotifyingDataObject.hxx.

Referenced by lostOwnership().

const css::uno::Reference< css::datatransfer::XTransferable > CXNotifyingDataObject::m_XTransferable
private

Definition at line 79 of file XNotifyingDataObject.hxx.

Referenced by CWinClipbImpl::getContents(), and lostOwnership().


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