00001
00002
00003
00004
00005
00007
00008
00009 class COleFont : public COleDispatchDriver
00010 {
00011 public:
00012 COleFont() {}
00013 COleFont(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
00014 COleFont(const COleFont& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
00015
00016
00017 public:
00018 CString GetName();
00019 void SetName(LPCTSTR);
00020 CY GetSize();
00021 void SetSize(const CY&);
00022 BOOL GetBold();
00023 void SetBold(BOOL);
00024 BOOL GetItalic();
00025 void SetItalic(BOOL);
00026 BOOL GetUnderline();
00027 void SetUnderline(BOOL);
00028 BOOL GetStrikethrough();
00029 void SetStrikethrough(BOOL);
00030 short GetWeight();
00031 void SetWeight(short);
00032 short GetCharset();
00033 void SetCharset(short);
00034
00035
00036 public:
00037 };