📄 _wordctrl.h
字号:
#if !defined(AFX__WORDCTRL_H__E50C3481_E0F5_11D6_888A_5254AB281610__INCLUDED_)
#define AFX__WORDCTRL_H__E50C3481_E0F5_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.
/////////////////////////////////////////////////////////////////////////////
// C_WordCtrl wrapper class
class C_WordCtrl : public CWnd
{
protected:
DECLARE_DYNCREATE(C_WordCtrl)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xa5f2ae85, 0x808f, 0x11d3, { 0x87, 0x7f, 0x0, 0x60, 0x8, 0xc4, 0xf2, 0xeb } };
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:
// Operations
public:
void Main();
CString GetM_sTemplateName();
void SetM_sTemplateName(LPCTSTR lpszNewValue);
void CreateTemplate();
void CloseTemplate();
CString GetM_sDocName();
void SetM_sDocName(LPCTSTR lpszNewValue);
void SaveAsDoc();
void TypeParagraph();
void TypeText(LPCTSTR str);
void CreateTable(short NumRows, short NumCols);
void SetTable(short TableNum);
void SetCell(short NumRow, short numCol, LPCTSTR str);
void SetFont(LPCTSTR FontName, short FontSize, BOOL FontBold);
void TypeTab();
void SetCenter();
void SetJustify();
void SetRange(short StartSign, short EndSign);
void InsertBreak();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX__WORDCTRL_H__E50C3481_E0F5_11D6_888A_5254AB281610__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -