www.pudn.com > PDFView.rar > pdfview.h, change:2009-05-21,size:2535b


// 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. 
 
///////////////////////////////////////////////////////////////////////////// 
// CPdfview wrapper class 
 
class CPdfview : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(CPdfview) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0x433268d7, 0x2cd4, 0x43e6, { 0xaa, 0x24, 0x21, 0x88, 0x67, 0x2e, 0x72, 0x52 } }; 
		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: 
	BOOL OpenPDF(LPCTSTR lpszPDFFile, LPCTSTR lpszUserPwd, LPCTSTR lpszOwnerPwd); 
	void ClosePDF(); 
	long RunCommand(long nCode, long nPara1, long nPara2, long nPara3); 
	void SetFindText(LPCTSTR lpszFindText); 
	void SetViewMode(long nViewMode); 
	void RotateViewLeft(); 
	void RotateViewRight(); 
	void ViewNextPage(); 
	void ViewPreviousPage(); 
	void ViewFirstPage(); 
	void ViewLastPage(); 
	void ViewPage(); 
	void FindPreviousText(); 
	void FindNextText(); 
	void ZoomFitPage(); 
	void ZoomActualPage(); 
	void ZoomFitWidth(); 
	void Zoom(float nZoom); 
	void ViewModeSinglePage(); 
	void ViewModeFacing(); 
	void ViewModeContinuous(); 
	void ViewModeContinuousFacing(); 
	void ShowHideBookmarks(); 
	void SetRegCode(LPCTSTR lpszRegCode); 
	void ZoomIn(); 
	void ZoomOut(); 
	void ViewGotoPage(long nPageIndex); 
	long SetGotoPageNumber(long nPageIndex); 
	long GetCurrentPage(); 
	long GetPageTotalCount(); 
	float GetCurrentZoom(); 
	void SetMsgCallbackWnd(long hMsgWnd); 
	long FlattenPDF(LPCTSTR lpszInPDF, LPCTSTR lpszOutPDF); 
	BOOL EnableAnnotations(BOOL bEnable); 
	BOOL OpenPDFFromMem(long lpPDFData, long nPDFDataLen, LPCTSTR lpszUserPwd, LPCTSTR lpszOwnerPwd); 
	long EnableLaunchLink(long bEnable); 
	long EnableMouseWhellInFacingMode(long bEnable); 
	long GetScrollBar(); 
	void AboutBox(); 
};