// PDFCompDemo.h : main header file for the PDFCOMPDEMO application // #if !defined(AFX_PDFCOMPDEMO_H__D5DB650C_6029_4148_94E3_823248662C40__INCLUDED_) #define AFX_PDFCOMPDEMO_H__D5DB650C_6029_4148_94E3_823248662C40__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CPDFCompDemoApp: // See PDFCompDemo.cpp for the implementation of this class // typedef struct _PDFCOMPSETTENGS { BOOL bAdded; BOOL m_bNOMRC; INT nBKThreshold; INT nCleanSize; INT nCLRThreshold; INT nCombThreshold; INT nSegQuality; INT nPDFComboSel; INT nImgQComboSel; INT nPageNumber; ILEADRaster * m_pRaster; // Advance Setting INT m_n1Bit; INT m_n2Bit; INT m_nPict; INT m_nQFactor; INT m_nSeg; BOOL m_bCheckBackground; }PDFCOMPSETTENGS, *pPDFCOMPSETTENGS; class CPDFCompDemoApp : public CWinApp { public: void CreateNewChild(); void SetPageOrder(INT nPageNumebr , BOOL bRepeated, BOOL bDel, INT nSwappedPgNo); INT CountAllOpenedDoccuments(); CPDFCompDemoApp(); ILEADRasterDlgKrn * m_pRasterKrnDlg; ILEADRasterDlgFile * m_pRasterFileDlg; ILEADRasterProcess * m_pRasterPro; ILEADRasterIO * m_pRasterIO; ILEADPDFCompressor * m_pPDFComp; ILEADRaster * m_pRaster; INT m_nPageNum; BOOL m_bShowFDFOptionsDlg; INT m_PDFXResolution; INT m_PDFYResolution; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPDFCompDemoApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CPDFCompDemoApp) afx_msg void OnAppAbout(); afx_msg void OnFileOpen(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PDFCOMPDEMO_H__D5DB650C_6029_4148_94E3_823248662C40__INCLUDED_)