⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spreadsheet.cpp

📁 这是本人两年前兼职为某个公司做的石油钻进设计软件
💻 CPP
📖 第 1 页 / 共 5 页
字号:
}

void CSpreadSheet::SetSelBlockCol(long propVal)
{
	SetProperty(0x70, VT_I4, propVal);
}

long CSpreadSheet::GetSelBlockCol2()
{
	long result;
	GetProperty(0x71, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelBlockCol2(long propVal)
{
	SetProperty(0x71, VT_I4, propVal);
}

long CSpreadSheet::GetSelBlockRow()
{
	long result;
	GetProperty(0x72, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelBlockRow(long propVal)
{
	SetProperty(0x72, VT_I4, propVal);
}

long CSpreadSheet::GetSelBlockRow2()
{
	long result;
	GetProperty(0x73, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelBlockRow2(long propVal)
{
	SetProperty(0x73, VT_I4, propVal);
}

short CSpreadSheet::GetSelectBlockOptions()
{
	short result;
	GetProperty(0x74, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelectBlockOptions(short propVal)
{
	SetProperty(0x74, VT_I2, propVal);
}

long CSpreadSheet::GetSelLength()
{
	long result;
	GetProperty(0x75, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelLength(long propVal)
{
	SetProperty(0x75, VT_I4, propVal);
}

long CSpreadSheet::GetSelModeIndex()
{
	long result;
	GetProperty(0x76, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelModeIndex(long propVal)
{
	SetProperty(0x76, VT_I4, propVal);
}

long CSpreadSheet::GetSelModeSelCount()
{
	long result;
	GetProperty(0x77, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelModeSelCount(long propVal)
{
	SetProperty(0x77, VT_I4, propVal);
}

BOOL CSpreadSheet::GetSelModeSelected()
{
	BOOL result;
	GetProperty(0x78, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelModeSelected(BOOL propVal)
{
	SetProperty(0x78, VT_BOOL, propVal);
}

long CSpreadSheet::GetSelStart()
{
	long result;
	GetProperty(0x79, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelStart(long propVal)
{
	SetProperty(0x79, VT_I4, propVal);
}

CString CSpreadSheet::GetSelText()
{
	CString result;
	GetProperty(0x7a, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetSelText(LPCTSTR propVal)
{
	SetProperty(0x7a, VT_BSTR, propVal);
}

unsigned long CSpreadSheet::GetShadowColor()
{
	unsigned long result;
	GetProperty(0x7b, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetShadowColor(unsigned long propVal)
{
	SetProperty(0x7b, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetShadowDark()
{
	unsigned long result;
	GetProperty(0x7c, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetShadowDark(unsigned long propVal)
{
	SetProperty(0x7c, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetShadowText()
{
	unsigned long result;
	GetProperty(0x7d, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetShadowText(unsigned long propVal)
{
	SetProperty(0x7d, VT_I4, propVal);
}

long CSpreadSheet::GetSortBy()
{
	long result;
	GetProperty(0x7e, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetSortBy(long propVal)
{
	SetProperty(0x7e, VT_I4, propVal);
}

long CSpreadSheet::GetStartingColNumber()
{
	long result;
	GetProperty(0x7f, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetStartingColNumber(long propVal)
{
	SetProperty(0x7f, VT_I4, propVal);
}

long CSpreadSheet::GetStartingRowNumber()
{
	long result;
	GetProperty(0x80, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetStartingRowNumber(long propVal)
{
	SetProperty(0x80, VT_I4, propVal);
}

long CSpreadSheet::GetTopRow()
{
	long result;
	GetProperty(0x81, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTopRow(long propVal)
{
	SetProperty(0x81, VT_I4, propVal);
}

long CSpreadSheet::GetTypeButtonAlign()
{
	long result;
	GetProperty(0x82, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonAlign(long propVal)
{
	SetProperty(0x82, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetTypeButtonBorderColor()
{
	unsigned long result;
	GetProperty(0x83, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonBorderColor(unsigned long propVal)
{
	SetProperty(0x83, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetTypeButtonColor()
{
	unsigned long result;
	GetProperty(0x84, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonColor(unsigned long propVal)
{
	SetProperty(0x84, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetTypeButtonDarkColor()
{
	unsigned long result;
	GetProperty(0x85, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonDarkColor(unsigned long propVal)
{
	SetProperty(0x85, VT_I4, propVal);
}

unsigned long CSpreadSheet::GetTypeButtonLightColor()
{
	unsigned long result;
	GetProperty(0x86, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonLightColor(unsigned long propVal)
{
	SetProperty(0x86, VT_I4, propVal);
}

CPicture CSpreadSheet::GetTypeButtonPicture()
{
	LPDISPATCH pDispatch;
	GetProperty(0x87, VT_DISPATCH, (void*)&pDispatch);
	return CPicture(pDispatch);
}

void CSpreadSheet::SetTypeButtonPicture(LPDISPATCH propVal)
{
	SetProperty(0x87, VT_DISPATCH, propVal);
}

CPicture CSpreadSheet::GetTypeButtonPictureDown()
{
	LPDISPATCH pDispatch;
	GetProperty(0x88, VT_DISPATCH, (void*)&pDispatch);
	return CPicture(pDispatch);
}

void CSpreadSheet::SetTypeButtonPictureDown(LPDISPATCH propVal)
{
	SetProperty(0x88, VT_DISPATCH, propVal);
}

short CSpreadSheet::GetTypeButtonShadowSize()
{
	short result;
	GetProperty(0x89, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonShadowSize(short propVal)
{
	SetProperty(0x89, VT_I2, propVal);
}

CString CSpreadSheet::GetTypeButtonText()
{
	CString result;
	GetProperty(0x8a, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonText(LPCTSTR propVal)
{
	SetProperty(0x8a, VT_BSTR, propVal);
}

unsigned long CSpreadSheet::GetTypeButtonTextColor()
{
	unsigned long result;
	GetProperty(0x8b, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonTextColor(unsigned long propVal)
{
	SetProperty(0x8b, VT_I4, propVal);
}

long CSpreadSheet::GetTypeButtonType()
{
	long result;
	GetProperty(0x8c, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeButtonType(long propVal)
{
	SetProperty(0x8c, VT_I4, propVal);
}

BOOL CSpreadSheet::GetTypeCheckCenter()
{
	BOOL result;
	GetProperty(0x8d, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeCheckCenter(BOOL propVal)
{
	SetProperty(0x8d, VT_BOOL, propVal);
}

CString CSpreadSheet::GetTypeCheckText()
{
	CString result;
	GetProperty(0x8e, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeCheckText(LPCTSTR propVal)
{
	SetProperty(0x8e, VT_BSTR, propVal);
}

long CSpreadSheet::GetTypeCheckTextAlign()
{
	long result;
	GetProperty(0x8f, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeCheckTextAlign(long propVal)
{
	SetProperty(0x8f, VT_I4, propVal);
}

short CSpreadSheet::GetTypeComboBoxCount()
{
	short result;
	GetProperty(0x90, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxCount(short propVal)
{
	SetProperty(0x90, VT_I2, propVal);
}

short CSpreadSheet::GetTypeComboBoxCurSel()
{
	short result;
	GetProperty(0x91, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxCurSel(short propVal)
{
	SetProperty(0x91, VT_I2, propVal);
}

BOOL CSpreadSheet::GetTypeComboBoxEditable()
{
	BOOL result;
	GetProperty(0x92, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxEditable(BOOL propVal)
{
	SetProperty(0x92, VT_BOOL, propVal);
}

short CSpreadSheet::GetTypeComboBoxIndex()
{
	short result;
	GetProperty(0x93, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxIndex(short propVal)
{
	SetProperty(0x93, VT_I2, propVal);
}

CString CSpreadSheet::GetTypeComboBoxList()
{
	CString result;
	GetProperty(0x94, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxList(LPCTSTR propVal)
{
	SetProperty(0x94, VT_BSTR, propVal);
}

CString CSpreadSheet::GetTypeComboBoxString()
{
	CString result;
	GetProperty(0x95, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeComboBoxString(LPCTSTR propVal)
{
	SetProperty(0x95, VT_BSTR, propVal);
}

BOOL CSpreadSheet::GetTypeDateCentury()
{
	BOOL result;
	GetProperty(0x96, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeDateCentury(BOOL propVal)
{
	SetProperty(0x96, VT_BOOL, propVal);
}

long CSpreadSheet::GetTypeDateFormat()
{
	long result;
	GetProperty(0x97, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeDateFormat(long propVal)
{
	SetProperty(0x97, VT_I4, propVal);
}

CString CSpreadSheet::GetTypeDateMax()
{
	CString result;
	GetProperty(0x98, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeDateMax(LPCTSTR propVal)
{
	SetProperty(0x98, VT_BSTR, propVal);
}

CString CSpreadSheet::GetTypeDateMin()
{
	CString result;
	GetProperty(0x99, VT_BSTR, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeDateMin(LPCTSTR propVal)
{
	SetProperty(0x99, VT_BSTR, propVal);
}

short CSpreadSheet::GetTypeDateSeparator()
{
	short result;
	GetProperty(0x9a, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeDateSeparator(short propVal)
{
	SetProperty(0x9a, VT_I2, propVal);
}

long CSpreadSheet::GetTypeEditCharCase()
{
	long result;
	GetProperty(0x9b, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeEditCharCase(long propVal)
{
	SetProperty(0x9b, VT_I4, propVal);
}

long CSpreadSheet::GetTypeEditCharSet()
{
	long result;
	GetProperty(0x9c, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeEditCharSet(long propVal)
{
	SetProperty(0x9c, VT_I4, propVal);
}

BOOL CSpreadSheet::GetTypeEditMultiLine()
{
	BOOL result;
	GetProperty(0x9e, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeEditMultiLine(BOOL propVal)
{
	SetProperty(0x9e, VT_BOOL, propVal);
}

BOOL CSpreadSheet::GetTypeEditPassword()
{
	BOOL result;
	GetProperty(0x9f, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeEditPassword(BOOL propVal)
{
	SetProperty(0x9f, VT_BOOL, propVal);
}

short CSpreadSheet::GetTypeFloatCurrencyChar()
{
	short result;
	GetProperty(0xa0, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatCurrencyChar(short propVal)
{
	SetProperty(0xa0, VT_I2, propVal);
}

short CSpreadSheet::GetTypeFloatDecimalChar()
{
	short result;
	GetProperty(0xa1, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatDecimalChar(short propVal)
{
	SetProperty(0xa1, VT_I2, propVal);
}

short CSpreadSheet::GetTypeFloatDecimalPlaces()
{
	short result;
	GetProperty(0xa2, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatDecimalPlaces(short propVal)
{
	SetProperty(0xa2, VT_I2, propVal);
}

double CSpreadSheet::GetTypeFloatMax()
{
	double result;
	GetProperty(0xa3, VT_R8, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatMax(double propVal)
{
	SetProperty(0xa3, VT_R8, propVal);
}

double CSpreadSheet::GetTypeFloatMin()
{
	double result;
	GetProperty(0xa4, VT_R8, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatMin(double propVal)
{
	SetProperty(0xa4, VT_R8, propVal);
}

BOOL CSpreadSheet::GetTypeFloatMoney()
{
	BOOL result;
	GetProperty(0xa5, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatMoney(BOOL propVal)
{
	SetProperty(0xa5, VT_BOOL, propVal);
}

BOOL CSpreadSheet::GetTypeFloatSeparator()
{
	BOOL result;
	GetProperty(0xa6, VT_BOOL, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatSeparator(BOOL propVal)
{
	SetProperty(0xa6, VT_BOOL, propVal);
}

short CSpreadSheet::GetTypeFloatSepChar()
{
	short result;
	GetProperty(0xa7, VT_I2, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeFloatSepChar(short propVal)
{
	SetProperty(0xa7, VT_I2, propVal);
}

long CSpreadSheet::GetTypeHAlign()
{
	long result;
	GetProperty(0xa8, VT_I4, (void*)&result);
	return result;
}

void CSpreadSheet::SetTypeHAlign(long propVal)
{
	SetProperty(0xa8, VT_I4, propVal);
}

long CSpreadSheet::GetTypeIntegerMax()
{
	long result;
	GetProperty(0xa9, VT_I4, (void*)&result);
	return result;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -