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

📄 pdfocx.h

📁 pdf文件编辑工具控件
💻 H
字号:
// 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.

/////////////////////////////////////////////////////////////////////////////
// CPdfocx wrapper class

class CPdfocx : public CWnd
{
protected:
	DECLARE_DYNCREATE(CPdfocx)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x81300bfb, 0x1a9b, 0x4aa5, { 0xa1, 0x1c, 0x5c, 0xcf, 0x55, 0xb2, 0x48, 0x8 } };
		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 ClosePDFFile();
	long GetPageCount();
	BOOL GotoPage(long pageno);
	BOOL OpenPDFFile(LPCTSTR szFileName, LPCTSTR szOwnPass, LPCTSTR szUsePass, short dpi);
	float SetZoom(float dpi);
	float GetZoom();
	long FindText(LPCTSTR ptrText);
	void SetViewType(short m_iViewType);
	short GetViewType();
	void ShowToolbar(BOOL m_bShow);
	BOOL IsShowToolbar();
	void Register(LPCTSTR key1, LPCTSTR key2);
	void ShowLeftPanel(BOOL m_bShow);
	BOOL IsShowLeftPanel();
	BOOL IsOpenFile();
	CString GetFileName();
	long GetCurrentPage();
	BOOL IsZoomInEnable();
	BOOL IsZoomOutEnable();
	void SetViewMode(short nMode);
	short GetViewMode();
	void CreateComment(short nType);
	void GetZoomRange(float* fMin, float* fMax);
	void PrintPDFFile();
	void EmailDocument();
	long InvokeMethod(long nID, long wParam, long* lParam);
	void CreateContent(short nType);
	void SavePDFFile(LPCTSTR szFileName);
	void SaveAsPicture(LPCTSTR szFileName, long nStartPage, long nEndPage, long nDpiX, long nDpiY);
	BOOL RemoveLeftPanel(long iRemove);
	BOOL MainToolbarDeleteButton(long nIndex);
	long GetMainImageHWnd();
	void SetOrderID(LPCTSTR lpOrderID, LPCTSTR lpCompany, LPCTSTR lpEmail);
	BOOL MainToolbarHideButton(long nID, BOOL hHide);
	BOOL SetMessageCallback(long hWndCaptureMouse, long uMessageIDCaptureMouse, long pDataCaptureMouse);
	long GetTextContent(long iPageNo, long* lpTextContent);
	void SetMessageCallbackFunc(long* lpCallbackFunc, long lUserData);
	long ConvertPDFToImage(LPCTSTR lpPDFFile, LPCTSTR lpImageFile, long xResolution, long yResolution, long iCompression, long iIsMultiPage, long iFirstPage, long iLastPage, long iBitCount, long iGrayscale);
	void AboutBox();
};

⌨️ 快捷键说明

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