www.pudn.com > test_vc_11.rar > font.h


#if !defined(AFX_FONT_H__0D82B8B2_9970_45F0_8B6C_E57A90420EC0__INCLUDED_) 
#define AFX_FONT_H__0D82B8B2_9970_45F0_8B6C_E57A90420EC0__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ 
 
// NOTE: Do not modify the contents of this file.  If this class is regenerated by 
//  Microsoft Visual C++, your modifications will be overwritten. 
 
 
// Dispatch interfaces referenced by this interface 
class CSpreadsheet; 
 
///////////////////////////////////////////////////////////////////////////// 
// COleFont wrapper class 
 
class COleFont : public COleDispatchDriver 
{ 
public: 
	COleFont() {}		// Calls COleDispatchDriver default constructor 
	COleFont(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 
	COleFont(const COleFont& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 
 
// Attributes 
public: 
 
// Operations 
public: 
	LPDISPATCH GetApplication(); 
	VARIANT GetBold(); 
	void SetBold(BOOL bNewValue); 
	VARIANT GetColor(); 
	void SetColor(VARIANT* newValue); 
	VARIANT GetColorIndex(); 
	void SetColorIndex(long nNewValue); 
	VARIANT GetItalic(); 
	void SetItalic(BOOL bNewValue); 
	VARIANT GetName(); 
	void SetName(LPCTSTR lpszNewValue); 
	LPDISPATCH GetParent(); 
	VARIANT GetSize(); 
	void SetSize(double newValue); 
	VARIANT GetUnderline(); 
	void SetUnderline(long nNewValue); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FONT_H__0D82B8B2_9970_45F0_8B6C_E57A90420EC0__INCLUDED_)