// PDFCompDemoView.h : interface of the CPDFCompDemoView class // ///////////////////////////////////////////////////////////////////////////// //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES #if !defined(AFX_PDFCOMPDEMOVIEW_H__9443DA10_B7BF_45D5_A52A_53E6DCF450A7__INCLUDED_) #define AFX_PDFCOMPDEMOVIEW_H__9443DA10_B7BF_45D5_A52A_53E6DCF450A7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CPDFCompDemoView : public CFormView { protected: // create from serialization only CPDFCompDemoView(); DECLARE_DYNCREATE(CPDFCompDemoView) public: //{{AFX_DATA(CPDFCompDemoView) enum { IDD = IDD_PDFCOMPDEMO_FORM }; CLEADRasterView m_LEADRasterView; //}}AFX_DATA // Attributes public: CPDFCompDemoDoc* GetDocument(); INT ApplyPDFSave(TCHAR *pFileName, pPDFCOMPSETTENGS pPDFSettings, INT nSize ); void ApplySort( pPDFCOMPSETTENGS pPDFSettings, INT nSize ); void DrawPanel(CPDFCompDemoView* pMyView,ILEADRaster* pSrcRaster, PDFCOMPSETTENGS PDFCompSettings) ; CRect m_StatusRect; CPoint m_point; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPDFCompDemoView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct //}}AFX_VIRTUAL // Implementation public: virtual ~CPDFCompDemoView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CPDFCompDemoView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnPdfcompOptionsAdd(); afx_msg void OnPdfcompOptionsMod(); afx_msg void OnUpdatePdfcompOptionsMod(CCmdUI* pCmdUI); afx_msg void OnUpdatePdfcompOptionsAdd(CCmdUI* pCmdUI); afx_msg void OnPdfcompOptionsDel(); afx_msg void OnUpdatePdfcompOptionsDel(CCmdUI* pCmdUI); afx_msg void OnFileSaveall(); afx_msg void OnDblClickLeadrasterview1(); afx_msg void OnMouseDownLeadrasterview1(short Button, short Shift, float x, float y); afx_msg void OnPdfcompOptionsAdvance(); afx_msg void OnClose(); afx_msg void OnDestroy(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in PDFCompDemoView.cpp inline CPDFCompDemoDoc* CPDFCompDemoView::GetDocument() { return (CPDFCompDemoDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PDFCOMPDEMOVIEW_H__9443DA10_B7BF_45D5_A52A_53E6DCF450A7__INCLUDED_)