// PDFCompDemoDoc.h : interface of the CPDFCompDemoDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_PDFCOMPDEMODOC_H__0F41AA37_7D73_4ED5_8113_8615130E9A5E__INCLUDED_) #define AFX_PDFCOMPDEMODOC_H__0F41AA37_7D73_4ED5_8113_8615130E9A5E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CPDFCompDemoDoc : public CDocument { protected: // create from serialization only CPDFCompDemoDoc(); DECLARE_DYNCREATE(CPDFCompDemoDoc) // Attributes public: BITMAPHANDLE m_LeadBitmap; PDFCOMPSETTENGS m_PDFCompSettings; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPDFCompDemoDoc) public: virtual BOOL OnNewDocument(); virtual void Serialize(CArchive& ar); virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); virtual void OnCloseDocument(); //}}AFX_VIRTUAL // Implementation public: virtual ~CPDFCompDemoDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CPDFCompDemoDoc) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PDFCOMPDEMODOC_H__0F41AA37_7D73_4ED5_8113_8615130E9A5E__INCLUDED_)