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

#include <APNDataObject.hxx>

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

Public Member Functions

 CAPNDataObject (IDataObjectPtr rIDataObject)
 
 ~CAPNDataObject ()
 
STDMETHODIMP QueryInterface (REFIID iid, LPVOID *ppvObject)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
STDMETHODIMP GetData (LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium)
 
STDMETHODIMP GetDataHere (LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium)
 
STDMETHODIMP QueryGetData (LPFORMATETC pFormatetc)
 
STDMETHODIMP GetCanonicalFormatEtc (LPFORMATETC pFormatectIn, LPFORMATETC pFormatetcOut)
 
STDMETHODIMP SetData (LPFORMATETC pFormatetc, LPSTGMEDIUM pmedium, BOOL fRelease)
 
STDMETHODIMP EnumFormatEtc (DWORD dwDirection, IEnumFORMATETC **ppenumFormatetc)
 
STDMETHODIMP DAdvise (LPFORMATETC pFormatetc, DWORD advf, LPADVISESINK pAdvSink, DWORD *pdwConnection)
 
STDMETHODIMP DUnadvise (DWORD dwConnection)
 
STDMETHODIMP EnumDAdvise (LPENUMSTATDATA *ppenumAdvise)
 
 operator IDataObject * ()
 
 CAPNDataObject (IDataObjectPtr rIDataObject)
 
virtual ~CAPNDataObject ()
 
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

HRESULT MarshalIDataObjectIntoCurrentApartment (IDataObject **ppIDataObj)
 
 CAPNDataObject (const CAPNDataObject &theOther)
 
CAPNDataObjectoperator= (const CAPNDataObject &theOther)
 
HRESULT MarshalIDataObjectIntoCurrentApartment (IDataObject **ppIDataObj)
 
 CAPNDataObject (const CAPNDataObject &theOther)
 
CAPNDataObjectoperator= (const CAPNDataObject &theOther)
 

Private Attributes

IDataObjectPtr m_rIDataObjectOrg
 
HGLOBAL m_hGlobal
 
LONG m_nRefCnt
 

Detailed Description

Definition at line 30 of file clipb/APNDataObject.hxx.

Constructor & Destructor Documentation

CAPNDataObject::CAPNDataObject ( IDataObjectPtr  rIDataObject)

Definition at line 30 of file APNDataObject.cxx.

References hr, KEEP_HGLOB_ON_RELEASE, m_hGlobal, and m_rIDataObjectOrg.

CAPNDataObject::~CAPNDataObject ( )

Definition at line 82 of file APNDataObject.cxx.

References FREE_HGLOB_ON_RELEASE, hr, and m_hGlobal.

CAPNDataObject::CAPNDataObject ( const CAPNDataObject theOther)
private
CAPNDataObject::CAPNDataObject ( IDataObjectPtr  rIDataObject)
explicit
virtual CAPNDataObject::~CAPNDataObject ( )
virtual
CAPNDataObject::CAPNDataObject ( const CAPNDataObject theOther)
private

Member Function Documentation

STDMETHODIMP CAPNDataObject::DAdvise ( LPFORMATETC  pFormatetc,
DWORD  advf,
LPADVISESINK  pAdvSink,
DWORD *  pdwConnection 
)
STDMETHODIMP CAPNDataObject::DAdvise ( FORMATETC *  pFormatetc,
DWORD  advf,
IAdviseSink *  pAdvSink,
DWORD *  pdwConnection 
)
override
STDMETHODIMP CAPNDataObject::DUnadvise ( DWORD  dwConnection)
STDMETHODIMP CAPNDataObject::DUnadvise ( DWORD  dwConnection)
override
STDMETHODIMP CAPNDataObject::EnumDAdvise ( LPENUMSTATDATA *  ppenumAdvise)
STDMETHODIMP CAPNDataObject::EnumDAdvise ( IEnumSTATDATA **  ppenumAdvise)
override
STDMETHODIMP CAPNDataObject::EnumFormatEtc ( DWORD  dwDirection,
IEnumFORMATETC **  ppenumFormatetc 
)
STDMETHODIMP CAPNDataObject::EnumFormatEtc ( DWORD  dwDirection,
IEnumFORMATETC **  ppenumFormatetc 
)
override
STDMETHODIMP CAPNDataObject::GetCanonicalFormatEtc ( LPFORMATETC  pFormatectIn,
LPFORMATETC  pFormatetcOut 
)
STDMETHODIMP CAPNDataObject::GetCanonicalFormatEtc ( FORMATETC *  pFormatectIn,
FORMATETC *  pFormatetcOut 
)
override
STDMETHODIMP CAPNDataObject::GetData ( LPFORMATETC  pFormatetc,
LPSTGMEDIUM  pmedium 
)
STDMETHODIMP CAPNDataObject::GetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium 
)
override
STDMETHODIMP CAPNDataObject::GetDataHere ( LPFORMATETC  pFormatetc,
LPSTGMEDIUM  pmedium 
)
STDMETHODIMP CAPNDataObject::GetDataHere ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium 
)
override
HRESULT CAPNDataObject::MarshalIDataObjectIntoCurrentApartment ( IDataObject **  ppIDataObj)
private
HRESULT CAPNDataObject::MarshalIDataObjectIntoCurrentApartment ( IDataObject **  ppIDataObj)
private
CAPNDataObject::operator IDataObject * ( )

Definition at line 297 of file APNDataObject.cxx.

CAPNDataObject::operator IDataObject * ( )
CAPNDataObject& CAPNDataObject::operator= ( const CAPNDataObject theOther)
private
CAPNDataObject& CAPNDataObject::operator= ( const CAPNDataObject theOther)
private
STDMETHODIMP CAPNDataObject::QueryGetData ( LPFORMATETC  pFormatetc)
STDMETHODIMP CAPNDataObject::QueryGetData ( FORMATETC *  pFormatetc)
override
STDMETHODIMP CAPNDataObject::QueryInterface ( REFIID  iid,
LPVOID *  ppvObject 
)
STDMETHODIMP CAPNDataObject::QueryInterface ( REFIID  iid,
void **  ppvObject 
)
override

Definition at line 101 of file APNDataObject.cxx.

References hr.

STDMETHODIMP CAPNDataObject::SetData ( LPFORMATETC  pFormatetc,
LPSTGMEDIUM  pmedium,
BOOL  fRelease 
)
STDMETHODIMP CAPNDataObject::SetData ( FORMATETC *  pFormatetc,
STGMEDIUM *  pmedium,
BOOL  fRelease 
)
override
CAPNDataObject::STDMETHODIMP_ ( ULONG  )
CAPNDataObject::STDMETHODIMP_ ( ULONG  )
CAPNDataObject::STDMETHODIMP_ ( ULONG  )
override
CAPNDataObject::STDMETHODIMP_ ( ULONG  )
override

Member Data Documentation

HGLOBAL CAPNDataObject::m_hGlobal
private
LONG CAPNDataObject::m_nRefCnt
private

Definition at line 62 of file clipb/APNDataObject.hxx.

IDataObjectPtr CAPNDataObject::m_rIDataObjectOrg
private

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