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

📄 f1book.cpp

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

void CF1Book::SetPrintDevMode(long propVal)
{
	SetProperty(0x68, VT_I4, propVal);
}

long CF1Book::GetNumSheets()
{
	long result;
	GetProperty(0x69, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetNumSheets(long propVal)
{
	SetProperty(0x69, VT_I4, propVal);
}

long CF1Book::GetSheet()
{
	long result;
	GetProperty(0x6a, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetSheet(long propVal)
{
	SetProperty(0x6a, VT_I4, propVal);
}

long CF1Book::GetColWidthUnits()
{
	long result;
	GetProperty(0x6b, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetColWidthUnits(long propVal)
{
	SetProperty(0x6b, VT_I4, propVal);
}

BOOL CF1Book::GetShowTypeMarkers()
{
	BOOL result;
	GetProperty(0x6c, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetShowTypeMarkers(BOOL propVal)
{
	SetProperty(0x6c, VT_BOOL, propVal);
}

long CF1Book::GetShowTabs()
{
	long result;
	GetProperty(0x6d, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetShowTabs(long propVal)
{
	SetProperty(0x6d, VT_I4, propVal);
}

BOOL CF1Book::GetShowEditBar()
{
	BOOL result;
	GetProperty(0x6e, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetShowEditBar(BOOL propVal)
{
	SetProperty(0x6e, VT_BOOL, propVal);
}

BOOL CF1Book::GetShowEditBarCellRef()
{
	BOOL result;
	GetProperty(0x6f, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetShowEditBarCellRef(BOOL propVal)
{
	SetProperty(0x6f, VT_BOOL, propVal);
}

BOOL CF1Book::GetAllowDesigner()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetAllowDesigner(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

OLE_HANDLE CF1Book::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

BOOL CF1Book::GetAllowAutoFill()
{
	BOOL result;
	GetProperty(0x70, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetAllowAutoFill(BOOL propVal)
{
	SetProperty(0x70, VT_BOOL, propVal);
}

BOOL CF1Book::GetCompressed()
{
	BOOL result;
	GetProperty(0x12b, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetCompressed(BOOL propVal)
{
	SetProperty(0x12b, VT_BOOL, propVal);
}

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

void CF1Book::SetFontName(LPCTSTR propVal)
{
	SetProperty(0x514, VT_BSTR, propVal);
}

short CF1Book::GetFontSize()
{
	short result;
	GetProperty(0x515, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetFontSize(short propVal)
{
	SetProperty(0x515, VT_I2, propVal);
}

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

void CF1Book::SetFontBold(BOOL propVal)
{
	SetProperty(0x516, VT_BOOL, propVal);
}

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

void CF1Book::SetFontItalic(BOOL propVal)
{
	SetProperty(0x517, VT_BOOL, propVal);
}

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

void CF1Book::SetFontUnderline(BOOL propVal)
{
	SetProperty(0x518, VT_BOOL, propVal);
}

BOOL CF1Book::GetFontStrikeout()
{
	BOOL result;
	GetProperty(0x519, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetFontStrikeout(BOOL propVal)
{
	SetProperty(0x519, VT_BOOL, propVal);
}

unsigned long CF1Book::GetFontColor()
{
	unsigned long result;
	GetProperty(0x51a, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetFontColor(unsigned long propVal)
{
	SetProperty(0x51a, VT_I4, propVal);
}

long CF1Book::GetFontCharSet()
{
	long result;
	GetProperty(0x599, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetFontCharSet(long propVal)
{
	SetProperty(0x599, VT_I4, propVal);
}

long CF1Book::GetHAlign()
{
	long result;
	GetProperty(0x51b, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetHAlign(long propVal)
{
	SetProperty(0x51b, VT_I4, propVal);
}

BOOL CF1Book::GetWordWrap()
{
	BOOL result;
	GetProperty(0x51c, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetWordWrap(BOOL propVal)
{
	SetProperty(0x51c, VT_BOOL, propVal);
}

long CF1Book::GetVAlign()
{
	long result;
	GetProperty(0x51d, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetVAlign(long propVal)
{
	SetProperty(0x51d, VT_I4, propVal);
}

BOOL CF1Book::GetLaunchWorkbookDesigner()
{
	BOOL result;
	GetProperty(0x51e, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetLaunchWorkbookDesigner(BOOL propVal)
{
	SetProperty(0x51e, VT_BOOL, propVal);
}

double CF1Book::GetPrintHeaderMargin()
{
	double result;
	GetProperty(0x51f, VT_R8, (void*)&result);
	return result;
}

void CF1Book::SetPrintHeaderMargin(double propVal)
{
	SetProperty(0x51f, VT_R8, propVal);
}

double CF1Book::GetPrintFooterMargin()
{
	double result;
	GetProperty(0x520, VT_R8, (void*)&result);
	return result;
}

void CF1Book::SetPrintFooterMargin(double propVal)
{
	SetProperty(0x520, VT_R8, propVal);
}

CString CF1Book::GetFormulaLocal()
{
	CString result;
	GetProperty(0x52e, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetFormulaLocal(LPCTSTR propVal)
{
	SetProperty(0x52e, VT_BSTR, propVal);
}

CString CF1Book::GetNumberFormatLocal()
{
	CString result;
	GetProperty(0x532, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetNumberFormatLocal(LPCTSTR propVal)
{
	SetProperty(0x532, VT_BSTR, propVal);
}

CString CF1Book::GetSelectionLocal()
{
	CString result;
	GetProperty(0x533, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetSelectionLocal(LPCTSTR propVal)
{
	SetProperty(0x533, VT_BSTR, propVal);
}

CString CF1Book::GetDataTransferRange()
{
	CString result;
	GetProperty(0x536, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetDataTransferRange(LPCTSTR propVal)
{
	SetProperty(0x536, VT_BSTR, propVal);
}

BOOL CF1Book::GetCanEditPaste()
{
	BOOL result;
	GetProperty(0x540, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetCanEditPaste(BOOL propVal)
{
	SetProperty(0x540, VT_BOOL, propVal);
}

short CF1Book::GetObjPatternStyle()
{
	short result;
	GetProperty(0x54a, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetObjPatternStyle(short propVal)
{
	SetProperty(0x54a, VT_I2, propVal);
}

unsigned long CF1Book::GetObjPatternFG()
{
	unsigned long result;
	GetProperty(0x54b, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetObjPatternFG(unsigned long propVal)
{
	SetProperty(0x54b, VT_I4, propVal);
}

unsigned long CF1Book::GetObjPatternBG()
{
	unsigned long result;
	GetProperty(0x54c, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetObjPatternBG(unsigned long propVal)
{
	SetProperty(0x54c, VT_I4, propVal);
}

CString CF1Book::GetDefaultFontName()
{
	CString result;
	GetProperty(0x551, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetDefaultFontName(LPCTSTR propVal)
{
	SetProperty(0x551, VT_BSTR, propVal);
}

short CF1Book::GetDefaultFontSize()
{
	short result;
	GetProperty(0x552, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetDefaultFontSize(short propVal)
{
	SetProperty(0x552, VT_I2, propVal);
}

BOOL CF1Book::GetSelHdrRow()
{
	BOOL result;
	GetProperty(0x553, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetSelHdrRow(BOOL propVal)
{
	SetProperty(0x553, VT_BOOL, propVal);
}

BOOL CF1Book::GetSelHdrCol()
{
	BOOL result;
	GetProperty(0x554, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetSelHdrCol(BOOL propVal)
{
	SetProperty(0x554, VT_BOOL, propVal);
}

BOOL CF1Book::GetSelHdrTopLeft()
{
	BOOL result;
	GetProperty(0x555, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetSelHdrTopLeft(BOOL propVal)
{
	SetProperty(0x555, VT_BOOL, propVal);
}

BOOL CF1Book::GetIterationEnabled()
{
	BOOL result;
	GetProperty(0x556, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetIterationEnabled(BOOL propVal)
{
	SetProperty(0x556, VT_BOOL, propVal);
}

short CF1Book::GetIterationMax()
{
	short result;
	GetProperty(0x557, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetIterationMax(short propVal)
{
	SetProperty(0x557, VT_I2, propVal);
}

double CF1Book::GetIterationMaxChange()
{
	double result;
	GetProperty(0x558, VT_R8, (void*)&result);
	return result;
}

void CF1Book::SetIterationMaxChange(double propVal)
{
	SetProperty(0x558, VT_R8, propVal);
}

short CF1Book::GetPrintScale()
{
	short result;
	GetProperty(0x56d, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetPrintScale(short propVal)
{
	SetProperty(0x56d, VT_I2, propVal);
}

BOOL CF1Book::GetPrintScaleFitToPage()
{
	BOOL result;
	GetProperty(0x56e, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetPrintScaleFitToPage(BOOL propVal)
{
	SetProperty(0x56e, VT_BOOL, propVal);
}

long CF1Book::GetPrintScaleFitVPages()
{
	long result;
	GetProperty(0x570, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetPrintScaleFitVPages(long propVal)
{
	SetProperty(0x570, VT_I4, propVal);
}

long CF1Book::GetPrintScaleFitHPages()
{
	long result;
	GetProperty(0x56f, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetPrintScaleFitHPages(long propVal)
{
	SetProperty(0x56f, VT_I4, propVal);
}

short CF1Book::GetLineStyle()
{
	short result;
	GetProperty(0x573, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetLineStyle(short propVal)
{
	SetProperty(0x573, VT_I2, propVal);
}

unsigned long CF1Book::GetLineColor()
{
	unsigned long result;
	GetProperty(0x574, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetLineColor(unsigned long propVal)
{
	SetProperty(0x574, VT_I4, propVal);
}

short CF1Book::GetLineWeight()
{
	short result;
	GetProperty(0x575, VT_I2, (void*)&result);
	return result;
}

void CF1Book::SetLineWeight(short propVal)
{
	SetProperty(0x575, VT_I2, propVal);
}

CString CF1Book::GetODBCSQLState()
{
	CString result;
	GetProperty(0x57b, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetODBCSQLState(LPCTSTR propVal)
{
	SetProperty(0x57b, VT_BSTR, propVal);
}

long CF1Book::GetODBCNativeError()
{
	long result;
	GetProperty(0x57c, VT_I4, (void*)&result);
	return result;
}

void CF1Book::SetODBCNativeError(long propVal)
{
	SetProperty(0x57c, VT_I4, propVal);
}

CString CF1Book::GetODBCErrorMsg()
{
	CString result;
	GetProperty(0x57d, VT_BSTR, (void*)&result);
	return result;
}

void CF1Book::SetODBCErrorMsg(LPCTSTR propVal)
{
	SetProperty(0x57d, VT_BSTR, propVal);
}

BOOL CF1Book::GetDataTransferHeadings()
{
	BOOL result;
	GetProperty(0x585, VT_BOOL, (void*)&result);
	return result;
}

void CF1Book::SetDataTransferHeadings(BOOL propVal)
{
	SetProperty(0x585, VT_BOOL, propVal);

⌨️ 快捷键说明

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