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

📄 spreadsheet.cpp

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

void CSpreadSheet::SetTypeIntegerMax(long propVal)
{
	SetProperty(0xa9, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeIntegerMin(long propVal)
{
	SetProperty(0xaa, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeIntegerSpinInc(long propVal)
{
	SetProperty(0xab, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeIntegerSpinWrap(BOOL propVal)
{
	SetProperty(0xac, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeOwnerDrawStyle(long propVal)
{
	SetProperty(0xad, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypePicDefaultText(LPCTSTR propVal)
{
	SetProperty(0xae, VT_BSTR, propVal);
}

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

void CSpreadSheet::SetTypePicMask(LPCTSTR propVal)
{
	SetProperty(0xaf, VT_BSTR, propVal);
}

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

void CSpreadSheet::SetTypePictCenter(BOOL propVal)
{
	SetProperty(0xb0, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypePictMaintainScale(BOOL propVal)
{
	SetProperty(0xb1, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypePictPicture(LPDISPATCH propVal)
{
	SetProperty(0xb2, VT_DISPATCH, propVal);
}

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

void CSpreadSheet::SetTypePictStretch(BOOL propVal)
{
	SetProperty(0xb3, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeSpin(BOOL propVal)
{
	SetProperty(0xb4, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTextPrefix(BOOL propVal)
{
	SetProperty(0xb6, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTextShadow(BOOL propVal)
{
	SetProperty(0xb7, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTextShadowIn(BOOL propVal)
{
	SetProperty(0xb8, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTextWordWrap(BOOL propVal)
{
	SetProperty(0xb9, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTime24Hour(long propVal)
{
	SetProperty(0xba, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeTimeMax(LPCTSTR propVal)
{
	SetProperty(0xbb, VT_BSTR, propVal);
}

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

void CSpreadSheet::SetTypeTimeMin(LPCTSTR propVal)
{
	SetProperty(0xbc, VT_BSTR, propVal);
}

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

void CSpreadSheet::SetTypeTimeSeconds(BOOL propVal)
{
	SetProperty(0xbd, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeTimeSeparator(short propVal)
{
	SetProperty(0xbe, VT_I2, propVal);
}

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

void CSpreadSheet::SetUnitType(long propVal)
{
	SetProperty(0xbf, VT_I4, propVal);
}

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

void CSpreadSheet::SetUserResize(long propVal)
{
	SetProperty(0xc0, VT_I4, propVal);
}

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

void CSpreadSheet::SetUserResizeCol(long propVal)
{
	SetProperty(0xc1, VT_I4, propVal);
}

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

void CSpreadSheet::SetUserResizeRow(long propVal)
{
	SetProperty(0xc2, VT_I4, propVal);
}

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

void CSpreadSheet::SetValue(LPCTSTR propVal)
{
	SetProperty(0xc3, VT_BSTR, propVal);
}

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

void CSpreadSheet::SetVirtualCurRowCount(long propVal)
{
	SetProperty(0xc4, VT_I4, propVal);
}

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

void CSpreadSheet::SetVirtualCurTop(long propVal)
{
	SetProperty(0xc5, VT_I4, propVal);
}

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

void CSpreadSheet::SetVirtualMaxRows(long propVal)
{
	SetProperty(0xc6, VT_I4, propVal);
}

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

void CSpreadSheet::SetVirtualMode(BOOL propVal)
{
	SetProperty(0xc7, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetVirtualOverlap(long propVal)
{
	SetProperty(0xc8, VT_I4, propVal);
}

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

void CSpreadSheet::SetVirtualRows(long propVal)
{
	SetProperty(0xc9, VT_I4, propVal);
}

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

void CSpreadSheet::SetVirtualScrollBuffer(BOOL propVal)
{
	SetProperty(0xca, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetVisibleCols(long propVal)
{
	SetProperty(0xcb, VT_I4, propVal);
}

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

void CSpreadSheet::SetVisibleRows(long propVal)
{
	SetProperty(0xcc, VT_I4, propVal);
}

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

void CSpreadSheet::SetVScrollSpecial(BOOL propVal)
{
	SetProperty(0xcd, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetVScrollSpecialType(short propVal)
{
	SetProperty(0xce, VT_I2, propVal);
}

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

void CSpreadSheet::SetFontBold(BOOL propVal)
{
	SetProperty(0xcf, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetFontItalic(BOOL propVal)
{
	SetProperty(0xd0, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetFontName(LPCTSTR propVal)
{
	SetProperty(0xd1, VT_BSTR, propVal);
}

float CSpreadSheet::GetFontSize()
{
	float result;
	GetProperty(0xd2, VT_R4, (void*)&result);
	return result;
}

void CSpreadSheet::SetFontSize(float propVal)
{
	SetProperty(0xd2, VT_R4, propVal);
}

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

void CSpreadSheet::SetFontStrikethru(BOOL propVal)
{
	SetProperty(0xd3, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetFontUnderline(BOOL propVal)
{
	SetProperty(0xd4, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetCursorIcon(LPDISPATCH propVal)
{
	SetProperty(0xd5, VT_DISPATCH, propVal);
}

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

void CSpreadSheet::SetPrintOrientation(long propVal)
{
	SetProperty(0xd6, VT_I4, propVal);
}

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

void CSpreadSheet::SetBackColorStyle(long propVal)
{
	SetProperty(0xd7, VT_I4, propVal);
}

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

void CSpreadSheet::SetFormulaSync(BOOL propVal)
{
	SetProperty(0xd8, VT_BOOL, propVal);
}

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

void CSpreadSheet::SetTypeCheckType(long propVal)
{
	SetProperty(0x110, VT_I4, propVal);
}

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

void CSpreadSheet::SetAppearance(long propVal)
{
	SetProperty(0x111, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeComboBoxMaxDrop(short propVal)
{
	SetProperty(0x112, VT_I2, propVal);
}

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

void CSpreadSheet::SetTypeMaxEditLen(short propVal)
{
	SetProperty(0x113, VT_I2, propVal);
}

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

void CSpreadSheet::SetTypeComboBoxWidth(short propVal)
{
	SetProperty(0x114, VT_I2, propVal);
}

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

void CSpreadSheet::SetTextTip(long propVal)
{
	SetProperty(0x115, VT_I4, propVal);
}

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

void CSpreadSheet::SetTextTipDelay(long propVal)
{
	SetProperty(0x116, VT_I4, propVal);
}

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

void CSpreadSheet::SetScrollBarTrack(long propVal)
{
	SetProperty(0x117, VT_I4, propVal);
}

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

void CSpreadSheet::SetTypeVAlign(long propVal)
{
	SetProperty(0x118, VT_I4, propVal);
}

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

⌨️ 快捷键说明

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