Files
2022-10-26 12:25:11 +08:00

37 lines
730 B
C++

#pragma once
class CSheetInfo
{
private:
int m_nSttRow;
int m_nEndRow;
CString m_strSttCol;
CString m_strEndCol;
int m_nSheet;
int m_nScriptType;
public:
CSheetInfo(void);
~CSheetInfo(void);
public:
void SetSttCol(CString strRow);
CString GetSttCol();
void SetEndCol(CString strRow);
CString GetEndCol();
void SetSttRow(int nCol);
int GetSttRow();
void SetEndRow(int nCol);
int GetEndRow();
CString GetSttCell(void);
CString GetEndCell(void);
void SetScriptType(int nType);
int GetScriptType(){return m_nScriptType;}
void InitData(int nType, CString sttCol, int sttRow, CString endCol, int endRow, int nSheetNum);
void SetSheetNumber(int nSheet);
int GetSheetNumber();
};