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

#include <Fetc.hxx>

Public Member Functions

 CFormatEtc ()
 
 CFormatEtc (const FORMATETC &aFormatEtc)
 
 CFormatEtc (CLIPFORMAT cf, DWORD tymed=TYMED_HGLOBAL, DVTARGETDEVICE *ptd=nullptr, DWORD dwAspect=DVASPECT_CONTENT, LONG lindex=-1)
 
 CFormatEtc (const CFormatEtc &theOther)
 
 ~CFormatEtc ()
 
CFormatEtcoperator= (const CFormatEtc &theOther)
 
 operator FORMATETC * ()
 
 operator FORMATETC ()
 
void getFORMATETC (LPFORMATETC lpFormatEtc)
 
CLIPFORMAT getClipformat () const
 
DWORD getTymed () const
 
void getTargetDevice (DVTARGETDEVICE **ptd) const
 
DWORD getDvAspect () const
 
LONG getLindex () const
 
void setClipformat (CLIPFORMAT cf)
 
void setTymed (DWORD tymed)
 
void setTargetDevice (DVTARGETDEVICE *ptd)
 
void setDvAspect (DWORD dwAspect)
 
void setLindex (LONG lindex)
 

Private Attributes

FORMATETC m_FormatEtc
 

Friends

bool operator== (const CFormatEtc &lhs, const CFormatEtc &rhs)
 
bool operator!= (const CFormatEtc &lhs, const CFormatEtc &rhs)
 

Detailed Description

Definition at line 39 of file Fetc.hxx.

Constructor & Destructor Documentation

CFormatEtc::CFormatEtc ( )

Definition at line 24 of file Fetc.cxx.

References m_FormatEtc.

CFormatEtc::CFormatEtc ( const FORMATETC &  aFormatEtc)
explicit

Definition at line 35 of file Fetc.cxx.

References CopyFormatEtc(), and m_FormatEtc.

CFormatEtc::CFormatEtc ( CLIPFORMAT  cf,
DWORD  tymed = TYMED_HGLOBAL,
DVTARGETDEVICE *  ptd = nullptr,
DWORD  dwAspect = DVASPECT_CONTENT,
LONG  lindex = -1 
)

Definition at line 45 of file Fetc.cxx.

References CopyTargetDevice(), and m_FormatEtc.

CFormatEtc::CFormatEtc ( const CFormatEtc theOther)

Definition at line 54 of file Fetc.cxx.

References CopyTargetDevice(), and m_FormatEtc.

CFormatEtc::~CFormatEtc ( )

Definition at line 40 of file Fetc.cxx.

References DeleteTargetDevice(), and m_FormatEtc.

Member Function Documentation

CLIPFORMAT CFormatEtc::getClipformat ( ) const
DWORD CFormatEtc::getDvAspect ( ) const

Definition at line 118 of file Fetc.cxx.

References m_FormatEtc.

void CFormatEtc::getFORMATETC ( LPFORMATETC  lpFormatEtc)

Definition at line 89 of file Fetc.cxx.

References CopyFormatEtc(), and m_FormatEtc.

LONG CFormatEtc::getLindex ( ) const

Definition at line 123 of file Fetc.cxx.

References LONG, and m_FormatEtc.

void CFormatEtc::getTargetDevice ( DVTARGETDEVICE **  ptd) const

Definition at line 107 of file Fetc.cxx.

References CopyTargetDevice(), and m_FormatEtc.

DWORD CFormatEtc::getTymed ( ) const

Definition at line 102 of file Fetc.cxx.

References m_FormatEtc.

Referenced by CDOTransferable::getClipboardData().

CFormatEtc::operator FORMATETC ( )

Definition at line 84 of file Fetc.cxx.

CFormatEtc::operator FORMATETC * ( )

Definition at line 79 of file Fetc.cxx.

CFormatEtc & CFormatEtc::operator= ( const CFormatEtc theOther)

Definition at line 63 of file Fetc.cxx.

References CopyTargetDevice(), DeleteTargetDevice(), and m_FormatEtc.

void CFormatEtc::setClipformat ( CLIPFORMAT  cf)

Definition at line 128 of file Fetc.cxx.

References m_FormatEtc.

Referenced by CDOTransferable::getTransferData().

void CFormatEtc::setDvAspect ( DWORD  dwAspect)

Definition at line 146 of file Fetc.cxx.

References m_FormatEtc.

void CFormatEtc::setLindex ( LONG  lindex)

Definition at line 151 of file Fetc.cxx.

References m_FormatEtc.

Referenced by CDataFormatTranslator::getFormatEtcForClipformat().

void CFormatEtc::setTargetDevice ( DVTARGETDEVICE *  ptd)

Definition at line 140 of file Fetc.cxx.

References DeleteTargetDevice(), and m_FormatEtc.

void CFormatEtc::setTymed ( DWORD  tymed)

Friends And Related Function Documentation

bool operator!= ( const CFormatEtc lhs,
const CFormatEtc rhs 
)
friend

Definition at line 161 of file Fetc.cxx.

bool operator== ( const CFormatEtc lhs,
const CFormatEtc rhs 
)
friend

Definition at line 156 of file Fetc.cxx.

Member Data Documentation

FORMATETC CFormatEtc::m_FormatEtc
private

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