// PDFCompDemo.h : main header file for the PDFCOMPDEMO application // #if !defined(AFX_PDFCOMPDEMO_H__9C221D6E_DCE0_4509_A752_54CF9478D622__INCLUDED_) #define AFX_PDFCOMPDEMO_H__9C221D6E_DCE0_4509_A752_54CF9478D622__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 // #define PDFDPI 150 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; pBITMAPHANDLE 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(); LOADFILEOPTION m_LoadFileOption; BOOL m_bShowPreview; L_INT m_nAddedDocCount; L_VOID CleanOpenDlgParam(LPOPENDLGPARAMS pFOParam); L_VOID SetPageOrder(L_INT nPageNumebr , L_BOOL bRepeated, L_BOOL bDel, L_INT nSwappedPgNo); L_INT CountAllOpenedDoccuments(); L_BOOL m_bFirstPdfLoaded; // 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__9C221D6E_DCE0_4509_A752_54CF9478D622__INCLUDED_)