EastDrawDoc.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // EastDrawDoc.h : interface of the CEastDrawDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_EASTDRAWDOC_H__B33FB26B_D8F0_445D_AD69_61266F720880__INCLUDED_)
  5. #define AFX_EASTDRAWDOC_H__B33FB26B_D8F0_445D_AD69_61266F720880__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CEastDrawDoc : public CDocument
  10. {
  11. protected: // create from serialization only
  12. CEastDrawDoc();
  13. DECLARE_DYNCREATE(CEastDrawDoc)
  14. // Attributes
  15. public:
  16. CObArray m_DLineArray;
  17. CObArray m_CurveArray;
  18. CObArray m_RectangleArray;
  19. CObArray m_RoundRectangleArray;
  20. CObArray m_EllipseArray;
  21. CObArray m_RoundArray;
  22. CObArray m_PolygonArray;
  23. CObArray m_LiEllipseArray;
  24. CObArray m_RoundArcArray;
  25. CObArray m_EllipseArcArray;
  26. CObArray m_PolyBezierArray;
  27. CObArray m_TextArray;
  28. BOOL m_bChangeTitle;
  29. CSize m_TotalSize;
  30. CPoint m_CenterPoint;
  31. // Operations
  32. public:
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CEastDrawDoc)
  36. public:
  37. virtual BOOL OnNewDocument();
  38. virtual void Serialize(CArchive& ar);
  39. virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  40. virtual void SetTitle(LPCTSTR lpszTitle);
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. public:
  44. void Requeue(int &index,int &rtimes);
  45. void ReMoveTemp();
  46. void OnBUTTON32858OnDo(int index);
  47. void ExchangeSave(int index,int&rtimes);
  48. void AutoSave();
  49. void AddTempFile();
  50. BOOL SaveBitMap(CFile&file);
  51. virtual ~CEastDrawDoc();
  52. #ifdef _DEBUG
  53. virtual void AssertValid() const;
  54. virtual void Dump(CDumpContext& dc) const;
  55. #endif
  56. protected:
  57. // Generated message map functions
  58. protected:
  59. //{{AFX_MSG(CEastDrawDoc)
  60. afx_msg void OnFILESAVEASBmp();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. /////////////////////////////////////////////////////////////////////////////
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_EASTDRAWDOC_H__B33FB26B_D8F0_445D_AD69_61266F720880__INCLUDED_)