// PDFCompDemo.h : main header file for the PDFCOMPDEMO application // #if !defined(AFX_PDFCOMPDEMO_H__960F0046_DE3F_4AD0_9A21_18C1CDDA53C5__INCLUDED_) #define AFX_PDFCOMPDEMO_H__960F0046_DE3F_4AD0_9A21_18C1CDDA53C5__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 #define WM_HANDLEPALETTE WM_APP + 0 ///////////////////////////////////////////////////////////////////////////// // CPDFCompDemoApp: // See PDFCompDemo.cpp for the implementation of this class // typedef struct _PDFCOMPSETTENGS { L_BOOL bAdded; L_BOOL m_bNOMRC; L_INT nBKThreshold; L_INT nCleanSize; L_INT nCLRThreshold; L_INT nCombThreshold; L_INT nSegQuality; L_INT nPDFComboSel; L_INT nImgQComboSel; L_INT nPageNumber; LBitmap* pBitmap; // Advance Setting L_INT m_n1Bit; L_INT m_n2Bit; L_INT m_nPict; L_INT m_nQFactor; L_INT m_nSeg; L_BOOL m_bCheckBackground; }PDFCOMPSETTENGS, *pPDFCOMPSETTENGS; class CPDFCompDemoApp : public CWinApp { public: CPDFCompDemoApp(); LDialogFile m_LDlgFile ; LOADFILEOPTION m_LoadFileOption; BOOL m_bShowPreview; L_VOID SetPageOrder(L_INT nPageNumebr , L_BOOL bRepeated, L_BOOL bDel, L_INT nSwappedPgNo); L_INT CountAllOpenedDoccuments(); static BOOL m_bIsPdfDpiSet; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPDFCompDemoApp) public: virtual BOOL InitInstance(); //}}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__960F0046_DE3F_4AD0_9A21_18C1CDDA53C5__INCLUDED_)