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

📄 f1book.h

📁 这是本人两年前兼职为某个公司做的石油钻进设计软件
💻 H
📖 第 1 页 / 共 2 页
字号:
#if !defined(AFX_F1BOOK_H__27971EB1_991F_43E0_9CCE_A48230BAA51B__INCLUDED_)
#define AFX_F1BOOK_H__27971EB1_991F_43E0_9CCE_A48230BAA51B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.


// Dispatch interfaces referenced by this interface
class CPicture;
class CF1RangeRef;
class CF1ObjPos;
class CF1Rect;
class CF1ReplaceResults;
class CF1ODBCQuery;
class CF1ODBCConnect;
class CF1BookView;
class CF1FileSpec;
class CF1NumberFormat;
class CF1CellFormat;
class CF1FindReplaceInfo;
class CF1PageSetup;

/////////////////////////////////////////////////////////////////////////////
// CF1Book wrapper class

class CF1Book : public CWnd
{
protected:
	DECLARE_DYNCREATE(CF1Book)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xb0475003, 0x7740, 0x11d1, { 0xbd, 0xc3, 0x0, 0x20, 0xaf, 0x9f, 0x8e, 0x6e } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	unsigned long GetBackColor();
	void SetBackColor(unsigned long);
	long GetCol();
	void SetCol(long);
	long GetRow();
	void SetRow(long);
	long GetShowHScrollBar();
	void SetShowHScrollBar(long);
	CString GetText();
	void SetText(LPCTSTR);
	double GetNumber();
	void SetNumber(double);
	CString GetFormula();
	void SetFormula(LPCTSTR);
	long GetFixedCol();
	void SetFixedCol(long);
	long GetFixedCols();
	void SetFixedCols(long);
	long GetFixedRow();
	void SetFixedRow(long);
	long GetFixedRows();
	void SetFixedRows(long);
	BOOL GetShowGridLines();
	void SetShowGridLines(BOOL);
	BOOL GetShowRowHeading();
	void SetShowRowHeading(BOOL);
	long GetShowSelections();
	void SetShowSelections(long);
	long GetLeftCol();
	void SetLeftCol(long);
	long GetMaxCol();
	void SetMaxCol(long);
	long GetMaxRow();
	void SetMaxRow(long);
	long GetTopRow();
	void SetTopRow(long);
	BOOL GetAllowResize();
	void SetAllowResize(BOOL);
	BOOL GetAllowSelections();
	void SetAllowSelections(BOOL);
	BOOL GetAllowFormulas();
	void SetAllowFormulas(BOOL);
	BOOL GetAllowInCellEditing();
	void SetAllowInCellEditing(BOOL);
	long GetShowVScrollBar();
	void SetShowVScrollBar(long);
	BOOL GetAllowFillRange();
	void SetAllowFillRange(BOOL);
	BOOL GetAllowMoveRange();
	void SetAllowMoveRange(BOOL);
	long GetSelStartCol();
	void SetSelStartCol(long);
	long GetSelStartRow();
	void SetSelStartRow(long);
	long GetSelEndCol();
	void SetSelEndCol(long);
	long GetSelEndRow();
	void SetSelEndRow(long);
	unsigned long GetExtraColor();
	void SetExtraColor(unsigned long);
	CString GetFileName();
	void SetFileName(LPCTSTR);
	BOOL GetAutoRecalc();
	void SetAutoRecalc(BOOL);
	BOOL GetPrintGridLines();
	void SetPrintGridLines(BOOL);
	BOOL GetPrintRowHeading();
	void SetPrintRowHeading(BOOL);
	BOOL GetPrintHCenter();
	void SetPrintHCenter(BOOL);
	BOOL GetPrintVCenter();
	void SetPrintVCenter(BOOL);
	BOOL GetPrintLeftToRight();
	void SetPrintLeftToRight(BOOL);
	CString GetPrintHeader();
	void SetPrintHeader(LPCTSTR);
	CString GetPrintFooter();
	void SetPrintFooter(LPCTSTR);
	double GetPrintLeftMargin();
	void SetPrintLeftMargin(double);
	double GetPrintTopMargin();
	void SetPrintTopMargin(double);
	double GetPrintRightMargin();
	void SetPrintRightMargin(double);
	double GetPrintBottomMargin();
	void SetPrintBottomMargin(double);
	CString GetPrintArea();
	void SetPrintArea(LPCTSTR);
	CString GetPrintTitles();
	void SetPrintTitles(LPCTSTR);
	BOOL GetPrintNoColor();
	void SetPrintNoColor(BOOL);
	CString GetSelection();
	void SetSelection(LPCTSTR);
	CString GetTableName();
	void SetTableName(LPCTSTR);
	BOOL GetDoCancelEdit();
	void SetDoCancelEdit(BOOL);
	BOOL GetDoSelChange();
	void SetDoSelChange(BOOL);
	BOOL GetDoStartEdit();
	void SetDoStartEdit(BOOL);
	BOOL GetDoEndEdit();
	void SetDoEndEdit(BOOL);
	BOOL GetDoStartRecalc();
	void SetDoStartRecalc(BOOL);
	BOOL GetDoEndRecalc();
	void SetDoEndRecalc(BOOL);
	BOOL GetDoClick();
	void SetDoClick(BOOL);
	BOOL GetDoDblClick();
	void SetDoDblClick(BOOL);
	BOOL GetShowColHeading();
	void SetShowColHeading(BOOL);
	BOOL GetPrintColHeading();
	void SetPrintColHeading(BOOL);
	CString GetEntry();
	void SetEntry(LPCTSTR);
	BOOL GetRepaint();
	void SetRepaint(BOOL);
	BOOL GetAllowArrows();
	void SetAllowArrows(BOOL);
	BOOL GetAllowTabs();
	void SetAllowTabs(BOOL);
	CString GetFormattedText();
	void SetFormattedText(LPCTSTR);
	BOOL GetRowMode();
	void SetRowMode(BOOL);
	BOOL GetAllowDelete();
	void SetAllowDelete(BOOL);
	BOOL GetEnableProtection();
	void SetEnableProtection(BOOL);
	long GetMinCol();
	void SetMinCol(long);
	long GetMinRow();
	void SetMinRow(long);
	BOOL GetDoTopLeftChanged();
	void SetDoTopLeftChanged(BOOL);
	BOOL GetAllowEditHeaders();
	void SetAllowEditHeaders(BOOL);
	BOOL GetDoObjClick();
	void SetDoObjClick(BOOL);
	BOOL GetDoObjDblClick();
	void SetDoObjDblClick(BOOL);
	BOOL GetAllowObjSelections();
	void SetAllowObjSelections(BOOL);
	BOOL GetDoRClick();
	void SetDoRClick(BOOL);
	BOOL GetDoRDblClick();
	void SetDoRDblClick(BOOL);
	CString GetClip();
	void SetClip(LPCTSTR);
	CString GetClipValues();
	void SetClipValues(LPCTSTR);
	BOOL GetPrintLandscape();
	void SetPrintLandscape(BOOL);
	BOOL GetEnabled();
	void SetEnabled(BOOL);
	short GetBorderStyle();
	void SetBorderStyle(short);
	CString GetAppName();
	void SetAppName(LPCTSTR);
	short GetHdrHeight();
	void SetHdrHeight(short);
	short GetHdrWidth();
	void SetHdrWidth(short);
	CString GetNumberFormat();
	void SetNumberFormat(LPCTSTR);
	CString GetTopLeftText();
	void SetTopLeftText(LPCTSTR);
	BOOL GetEnterMovesDown();
	void SetEnterMovesDown(BOOL);
	long GetLastCol();
	void SetLastCol(long);
	long GetLastRow();
	void SetLastRow(long);
	BOOL GetLogical();
	void SetLogical(BOOL);
	long GetMode();
	void SetMode(long);
	long GetPolyEditMode();
	void SetPolyEditMode(long);
	short GetViewScale();
	void SetViewScale(short);
	short GetSelectionCount();
	void SetSelectionCount(short);
	CString GetTitle();
	void SetTitle(LPCTSTR);
	short GetType();
	void SetType(short);
	BOOL GetShowFormulas();
	void SetShowFormulas(BOOL);
	BOOL GetShowZeroValues();
	void SetShowZeroValues(BOOL);
	BOOL GetDoObjValueChanged();
	void SetDoObjValueChanged(BOOL);
	BOOL GetScrollToLastRC();
	void SetScrollToLastRC(BOOL);
	BOOL GetModified();
	void SetModified(BOOL);
	BOOL GetDoObjGotFocus();
	void SetDoObjGotFocus(BOOL);
	BOOL GetDoObjLostFocus();
	void SetDoObjLostFocus(BOOL);
	long GetPrintDevMode();
	void SetPrintDevMode(long);
	long GetNumSheets();
	void SetNumSheets(long);
	long GetSheet();
	void SetSheet(long);
	long GetColWidthUnits();
	void SetColWidthUnits(long);
	BOOL GetShowTypeMarkers();
	void SetShowTypeMarkers(BOOL);
	long GetShowTabs();
	void SetShowTabs(long);
	BOOL GetShowEditBar();
	void SetShowEditBar(BOOL);
	BOOL GetShowEditBarCellRef();
	void SetShowEditBarCellRef(BOOL);
	BOOL GetAllowDesigner();
	void SetAllowDesigner(BOOL);
	OLE_HANDLE GetHWnd();
	void SetHWnd(OLE_HANDLE);
	BOOL GetAllowAutoFill();
	void SetAllowAutoFill(BOOL);
	BOOL GetCompressed();
	void SetCompressed(BOOL);
	CString GetFontName();
	void SetFontName(LPCTSTR);
	short GetFontSize();
	void SetFontSize(short);
	BOOL GetFontBold();
	void SetFontBold(BOOL);
	BOOL GetFontItalic();
	void SetFontItalic(BOOL);
	BOOL GetFontUnderline();
	void SetFontUnderline(BOOL);
	BOOL GetFontStrikeout();
	void SetFontStrikeout(BOOL);
	unsigned long GetFontColor();
	void SetFontColor(unsigned long);
	long GetFontCharSet();
	void SetFontCharSet(long);
	long GetHAlign();
	void SetHAlign(long);
	BOOL GetWordWrap();
	void SetWordWrap(BOOL);
	long GetVAlign();
	void SetVAlign(long);
	BOOL GetLaunchWorkbookDesigner();
	void SetLaunchWorkbookDesigner(BOOL);
	double GetPrintHeaderMargin();
	void SetPrintHeaderMargin(double);
	double GetPrintFooterMargin();
	void SetPrintFooterMargin(double);
	CString GetFormulaLocal();
	void SetFormulaLocal(LPCTSTR);
	CString GetNumberFormatLocal();
	void SetNumberFormatLocal(LPCTSTR);
	CString GetSelectionLocal();
	void SetSelectionLocal(LPCTSTR);
	CString GetDataTransferRange();
	void SetDataTransferRange(LPCTSTR);
	BOOL GetCanEditPaste();
	void SetCanEditPaste(BOOL);
	short GetObjPatternStyle();
	void SetObjPatternStyle(short);
	unsigned long GetObjPatternFG();
	void SetObjPatternFG(unsigned long);
	unsigned long GetObjPatternBG();
	void SetObjPatternBG(unsigned long);
	CString GetDefaultFontName();
	void SetDefaultFontName(LPCTSTR);
	short GetDefaultFontSize();
	void SetDefaultFontSize(short);
	BOOL GetSelHdrRow();
	void SetSelHdrRow(BOOL);
	BOOL GetSelHdrCol();
	void SetSelHdrCol(BOOL);
	BOOL GetSelHdrTopLeft();
	void SetSelHdrTopLeft(BOOL);
	BOOL GetIterationEnabled();
	void SetIterationEnabled(BOOL);
	short GetIterationMax();
	void SetIterationMax(short);
	double GetIterationMaxChange();
	void SetIterationMaxChange(double);
	short GetPrintScale();
	void SetPrintScale(short);
	BOOL GetPrintScaleFitToPage();
	void SetPrintScaleFitToPage(BOOL);
	long GetPrintScaleFitVPages();
	void SetPrintScaleFitVPages(long);
	long GetPrintScaleFitHPages();
	void SetPrintScaleFitHPages(long);
	short GetLineStyle();
	void SetLineStyle(short);
	unsigned long GetLineColor();
	void SetLineColor(unsigned long);
	short GetLineWeight();

⌨️ 快捷键说明

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