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

📄 f1book.cpp

📁 这是本人两年前兼职为某个公司做的石油钻进设计软件
💻 CPP
📖 第 1 页 / 共 5 页
字号:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


#include "stdafx.h"
#include "f1book.h"

// Dispatch interfaces referenced by this interface
#include "Picture.h"
#include "F1RangeRef.h"
#include "F1ObjPos.h"
#include "F1Rect.h"
#include "F1ReplaceResults.h"
#include "F1ODBCQuery.h"
#include "F1ODBCConnect.h"
#include "F1BookView.h"
#include "F1FileSpec.h"
#include "F1NumberFormat.h"
#include "F1CellFormat.h"
#include "F1FindReplaceInfo.h"
#include "F1PageSetup.h"

/////////////////////////////////////////////////////////////////////////////
// CF1Book

IMPLEMENT_DYNCREATE(CF1Book, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CF1Book properties

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

void CF1Book::SetBackColor(unsigned long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

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

void CF1Book::SetCol(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

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

void CF1Book::SetRow(long propVal)
{
	SetProperty(0x5, VT_I4, propVal);
}

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

void CF1Book::SetShowHScrollBar(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

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

void CF1Book::SetText(LPCTSTR propVal)
{
	SetProperty(0x7, VT_BSTR, propVal);
}

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

void CF1Book::SetNumber(double propVal)
{
	SetProperty(0x8, VT_R8, propVal);
}

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

void CF1Book::SetFormula(LPCTSTR propVal)
{
	SetProperty(0x9, VT_BSTR, propVal);
}

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

void CF1Book::SetFixedCol(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

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

void CF1Book::SetFixedCols(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

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

void CF1Book::SetFixedRow(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

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

void CF1Book::SetFixedRows(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

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

void CF1Book::SetShowGridLines(BOOL propVal)
{
	SetProperty(0xe, VT_BOOL, propVal);
}

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

void CF1Book::SetShowRowHeading(BOOL propVal)
{
	SetProperty(0xf, VT_BOOL, propVal);
}

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

void CF1Book::SetShowSelections(long propVal)
{
	SetProperty(0x10, VT_I4, propVal);
}

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

void CF1Book::SetLeftCol(long propVal)
{
	SetProperty(0x11, VT_I4, propVal);
}

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

void CF1Book::SetMaxCol(long propVal)
{
	SetProperty(0x12, VT_I4, propVal);
}

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

void CF1Book::SetMaxRow(long propVal)
{
	SetProperty(0x13, VT_I4, propVal);
}

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

void CF1Book::SetTopRow(long propVal)
{
	SetProperty(0x14, VT_I4, propVal);
}

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

void CF1Book::SetAllowResize(BOOL propVal)
{
	SetProperty(0x15, VT_BOOL, propVal);
}

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

void CF1Book::SetAllowSelections(BOOL propVal)
{
	SetProperty(0x16, VT_BOOL, propVal);
}

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

void CF1Book::SetAllowFormulas(BOOL propVal)
{
	SetProperty(0x17, VT_BOOL, propVal);
}

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

void CF1Book::SetAllowInCellEditing(BOOL propVal)
{
	SetProperty(0x18, VT_BOOL, propVal);
}

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

void CF1Book::SetShowVScrollBar(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

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

void CF1Book::SetAllowFillRange(BOOL propVal)
{
	SetProperty(0x1a, VT_BOOL, propVal);
}

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

void CF1Book::SetAllowMoveRange(BOOL propVal)
{
	SetProperty(0x1b, VT_BOOL, propVal);
}

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

void CF1Book::SetSelStartCol(long propVal)
{
	SetProperty(0x1c, VT_I4, propVal);
}

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

void CF1Book::SetSelStartRow(long propVal)
{
	SetProperty(0x1d, VT_I4, propVal);
}

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

void CF1Book::SetSelEndCol(long propVal)
{
	SetProperty(0x1e, VT_I4, propVal);
}

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

void CF1Book::SetSelEndRow(long propVal)
{
	SetProperty(0x1f, VT_I4, propVal);
}

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

void CF1Book::SetExtraColor(unsigned long propVal)
{
	SetProperty(0x20, VT_I4, propVal);
}

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

void CF1Book::SetFileName(LPCTSTR propVal)
{
	SetProperty(0x21, VT_BSTR, propVal);
}

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

void CF1Book::SetAutoRecalc(BOOL propVal)
{
	SetProperty(0x22, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintGridLines(BOOL propVal)
{
	SetProperty(0x23, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintRowHeading(BOOL propVal)
{
	SetProperty(0x24, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintHCenter(BOOL propVal)
{
	SetProperty(0x25, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintVCenter(BOOL propVal)
{
	SetProperty(0x26, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintLeftToRight(BOOL propVal)
{
	SetProperty(0x27, VT_BOOL, propVal);
}

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

void CF1Book::SetPrintHeader(LPCTSTR propVal)
{
	SetProperty(0x28, VT_BSTR, propVal);
}

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

void CF1Book::SetPrintFooter(LPCTSTR propVal)
{
	SetProperty(0x29, VT_BSTR, propVal);
}

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

void CF1Book::SetPrintLeftMargin(double propVal)
{
	SetProperty(0x2a, VT_R8, propVal);
}

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

void CF1Book::SetPrintTopMargin(double propVal)
{
	SetProperty(0x2b, VT_R8, propVal);
}

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

void CF1Book::SetPrintRightMargin(double propVal)
{
	SetProperty(0x2c, VT_R8, propVal);
}

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

void CF1Book::SetPrintBottomMargin(double propVal)
{
	SetProperty(0x2d, VT_R8, propVal);
}

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

void CF1Book::SetPrintArea(LPCTSTR propVal)
{
	SetProperty(0x2e, VT_BSTR, propVal);
}

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

void CF1Book::SetPrintTitles(LPCTSTR propVal)
{
	SetProperty(0x2f, VT_BSTR, propVal);
}

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

void CF1Book::SetPrintNoColor(BOOL propVal)
{
	SetProperty(0x30, VT_BOOL, propVal);
}

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

void CF1Book::SetSelection(LPCTSTR propVal)
{
	SetProperty(0x31, VT_BSTR, propVal);
}

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

void CF1Book::SetTableName(LPCTSTR propVal)
{
	SetProperty(0x32, VT_BSTR, propVal);
}

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

void CF1Book::SetDoCancelEdit(BOOL propVal)
{
	SetProperty(0x33, VT_BOOL, propVal);
}

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

void CF1Book::SetDoSelChange(BOOL propVal)
{
	SetProperty(0x34, VT_BOOL, propVal);

⌨️ 快捷键说明

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