📄 f1bookview.cpp
字号:
// 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 "f1bookview.h"
// Dispatch interfaces referenced by this interface
#include "f1rangeref.h"
#include "F1ObjPos.h"
#include "f1rect.h"
#include "f1numberformat.h"
#include "f1cellformat.h"
#include "f1findreplaceinfo.h"
#include "f1pagesetup.h"
/////////////////////////////////////////////////////////////////////////////
// CF1BookView properties
unsigned long CF1BookView::GetBackColor()
{
unsigned long result;
GetProperty(0x3, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetBackColor(unsigned long propVal)
{
SetProperty(0x3, VT_I4, propVal);
}
long CF1BookView::GetCol()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetCol(long propVal)
{
SetProperty(0x4, VT_I4, propVal);
}
long CF1BookView::GetRow()
{
long result;
GetProperty(0x5, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetRow(long propVal)
{
SetProperty(0x5, VT_I4, propVal);
}
long CF1BookView::GetShowHScrollBar()
{
long result;
GetProperty(0x6, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetShowHScrollBar(long propVal)
{
SetProperty(0x6, VT_I4, propVal);
}
CString CF1BookView::GetText()
{
CString result;
GetProperty(0x7, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetText(LPCTSTR propVal)
{
SetProperty(0x7, VT_BSTR, propVal);
}
double CF1BookView::GetNumber()
{
double result;
GetProperty(0x8, VT_R8, (void*)&result);
return result;
}
void CF1BookView::SetNumber(double propVal)
{
SetProperty(0x8, VT_R8, propVal);
}
CString CF1BookView::GetFormula()
{
CString result;
GetProperty(0x9, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetFormula(LPCTSTR propVal)
{
SetProperty(0x9, VT_BSTR, propVal);
}
long CF1BookView::GetFixedCol()
{
long result;
GetProperty(0xa, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetFixedCol(long propVal)
{
SetProperty(0xa, VT_I4, propVal);
}
long CF1BookView::GetFixedCols()
{
long result;
GetProperty(0xb, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetFixedCols(long propVal)
{
SetProperty(0xb, VT_I4, propVal);
}
long CF1BookView::GetFixedRow()
{
long result;
GetProperty(0xc, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetFixedRow(long propVal)
{
SetProperty(0xc, VT_I4, propVal);
}
long CF1BookView::GetFixedRows()
{
long result;
GetProperty(0xd, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetFixedRows(long propVal)
{
SetProperty(0xd, VT_I4, propVal);
}
BOOL CF1BookView::GetShowGridLines()
{
BOOL result;
GetProperty(0xe, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetShowGridLines(BOOL propVal)
{
SetProperty(0xe, VT_BOOL, propVal);
}
BOOL CF1BookView::GetShowRowHeading()
{
BOOL result;
GetProperty(0xf, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetShowRowHeading(BOOL propVal)
{
SetProperty(0xf, VT_BOOL, propVal);
}
long CF1BookView::GetShowSelections()
{
long result;
GetProperty(0x10, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetShowSelections(long propVal)
{
SetProperty(0x10, VT_I4, propVal);
}
long CF1BookView::GetLeftCol()
{
long result;
GetProperty(0x11, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetLeftCol(long propVal)
{
SetProperty(0x11, VT_I4, propVal);
}
long CF1BookView::GetMaxCol()
{
long result;
GetProperty(0x12, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetMaxCol(long propVal)
{
SetProperty(0x12, VT_I4, propVal);
}
long CF1BookView::GetMaxRow()
{
long result;
GetProperty(0x13, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetMaxRow(long propVal)
{
SetProperty(0x13, VT_I4, propVal);
}
long CF1BookView::GetTopRow()
{
long result;
GetProperty(0x14, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetTopRow(long propVal)
{
SetProperty(0x14, VT_I4, propVal);
}
BOOL CF1BookView::GetAllowResize()
{
BOOL result;
GetProperty(0x15, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowResize(BOOL propVal)
{
SetProperty(0x15, VT_BOOL, propVal);
}
BOOL CF1BookView::GetAllowSelections()
{
BOOL result;
GetProperty(0x16, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowSelections(BOOL propVal)
{
SetProperty(0x16, VT_BOOL, propVal);
}
BOOL CF1BookView::GetAllowFormulas()
{
BOOL result;
GetProperty(0x17, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowFormulas(BOOL propVal)
{
SetProperty(0x17, VT_BOOL, propVal);
}
BOOL CF1BookView::GetAllowInCellEditing()
{
BOOL result;
GetProperty(0x18, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowInCellEditing(BOOL propVal)
{
SetProperty(0x18, VT_BOOL, propVal);
}
long CF1BookView::GetShowVScrollBar()
{
long result;
GetProperty(0x19, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetShowVScrollBar(long propVal)
{
SetProperty(0x19, VT_I4, propVal);
}
BOOL CF1BookView::GetAllowFillRange()
{
BOOL result;
GetProperty(0x1a, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowFillRange(BOOL propVal)
{
SetProperty(0x1a, VT_BOOL, propVal);
}
BOOL CF1BookView::GetAllowMoveRange()
{
BOOL result;
GetProperty(0x1b, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAllowMoveRange(BOOL propVal)
{
SetProperty(0x1b, VT_BOOL, propVal);
}
long CF1BookView::GetSelStartCol()
{
long result;
GetProperty(0x1c, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetSelStartCol(long propVal)
{
SetProperty(0x1c, VT_I4, propVal);
}
long CF1BookView::GetSelStartRow()
{
long result;
GetProperty(0x1d, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetSelStartRow(long propVal)
{
SetProperty(0x1d, VT_I4, propVal);
}
long CF1BookView::GetSelEndCol()
{
long result;
GetProperty(0x1e, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetSelEndCol(long propVal)
{
SetProperty(0x1e, VT_I4, propVal);
}
long CF1BookView::GetSelEndRow()
{
long result;
GetProperty(0x1f, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetSelEndRow(long propVal)
{
SetProperty(0x1f, VT_I4, propVal);
}
unsigned long CF1BookView::GetExtraColor()
{
unsigned long result;
GetProperty(0x20, VT_I4, (void*)&result);
return result;
}
void CF1BookView::SetExtraColor(unsigned long propVal)
{
SetProperty(0x20, VT_I4, propVal);
}
CString CF1BookView::GetFileName()
{
CString result;
GetProperty(0x21, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetFileName(LPCTSTR propVal)
{
SetProperty(0x21, VT_BSTR, propVal);
}
BOOL CF1BookView::GetAutoRecalc()
{
BOOL result;
GetProperty(0x22, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetAutoRecalc(BOOL propVal)
{
SetProperty(0x22, VT_BOOL, propVal);
}
BOOL CF1BookView::GetPrintGridLines()
{
BOOL result;
GetProperty(0x23, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintGridLines(BOOL propVal)
{
SetProperty(0x23, VT_BOOL, propVal);
}
BOOL CF1BookView::GetPrintRowHeading()
{
BOOL result;
GetProperty(0x24, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintRowHeading(BOOL propVal)
{
SetProperty(0x24, VT_BOOL, propVal);
}
BOOL CF1BookView::GetPrintHCenter()
{
BOOL result;
GetProperty(0x25, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintHCenter(BOOL propVal)
{
SetProperty(0x25, VT_BOOL, propVal);
}
BOOL CF1BookView::GetPrintVCenter()
{
BOOL result;
GetProperty(0x26, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintVCenter(BOOL propVal)
{
SetProperty(0x26, VT_BOOL, propVal);
}
BOOL CF1BookView::GetPrintLeftToRight()
{
BOOL result;
GetProperty(0x27, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintLeftToRight(BOOL propVal)
{
SetProperty(0x27, VT_BOOL, propVal);
}
CString CF1BookView::GetPrintHeader()
{
CString result;
GetProperty(0x28, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetPrintHeader(LPCTSTR propVal)
{
SetProperty(0x28, VT_BSTR, propVal);
}
CString CF1BookView::GetPrintFooter()
{
CString result;
GetProperty(0x29, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetPrintFooter(LPCTSTR propVal)
{
SetProperty(0x29, VT_BSTR, propVal);
}
double CF1BookView::GetPrintLeftMargin()
{
double result;
GetProperty(0x2a, VT_R8, (void*)&result);
return result;
}
void CF1BookView::SetPrintLeftMargin(double propVal)
{
SetProperty(0x2a, VT_R8, propVal);
}
double CF1BookView::GetPrintTopMargin()
{
double result;
GetProperty(0x2b, VT_R8, (void*)&result);
return result;
}
void CF1BookView::SetPrintTopMargin(double propVal)
{
SetProperty(0x2b, VT_R8, propVal);
}
double CF1BookView::GetPrintRightMargin()
{
double result;
GetProperty(0x2c, VT_R8, (void*)&result);
return result;
}
void CF1BookView::SetPrintRightMargin(double propVal)
{
SetProperty(0x2c, VT_R8, propVal);
}
double CF1BookView::GetPrintBottomMargin()
{
double result;
GetProperty(0x2d, VT_R8, (void*)&result);
return result;
}
void CF1BookView::SetPrintBottomMargin(double propVal)
{
SetProperty(0x2d, VT_R8, propVal);
}
CString CF1BookView::GetPrintArea()
{
CString result;
GetProperty(0x2e, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetPrintArea(LPCTSTR propVal)
{
SetProperty(0x2e, VT_BSTR, propVal);
}
CString CF1BookView::GetPrintTitles()
{
CString result;
GetProperty(0x2f, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetPrintTitles(LPCTSTR propVal)
{
SetProperty(0x2f, VT_BSTR, propVal);
}
BOOL CF1BookView::GetPrintNoColor()
{
BOOL result;
GetProperty(0x30, VT_BOOL, (void*)&result);
return result;
}
void CF1BookView::SetPrintNoColor(BOOL propVal)
{
SetProperty(0x30, VT_BOOL, propVal);
}
CString CF1BookView::GetSelection()
{
CString result;
GetProperty(0x31, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetSelection(LPCTSTR propVal)
{
SetProperty(0x31, VT_BSTR, propVal);
}
CString CF1BookView::GetTableName()
{
CString result;
GetProperty(0x32, VT_BSTR, (void*)&result);
return result;
}
void CF1BookView::SetTableName(LPCTSTR propVal)
{
SetProperty(0x32, VT_BSTR, propVal);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -