mschart.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #if !defined(AFX_MSCHART_H__7A8B5046_C98F_48E9_BEFD_F6C1B4E5C1CF__INCLUDED_)
  2. #define AFX_MSCHART_H__7A8B5046_C98F_48E9_BEFD_F6C1B4E5C1CF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  8. // Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class CVcTitle;
  11. class CVcFootnote;
  12. class CVcBackdrop;
  13. class CVcLegend;
  14. class CVcDataGrid;
  15. class CVcPlot;
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CMSChart wrapper class
  18. class CMSChart : public CWnd
  19. {
  20. protected:
  21. DECLARE_DYNCREATE(CMSChart)
  22. public:
  23. CLSID const& GetClsid()
  24. {
  25. static CLSID const clsid
  26. = { 0x3a2b370c, 0xba0a, 0x11d1, { 0xb1, 0x37, 0x0, 0x0, 0xf8, 0x75, 0x3f, 0x5d } };
  27. return clsid;
  28. }
  29. virtual BOOL Create(LPCTSTR lpszClassName,
  30. LPCTSTR lpszWindowName, DWORD dwStyle,
  31. const RECT& rect,
  32. CWnd* pParentWnd, UINT nID,
  33. CCreateContext* pContext = NULL)
  34. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  35. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  36. const RECT& rect, CWnd* pParentWnd, UINT nID,
  37. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  38. BSTR bstrLicKey = NULL)
  39. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  40. pPersist, bStorage, bstrLicKey); }
  41. // Attributes
  42. public:
  43. // Operations
  44. public:
  45. BOOL GetAutoIncrement();
  46. void SetAutoIncrement(BOOL bNewValue);
  47. BOOL GetRandomFill();
  48. void SetRandomFill(BOOL bNewValue);
  49. long GetChartType();
  50. void SetChartType(long nNewValue);
  51. short GetColumn();
  52. void SetColumn(short nNewValue);
  53. short GetColumnCount();
  54. void SetColumnCount(short nNewValue);
  55. CString GetColumnLabel();
  56. void SetColumnLabel(LPCTSTR lpszNewValue);
  57. short GetColumnLabelCount();
  58. void SetColumnLabelCount(short nNewValue);
  59. short GetColumnLabelIndex();
  60. void SetColumnLabelIndex(short nNewValue);
  61. CString GetData();
  62. void SetData(LPCTSTR lpszNewValue);
  63. CString GetFootnoteText();
  64. void SetFootnoteText(LPCTSTR lpszNewValue);
  65. BOOL GetRepaint();
  66. void SetRepaint(BOOL bNewValue);
  67. short GetRow();
  68. void SetRow(short nNewValue);
  69. short GetRowCount();
  70. void SetRowCount(short nNewValue);
  71. CString GetRowLabel();
  72. void SetRowLabel(LPCTSTR lpszNewValue);
  73. short GetRowLabelCount();
  74. void SetRowLabelCount(short nNewValue);
  75. short GetRowLabelIndex();
  76. void SetRowLabelIndex(short nNewValue);
  77. short GetSeriesColumn();
  78. void SetSeriesColumn(short nNewValue);
  79. long GetSeriesType();
  80. void SetSeriesType(long nNewValue);
  81. BOOL GetShowLegend();
  82. void SetShowLegend(BOOL bNewValue);
  83. long GetDrawMode();
  84. void SetDrawMode(long nNewValue);
  85. long GetBorderStyle();
  86. void SetBorderStyle(long nNewValue);
  87. BOOL GetEnabled();
  88. void SetEnabled(BOOL bNewValue);
  89. long GetHWnd();
  90. CVcTitle GetTitle();
  91. CVcFootnote GetFootnote();
  92. CString GetTitleText();
  93. void SetTitleText(LPCTSTR lpszNewValue);
  94. BOOL GetStacking();
  95. void SetStacking(BOOL bNewValue);
  96. long GetTextLengthType();
  97. void SetTextLengthType(long nNewValue);
  98. BOOL GetAllowSelections();
  99. void SetAllowSelections(BOOL bNewValue);
  100. BOOL GetAllowSeriesSelection();
  101. void SetAllowSeriesSelection(BOOL bNewValue);
  102. BOOL GetAllowDynamicRotation();
  103. void SetAllowDynamicRotation(BOOL bNewValue);
  104. short GetActiveSeriesCount();
  105. CVcBackdrop GetBackdrop();
  106. CVcLegend GetLegend();
  107. CVcDataGrid GetDataGrid();
  108. CVcPlot GetPlot();
  109. BOOL GetAllowDithering();
  110. void SetAllowDithering(BOOL bNewValue);
  111. BOOL GetDoSetCursor();
  112. void SetDoSetCursor(BOOL bNewValue);
  113. BOOL GetChart3d();
  114. VARIANT GetChartData();
  115. void SetChartData(const VARIANT& newValue);
  116. long GetMousePointer();
  117. void SetMousePointer(long nNewValue);
  118. void Refresh();
  119. void EditPaste();
  120. void EditCopy();
  121. void Layout();
  122. void ToDefaults();
  123. void SelectPart(short part, short index1, short index2, short index3, short index4);
  124. void GetSelectedPart(short* part, short* index1, short* index2, short* index3, short* index4);
  125. void TwipsToChartPart(long xVal, long yVal, short* part, short* index1, short* index2, short* index3, short* index4);
  126. long GetOLEDragMode();
  127. void SetOLEDragMode(long nNewValue);
  128. long GetOLEDropMode();
  129. void SetOLEDropMode(long nNewValue);
  130. void OLEDrag();
  131. LPUNKNOWN GetDataSource();
  132. void SetRefDataSource(LPUNKNOWN newValue);
  133. CString GetDataMember();
  134. void SetDataMember(LPCTSTR lpszNewValue);
  135. };
  136. //{{AFX_INSERT_LOCATION}}
  137. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  138. #endif // !defined(AFX_MSCHART_H__7A8B5046_C98F_48E9_BEFD_F6C1B4E5C1CF__INCLUDED_)