You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
763 B
C

#pragma once
#include "GlobalDefine.h"
#include "excel.h"
class CExcelMgr
{
public:
CExcelMgr(void);
~CExcelMgr(void);
bool CreatExcelFile();
void ShowExcelFile();
void SetCellTxt(int Row,int Col,CString txt,bool bBold = false);
void InsertPicture(int Row1,int Col1,int Row2,int Col2,CString FilePath);
CString GetCellIdxStr(int Row,int Col);
private:
private:
bool m_bCreateOk;//<2F>Ƿ<EFBFBD><C7B7>ɹ<EFBFBD><C9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Excel <20>ļ<EFBFBD>
_Application m_app; //<2F>ȴ<EFBFBD><C8B4><EFBFBD>һ<EFBFBD><D2BB>_Application<6F><EFBFBD><E0A3AC>_Application<6F><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ExcelӦ<6C>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>ӿ<EFBFBD>
Workbooks m_books; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_Workbook m_book; //<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD>
Worksheets m_sheets; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_Worksheet m_sheet; //<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD><EFBFBD><EFBFBD>
};