GME  13
Public Member Functions | Protected Member Functions | Protected Attributes
AnnotatorDecor::AnnotatorTextPart Class Reference

#include <AnnotatorTextPart.h>

List of all members.

Public Member Functions

 AnnotatorTextPart (DecoratorSDK::PartBase *pPart, CComPtr< IMgaCommonDecoratorEvents > &eventSink)
virtual ~AnnotatorTextPart ()
virtual void SetParam (const CString &strName, VARIANT vValue)
virtual bool GetParam (const CString &strName, VARIANT *pvValue)
virtual CSize GetPreferredSize (void) const
virtual void Draw (CDC *pDC, Gdiplus::Graphics *gdip)
virtual void InitializeEx (CComPtr< IMgaProject > &pProject, CComPtr< IMgaMetaPart > &pPart, CComPtr< IMgaFCO > &pFCO, HWND parentWnd, DecoratorSDK::PreferenceMap &preferences)
virtual CPoint GetTextPosition (CDC *pDC, Gdiplus::Graphics *gdip) const
virtual void SetTextRelYPosition (long relYPosition)
virtual CRect GetTextLocation (CDC *pDC, Gdiplus::Graphics *gdip) const
virtual void ExecuteOperation (const CString &newString)

Protected Member Functions

void ReadPreferences (void)

Protected Attributes

CComPtr< IMgaRegNodem_regRoot
CString m_strName
LOGFONT m_logFont

Detailed Description

Definition at line 24 of file AnnotatorTextPart.h.


Constructor & Destructor Documentation

AnnotatorDecor::AnnotatorTextPart::AnnotatorTextPart ( DecoratorSDK::PartBase *  pPart,
CComPtr< IMgaCommonDecoratorEvents > &  eventSink 
)

Definition at line 23 of file AnnotatorTextPart.cpp.

Definition at line 32 of file AnnotatorTextPart.cpp.


Member Function Documentation

void AnnotatorDecor::AnnotatorTextPart::Draw ( CDC *  pDC,
Gdiplus::Graphics *  gdip 
) [virtual]

Definition at line 79 of file AnnotatorTextPart.cpp.

void AnnotatorDecor::AnnotatorTextPart::ExecuteOperation ( const CString &  newString) [virtual]

Definition at line 121 of file AnnotatorTextPart.cpp.

bool AnnotatorDecor::AnnotatorTextPart::GetParam ( const CString &  strName,
VARIANT *  pvValue 
) [virtual]

Definition at line 56 of file AnnotatorTextPart.cpp.

CSize AnnotatorDecor::AnnotatorTextPart::GetPreferredSize ( void  ) const [virtual]

Definition at line 68 of file AnnotatorTextPart.cpp.

CRect AnnotatorDecor::AnnotatorTextPart::GetTextLocation ( CDC *  pDC,
Gdiplus::Graphics *  gdip 
) const [virtual]

Definition at line 116 of file AnnotatorTextPart.cpp.

CPoint AnnotatorDecor::AnnotatorTextPart::GetTextPosition ( CDC *  pDC,
Gdiplus::Graphics *  gdip 
) const [virtual]

Definition at line 111 of file AnnotatorTextPart.cpp.

void AnnotatorDecor::AnnotatorTextPart::InitializeEx ( CComPtr< IMgaProject > &  pProject,
CComPtr< IMgaMetaPart > &  pPart,
CComPtr< IMgaFCO > &  pFCO,
HWND  parentWnd,
DecoratorSDK::PreferenceMap &  preferences 
) [virtual]

Definition at line 101 of file AnnotatorTextPart.cpp.

Definition at line 137 of file AnnotatorTextPart.cpp.

void AnnotatorDecor::AnnotatorTextPart::SetParam ( const CString &  strName,
VARIANT  vValue 
) [virtual]

Definition at line 36 of file AnnotatorTextPart.cpp.

virtual void AnnotatorDecor::AnnotatorTextPart::SetTextRelYPosition ( long  relYPosition) [inline, virtual]

Definition at line 45 of file AnnotatorTextPart.h.


Member Data Documentation

Definition at line 29 of file AnnotatorTextPart.h.

Definition at line 27 of file AnnotatorTextPart.h.

Definition at line 28 of file AnnotatorTextPart.h.


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