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

📄 pdfcmdsampledlg.h

📁 i am server im imi mim im im
💻 H
字号:
// PDFCMDSampleDlg.h : header file
//

#if !defined(AFX_PDFCMDSAMPLEDLG_H__725F6C30_D302_4484_A4E8_D97F9A717C10__INCLUDED_)
#define AFX_PDFCMDSAMPLEDLG_H__725F6C30_D302_4484_A4E8_D97F9A717C10__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "EventHandler.h"
//#include "MFECToolTip.h"


/////////////////////////////////////////////////////////////////////////////
// CPDFCMDSampleDlg dialog

class CPDFCMDSampleDlg : public CDialog
{
// Construction
	friend class CTextWatermarkInfo ;
	friend class CIconWatermarkInfo ;
	friend class CFormDLG;
	friend class CPrintToImageDlg;
public:
	void AddTextWatermarkSetting();
	void AddImageWatermarkSetting();
	CPDFCMDSampleDlg(CWnd* pParent = NULL);	// standard constructor
	BOOL IsFileTypePDF(_bstr_t FileExt);
	BOOL IsFileTypeValid(_bstr_t FileExt);
	BOOL bSave , bFileOpened ,bNewPage;
	BOOL bPageOpened;
	BOOL bFormOpen;
	long lPagenum;
	CString m_strSN;
	CString StaticHead;
// Dialog Data
	//{{AFX_DATA(CPDFCMDSampleDlg)
	enum { IDD = IDD_PDFCMDSAMPLE_DIALOG };
	CListBox	m_ClistBox_FileName;
	CString	m_CString_FileProc;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPDFCMDSampleDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
	
	//ZnPDFCMD.DLL 
	IPDFCreatePtr m_pPDFCreate;	
	IPDFFormPtr m_pPDFForm;
	IPDFCmdPtr m_pPDFCmd;	

	IPDFGeneralSetting* m_pPDFGeneralSetting;
	IPDFCompressionSetting* m_pPDFCompSetting;
	IPDFFontEmbedSetting* m_pFontEdSetting;

	IPDFFileEditPtr m_pSrcdoc;
	IPDFPageEditPtr m_pSrcPage;
	IPDFFileEditPtr m_pPDFFileEdit;
	IPDFPageEditPtr m_pPDFPageEdit;
	IPDFCombinePtr m_pPDFCombine;
	
	IPDFOpenOptionSettingPtr m_pPDFOpenOptionSetting;
	IPDFDocInfoSettingPtr m_pPDFDocInfoSetting;
	IPDFSecuritySettingPtr m_pPDFSecuritySetting;
	IPDFTextWatermarkPtr m_pPDFTextWatermarkInfo;
	IPDFImageWatermarkPtr m_pPDFIconWatermarkInfo;
	IPDFDocInfoSettingPtr m_pPDFDocInfo;
	CQueryPasswordEvent m_qpEvent;

	//ZnPDF2Image.dll
	IPDF2ImagePtr m_pPDFPrintToImage ;
	// Implementation
protected:
	HICON m_hIcon;
	CToolBar m_wndToolBar;
	CToolBar m_TestToolBar;

	// Generated message map functions
	//{{AFX_MSG(CPDFCMDSampleDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCreateAddfile();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnCreateConvert();
	afx_msg void OnCreateDeletefile();
	afx_msg void OnFileOpen();
	afx_msg void OnFileClose();
	afx_msg void OnFileSave();
	afx_msg void OnFileNew();
	afx_msg void OnFileSaveas();
	afx_msg void OnCreatePreference();
	afx_msg void OnWatermarkTextwtmkinfo();
	afx_msg void OnPageNew();
	afx_msg void OnWtmkAddtextwtmk();
	afx_msg void OnDocuInfomation();
	afx_msg void OnWtmkIconwtmkinfo();
	afx_msg void OnWtmkAddiconwtmk();
	afx_msg void OnWtmkPosition();
	afx_msg void OnDocuOpenoption();
	afx_msg void OnDocuSecurity();
	afx_msg void OnPageOpen();
	afx_msg void OnPageDelete();
	afx_msg void OnPageGetpagewh();
	afx_msg void OnPageRotate();
	afx_msg void OnPageCrop();
	afx_msg void OnPageInsert();
	afx_msg void OnCreateConcate();
	afx_msg void OnCreateOverlay();
	afx_msg void OnCombineAddfile();
	afx_msg void OnCombineConcate();
	afx_msg void OnCombineOverlay();
	afx_msg void OnCombineOverlaysetting();
	afx_msg void OnPageClose();
	afx_msg void OnSearch();
	afx_msg void OnPrint();
	afx_msg void OnTextwatermarkset();
	afx_msg void OnAddImageWatermark();
	afx_msg void OnAddTextWatermark();
	afx_msg void OnSerialNumber();
	afx_msg void OnRunSearch();
	afx_msg void OnPdfPrint();
	afx_msg void OnHelp();
	afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);
	afx_msg void OnForm();
	afx_msg void OnRemoveAllFile();
	afx_msg void OnReference();
	afx_msg void OnPrintToImage();
	afx_msg void OnPrintToImageSet();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	HRESULT hr;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PDFCMDSAMPLEDLG_H__725F6C30_D302_4484_A4E8_D97F9A717C10__INCLUDED_)

⌨️ 快捷键说明

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