📄 spreadsheet.h
字号:
#if !defined(AFX_SPREADSHEET_H__FB663E02_E68C_11D6_888A_5254AB281610__INCLUDED_)
#define AFX_SPREADSHEET_H__FB663E02_E68C_11D6_888A_5254AB281610__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 COleFont;
/////////////////////////////////////////////////////////////////////////////
// CSpreadSheet wrapper class
class CSpreadSheet : public CWnd
{
protected:
DECLARE_DYNCREATE(CSpreadSheet)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xe2454650, 0x4d87, 0x11d2, { 0xb8, 0xb2, 0x0, 0x0, 0xc0, 0xa, 0x95, 0x8c } };
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:
long GetAction();
void SetAction(long);
long GetActiveCol();
void SetActiveCol(long);
long GetActiveRow();
void SetActiveRow(long);
BOOL GetAllowCellOverflow();
void SetAllowCellOverflow(BOOL);
BOOL GetAllowDragDrop();
void SetAllowDragDrop(BOOL);
BOOL GetAllowMultiBlocks();
void SetAllowMultiBlocks(BOOL);
BOOL GetAllowUserFormulas();
void SetAllowUserFormulas(BOOL);
BOOL GetArrowsExitEditMode();
void SetArrowsExitEditMode(BOOL);
BOOL GetAutoCalc();
void SetAutoCalc(BOOL);
BOOL GetAutoClipboard();
void SetAutoClipboard(BOOL);
BOOL GetAutoSize();
void SetAutoSize(BOOL);
BOOL GetBlockMode();
void SetBlockMode(BOOL);
short GetButtonDrawMode();
void SetButtonDrawMode(short);
unsigned long GetCellBorderColor();
void SetCellBorderColor(unsigned long);
long GetCellBorderStyle();
void SetCellBorderStyle(long);
short GetCellBorderType();
void SetCellBorderType(short);
long GetCellType();
void SetCellType(long);
BOOL GetChangeMade();
void SetChangeMade(BOOL);
CString GetClip();
void SetClip(LPCTSTR);
CString GetClipValue();
void SetClipValue(LPCTSTR);
long GetCol();
void SetCol(long);
long GetCol2();
void SetCol2(long);
long GetColHeaderDisplay();
void SetColHeaderDisplay(long);
BOOL GetColHidden();
void SetColHidden(BOOL);
BOOL GetColPageBreak();
void SetColPageBreak(BOOL);
long GetColsFrozen();
void SetColsFrozen(long);
long GetCursorStyle();
void SetCursorStyle(long);
long GetCursorType();
void SetCursorType(long);
BOOL GetDataChanged();
void SetDataChanged(BOOL);
long GetDataColCnt();
void SetDataColCnt(long);
CString GetDataField();
void SetDataField(LPCTSTR);
BOOL GetDataFillEvent();
void SetDataFillEvent(BOOL);
long GetDataRowCnt();
void SetDataRowCnt(long);
LPUNKNOWN GetDataSource();
void SetDataSource(LPUNKNOWN);
BOOL GetDAutoCellTypes();
void SetDAutoCellTypes(BOOL);
BOOL GetDAutoFill();
void SetDAutoFill(BOOL);
BOOL GetDAutoHeadings();
void SetDAutoHeadings(BOOL);
BOOL GetDAutoSave();
void SetDAutoSave(BOOL);
long GetDAutoSizeCols();
void SetDAutoSizeCols(long);
long GetDestCol();
void SetDestCol(long);
long GetDestRow();
void SetDestRow(long);
BOOL GetDInformActiveRowChange();
void SetDInformActiveRowChange(BOOL);
BOOL GetDisplayColHeaders();
void SetDisplayColHeaders(BOOL);
BOOL GetDisplayRowHeaders();
void SetDisplayRowHeaders(BOOL);
long GetEditEnterAction();
void SetEditEnterAction(long);
BOOL GetEditMode();
void SetEditMode(BOOL);
BOOL GetEditModePermanent();
void SetEditModePermanent(BOOL);
BOOL GetEditModeReplace();
void SetEditModeReplace(BOOL);
short GetFileNum();
void SetFileNum(short);
short GetFloatDefCurrencyChar();
void SetFloatDefCurrencyChar(short);
short GetFloatDefDecimalChar();
void SetFloatDefDecimalChar(short);
short GetFloatDefSepChar();
void SetFloatDefSepChar(short);
CString GetFormula();
void SetFormula(LPCTSTR);
unsigned long GetGrayAreaBackColor();
void SetGrayAreaBackColor(unsigned long);
unsigned long GetGridColor();
void SetGridColor(unsigned long);
BOOL GetGridShowHoriz();
void SetGridShowHoriz(BOOL);
BOOL GetGridShowVert();
void SetGridShowVert(BOOL);
BOOL GetGridSolid();
void SetGridSolid(BOOL);
long GetHDCPrinter();
void SetHDCPrinter(long);
short GetInterfaceDesigner();
void SetInterfaceDesigner(short);
BOOL GetIsBlockSelected();
void SetIsBlockSelected(BOOL);
long GetLeftCol();
void SetLeftCol(long);
BOOL GetLock();
void SetLock(BOOL);
unsigned long GetLockBackColor();
void SetLockBackColor(unsigned long);
unsigned long GetLockForeColor();
void SetLockForeColor(unsigned long);
long GetMaxCols();
void SetMaxCols(long);
long GetMaxRows();
void SetMaxRows(long);
double GetMaxTextCellHeight();
void SetMaxTextCellHeight(double);
double GetMaxTextCellWidth();
void SetMaxTextCellWidth(double);
BOOL GetMoveActiveOnFocus();
void SetMoveActiveOnFocus(BOOL);
long GetMultiSelCount();
void SetMultiSelCount(long);
long GetMultiSelIndex();
void SetMultiSelIndex(long);
BOOL GetNoBeep();
void SetNoBeep(BOOL);
BOOL GetNoBorder();
void SetNoBorder(BOOL);
long GetOperationMode();
void SetOperationMode(long);
long GetPosition();
void SetPosition(long);
CString GetPrintAbortMsg();
void SetPrintAbortMsg(LPCTSTR);
BOOL GetPrintBorder();
void SetPrintBorder(BOOL);
BOOL GetPrintColHeaders();
void SetPrintColHeaders(BOOL);
BOOL GetPrintColor();
void SetPrintColor(BOOL);
CString GetPrintFooter();
void SetPrintFooter(LPCTSTR);
BOOL GetPrintGrid();
void SetPrintGrid(BOOL);
CString GetPrintHeader();
void SetPrintHeader(LPCTSTR);
CString GetPrintJobName();
void SetPrintJobName(LPCTSTR);
long GetPrintMarginBottom();
void SetPrintMarginBottom(long);
long GetPrintMarginLeft();
void SetPrintMarginLeft(long);
long GetPrintMarginRight();
void SetPrintMarginRight(long);
long GetPrintMarginTop();
void SetPrintMarginTop(long);
short GetPrintPageEnd();
void SetPrintPageEnd(short);
short GetPrintPageStart();
void SetPrintPageStart(short);
BOOL GetPrintRowHeaders();
void SetPrintRowHeaders(BOOL);
BOOL GetPrintShadows();
void SetPrintShadows(BOOL);
long GetPrintType();
void SetPrintType(long);
BOOL GetPrintUseDataMax();
void SetPrintUseDataMax(BOOL);
BOOL GetProcessTab();
void SetProcessTab(BOOL);
BOOL GetProtect();
void SetProtect(BOOL);
BOOL GetReDraw();
void SetReDraw(BOOL);
BOOL GetRestrictCols();
void SetRestrictCols(BOOL);
BOOL GetRestrictRows();
void SetRestrictRows(BOOL);
BOOL GetRetainSelBlock();
void SetRetainSelBlock(BOOL);
long GetRow();
void SetRow(long);
long GetRow2();
void SetRow2(long);
long GetRowHeaderDisplay();
void SetRowHeaderDisplay(long);
BOOL GetRowHidden();
void SetRowHidden(BOOL);
BOOL GetRowPageBreak();
void SetRowPageBreak(BOOL);
long GetRowsFrozen();
void SetRowsFrozen(long);
BOOL GetScrollBarExtMode();
void SetScrollBarExtMode(BOOL);
BOOL GetScrollBarMaxAlign();
void SetScrollBarMaxAlign(BOOL);
long GetScrollBars();
void SetScrollBars(long);
BOOL GetScrollBarShowMax();
void SetScrollBarShowMax(BOOL);
long GetSelBlockCol();
void SetSelBlockCol(long);
long GetSelBlockCol2();
void SetSelBlockCol2(long);
long GetSelBlockRow();
void SetSelBlockRow(long);
long GetSelBlockRow2();
void SetSelBlockRow2(long);
short GetSelectBlockOptions();
void SetSelectBlockOptions(short);
long GetSelLength();
void SetSelLength(long);
long GetSelModeIndex();
void SetSelModeIndex(long);
long GetSelModeSelCount();
void SetSelModeSelCount(long);
BOOL GetSelModeSelected();
void SetSelModeSelected(BOOL);
long GetSelStart();
void SetSelStart(long);
CString GetSelText();
void SetSelText(LPCTSTR);
unsigned long GetShadowColor();
void SetShadowColor(unsigned long);
unsigned long GetShadowDark();
void SetShadowDark(unsigned long);
unsigned long GetShadowText();
void SetShadowText(unsigned long);
long GetSortBy();
void SetSortBy(long);
long GetStartingColNumber();
void SetStartingColNumber(long);
long GetStartingRowNumber();
void SetStartingRowNumber(long);
long GetTopRow();
void SetTopRow(long);
long GetTypeButtonAlign();
void SetTypeButtonAlign(long);
unsigned long GetTypeButtonBorderColor();
void SetTypeButtonBorderColor(unsigned long);
unsigned long GetTypeButtonColor();
void SetTypeButtonColor(unsigned long);
unsigned long GetTypeButtonDarkColor();
void SetTypeButtonDarkColor(unsigned long);
unsigned long GetTypeButtonLightColor();
void SetTypeButtonLightColor(unsigned long);
CPicture GetTypeButtonPicture();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -