mso.tlh
Upload User: cqguanheng
Upload Date: 2009-11-15
Package Size: 457k
Code Size: 1017k
Category:

Windows Develop

Development Platform:

Visual C++

  1.     xlConeBarStacked100 = 104,
  2.     xlConeCol = 105,
  3.     xlPyramidColClustered = 106,
  4.     xlPyramidColStacked = 107,
  5.     xlPyramidColStacked100 = 108,
  6.     xlPyramidBarClustered = 109,
  7.     xlPyramidBarStacked = 110,
  8.     xlPyramidBarStacked100 = 111,
  9.     xlPyramidCol = 112,
  10.     xl3DColumn = -4100,
  11.     xlLine = 4,
  12.     xl3DLine = -4101,
  13.     xl3DPie = -4102,
  14.     xlPie = 5,
  15.     xlXYScatter = -4169,
  16.     xl3DArea = -4098,
  17.     xlArea = 1,
  18.     xlDoughnut = -4120,
  19.     xlRadar = -4151
  20. };
  21. enum XlChartSplitType
  22. {
  23.     xlSplitByPosition = 1,
  24.     xlSplitByPercentValue = 3,
  25.     xlSplitByCustomSplit = 4,
  26.     xlSplitByValue = 2
  27. };
  28. enum XlSizeRepresents
  29. {
  30.     xlSizeIsWidth = 2,
  31.     xlSizeIsArea = 1
  32. };
  33. enum XlAxisGroup
  34. {
  35.     xlPrimary = 1,
  36.     xlSecondary = 2
  37. };
  38. enum XlConstants
  39. {
  40.     xlAutomatic = -4105,
  41.     xlCombination = -4111,
  42.     xlCustom = -4114,
  43.     xlBar = 2,
  44.     xlColumn = 3,
  45.     xl3DBar = -4099,
  46.     xl3DSurface = -4103,
  47.     xlDefaultAutoFormat = -1,
  48.     xlNone = -4142
  49. };
  50. enum XlReadingOrder
  51. {
  52.     xlContext = -5002,
  53.     xlLTR = -5003,
  54.     xlRTL = -5004
  55. };
  56. enum XlBorderWeight
  57. {
  58.     xlHairline = 1,
  59.     xlMedium = -4138,
  60.     xlThick = 4,
  61.     xlThin = 2
  62. };
  63. enum XlLegendPosition
  64. {
  65.     xlLegendPositionBottom = -4107,
  66.     xlLegendPositionCorner = 2,
  67.     xlLegendPositionLeft = -4131,
  68.     xlLegendPositionRight = -4152,
  69.     xlLegendPositionTop = -4160,
  70.     xlLegendPositionCustom = -4161
  71. };
  72. enum XlUnderlineStyle
  73. {
  74.     xlUnderlineStyleDouble = -4119,
  75.     xlUnderlineStyleDoubleAccounting = 5,
  76.     xlUnderlineStyleNone = -4142,
  77.     xlUnderlineStyleSingle = 2,
  78.     xlUnderlineStyleSingleAccounting = 4
  79. };
  80. enum XlColorIndex
  81. {
  82.     xlColorIndexAutomatic = -4105,
  83.     xlColorIndexNone = -4142
  84. };
  85. enum XlMarkerStyle
  86. {
  87.     xlMarkerStyleAutomatic = -4105,
  88.     xlMarkerStyleCircle = 8,
  89.     xlMarkerStyleDash = -4115,
  90.     xlMarkerStyleDiamond = 2,
  91.     xlMarkerStyleDot = -4118,
  92.     xlMarkerStyleNone = -4142,
  93.     xlMarkerStylePicture = -4147,
  94.     xlMarkerStylePlus = 9,
  95.     xlMarkerStyleSquare = 1,
  96.     xlMarkerStyleStar = 5,
  97.     xlMarkerStyleTriangle = 3,
  98.     xlMarkerStyleX = -4168
  99. };
  100. enum XlRowCol
  101. {
  102.     xlColumns = 2,
  103.     xlRows = 1
  104. };
  105. enum XlDataLabelsType
  106. {
  107.     xlDataLabelsShowNone = -4142,
  108.     xlDataLabelsShowValue = 2,
  109.     xlDataLabelsShowPercent = 3,
  110.     xlDataLabelsShowLabel = 4,
  111.     xlDataLabelsShowLabelAndPercent = 5,
  112.     xlDataLabelsShowBubbleSizes = 6
  113. };
  114. enum XlErrorBarInclude
  115. {
  116.     xlErrorBarIncludeBoth = 1,
  117.     xlErrorBarIncludeMinusValues = 3,
  118.     xlErrorBarIncludeNone = -4142,
  119.     xlErrorBarIncludePlusValues = 2
  120. };
  121. enum XlErrorBarType
  122. {
  123.     xlErrorBarTypeCustom = -4114,
  124.     xlErrorBarTypeFixedValue = 1,
  125.     xlErrorBarTypePercent = 2,
  126.     xlErrorBarTypeStDev = -4155,
  127.     xlErrorBarTypeStError = 4
  128. };
  129. enum XlErrorBarDirection
  130. {
  131.     xlChartX = -4168,
  132.     xlChartY = 1
  133. };
  134. enum XlChartPictureType
  135. {
  136.     xlStackScale = 3,
  137.     xlStack = 2,
  138.     xlStretch = 1
  139. };
  140. enum XlChartItem
  141. {
  142.     xlDataLabel = 0,
  143.     xlChartArea = 2,
  144.     xlSeries = 3,
  145.     xlChartTitle = 4,
  146.     xlWalls = 5,
  147.     xlCorners = 6,
  148.     xlDataTable = 7,
  149.     xlTrendline = 8,
  150.     xlErrorBars = 9,
  151.     xlXErrorBars = 10,
  152.     xlYErrorBars = 11,
  153.     xlLegendEntry = 12,
  154.     xlLegendKey = 13,
  155.     xlShape = 14,
  156.     xlMajorGridlines = 15,
  157.     xlMinorGridlines = 16,
  158.     xlAxisTitle = 17,
  159.     xlUpBars = 18,
  160.     xlPlotArea = 19,
  161.     xlDownBars = 20,
  162.     xlAxis = 21,
  163.     xlSeriesLines = 22,
  164.     xlFloor = 23,
  165.     xlLegend = 24,
  166.     xlHiLoLines = 25,
  167.     xlDropLines = 26,
  168.     xlRadarAxisLabels = 27,
  169.     xlNothing = 28,
  170.     xlLeaderLines = 29,
  171.     xlDisplayUnitLabel = 30,
  172.     xlPivotChartFieldButton = 31,
  173.     xlPivotChartDropZone = 32
  174. };
  175. enum XlBarShape
  176. {
  177.     xlBox = 0,
  178.     xlPyramidToPoint = 1,
  179.     xlPyramidToMax = 2,
  180.     xlCylinder = 3,
  181.     xlConeToPoint = 4,
  182.     xlConeToMax = 5
  183. };
  184. enum XlEndStyleCap
  185. {
  186.     xlCap = 1,
  187.     xlNoCap = 2
  188. };
  189. enum XlTrendlineType
  190. {
  191.     xlExponential = 5,
  192.     xlLinear = -4132,
  193.     xlLogarithmic = -4133,
  194.     xlMovingAvg = 6,
  195.     xlPolynomial = 3,
  196.     xlPower = 4
  197. };
  198. enum XlAxisType
  199. {
  200.     xlCategory = 1,
  201.     xlSeriesAxis = 3,
  202.     xlValue = 2
  203. };
  204. enum XlAxisCrosses
  205. {
  206.     xlAxisCrossesAutomatic = -4105,
  207.     xlAxisCrossesCustom = -4114,
  208.     xlAxisCrossesMaximum = 2,
  209.     xlAxisCrossesMinimum = 4
  210. };
  211. enum XlTickMark
  212. {
  213.     xlTickMarkCross = 4,
  214.     xlTickMarkInside = 2,
  215.     xlTickMarkNone = -4142,
  216.     xlTickMarkOutside = 3
  217. };
  218. enum XlScaleType
  219. {
  220.     xlScaleLinear = -4132,
  221.     xlScaleLogarithmic = -4133
  222. };
  223. enum XlTickLabelPosition
  224. {
  225.     xlTickLabelPositionHigh = -4127,
  226.     xlTickLabelPositionLow = -4134,
  227.     xlTickLabelPositionNextToAxis = 4,
  228.     xlTickLabelPositionNone = -4142
  229. };
  230. enum XlTimeUnit
  231. {
  232.     xlDays = 0,
  233.     xlMonths = 1,
  234.     xlYears = 2
  235. };
  236. enum XlCategoryType
  237. {
  238.     xlCategoryScale = 2,
  239.     xlTimeScale = 3,
  240.     xlAutomaticScale = -4105
  241. };
  242. enum XlDisplayUnit
  243. {
  244.     xlHundreds = -2,
  245.     xlThousands = -3,
  246.     xlTenThousands = -4,
  247.     xlHundredThousands = -5,
  248.     xlMillions = -6,
  249.     xlTenMillions = -7,
  250.     xlHundredMillions = -8,
  251.     xlThousandMillions = -9,
  252.     xlMillionMillions = -10,
  253.     xlDisplayUnitCustom = -4114,
  254.     xlDisplayUnitNone = -4142
  255. };
  256. enum XlChartOrientation
  257. {
  258.     xlDownward = -4170,
  259.     xlHorizontal = -4128,
  260.     xlUpward = -4171,
  261.     xlVertical = -4166
  262. };
  263. enum XlTickLabelOrientation
  264. {
  265.     xlTickLabelOrientationAutomatic = -4105,
  266.     xlTickLabelOrientationDownward = -4170,
  267.     xlTickLabelOrientationHorizontal = -4128,
  268.     xlTickLabelOrientationUpward = -4171,
  269.     xlTickLabelOrientationVertical = -4166
  270. };
  271. enum XlDisplayBlanksAs
  272. {
  273.     xlInterpolated = 3,
  274.     xlNotPlotted = 1,
  275.     xlZero = 2
  276. };
  277. enum XlDataLabelPosition
  278. {
  279.     xlLabelPositionCenter = -4108,
  280.     xlLabelPositionAbove = 0,
  281.     xlLabelPositionBelow = 1,
  282.     xlLabelPositionLeft = -4131,
  283.     xlLabelPositionRight = -4152,
  284.     xlLabelPositionOutsideEnd = 2,
  285.     xlLabelPositionInsideEnd = 3,
  286.     xlLabelPositionInsideBase = 4,
  287.     xlLabelPositionBestFit = 5,
  288.     xlLabelPositionMixed = 6,
  289.     xlLabelPositionCustom = 7
  290. };
  291. enum XlPivotFieldOrientation
  292. {
  293.     xlColumnField = 2,
  294.     xlDataField = 4,
  295.     xlHidden = 0,
  296.     xlPageField = 3,
  297.     xlRowField = 1
  298. };
  299. enum XlHAlign
  300. {
  301.     xlHAlignCenter = -4108,
  302.     xlHAlignCenterAcrossSelection = 7,
  303.     xlHAlignDistributed = -4117,
  304.     xlHAlignFill = 5,
  305.     xlHAlignGeneral = 1,
  306.     xlHAlignJustify = -4130,
  307.     xlHAlignLeft = -4131,
  308.     xlHAlignRight = -4152
  309. };
  310. enum XlVAlign
  311. {
  312.     xlVAlignBottom = -4107,
  313.     xlVAlignCenter = -4108,
  314.     xlVAlignDistributed = -4117,
  315.     xlVAlignJustify = -4130,
  316.     xlVAlignTop = -4160
  317. };
  318. enum XlChartElementPosition
  319. {
  320.     xlChartElementPositionAutomatic = -4105,
  321.     xlChartElementPositionCustom = -4114
  322. };
  323. enum MsoChartElementType
  324. {
  325.     msoElementChartTitleNone = 0,
  326.     msoElementChartTitleCenteredOverlay = 1,
  327.     msoElementChartTitleAboveChart = 2,
  328.     msoElementLegendNone = 100,
  329.     msoElementLegendRight = 101,
  330.     msoElementLegendTop = 102,
  331.     msoElementLegendLeft = 103,
  332.     msoElementLegendBottom = 104,
  333.     msoElementLegendRightOverlay = 105,
  334.     msoElementLegendLeftOverlay = 106,
  335.     msoElementDataLabelNone = 200,
  336.     msoElementDataLabelShow = 201,
  337.     msoElementDataLabelCenter = 202,
  338.     msoElementDataLabelInsideEnd = 203,
  339.     msoElementDataLabelInsideBase = 204,
  340.     msoElementDataLabelOutSideEnd = 205,
  341.     msoElementDataLabelLeft = 206,
  342.     msoElementDataLabelRight = 207,
  343.     msoElementDataLabelTop = 208,
  344.     msoElementDataLabelBottom = 209,
  345.     msoElementDataLabelBestFit = 210,
  346.     msoElementPrimaryCategoryAxisTitleNone = 300,
  347.     msoElementPrimaryCategoryAxisTitleAdjacentToAxis = 301,
  348.     msoElementPrimaryCategoryAxisTitleBelowAxis = 302,
  349.     msoElementPrimaryCategoryAxisTitleRotated = 303,
  350.     msoElementPrimaryCategoryAxisTitleVertical = 304,
  351.     msoElementPrimaryCategoryAxisTitleHorizontal = 305,
  352.     msoElementPrimaryValueAxisTitleNone = 306,
  353.     msoElementPrimaryValueAxisTitleAdjacentToAxis = 306,
  354.     msoElementPrimaryValueAxisTitleBelowAxis = 308,
  355.     msoElementPrimaryValueAxisTitleRotated = 309,
  356.     msoElementPrimaryValueAxisTitleVertical = 310,
  357.     msoElementPrimaryValueAxisTitleHorizontal = 311,
  358.     msoElementSecondaryCategoryAxisTitleNone = 312,
  359.     msoElementSecondaryCategoryAxisTitleAdjacentToAxis = 313,
  360.     msoElementSecondaryCategoryAxisTitleBelowAxis = 314,
  361.     msoElementSecondaryCategoryAxisTitleRotated = 315,
  362.     msoElementSecondaryCategoryAxisTitleVertical = 316,
  363.     msoElementSecondaryCategoryAxisTitleHorizontal = 317,
  364.     msoElementSecondaryValueAxisTitleNone = 318,
  365.     msoElementSecondaryValueAxisTitleAdjacentToAxis = 319,
  366.     msoElementSecondaryValueAxisTitleBelowAxis = 320,
  367.     msoElementSecondaryValueAxisTitleRotated = 321,
  368.     msoElementSecondaryValueAxisTitleVertical = 322,
  369.     msoElementSecondaryValueAxisTitleHorizontal = 323,
  370.     msoElementSeriesAxisTitleNone = 324,
  371.     msoElementSeriesAxisTitleRotated = 325,
  372.     msoElementSeriesAxisTitleVertical = 326,
  373.     msoElementSeriesAxisTitleHorizontal = 327,
  374.     msoElementPrimaryValueGridLinesNone = 328,
  375.     msoElementPrimaryValueGridLinesMinor = 329,
  376.     msoElementPrimaryValueGridLinesMajor = 330,
  377.     msoElementPrimaryValueGridLinesMinorMajor = 331,
  378.     msoElementPrimaryCategoryGridLinesNone = 332,
  379.     msoElementPrimaryCategoryGridLinesMinor = 333,
  380.     msoElementPrimaryCategoryGridLinesMajor = 334,
  381.     msoElementPrimaryCategoryGridLinesMinorMajor = 335,
  382.     msoElementSecondaryValueGridLinesNone = 336,
  383.     msoElementSecondaryValueGridLinesMinor = 337,
  384.     msoElementSecondaryValueGridLinesMajor = 338,
  385.     msoElementSecondaryValueGridLinesMinorMajor = 339,
  386.     msoElementSecondaryCategoryGridLinesNone = 340,
  387.     msoElementSecondaryCategoryGridLinesMinor = 341,
  388.     msoElementSecondaryCategoryGridLinesMajor = 342,
  389.     msoElementSecondaryCategoryGridLinesMinorMajor = 343,
  390.     msoElementSeriesAxisGridLinesNone = 344,
  391.     msoElementSeriesAxisGridLinesMinor = 345,
  392.     msoElementSeriesAxisGridLinesMajor = 346,
  393.     msoElementSeriesAxisGridLinesMinorMajor = 347,
  394.     msoElementPrimaryCategoryAxisNone = 348,
  395.     msoElementPrimaryCategoryAxisShow = 349,
  396.     msoElementPrimaryCategoryAxisWithoutLabels = 350,
  397.     msoElementPrimaryCategoryAxisReverse = 351,
  398.     msoElementPrimaryValueAxisNone = 352,
  399.     msoElementPrimaryValueAxisShow = 353,
  400.     msoElementPrimaryValueAxisThousands = 354,
  401.     msoElementPrimaryValueAxisMillions = 355,
  402.     msoElementPrimaryValueAxisBillions = 356,
  403.     msoElementPrimaryValueAxisLogScale = 357,
  404.     msoElementSecondaryCategoryAxisNone = 358,
  405.     msoElementSecondaryCategoryAxisShow = 359,
  406.     msoElementSecondaryCategoryAxisWithoutLabels = 360,
  407.     msoElementSecondaryCategoryAxisReverse = 361,
  408.     msoElementSecondaryValueAxisNone = 362,
  409.     msoElementSecondaryValueAxisShow = 363,
  410.     msoElementSecondaryValueAxisThousands = 364,
  411.     msoElementSecondaryValueAxisMillions = 365,
  412.     msoElementSecondaryValueAxisBillions = 366,
  413.     msoElementSecondaryValueAxisLogScale = 367,
  414.     msoElementSeriesAxisNone = 368,
  415.     msoElementSeriesAxisShow = 369,
  416.     msoElementSeriesAxisWithoutLabeling = 370,
  417.     msoElementSeriesAxisReverse = 371,
  418.     msoElementPrimaryCategoryAxisThousands = 372,
  419.     msoElementPrimaryCategoryAxisMillions = 373,
  420.     msoElementPrimaryCategoryAxisBillions = 374,
  421.     msoElementPrimaryCategoryAxisLogScale = 375,
  422.     msoElementSecondaryCategoryAxisThousands = 376,
  423.     msoElementSecondaryCategoryAxisMillions = 377,
  424.     msoElementSecondaryCategoryAxisBillions = 378,
  425.     msoElementSecondaryCategoryAxisLogScale = 379,
  426.     msoElementDataTableNone = 500,
  427.     msoElementDataTableShow = 501,
  428.     msoElementDataTableWithLegendKeys = 502,
  429.     msoElementTrendlineNone = 600,
  430.     msoElementTrendlineAddLinear = 601,
  431.     msoElementTrendlineAddExponential = 602,
  432.     msoElementTrendlineAddLinearForecast = 603,
  433.     msoElementTrendlineAddTwoPeriodMovingAverage = 604,
  434.     msoElementErrorBarNone = 700,
  435.     msoElementErrorBarStandardError = 701,
  436.     msoElementErrorBarPercentage = 702,
  437.     msoElementErrorBarStandardDeviation = 703,
  438.     msoElementLineNone = 800,
  439.     msoElementLineDropLine = 801,
  440.     msoElementLineHiLoLine = 802,
  441.     msoElementLineSeriesLine = 803,
  442.     msoElementLineDropHiLoLine = 804,
  443.     msoElementUpDownBarsNone = 900,
  444.     msoElementUpDownBarsShow = 901,
  445.     msoElementPlotAreaNone = 1000,
  446.     msoElementPlotAreaShow = 1001,
  447.     msoElementChartWallNone = 1100,
  448.     msoElementChartWallShow = 1101,
  449.     msoElementChartFloorNone = 1200,
  450.     msoElementChartFloorShow = 1201
  451. };
  452. struct __declspec(uuid("000c172f-0000-0000-c000-000000000046"))
  453. IMsoChartData : IDispatch
  454. {
  455.     //
  456.     // Property data
  457.     //
  458.     __declspec(property(get=GetWorkbook))
  459.     IDispatchPtr Workbook;
  460.     __declspec(property(get=GetIsLinked))
  461.     VARIANT_BOOL IsLinked;
  462.     //
  463.     // Wrapper methods for error-handling
  464.     //
  465.     IDispatchPtr GetWorkbook ( );
  466.     HRESULT Activate ( );
  467.     VARIANT_BOOL GetIsLinked ( );
  468.     HRESULT BreakLink ( );
  469.     //
  470.     // Raw methods provided by interface
  471.     //
  472.     virtual HRESULT __stdcall get_Workbook (
  473.         IDispatch * * ppdispWorkbook ) = 0;
  474.     virtual HRESULT __stdcall raw_Activate ( ) = 0;
  475.     virtual HRESULT __stdcall get_IsLinked (
  476.         VARIANT_BOOL * pfIsLinked ) = 0;
  477.     virtual HRESULT __stdcall raw_BreakLink ( ) = 0;
  478. };
  479. struct __declspec(uuid("000c1709-0000-0000-c000-000000000046"))
  480. IMsoChart : IDispatch
  481. {
  482.     //
  483.     // Property data
  484.     //
  485.     __declspec(property(get=GetBackWall))
  486.     IMsoWallsPtr BackWall;
  487.     __declspec(property(get=GetHasTitle,put=PutHasTitle))
  488.     VARIANT_BOOL HasTitle;
  489.     __declspec(property(get=GetHasDataTable,put=PutHasDataTable))
  490.     VARIANT_BOOL HasDataTable;
  491.     __declspec(property(get=GetChartTitle))
  492.     IMsoChartTitlePtr ChartTitle;
  493.     __declspec(property(get=GetDepthPercent,put=PutDepthPercent))
  494.     int DepthPercent;
  495.     __declspec(property(get=GetChartStyle,put=PutChartStyle))
  496.     _variant_t ChartStyle;
  497.     __declspec(property(get=GetElevation,put=PutElevation))
  498.     int Elevation;
  499.     __declspec(property(get=GetChartType,put=PutChartType))
  500.     enum XlChartType ChartType;
  501.     __declspec(property(get=GetGapDepth,put=PutGapDepth))
  502.     int GapDepth;
  503.     __declspec(property(get=GetChartGroups))
  504.     IDispatchPtr ChartGroups[][][];
  505.     __declspec(property(get=GetHeightPercent,put=PutHeightPercent))
  506.     int HeightPercent;
  507.     __declspec(property(get=GetPivotLayout))
  508.     IDispatchPtr PivotLayout;
  509.     __declspec(property(get=GetPerspective,put=PutPerspective))
  510.     int Perspective;
  511.     __declspec(property(get=GetLegend))
  512.     IMsoLegendPtr Legend;
  513.     __declspec(property(get=GetRightAngleAxes,put=PutRightAngleAxes))
  514.     _variant_t RightAngleAxes;
  515.     __declspec(property(get=GetHasPivotFields,put=PutHasPivotFields))
  516.     VARIANT_BOOL HasPivotFields;
  517.     __declspec(property(get=GetRotation,put=PutRotation))
  518.     _variant_t Rotation;
  519.     __declspec(property(get=GetShowDataLabelsOverMaximum,put=PutShowDataLabelsOverMaximum))
  520.     VARIANT_BOOL ShowDataLabelsOverMaximum;
  521.     __declspec(property(get=GetDisplayBlanksAs,put=PutDisplayBlanksAs))
  522.     enum XlDisplayBlanksAs DisplayBlanksAs;
  523.     __declspec(property(get=GetSelection))
  524.     IDispatchPtr Selection;
  525.     __declspec(property(get=GetProtectData,put=PutProtectData))
  526.     VARIANT_BOOL ProtectData;
  527.     __declspec(property(get=GetPlotVisibleOnly,put=PutPlotVisibleOnly))
  528.     VARIANT_BOOL PlotVisibleOnly;
  529.     __declspec(property(get=GetProtectFormatting,put=PutProtectFormatting))
  530.     VARIANT_BOOL ProtectFormatting;
  531.     __declspec(property(get=GetChartData))
  532.     IMsoChartDataPtr ChartData;
  533.     __declspec(property(get=GetProtectGoalSeek,put=PutProtectGoalSeek))
  534.     VARIANT_BOOL ProtectGoalSeek;
  535.     __declspec(property(get=GetFormat))
  536.     IMsoChartFormatPtr Format;
  537.     __declspec(property(get=GetProtectSelection,put=PutProtectSelection))
  538.     VARIANT_BOOL ProtectSelection;
  539.     __declspec(property(get=GetType,put=PutType))
  540.     long Type;
  541.     __declspec(property(get=GetProtectChartObjects,put=PutProtectChartObjects))
  542.     VARIANT_BOOL ProtectChartObjects;
  543.     __declspec(property(get=GetSubType,put=PutSubType))
  544.     long SubType;
  545.     __declspec(property(get=GetShapes))
  546.     ShapesPtr Shapes;
  547.     __declspec(property(get=GetPlotBy,put=PutPlotBy))
  548.     enum XlRowCol PlotBy;
  549.     __declspec(property(get=GetHasLegend,put=PutHasLegend))
  550.     VARIANT_BOOL HasLegend;
  551.     __declspec(property(get=GetHasAxis,put=PutHasAxis))
  552.     _variant_t HasAxis[][];
  553.     __declspec(property(get=GetWalls))
  554.     IMsoWallsPtr Walls[];
  555.     __declspec(property(get=GetFloor))
  556.     IMsoFloorPtr Floor;
  557.     __declspec(property(get=GetPlotArea))
  558.     IMsoPlotAreaPtr PlotArea;
  559.     __declspec(property(get=GetChartArea))
  560.     IMsoChartAreaPtr ChartArea;
  561.     __declspec(property(get=GetAutoScaling,put=PutAutoScaling))
  562.     VARIANT_BOOL AutoScaling;
  563.     __declspec(property(get=GetDataTable))
  564.     IMsoDataTablePtr DataTable;
  565.     __declspec(property(get=GetParent))
  566.     IDispatchPtr Parent;
  567.     __declspec(property(get=GetBarShape,put=PutBarShape))
  568.     enum XlBarShape BarShape;
  569.     __declspec(property(get=GetCorners))
  570.     IMsoCornersPtr Corners;
  571.     __declspec(property(get=GetSideWall))
  572.     IMsoWallsPtr SideWall;
  573.     //
  574.     // Wrapper methods for error-handling
  575.     //
  576.     IDispatchPtr GetParent ( );
  577.     void PutHasTitle (
  578.         VARIANT_BOOL fTitle );
  579.     VARIANT_BOOL GetHasTitle ( );
  580.     IMsoChartTitlePtr GetChartTitle ( );
  581.     int GetDepthPercent ( );
  582.     void PutDepthPercent (
  583.         int pwDepthPercent );
  584.     int GetElevation ( );
  585.     void PutElevation (
  586.         int pwElevation );
  587.     int GetGapDepth ( );
  588.     void PutGapDepth (
  589.         int pwGapDepth );
  590.     int GetHeightPercent ( );
  591.     void PutHeightPercent (
  592.         int pwHeightPercent );
  593.     int GetPerspective ( );
  594.     void PutPerspective (
  595.         int pwPerspective );
  596.     _variant_t GetRightAngleAxes ( );
  597.     void PutRightAngleAxes (
  598.         const _variant_t & pvarRightAngleAxes );
  599.     _variant_t GetRotation ( );
  600.     void PutRotation (
  601.         const _variant_t & pvarRotation );
  602.     void PutDisplayBlanksAs (
  603.         enum XlDisplayBlanksAs pres );
  604.     enum XlDisplayBlanksAs GetDisplayBlanksAs ( );
  605.     void PutProtectData (
  606.         VARIANT_BOOL pres );
  607.     VARIANT_BOOL GetProtectData ( );
  608.     void PutProtectFormatting (
  609.         VARIANT_BOOL pres );
  610.     VARIANT_BOOL GetProtectFormatting ( );
  611.     void PutProtectGoalSeek (
  612.         VARIANT_BOOL pres );
  613.     VARIANT_BOOL GetProtectGoalSeek ( );
  614.     void PutProtectSelection (
  615.         VARIANT_BOOL pres );
  616.     VARIANT_BOOL GetProtectSelection ( );
  617.     void PutProtectChartObjects (
  618.         VARIANT_BOOL pres );
  619.     VARIANT_BOOL GetProtectChartObjects ( );
  620.     HRESULT UnProtect (
  621.         const _variant_t & Password = vtMissing );
  622.     HRESULT Protect (
  623.         const _variant_t & Password = vtMissing,
  624.         const _variant_t & DrawingObjects = vtMissing,
  625.         const _variant_t & Contents = vtMissing,
  626.         const _variant_t & Scenarios = vtMissing,
  627.         const _variant_t & UserInterfaceOnly = vtMissing );
  628.     IDispatchPtr GetChartGroups (
  629.         VARIANT * pvarIndex = &vtMissing,
  630.         const _variant_t & varIgallery = vtMissing,
  631.         long lcid = 0 );
  632.     IDispatchPtr SeriesCollection (
  633.         const _variant_t & Index = vtMissing );
  634.     HRESULT _ApplyDataLabels (
  635.         enum XlDataLabelsType Type,
  636.         const _variant_t & IMsoLegendKey = vtMissing,
  637.         const _variant_t & AutoText = vtMissing,
  638.         const _variant_t & HasLeaderLines = vtMissing );
  639.     long GetSubType ( );
  640.     void PutSubType (
  641.         long RHS );
  642.     long GetType ( );
  643.     void PutType (
  644.         long RHS );
  645.     IMsoCornersPtr GetCorners ( );
  646.     HRESULT ApplyDataLabels (
  647.         enum XlDataLabelsType Type,
  648.         const _variant_t & IMsoLegendKey = vtMissing,
  649.         const _variant_t & AutoText = vtMissing,
  650.         const _variant_t & HasLeaderLines = vtMissing,
  651.         const _variant_t & ShowSeriesName = vtMissing,
  652.         const _variant_t & ShowCategoryName = vtMissing,
  653.         const _variant_t & ShowValue = vtMissing,
  654.         const _variant_t & ShowPercentage = vtMissing,
  655.         const _variant_t & ShowBubbleSize = vtMissing,
  656.         const _variant_t & Separator = vtMissing );
  657.     enum XlChartType GetChartType ( );
  658.     void PutChartType (
  659.         enum XlChartType RHS );
  660.     VARIANT_BOOL GetHasDataTable ( );
  661.     void PutHasDataTable (
  662.         VARIANT_BOOL RHS );
  663.     HRESULT ApplyCustomType (
  664.         enum XlChartType ChartType,
  665.         const _variant_t & TypeName = vtMissing );
  666.     HRESULT GetChartElement (
  667.         long x,
  668.         long y,
  669.         long * ElementID,
  670.         long * Arg1,
  671.         long * Arg2 );
  672.     HRESULT SetSourceData (
  673.         _bstr_t Source,
  674.         const _variant_t & PlotBy = vtMissing );
  675.     enum XlRowCol GetPlotBy ( );
  676.     void PutPlotBy (
  677.         enum XlRowCol PlotBy );
  678.     VARIANT_BOOL GetHasLegend ( );
  679.     void PutHasLegend (
  680.         VARIANT_BOOL RHS );
  681.     IMsoLegendPtr GetLegend ( );
  682.     IDispatchPtr Axes (
  683.         const _variant_t & Type,
  684.         enum XlAxisGroup AxisGroup );
  685.     void PutHasAxis (
  686.         const _variant_t & axisType,
  687.         const _variant_t & AxisGroup = vtMissing,
  688.         const _variant_t & pval = vtMissing );
  689.     _variant_t GetHasAxis (
  690.         const _variant_t & axisType = vtMissing,
  691.         const _variant_t & AxisGroup = vtMissing );
  692.     IMsoWallsPtr GetWalls (
  693.         VARIANT_BOOL fBackWall );
  694.     IMsoFloorPtr GetFloor ( );
  695.     IMsoPlotAreaPtr GetPlotArea ( );
  696.     VARIANT_BOOL GetPlotVisibleOnly ( );
  697.     void PutPlotVisibleOnly (
  698.         VARIANT_BOOL RHS );
  699.     IMsoChartAreaPtr GetChartArea ( );
  700.     HRESULT AutoFormat (
  701.         long rGallery,
  702.         const _variant_t & varFormat = vtMissing );
  703.     VARIANT_BOOL GetAutoScaling ( );
  704.     void PutAutoScaling (
  705.         VARIANT_BOOL f );
  706.     HRESULT SetBackgroundPicture (
  707.         _bstr_t bstr );
  708.     HRESULT ChartWizard (
  709.         const _variant_t & varSource = vtMissing,
  710.         const _variant_t & varGallery = vtMissing,
  711.         const _variant_t & varFormat = vtMissing,
  712.         const _variant_t & varPlotBy = vtMissing,
  713.         const _variant_t & varCategoryLabels = vtMissing,
  714.         const _variant_t & varSeriesLabels = vtMissing,
  715.         const _variant_t & varHasLegend = vtMissing,
  716.         const _variant_t & varTitle = vtMissing,
  717.         const _variant_t & varCategoryTitle = vtMissing,
  718.         const _variant_t & varValueTitle = vtMissing,
  719.         const _variant_t & varExtraTitle = vtMissing,
  720.         long LocaleID = 0 );
  721.     HRESULT CopyPicture (
  722.         int Appearance,
  723.         int Format,
  724.         int Size,
  725.         long LocaleID = 0 );
  726.     IMsoDataTablePtr GetDataTable ( );
  727.     _variant_t Evaluate (
  728.         const _variant_t & varName,
  729.         long LocaleID,
  730.         long * ObjType );
  731.     _variant_t _Evaluate (
  732.         const _variant_t & varName,
  733.         long LocaleID );
  734.     HRESULT Paste (
  735.         const _variant_t & varType = vtMissing,
  736.         long LocaleID = 0 );
  737.     enum XlBarShape GetBarShape ( );
  738.     void PutBarShape (
  739.         enum XlBarShape pShape );
  740.     VARIANT_BOOL Export (
  741.         _bstr_t bstr,
  742.         const _variant_t & varFilterName = vtMissing,
  743.         const _variant_t & varInteractive = vtMissing );
  744.     HRESULT SetDefaultChart (
  745.         const _variant_t & varName );
  746.     HRESULT ApplyChartTemplate (
  747.         _bstr_t bstrFileName );
  748.     HRESULT SaveChartTemplate (
  749.         _bstr_t bstrFileName );
  750.     IMsoWallsPtr GetSideWall ( );
  751.     IMsoWallsPtr GetBackWall ( );
  752.     _variant_t GetChartStyle ( );
  753.     void PutChartStyle (
  754.         const _variant_t & RHS );
  755.     HRESULT ClearToMatchStyle ( );
  756.     IDispatchPtr GetPivotLayout ( );
  757.     VARIANT_BOOL GetHasPivotFields ( );
  758.     void PutHasPivotFields (
  759.         VARIANT_BOOL RHS );
  760.     HRESULT RefreshPivotTable ( );
  761.     void PutShowDataLabelsOverMaximum (
  762.         VARIANT_BOOL pRHS );
  763.     VARIANT_BOOL GetShowDataLabelsOverMaximum ( );
  764.     HRESULT ApplyLayout (
  765.         long Layout,
  766.         const _variant_t & varChartType = vtMissing );
  767.     IDispatchPtr GetSelection ( );
  768.     HRESULT Refresh ( );
  769.     HRESULT SetElement (
  770.         enum MsoChartElementType RHS );
  771.     IMsoChartDataPtr GetChartData ( );
  772.     IMsoChartFormatPtr GetFormat ( );
  773.     ShapesPtr GetShapes ( );
  774.     //
  775.     // Raw methods provided by interface
  776.     //
  777.     virtual HRESULT __stdcall get_Parent (
  778.         IDispatch * * RHS ) = 0;
  779.     virtual HRESULT __stdcall put_HasTitle (
  780.         VARIANT_BOOL fTitle ) = 0;
  781.     virtual HRESULT __stdcall get_HasTitle (
  782.         VARIANT_BOOL * fTitle ) = 0;
  783.     virtual HRESULT __stdcall get_ChartTitle (
  784.         struct IMsoChartTitle * * pval ) = 0;
  785.     virtual HRESULT __stdcall get_DepthPercent (
  786.         int * pwDepthPercent ) = 0;
  787.     virtual HRESULT __stdcall put_DepthPercent (
  788.         int pwDepthPercent ) = 0;
  789.     virtual HRESULT __stdcall get_Elevation (
  790.         int * pwElevation ) = 0;
  791.     virtual HRESULT __stdcall put_Elevation (
  792.         int pwElevation ) = 0;
  793.     virtual HRESULT __stdcall get_GapDepth (
  794.         int * pwGapDepth ) = 0;
  795.     virtual HRESULT __stdcall put_GapDepth (
  796.         int pwGapDepth ) = 0;
  797.     virtual HRESULT __stdcall get_HeightPercent (
  798.         int * pwHeightPercent ) = 0;
  799.     virtual HRESULT __stdcall put_HeightPercent (
  800.         int pwHeightPercent ) = 0;
  801.     virtual HRESULT __stdcall get_Perspective (
  802.         int * pwPerspective ) = 0;
  803.     virtual HRESULT __stdcall put_Perspective (
  804.         int pwPerspective ) = 0;
  805.     virtual HRESULT __stdcall get_RightAngleAxes (
  806.         VARIANT * pvarRightAngleAxes ) = 0;
  807.     virtual HRESULT __stdcall put_RightAngleAxes (
  808.         VARIANT pvarRightAngleAxes ) = 0;
  809.     virtual HRESULT __stdcall get_Rotation (
  810.         VARIANT * pvarRotation ) = 0;
  811.     virtual HRESULT __stdcall put_Rotation (
  812.         VARIANT pvarRotation ) = 0;
  813.     virtual HRESULT __stdcall put_DisplayBlanksAs (
  814.         enum XlDisplayBlanksAs pres ) = 0;
  815.     virtual HRESULT __stdcall get_DisplayBlanksAs (
  816.         enum XlDisplayBlanksAs * pres ) = 0;
  817.     virtual HRESULT __stdcall put_ProtectData (
  818.         VARIANT_BOOL pres ) = 0;
  819.     virtual HRESULT __stdcall get_ProtectData (
  820.         VARIANT_BOOL * pres ) = 0;
  821.     virtual HRESULT __stdcall put_ProtectFormatting (
  822.         VARIANT_BOOL pres ) = 0;
  823.     virtual HRESULT __stdcall get_ProtectFormatting (
  824.         VARIANT_BOOL * pres ) = 0;
  825.     virtual HRESULT __stdcall put_ProtectGoalSeek (
  826.         VARIANT_BOOL pres ) = 0;
  827.     virtual HRESULT __stdcall get_ProtectGoalSeek (
  828.         VARIANT_BOOL * pres ) = 0;
  829.     virtual HRESULT __stdcall put_ProtectSelection (
  830.         VARIANT_BOOL pres ) = 0;
  831.     virtual HRESULT __stdcall get_ProtectSelection (
  832.         VARIANT_BOOL * pres ) = 0;
  833.     virtual HRESULT __stdcall put_ProtectChartObjects (
  834.         VARIANT_BOOL pres ) = 0;
  835.     virtual HRESULT __stdcall get_ProtectChartObjects (
  836.         VARIANT_BOOL * pres ) = 0;
  837.     virtual HRESULT __stdcall raw_UnProtect (
  838.         VARIANT Password = vtMissing ) = 0;
  839.     virtual HRESULT __stdcall raw_Protect (
  840.         VARIANT Password = vtMissing,
  841.         VARIANT DrawingObjects = vtMissing,
  842.         VARIANT Contents = vtMissing,
  843.         VARIANT Scenarios = vtMissing,
  844.         VARIANT UserInterfaceOnly = vtMissing ) = 0;
  845.     virtual HRESULT __stdcall get_ChartGroups (
  846.         VARIANT * pvarIndex,
  847.         VARIANT varIgallery,
  848.         long lcid,
  849.         IDispatch * * RHS ) = 0;
  850.     virtual HRESULT __stdcall raw_SeriesCollection (
  851.         VARIANT Index,
  852.         IDispatch * * RHS ) = 0;
  853.     virtual HRESULT __stdcall raw__ApplyDataLabels (
  854.         enum XlDataLabelsType Type,
  855.         VARIANT IMsoLegendKey = vtMissing,
  856.         VARIANT AutoText = vtMissing,
  857.         VARIANT HasLeaderLines = vtMissing ) = 0;
  858.     virtual HRESULT __stdcall get_SubType (
  859.         long * RHS ) = 0;
  860.     virtual HRESULT __stdcall put_SubType (
  861.         long RHS ) = 0;
  862.     virtual HRESULT __stdcall get_Type (
  863.         long * RHS ) = 0;
  864.     virtual HRESULT __stdcall put_Type (
  865.         long RHS ) = 0;
  866.     virtual HRESULT __stdcall get_Corners (
  867.         struct IMsoCorners * * RHS ) = 0;
  868.     virtual HRESULT __stdcall raw_ApplyDataLabels (
  869.         enum XlDataLabelsType Type,
  870.         VARIANT IMsoLegendKey = vtMissing,
  871.         VARIANT AutoText = vtMissing,
  872.         VARIANT HasLeaderLines = vtMissing,
  873.         VARIANT ShowSeriesName = vtMissing,
  874.         VARIANT ShowCategoryName = vtMissing,
  875.         VARIANT ShowValue = vtMissing,
  876.         VARIANT ShowPercentage = vtMissing,
  877.         VARIANT ShowBubbleSize = vtMissing,
  878.         VARIANT Separator = vtMissing ) = 0;
  879.     virtual HRESULT __stdcall get_ChartType (
  880.         enum XlChartType * RHS ) = 0;
  881.     virtual HRESULT __stdcall put_ChartType (
  882.         enum XlChartType RHS ) = 0;
  883.     virtual HRESULT __stdcall get_HasDataTable (
  884.         VARIANT_BOOL * RHS ) = 0;
  885.     virtual HRESULT __stdcall put_HasDataTable (
  886.         VARIANT_BOOL RHS ) = 0;
  887.     virtual HRESULT __stdcall raw_ApplyCustomType (
  888.         enum XlChartType ChartType,
  889.         VARIANT TypeName = vtMissing ) = 0;
  890.     virtual HRESULT __stdcall raw_GetChartElement (
  891.         long x,
  892.         long y,
  893.         long * ElementID,
  894.         long * Arg1,
  895.         long * Arg2 ) = 0;
  896.     virtual HRESULT __stdcall raw_SetSourceData (
  897.         BSTR Source,
  898.         VARIANT PlotBy = vtMissing ) = 0;
  899.     virtual HRESULT __stdcall get_PlotBy (
  900.         enum XlRowCol * PlotBy ) = 0;
  901.     virtual HRESULT __stdcall put_PlotBy (
  902.         enum XlRowCol PlotBy ) = 0;
  903.     virtual HRESULT __stdcall get_HasLegend (
  904.         VARIANT_BOOL * RHS ) = 0;
  905.     virtual HRESULT __stdcall put_HasLegend (
  906.         VARIANT_BOOL RHS ) = 0;
  907.     virtual HRESULT __stdcall get_Legend (
  908.         struct IMsoLegend * * RHS ) = 0;
  909.     virtual HRESULT __stdcall raw_Axes (
  910.         VARIANT Type,
  911.         enum XlAxisGroup AxisGroup,
  912.         IDispatch * * ppAxes ) = 0;
  913.     virtual HRESULT __stdcall put_HasAxis (
  914.         VARIANT axisType,
  915.         VARIANT AxisGroup = vtMissing,
  916.         VARIANT pval = vtMissing ) = 0;
  917.     virtual HRESULT __stdcall get_HasAxis (
  918.         VARIANT axisType,
  919.         VARIANT AxisGroup,
  920.         VARIANT * pval ) = 0;
  921.     virtual HRESULT __stdcall get_Walls (
  922.         VARIANT_BOOL fBackWall,
  923.         struct IMsoWalls * * ppwalls ) = 0;
  924.     virtual HRESULT __stdcall get_Floor (
  925.         struct IMsoFloor * * ppfloor ) = 0;
  926.     virtual HRESULT __stdcall get_PlotArea (
  927.         struct IMsoPlotArea * * ppplotarea ) = 0;
  928.     virtual HRESULT __stdcall get_PlotVisibleOnly (
  929.         VARIANT_BOOL * RHS ) = 0;
  930.     virtual HRESULT __stdcall put_PlotVisibleOnly (
  931.         VARIANT_BOOL RHS ) = 0;
  932.     virtual HRESULT __stdcall get_ChartArea (
  933.         struct IMsoChartArea * * ppchartarea ) = 0;
  934.     virtual HRESULT __stdcall raw_AutoFormat (
  935.         long rGallery,
  936.         VARIANT varFormat = vtMissing ) = 0;
  937.     virtual HRESULT __stdcall get_AutoScaling (
  938.         VARIANT_BOOL * f ) = 0;
  939.     virtual HRESULT __stdcall put_AutoScaling (
  940.         VARIANT_BOOL f ) = 0;
  941.     virtual HRESULT __stdcall raw_SetBackgroundPicture (
  942.         BSTR bstr ) = 0;
  943.     virtual HRESULT __stdcall raw_ChartWizard (
  944.         VARIANT varSource = vtMissing,
  945.         VARIANT varGallery = vtMissing,
  946.         VARIANT varFormat = vtMissing,
  947.         VARIANT varPlotBy = vtMissing,
  948.         VARIANT varCategoryLabels = vtMissing,
  949.         VARIANT varSeriesLabels = vtMissing,
  950.         VARIANT varHasLegend = vtMissing,
  951.         VARIANT varTitle = vtMissing,
  952.         VARIANT varCategoryTitle = vtMissing,
  953.         VARIANT varValueTitle = vtMissing,
  954.         VARIANT varExtraTitle = vtMissing,
  955.         long LocaleID = 0 ) = 0;
  956.     virtual HRESULT __stdcall raw_CopyPicture (
  957.         int Appearance,
  958.         int Format,
  959.         int Size,
  960.         long LocaleID = 0 ) = 0;
  961.     virtual HRESULT __stdcall get_DataTable (
  962.         struct IMsoDataTable * * RHS ) = 0;
  963.     virtual HRESULT __stdcall raw_Evaluate (
  964.         VARIANT varName,
  965.         long LocaleID,
  966.         long * ObjType,
  967.         VARIANT * pvar ) = 0;
  968.     virtual HRESULT __stdcall raw__Evaluate (
  969.         VARIANT varName,
  970.         long LocaleID,
  971.         VARIANT * pvar ) = 0;
  972.     virtual HRESULT __stdcall raw_Paste (
  973.         VARIANT varType = vtMissing,
  974.         long LocaleID = 0 ) = 0;
  975.     virtual HRESULT __stdcall get_BarShape (
  976.         enum XlBarShape * pShape ) = 0;
  977.     virtual HRESULT __stdcall put_BarShape (
  978.         enum XlBarShape pShape ) = 0;
  979.     virtual HRESULT __stdcall raw_Export (
  980.         BSTR bstr,
  981.         VARIANT varFilterName,
  982.         VARIANT varInteractive,
  983.         VARIANT_BOOL * f ) = 0;
  984.     virtual HRESULT __stdcall raw_SetDefaultChart (
  985.         VARIANT varName ) = 0;
  986.     virtual HRESULT __stdcall raw_ApplyChartTemplate (
  987.         BSTR bstrFileName ) = 0;
  988.     virtual HRESULT __stdcall raw_SaveChartTemplate (
  989.         BSTR bstrFileName ) = 0;
  990.     virtual HRESULT __stdcall get_SideWall (
  991.         struct IMsoWalls * * RHS ) = 0;
  992.     virtual HRESULT __stdcall get_BackWall (
  993.         struct IMsoWalls * * RHS ) = 0;
  994.     virtual HRESULT __stdcall get_ChartStyle (
  995.         VARIANT * RHS ) = 0;
  996.     virtual HRESULT __stdcall put_ChartStyle (
  997.         VARIANT RHS ) = 0;
  998.     virtual HRESULT __stdcall raw_ClearToMatchStyle ( ) = 0;
  999.     virtual HRESULT __stdcall get_PivotLayout (
  1000.         IDispatch * * RHS ) = 0;
  1001.     virtual HRESULT __stdcall get_HasPivotFields (
  1002.         VARIANT_BOOL * RHS ) = 0;
  1003.     virtual HRESULT __stdcall put_HasPivotFields (
  1004.         VARIANT_BOOL RHS ) = 0;
  1005.     virtual HRESULT __stdcall raw_RefreshPivotTable ( ) = 0;
  1006.     virtual HRESULT __stdcall put_ShowDataLabelsOverMaximum (
  1007.         VARIANT_BOOL pRHS ) = 0;
  1008.     virtual HRESULT __stdcall get_ShowDataLabelsOverMaximum (
  1009.         VARIANT_BOOL * pRHS ) = 0;
  1010.     virtual HRESULT __stdcall raw_ApplyLayout (
  1011.         long Layout,
  1012.         VARIANT varChartType = vtMissing ) = 0;
  1013.     virtual HRESULT __stdcall get_Selection (
  1014.         IDispatch * * RHS ) = 0;
  1015.     virtual HRESULT __stdcall raw_Refresh ( ) = 0;
  1016.     virtual HRESULT __stdcall raw_SetElement (
  1017.         enum MsoChartElementType RHS ) = 0;
  1018.     virtual HRESULT __stdcall get_ChartData (
  1019.         struct IMsoChartData * * ppchartdata ) = 0;
  1020.     virtual HRESULT __stdcall get_Format (
  1021.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1022.     virtual HRESULT __stdcall get_Shapes (
  1023.         struct Shapes * * ppShapes ) = 0;
  1024. };
  1025. struct __declspec(uuid("000c1714-0000-0000-c000-000000000046"))
  1026. IMsoCorners : IDispatch
  1027. {
  1028.     //
  1029.     // Property data
  1030.     //
  1031.     __declspec(property(get=GetName))
  1032.     _bstr_t Name;
  1033.     __declspec(property(get=GetParent))
  1034.     IDispatchPtr Parent;
  1035.     //
  1036.     // Wrapper methods for error-handling
  1037.     //
  1038.     IDispatchPtr GetParent ( );
  1039.     _bstr_t GetName ( );
  1040.     _variant_t Select ( );
  1041.     //
  1042.     // Raw methods provided by interface
  1043.     //
  1044.     virtual HRESULT __stdcall get_Parent (
  1045.         IDispatch * * RHS ) = 0;
  1046.     virtual HRESULT __stdcall get_Name (
  1047.         BSTR * RHS ) = 0;
  1048.     virtual HRESULT __stdcall raw_Select (
  1049.         VARIANT * RHS ) = 0;
  1050. };
  1051. struct __declspec(uuid("000c1710-0000-0000-c000-000000000046"))
  1052. IMsoLegend : IDispatch
  1053. {
  1054.     //
  1055.     // Property data
  1056.     //
  1057.     __declspec(property(get=GetBorder))
  1058.     IMsoBorderPtr Border;
  1059.     __declspec(property(get=GetInterior))
  1060.     IMsoInteriorPtr Interior;
  1061.     __declspec(property(get=GetLeft,put=PutLeft))
  1062.     double Left;
  1063.     __declspec(property(get=GetPosition,put=PutPosition))
  1064.     enum XlLegendPosition Position;
  1065.     __declspec(property(get=GetShadow,put=PutShadow))
  1066.     VARIANT_BOOL Shadow;
  1067.     __declspec(property(get=GetName))
  1068.     _bstr_t Name;
  1069.     __declspec(property(get=GetFont))
  1070.     ChartFontPtr Font;
  1071.     __declspec(property(get=GetIncludeInLayout,put=PutIncludeInLayout))
  1072.     VARIANT_BOOL IncludeInLayout;
  1073.     __declspec(property(get=GetAutoScaleFont,put=PutAutoScaleFont))
  1074.     _variant_t AutoScaleFont;
  1075.     __declspec(property(get=GetParent))
  1076.     IDispatchPtr Parent;
  1077.     __declspec(property(get=GetWidth,put=PutWidth))
  1078.     double Width;
  1079.     __declspec(property(get=GetHeight,put=PutHeight))
  1080.     double Height;
  1081.     __declspec(property(get=GetFormat))
  1082.     IMsoChartFormatPtr Format;
  1083.     __declspec(property(get=GetTop,put=PutTop))
  1084.     double Top;
  1085.     __declspec(property(get=GetFill))
  1086.     ChartFillFormatPtr Fill;
  1087.     //
  1088.     // Wrapper methods for error-handling
  1089.     //
  1090.     IDispatchPtr GetParent ( );
  1091.     _bstr_t GetName ( );
  1092.     _variant_t Select ( );
  1093.     IMsoBorderPtr GetBorder ( );
  1094.     _variant_t Delete ( );
  1095.     ChartFontPtr GetFont ( );
  1096.     IDispatchPtr LegendEntries (
  1097.         const _variant_t & Index = vtMissing );
  1098.     enum XlLegendPosition GetPosition ( );
  1099.     void PutPosition (
  1100.         enum XlLegendPosition RHS );
  1101.     VARIANT_BOOL GetShadow ( );
  1102.     void PutShadow (
  1103.         VARIANT_BOOL RHS );
  1104.     _variant_t Clear ( );
  1105.     double GetHeight ( );
  1106.     void PutHeight (
  1107.         double RHS );
  1108.     IMsoInteriorPtr GetInterior ( );
  1109.     ChartFillFormatPtr GetFill ( );
  1110.     double GetLeft ( );
  1111.     void PutLeft (
  1112.         double RHS );
  1113.     double GetTop ( );
  1114.     void PutTop (
  1115.         double RHS );
  1116.     double GetWidth ( );
  1117.     void PutWidth (
  1118.         double RHS );
  1119.     _variant_t GetAutoScaleFont ( );
  1120.     void PutAutoScaleFont (
  1121.         const _variant_t & RHS );
  1122.     VARIANT_BOOL GetIncludeInLayout ( );
  1123.     void PutIncludeInLayout (
  1124.         VARIANT_BOOL RHS );
  1125.     IMsoChartFormatPtr GetFormat ( );
  1126.     //
  1127.     // Raw methods provided by interface
  1128.     //
  1129.     virtual HRESULT __stdcall get_Parent (
  1130.         IDispatch * * RHS ) = 0;
  1131.     virtual HRESULT __stdcall get_Name (
  1132.         BSTR * RHS ) = 0;
  1133.     virtual HRESULT __stdcall raw_Select (
  1134.         VARIANT * RHS ) = 0;
  1135.     virtual HRESULT __stdcall get_Border (
  1136.         struct IMsoBorder * * RHS ) = 0;
  1137.     virtual HRESULT __stdcall raw_Delete (
  1138.         VARIANT * RHS ) = 0;
  1139.     virtual HRESULT __stdcall get_Font (
  1140.         struct ChartFont * * RHS ) = 0;
  1141.     virtual HRESULT __stdcall raw_LegendEntries (
  1142.         VARIANT Index,
  1143.         IDispatch * * RHS ) = 0;
  1144.     virtual HRESULT __stdcall get_Position (
  1145.         enum XlLegendPosition * RHS ) = 0;
  1146.     virtual HRESULT __stdcall put_Position (
  1147.         enum XlLegendPosition RHS ) = 0;
  1148.     virtual HRESULT __stdcall get_Shadow (
  1149.         VARIANT_BOOL * RHS ) = 0;
  1150.     virtual HRESULT __stdcall put_Shadow (
  1151.         VARIANT_BOOL RHS ) = 0;
  1152.     virtual HRESULT __stdcall raw_Clear (
  1153.         VARIANT * RHS ) = 0;
  1154.     virtual HRESULT __stdcall get_Height (
  1155.         double * RHS ) = 0;
  1156.     virtual HRESULT __stdcall put_Height (
  1157.         double RHS ) = 0;
  1158.     virtual HRESULT __stdcall get_Interior (
  1159.         struct IMsoInterior * * RHS ) = 0;
  1160.     virtual HRESULT __stdcall get_Fill (
  1161.         struct ChartFillFormat * * RHS ) = 0;
  1162.     virtual HRESULT __stdcall get_Left (
  1163.         double * RHS ) = 0;
  1164.     virtual HRESULT __stdcall put_Left (
  1165.         double RHS ) = 0;
  1166.     virtual HRESULT __stdcall get_Top (
  1167.         double * RHS ) = 0;
  1168.     virtual HRESULT __stdcall put_Top (
  1169.         double RHS ) = 0;
  1170.     virtual HRESULT __stdcall get_Width (
  1171.         double * RHS ) = 0;
  1172.     virtual HRESULT __stdcall put_Width (
  1173.         double RHS ) = 0;
  1174.     virtual HRESULT __stdcall get_AutoScaleFont (
  1175.         VARIANT * RHS ) = 0;
  1176.     virtual HRESULT __stdcall put_AutoScaleFont (
  1177.         VARIANT RHS ) = 0;
  1178.     virtual HRESULT __stdcall get_IncludeInLayout (
  1179.         VARIANT_BOOL * RHS ) = 0;
  1180.     virtual HRESULT __stdcall put_IncludeInLayout (
  1181.         VARIANT_BOOL RHS ) = 0;
  1182.     virtual HRESULT __stdcall get_Format (
  1183.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1184. };
  1185. struct __declspec(uuid("000c1717-0000-0000-c000-000000000046"))
  1186. IMsoBorder : IDispatch
  1187. {
  1188.     //
  1189.     // Property data
  1190.     //
  1191.     __declspec(property(get=GetColor,put=PutColor))
  1192.     _variant_t Color;
  1193.     __declspec(property(get=GetColorIndex,put=PutColorIndex))
  1194.     _variant_t ColorIndex;
  1195.     __declspec(property(get=GetLineStyle,put=PutLineStyle))
  1196.     _variant_t LineStyle;
  1197.     __declspec(property(get=GetWeight,put=PutWeight))
  1198.     _variant_t Weight;
  1199.     //
  1200.     // Wrapper methods for error-handling
  1201.     //
  1202.     void PutColor (
  1203.         const _variant_t & pval );
  1204.     _variant_t GetColor ( );
  1205.     void PutColorIndex (
  1206.         const _variant_t & pval );
  1207.     _variant_t GetColorIndex ( );
  1208.     void PutLineStyle (
  1209.         const _variant_t & pval );
  1210.     _variant_t GetLineStyle ( );
  1211.     void PutWeight (
  1212.         const _variant_t & pval );
  1213.     _variant_t GetWeight ( );
  1214.     //
  1215.     // Raw methods provided by interface
  1216.     //
  1217.     virtual HRESULT __stdcall put_Color (
  1218.         VARIANT pval ) = 0;
  1219.     virtual HRESULT __stdcall get_Color (
  1220.         VARIANT * pval ) = 0;
  1221.     virtual HRESULT __stdcall put_ColorIndex (
  1222.         VARIANT pval ) = 0;
  1223.     virtual HRESULT __stdcall get_ColorIndex (
  1224.         VARIANT * pval ) = 0;
  1225.     virtual HRESULT __stdcall put_LineStyle (
  1226.         VARIANT pval ) = 0;
  1227.     virtual HRESULT __stdcall get_LineStyle (
  1228.         VARIANT * pval ) = 0;
  1229.     virtual HRESULT __stdcall put_Weight (
  1230.         VARIANT pval ) = 0;
  1231.     virtual HRESULT __stdcall get_Weight (
  1232.         VARIANT * pval ) = 0;
  1233. };
  1234. struct __declspec(uuid("000c1715-0000-0000-c000-000000000046"))
  1235. IMsoWalls : IDispatch
  1236. {
  1237.     //
  1238.     // Property data
  1239.     //
  1240.     __declspec(property(get=GetBorder))
  1241.     IMsoBorderPtr Border;
  1242.     __declspec(property(get=GetInterior))
  1243.     IMsoInteriorPtr Interior;
  1244.     __declspec(property(get=GetPictureType,put=PutPictureType))
  1245.     _variant_t PictureType;
  1246.     __declspec(property(get=GetPictureUnit,put=PutPictureUnit))
  1247.     _variant_t PictureUnit;
  1248.     __declspec(property(get=GetName))
  1249.     _bstr_t Name;
  1250.     __declspec(property(get=GetFormat))
  1251.     IMsoChartFormatPtr Format;
  1252.     __declspec(property(get=GetThickness,put=PutThickness))
  1253.     long Thickness;
  1254.     __declspec(property(get=GetParent))
  1255.     IDispatchPtr Parent;
  1256.     __declspec(property(get=GetFill))
  1257.     ChartFillFormatPtr Fill;
  1258.     //
  1259.     // Wrapper methods for error-handling
  1260.     //
  1261.     _bstr_t GetName ( );
  1262.     _variant_t Select ( );
  1263.     IDispatchPtr GetParent ( );
  1264.     IMsoBorderPtr GetBorder ( );
  1265.     _variant_t ClearFormats ( );
  1266.     IMsoInteriorPtr GetInterior ( );
  1267.     ChartFillFormatPtr GetFill ( );
  1268.     _variant_t GetPictureType ( );
  1269.     void PutPictureType (
  1270.         const _variant_t & pvar );
  1271.     HRESULT Paste ( );
  1272.     _variant_t GetPictureUnit ( );
  1273.     void PutPictureUnit (
  1274.         const _variant_t & pvar );
  1275.     long GetThickness ( );
  1276.     void PutThickness (
  1277.         long RHS );
  1278.     IMsoChartFormatPtr GetFormat ( );
  1279.     //
  1280.     // Raw methods provided by interface
  1281.     //
  1282.     virtual HRESULT __stdcall get_Name (
  1283.         BSTR * bstr ) = 0;
  1284.     virtual HRESULT __stdcall raw_Select (
  1285.         VARIANT * pvar ) = 0;
  1286.     virtual HRESULT __stdcall get_Parent (
  1287.         IDispatch * * ppParent ) = 0;
  1288.     virtual HRESULT __stdcall get_Border (
  1289.         struct IMsoBorder * * ppborder ) = 0;
  1290.     virtual HRESULT __stdcall raw_ClearFormats (
  1291.         VARIANT * pvar ) = 0;
  1292.     virtual HRESULT __stdcall get_Interior (
  1293.         struct IMsoInterior * * ppinterior ) = 0;
  1294.     virtual HRESULT __stdcall get_Fill (
  1295.         struct ChartFillFormat * * ppfill ) = 0;
  1296.     virtual HRESULT __stdcall get_PictureType (
  1297.         VARIANT * pvar ) = 0;
  1298.     virtual HRESULT __stdcall put_PictureType (
  1299.         VARIANT pvar ) = 0;
  1300.     virtual HRESULT __stdcall raw_Paste ( ) = 0;
  1301.     virtual HRESULT __stdcall get_PictureUnit (
  1302.         VARIANT * pvar ) = 0;
  1303.     virtual HRESULT __stdcall put_PictureUnit (
  1304.         VARIANT pvar ) = 0;
  1305.     virtual HRESULT __stdcall get_Thickness (
  1306.         long * RHS ) = 0;
  1307.     virtual HRESULT __stdcall put_Thickness (
  1308.         long RHS ) = 0;
  1309.     virtual HRESULT __stdcall get_Format (
  1310.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1311. };
  1312. struct __declspec(uuid("000c1716-0000-0000-c000-000000000046"))
  1313. IMsoFloor : IDispatch
  1314. {
  1315.     //
  1316.     // Property data
  1317.     //
  1318.     __declspec(property(get=GetBorder))
  1319.     IMsoBorderPtr Border;
  1320.     __declspec(property(get=GetInterior))
  1321.     IMsoInteriorPtr Interior;
  1322.     __declspec(property(get=GetPictureType,put=PutPictureType))
  1323.     _variant_t PictureType;
  1324.     __declspec(property(get=GetFormat))
  1325.     IMsoChartFormatPtr Format;
  1326.     __declspec(property(get=GetName))
  1327.     _bstr_t Name;
  1328.     __declspec(property(get=GetThickness,put=PutThickness))
  1329.     long Thickness;
  1330.     __declspec(property(get=GetParent))
  1331.     IDispatchPtr Parent;
  1332.     __declspec(property(get=GetFill))
  1333.     ChartFillFormatPtr Fill;
  1334.     //
  1335.     // Wrapper methods for error-handling
  1336.     //
  1337.     _bstr_t GetName ( );
  1338.     _variant_t Select ( );
  1339.     IDispatchPtr GetParent ( );
  1340.     IMsoBorderPtr GetBorder ( );
  1341.     _variant_t ClearFormats ( );
  1342.     IMsoInteriorPtr GetInterior ( );
  1343.     ChartFillFormatPtr GetFill ( );
  1344.     _variant_t GetPictureType ( );
  1345.     void PutPictureType (
  1346.         const _variant_t & pvar );
  1347.     HRESULT Paste ( );
  1348.     long GetThickness ( );
  1349.     void PutThickness (
  1350.         long RHS );
  1351.     IMsoChartFormatPtr GetFormat ( );
  1352.     //
  1353.     // Raw methods provided by interface
  1354.     //
  1355.     virtual HRESULT __stdcall get_Name (
  1356.         BSTR * bstr ) = 0;
  1357.     virtual HRESULT __stdcall raw_Select (
  1358.         VARIANT * pvar ) = 0;
  1359.     virtual HRESULT __stdcall get_Parent (
  1360.         IDispatch * * ppParent ) = 0;
  1361.     virtual HRESULT __stdcall get_Border (
  1362.         struct IMsoBorder * * ppborder ) = 0;
  1363.     virtual HRESULT __stdcall raw_ClearFormats (
  1364.         VARIANT * pvar ) = 0;
  1365.     virtual HRESULT __stdcall get_Interior (
  1366.         struct IMsoInterior * * ppinterior ) = 0;
  1367.     virtual HRESULT __stdcall get_Fill (
  1368.         struct ChartFillFormat * * ppfill ) = 0;
  1369.     virtual HRESULT __stdcall get_PictureType (
  1370.         VARIANT * pvar ) = 0;
  1371.     virtual HRESULT __stdcall put_PictureType (
  1372.         VARIANT pvar ) = 0;
  1373.     virtual HRESULT __stdcall raw_Paste ( ) = 0;
  1374.     virtual HRESULT __stdcall get_Thickness (
  1375.         long * RHS ) = 0;
  1376.     virtual HRESULT __stdcall put_Thickness (
  1377.         long RHS ) = 0;
  1378.     virtual HRESULT __stdcall get_Format (
  1379.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1380. };
  1381. struct __declspec(uuid("000c1724-0000-0000-c000-000000000046"))
  1382. IMsoPlotArea : IDispatch
  1383. {
  1384.     //
  1385.     // Property data
  1386.     //
  1387.     __declspec(property(get=GetBorder))
  1388.     IMsoBorderPtr Border;
  1389.     __declspec(property(get=GetInterior))
  1390.     IMsoInteriorPtr Interior;
  1391.     __declspec(property(get=GetLeft,put=PutLeft))
  1392.     double Left;
  1393.     __declspec(property(get=GetInsideLeft,put=PutInsideLeft))
  1394.     double InsideLeft;
  1395.     __declspec(property(get=GetInsideTop,put=PutInsideTop))
  1396.     double InsideTop;
  1397.     __declspec(property(get=GetInsideWidth,put=PutInsideWidth))
  1398.     double InsideWidth;
  1399.     __declspec(property(get=GetInsideHeight,put=PutInsideHeight))
  1400.     double InsideHeight;
  1401.     __declspec(property(get=GetPosition,put=PutPosition))
  1402.     enum XlChartElementPosition Position;
  1403.     __declspec(property(get=GetName))
  1404.     _bstr_t Name;
  1405.     __declspec(property(get=GetParent))
  1406.     IDispatchPtr Parent;
  1407.     __declspec(property(get=GetFormat))
  1408.     IMsoChartFormatPtr Format;
  1409.     __declspec(property(get=GetWidth,put=PutWidth))
  1410.     double Width;
  1411.     __declspec(property(get=GetHeight,put=PutHeight))
  1412.     double Height;
  1413.     __declspec(property(get=GetTop,put=PutTop))
  1414.     double Top;
  1415.     __declspec(property(get=GetFill))
  1416.     ChartFillFormatPtr Fill;
  1417.     //
  1418.     // Wrapper methods for error-handling
  1419.     //
  1420.     _bstr_t GetName ( );
  1421.     _variant_t Select ( );
  1422.     IDispatchPtr GetParent ( );
  1423.     IMsoBorderPtr GetBorder ( );
  1424.     _variant_t ClearFormats ( );
  1425.     double GetHeight ( );
  1426.     void PutHeight (
  1427.         double pd );
  1428.     IMsoInteriorPtr GetInterior ( );
  1429.     ChartFillFormatPtr GetFill ( );
  1430.     double GetLeft ( );
  1431.     void PutLeft (
  1432.         double pd );
  1433.     double GetTop ( );
  1434.     void PutTop (
  1435.         double pd );
  1436.     double GetWidth ( );
  1437.     void PutWidth (
  1438.         double pd );
  1439.     double GetInsideLeft ( );
  1440.     void PutInsideLeft (
  1441.         double pd );
  1442.     double GetInsideTop ( );
  1443.     void PutInsideTop (
  1444.         double pd );
  1445.     double GetInsideWidth ( );
  1446.     void PutInsideWidth (
  1447.         double pd );
  1448.     double GetInsideHeight ( );
  1449.     void PutInsideHeight (
  1450.         double pd );
  1451.     enum XlChartElementPosition GetPosition ( );
  1452.     void PutPosition (
  1453.         enum XlChartElementPosition pval );
  1454.     IMsoChartFormatPtr GetFormat ( );
  1455.     //
  1456.     // Raw methods provided by interface
  1457.     //
  1458.     virtual HRESULT __stdcall get_Name (
  1459.         BSTR * bstr ) = 0;
  1460.     virtual HRESULT __stdcall raw_Select (
  1461.         VARIANT * pvar ) = 0;
  1462.     virtual HRESULT __stdcall get_Parent (
  1463.         IDispatch * * ppParent ) = 0;
  1464.     virtual HRESULT __stdcall get_Border (
  1465.         struct IMsoBorder * * ppborder ) = 0;
  1466.     virtual HRESULT __stdcall raw_ClearFormats (
  1467.         VARIANT * pvar ) = 0;
  1468.     virtual HRESULT __stdcall get_Height (
  1469.         double * pd ) = 0;
  1470.     virtual HRESULT __stdcall put_Height (
  1471.         double pd ) = 0;
  1472.     virtual HRESULT __stdcall get_Interior (
  1473.         struct IMsoInterior * * ppinterior ) = 0;
  1474.     virtual HRESULT __stdcall get_Fill (
  1475.         struct ChartFillFormat * * ppfill ) = 0;
  1476.     virtual HRESULT __stdcall get_Left (
  1477.         double * pd ) = 0;
  1478.     virtual HRESULT __stdcall put_Left (
  1479.         double pd ) = 0;
  1480.     virtual HRESULT __stdcall get_Top (
  1481.         double * pd ) = 0;
  1482.     virtual HRESULT __stdcall put_Top (
  1483.         double pd ) = 0;
  1484.     virtual HRESULT __stdcall get_Width (
  1485.         double * pd ) = 0;
  1486.     virtual HRESULT __stdcall put_Width (
  1487.         double pd ) = 0;
  1488.     virtual HRESULT __stdcall get_InsideLeft (
  1489.         double * pd ) = 0;
  1490.     virtual HRESULT __stdcall put_InsideLeft (
  1491.         double pd ) = 0;
  1492.     virtual HRESULT __stdcall get_InsideTop (
  1493.         double * pd ) = 0;
  1494.     virtual HRESULT __stdcall put_InsideTop (
  1495.         double pd ) = 0;
  1496.     virtual HRESULT __stdcall get_InsideWidth (
  1497.         double * pd ) = 0;
  1498.     virtual HRESULT __stdcall put_InsideWidth (
  1499.         double pd ) = 0;
  1500.     virtual HRESULT __stdcall get_InsideHeight (
  1501.         double * pd ) = 0;
  1502.     virtual HRESULT __stdcall put_InsideHeight (
  1503.         double pd ) = 0;
  1504.     virtual HRESULT __stdcall get_Position (
  1505.         enum XlChartElementPosition * pval ) = 0;
  1506.     virtual HRESULT __stdcall put_Position (
  1507.         enum XlChartElementPosition pval ) = 0;
  1508.     virtual HRESULT __stdcall get_Format (
  1509.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1510. };
  1511. struct __declspec(uuid("000c1728-0000-0000-c000-000000000046"))
  1512. IMsoChartArea : IDispatch
  1513. {
  1514.     //
  1515.     // Property data
  1516.     //
  1517.     __declspec(property(get=GetBorder))
  1518.     IMsoBorderPtr Border;
  1519.     __declspec(property(get=GetInterior))
  1520.     IMsoInteriorPtr Interior;
  1521.     __declspec(property(get=GetLeft,put=PutLeft))
  1522.     double Left;
  1523.     __declspec(property(get=GetShadow,put=PutShadow))
  1524.     VARIANT_BOOL Shadow;
  1525.     __declspec(property(get=GetName))
  1526.     _bstr_t Name;
  1527.     __declspec(property(get=GetFont))
  1528.     ChartFontPtr Font;
  1529.     __declspec(property(get=GetAutoScaleFont,put=PutAutoScaleFont))
  1530.     _variant_t AutoScaleFont;
  1531.     __declspec(property(get=GetParent))
  1532.     IDispatchPtr Parent;
  1533.     __declspec(property(get=GetFormat))
  1534.     IMsoChartFormatPtr Format;
  1535.     __declspec(property(get=GetWidth,put=PutWidth))
  1536.     double Width;
  1537.     __declspec(property(get=GetHeight,put=PutHeight))
  1538.     double Height;
  1539.     __declspec(property(get=GetTop,put=PutTop))
  1540.     double Top;
  1541.     __declspec(property(get=GetFill))
  1542.     ChartFillFormatPtr Fill;
  1543.     //
  1544.     // Wrapper methods for error-handling
  1545.     //
  1546.     _bstr_t GetName ( );
  1547.     _variant_t Select ( );
  1548.     IDispatchPtr GetParent ( );
  1549.     IMsoBorderPtr GetBorder ( );
  1550.     _variant_t Clear ( );
  1551.     _variant_t ClearContents ( );
  1552.     _variant_t Copy ( );
  1553.     ChartFontPtr GetFont ( );
  1554.     VARIANT_BOOL GetShadow ( );
  1555.     void PutShadow (
  1556.         VARIANT_BOOL pf );
  1557.     _variant_t ClearFormats ( );
  1558.     double GetHeight ( );
  1559.     void PutHeight (
  1560.         double pd );
  1561.     IMsoInteriorPtr GetInterior ( );
  1562.     ChartFillFormatPtr GetFill ( );
  1563.     double GetLeft ( );
  1564.     void PutLeft (
  1565.         double pd );
  1566.     double GetTop ( );
  1567.     void PutTop (
  1568.         double pd );
  1569.     double GetWidth ( );
  1570.     void PutWidth (
  1571.         double pd );
  1572.     _variant_t GetAutoScaleFont ( );
  1573.     void PutAutoScaleFont (
  1574.         const _variant_t & pvar );
  1575.     IMsoChartFormatPtr GetFormat ( );
  1576.     //
  1577.     // Raw methods provided by interface
  1578.     //
  1579.     virtual HRESULT __stdcall get_Name (
  1580.         BSTR * bstr ) = 0;
  1581.     virtual HRESULT __stdcall raw_Select (
  1582.         VARIANT * pvar ) = 0;
  1583.     virtual HRESULT __stdcall get_Parent (
  1584.         IDispatch * * ppParent ) = 0;
  1585.     virtual HRESULT __stdcall get_Border (
  1586.         struct IMsoBorder * * ppborder ) = 0;
  1587.     virtual HRESULT __stdcall raw_Clear (
  1588.         VARIANT * pvar ) = 0;
  1589.     virtual HRESULT __stdcall raw_ClearContents (
  1590.         VARIANT * pvar ) = 0;
  1591.     virtual HRESULT __stdcall raw_Copy (
  1592.         VARIANT * pvar ) = 0;
  1593.     virtual HRESULT __stdcall get_Font (
  1594.         struct ChartFont * * ppfont ) = 0;
  1595.     virtual HRESULT __stdcall get_Shadow (
  1596.         VARIANT_BOOL * pf ) = 0;
  1597.     virtual HRESULT __stdcall put_Shadow (
  1598.         VARIANT_BOOL pf ) = 0;
  1599.     virtual HRESULT __stdcall raw_ClearFormats (
  1600.         VARIANT * pvar ) = 0;
  1601.     virtual HRESULT __stdcall get_Height (
  1602.         double * pd ) = 0;
  1603.     virtual HRESULT __stdcall put_Height (
  1604.         double pd ) = 0;
  1605.     virtual HRESULT __stdcall get_Interior (
  1606.         struct IMsoInterior * * ppinterior ) = 0;
  1607.     virtual HRESULT __stdcall get_Fill (
  1608.         struct ChartFillFormat * * ppfill ) = 0;
  1609.     virtual HRESULT __stdcall get_Left (
  1610.         double * pd ) = 0;
  1611.     virtual HRESULT __stdcall put_Left (
  1612.         double pd ) = 0;
  1613.     virtual HRESULT __stdcall get_Top (
  1614.         double * pd ) = 0;
  1615.     virtual HRESULT __stdcall put_Top (
  1616.         double pd ) = 0;
  1617.     virtual HRESULT __stdcall get_Width (
  1618.         double * pd ) = 0;
  1619.     virtual HRESULT __stdcall put_Width (
  1620.         double pd ) = 0;
  1621.     virtual HRESULT __stdcall get_AutoScaleFont (
  1622.         VARIANT * pvar ) = 0;
  1623.     virtual HRESULT __stdcall put_AutoScaleFont (
  1624.         VARIANT pvar ) = 0;
  1625.     virtual HRESULT __stdcall get_Format (
  1626.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1627. };
  1628. struct __declspec(uuid("000c1729-0000-0000-c000-000000000046"))
  1629. IMsoSeriesLines : IDispatch
  1630. {
  1631.     //
  1632.     // Property data
  1633.     //
  1634.     __declspec(property(get=GetBorder))
  1635.     IMsoBorderPtr Border;
  1636.     __declspec(property(get=GetFormat))
  1637.     IMsoChartFormatPtr Format;
  1638.     __declspec(property(get=GetName))
  1639.     _bstr_t Name;
  1640.     __declspec(property(get=GetParent))
  1641.     IDispatchPtr Parent;
  1642.     //
  1643.     // Wrapper methods for error-handling
  1644.     //
  1645.     _bstr_t GetName ( );
  1646.     _variant_t Select ( );
  1647.     IDispatchPtr GetParent ( );
  1648.     IMsoBorderPtr GetBorder ( );
  1649.     _variant_t Delete ( );
  1650.     IMsoChartFormatPtr GetFormat ( );
  1651.     //
  1652.     // Raw methods provided by interface
  1653.     //
  1654.     virtual HRESULT __stdcall get_Name (
  1655.         BSTR * bstr ) = 0;
  1656.     virtual HRESULT __stdcall raw_Select (
  1657.         VARIANT * pvar ) = 0;
  1658.     virtual HRESULT __stdcall get_Parent (
  1659.         IDispatch * * ppParent ) = 0;
  1660.     virtual HRESULT __stdcall get_Border (
  1661.         struct IMsoBorder * * ppborder ) = 0;
  1662.     virtual HRESULT __stdcall raw_Delete (
  1663.         VARIANT * pvar ) = 0;
  1664.     virtual HRESULT __stdcall get_Format (
  1665.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1666. };
  1667. struct __declspec(uuid("000c1723-0000-0000-c000-000000000046"))
  1668. IMsoLeaderLines : IDispatch
  1669. {
  1670.     //
  1671.     // Property data
  1672.     //
  1673.     __declspec(property(get=GetBorder))
  1674.     IMsoBorderPtr Border;
  1675.     __declspec(property(get=GetFormat))
  1676.     IMsoChartFormatPtr Format;
  1677.     //
  1678.     // Wrapper methods for error-handling
  1679.     //
  1680.     HRESULT Select ( );
  1681.     IMsoBorderPtr GetBorder ( );
  1682.     HRESULT Delete ( );
  1683.     IMsoChartFormatPtr GetFormat ( );
  1684.     //
  1685.     // Raw methods provided by interface
  1686.     //
  1687.     virtual HRESULT __stdcall raw_Select ( ) = 0;
  1688.     virtual HRESULT __stdcall get_Border (
  1689.         struct IMsoBorder * * ppborder ) = 0;
  1690.     virtual HRESULT __stdcall raw_Delete ( ) = 0;
  1691.     virtual HRESULT __stdcall get_Format (
  1692.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1693. };
  1694. struct __declspec(uuid("000c1725-0000-0000-c000-000000000046"))
  1695. GridLines : IDispatch
  1696. {
  1697.     //
  1698.     // Property data
  1699.     //
  1700.     __declspec(property(get=GetBorder))
  1701.     IMsoBorderPtr Border;
  1702.     __declspec(property(get=GetFormat))
  1703.     IMsoChartFormatPtr Format;
  1704.     __declspec(property(get=GetName))
  1705.     _bstr_t Name;
  1706.     __declspec(property(get=GetParent))
  1707.     IDispatchPtr Parent;
  1708.     //
  1709.     // Wrapper methods for error-handling
  1710.     //
  1711.     _bstr_t GetName ( );
  1712.     _variant_t Select ( );
  1713.     IDispatchPtr GetParent ( );
  1714.     IMsoBorderPtr GetBorder ( );
  1715.     _variant_t Delete ( );
  1716.     IMsoChartFormatPtr GetFormat ( );
  1717.     //
  1718.     // Raw methods provided by interface
  1719.     //
  1720.     virtual HRESULT __stdcall get_Name (
  1721.         BSTR * bstr ) = 0;
  1722.     virtual HRESULT __stdcall raw_Select (
  1723.         VARIANT * pvar ) = 0;
  1724.     virtual HRESULT __stdcall get_Parent (
  1725.         IDispatch * * ppParent ) = 0;
  1726.     virtual HRESULT __stdcall get_Border (
  1727.         struct IMsoBorder * * ppborder ) = 0;
  1728.     virtual HRESULT __stdcall raw_Delete (
  1729.         VARIANT * pvar ) = 0;
  1730.     virtual HRESULT __stdcall get_Format (
  1731.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1732. };
  1733. struct __declspec(uuid("000c172a-0000-0000-c000-000000000046"))
  1734. IMsoUpBars : IDispatch
  1735. {
  1736.     //
  1737.     // Property data
  1738.     //
  1739.     __declspec(property(get=GetBorder))
  1740.     IMsoBorderPtr Border;
  1741.     __declspec(property(get=GetInterior))
  1742.     IMsoInteriorPtr Interior;
  1743.     __declspec(property(get=GetFormat))
  1744.     IMsoChartFormatPtr Format;
  1745.     __declspec(property(get=GetName))
  1746.     _bstr_t Name;
  1747.     __declspec(property(get=GetParent))
  1748.     IDispatchPtr Parent;
  1749.     __declspec(property(get=GetFill))
  1750.     ChartFillFormatPtr Fill;
  1751.     //
  1752.     // Wrapper methods for error-handling
  1753.     //
  1754.     _bstr_t GetName ( );
  1755.     _variant_t Select ( );
  1756.     IDispatchPtr GetParent ( );
  1757.     IMsoBorderPtr GetBorder ( );
  1758.     _variant_t Delete ( );
  1759.     IMsoInteriorPtr GetInterior ( );
  1760.     ChartFillFormatPtr GetFill ( );
  1761.     IMsoChartFormatPtr GetFormat ( );
  1762.     //
  1763.     // Raw methods provided by interface
  1764.     //
  1765.     virtual HRESULT __stdcall get_Name (
  1766.         BSTR * bstr ) = 0;
  1767.     virtual HRESULT __stdcall raw_Select (
  1768.         VARIANT * pvar ) = 0;
  1769.     virtual HRESULT __stdcall get_Parent (
  1770.         IDispatch * * ppParent ) = 0;
  1771.     virtual HRESULT __stdcall get_Border (
  1772.         struct IMsoBorder * * ppborder ) = 0;
  1773.     virtual HRESULT __stdcall raw_Delete (
  1774.         VARIANT * pvar ) = 0;
  1775.     virtual HRESULT __stdcall get_Interior (
  1776.         struct IMsoInterior * * ppinterior ) = 0;
  1777.     virtual HRESULT __stdcall get_Fill (
  1778.         struct ChartFillFormat * * ppfill ) = 0;
  1779.     virtual HRESULT __stdcall get_Format (
  1780.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1781. };
  1782. struct __declspec(uuid("000c172d-0000-0000-c000-000000000046"))
  1783. IMsoDownBars : IDispatch
  1784. {
  1785.     //
  1786.     // Property data
  1787.     //
  1788.     __declspec(property(get=GetBorder))
  1789.     IMsoBorderPtr Border;
  1790.     __declspec(property(get=GetInterior))
  1791.     IMsoInteriorPtr Interior;
  1792.     __declspec(property(get=GetFormat))
  1793.     IMsoChartFormatPtr Format;
  1794.     __declspec(property(get=GetName))
  1795.     _bstr_t Name;
  1796.     __declspec(property(get=GetParent))
  1797.     IDispatchPtr Parent;
  1798.     __declspec(property(get=GetFill))
  1799.     ChartFillFormatPtr Fill;
  1800.     //
  1801.     // Wrapper methods for error-handling
  1802.     //
  1803.     _bstr_t GetName ( );
  1804.     _variant_t Select ( );
  1805.     IDispatchPtr GetParent ( );
  1806.     IMsoBorderPtr GetBorder ( );
  1807.     _variant_t Delete ( );
  1808.     IMsoInteriorPtr GetInterior ( );
  1809.     ChartFillFormatPtr GetFill ( );
  1810.     IMsoChartFormatPtr GetFormat ( );
  1811.     //
  1812.     // Raw methods provided by interface
  1813.     //
  1814.     virtual HRESULT __stdcall get_Name (
  1815.         BSTR * bstr ) = 0;
  1816.     virtual HRESULT __stdcall raw_Select (
  1817.         VARIANT * pvar ) = 0;
  1818.     virtual HRESULT __stdcall get_Parent (
  1819.         IDispatch * * ppParent ) = 0;
  1820.     virtual HRESULT __stdcall get_Border (
  1821.         struct IMsoBorder * * ppborder ) = 0;
  1822.     virtual HRESULT __stdcall raw_Delete (
  1823.         VARIANT * pvar ) = 0;
  1824.     virtual HRESULT __stdcall get_Interior (
  1825.         struct IMsoInterior * * ppinterior ) = 0;
  1826.     virtual HRESULT __stdcall get_Fill (
  1827.         struct ChartFillFormat * * ppfill ) = 0;
  1828.     virtual HRESULT __stdcall get_Format (
  1829.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  1830. };
  1831. struct __declspec(uuid("000c171b-0000-0000-c000-000000000046"))
  1832. IMsoInterior : IDispatch
  1833. {
  1834.     //
  1835.     // Property data
  1836.     //
  1837.     __declspec(property(get=GetColor,put=PutColor))
  1838.     _variant_t Color;
  1839.     __declspec(property(get=GetColorIndex,put=PutColorIndex))
  1840.     _variant_t ColorIndex;
  1841.     __declspec(property(get=GetInvertIfNegative,put=PutInvertIfNegative))
  1842.     _variant_t InvertIfNegative;
  1843.     __declspec(property(get=GetPattern,put=PutPattern))
  1844.     _variant_t Pattern;
  1845.     __declspec(property(get=GetPatternColor,put=PutPatternColor))
  1846.     _variant_t PatternColor;
  1847.     __declspec(property(get=GetPatternColorIndex,put=PutPatternColorIndex))
  1848.     _variant_t PatternColorIndex;
  1849.     //
  1850.     // Wrapper methods for error-handling
  1851.     //
  1852.     void PutColor (
  1853.         const _variant_t & pval );
  1854.     _variant_t GetColor ( );
  1855.     void PutColorIndex (
  1856.         const _variant_t & pval );
  1857.     _variant_t GetColorIndex ( );
  1858.     void PutInvertIfNegative (
  1859.         const _variant_t & pval );
  1860.     _variant_t GetInvertIfNegative ( );
  1861.     void PutPattern (
  1862.         const _variant_t & pval );
  1863.     _variant_t GetPattern ( );
  1864.     void PutPatternColor (
  1865.         const _variant_t & pval );
  1866.     _variant_t GetPatternColor ( );
  1867.     void PutPatternColorIndex (
  1868.         const _variant_t & pval );
  1869.     _variant_t GetPatternColorIndex ( );
  1870.     //
  1871.     // Raw methods provided by interface
  1872.     //
  1873.     virtual HRESULT __stdcall put_Color (
  1874.         VARIANT pval ) = 0;
  1875.     virtual HRESULT __stdcall get_Color (
  1876.         VARIANT * pval ) = 0;
  1877.     virtual HRESULT __stdcall put_ColorIndex (
  1878.         VARIANT pval ) = 0;
  1879.     virtual HRESULT __stdcall get_ColorIndex (
  1880.         VARIANT * pval ) = 0;
  1881.     virtual HRESULT __stdcall put_InvertIfNegative (
  1882.         VARIANT pval ) = 0;
  1883.     virtual HRESULT __stdcall get_InvertIfNegative (
  1884.         VARIANT * pval ) = 0;
  1885.     virtual HRESULT __stdcall put_Pattern (
  1886.         VARIANT pval ) = 0;
  1887.     virtual HRESULT __stdcall get_Pattern (
  1888.         VARIANT * pval ) = 0;
  1889.     virtual HRESULT __stdcall put_PatternColor (
  1890.         VARIANT pval ) = 0;
  1891.     virtual HRESULT __stdcall get_PatternColor (
  1892.         VARIANT * pval ) = 0;
  1893.     virtual HRESULT __stdcall put_PatternColorIndex (
  1894.         VARIANT pval ) = 0;
  1895.     virtual HRESULT __stdcall get_PatternColorIndex (
  1896.         VARIANT * pval ) = 0;
  1897. };
  1898. struct __declspec(uuid("000c171c-0000-0000-c000-000000000046"))
  1899. ChartFillFormat : IDispatch
  1900. {
  1901.     //
  1902.     // Property data
  1903.     //
  1904.     __declspec(property(get=GetBackColor))
  1905.     ChartColorFormatPtr BackColor;
  1906.     __declspec(property(get=GetForeColor))
  1907.     ChartColorFormatPtr ForeColor;
  1908.     __declspec(property(get=GetGradientColorType))
  1909.     int GradientColorType;
  1910.     __declspec(property(get=GetGradientDegree))
  1911.     float GradientDegree;
  1912.     __declspec(property(get=GetGradientStyle))
  1913.     int GradientStyle;
  1914.     __declspec(property(get=GetGradientVariant))
  1915.     int GradientVariant;
  1916.     __declspec(property(get=GetPattern))
  1917.     int Pattern;
  1918.     __declspec(property(get=GetPresetGradientType))
  1919.     int PresetGradientType;
  1920.     __declspec(property(get=GetPresetTexture))
  1921.     int PresetTexture;
  1922.     __declspec(property(get=GetTextureName))
  1923.     _bstr_t TextureName;
  1924.     __declspec(property(get=GetTextureType))
  1925.     int TextureType;
  1926.     __declspec(property(get=GetType))
  1927.     int Type;
  1928.     __declspec(property(get=GetVisible,put=PutVisible))
  1929.     int Visible;
  1930.     //
  1931.     // Wrapper methods for error-handling
  1932.     //
  1933.     HRESULT OneColorGradient (
  1934.         int Style,
  1935.         int Variant,
  1936.         float Degree );
  1937.     HRESULT TwoColorGradient (
  1938.         int Style,
  1939.         int Variant );
  1940.     HRESULT PresetTextured (
  1941.         int PresetTexture );
  1942.     HRESULT Solid ( );
  1943.     HRESULT Patterned (
  1944.         int Pattern );
  1945.     HRESULT UserPicture (
  1946.         const _variant_t & PictureFile,
  1947.         const _variant_t & PictureFormat,
  1948.         const _variant_t & PictureStackUnit,
  1949.         const _variant_t & PicturePlacement );
  1950.     HRESULT UserTextured (
  1951.         _bstr_t TextureFile );
  1952.     HRESULT PresetGradient (
  1953.         int Style,
  1954.         int Variant,
  1955.         int PresetGradientType );
  1956.     ChartColorFormatPtr GetBackColor ( );
  1957.     ChartColorFormatPtr GetForeColor ( );
  1958.     int GetGradientColorType ( );
  1959.     float GetGradientDegree ( );
  1960.     int GetGradientStyle ( );
  1961.     int GetGradientVariant ( );
  1962.     int GetPattern ( );
  1963.     int GetPresetGradientType ( );
  1964.     int GetPresetTexture ( );
  1965.     _bstr_t GetTextureName ( );
  1966.     int GetTextureType ( );
  1967.     int GetType ( );
  1968.     void PutVisible (
  1969.         int pval );
  1970.     int GetVisible ( );
  1971.     //
  1972.     // Raw methods provided by interface
  1973.     //
  1974.     virtual HRESULT __stdcall raw_OneColorGradient (
  1975.         int Style,
  1976.         int Variant,
  1977.         float Degree ) = 0;
  1978.     virtual HRESULT __stdcall raw_TwoColorGradient (
  1979.         int Style,
  1980.         int Variant ) = 0;
  1981.     virtual HRESULT __stdcall raw_PresetTextured (
  1982.         int PresetTexture ) = 0;
  1983.     virtual HRESULT __stdcall raw_Solid ( ) = 0;
  1984.     virtual HRESULT __stdcall raw_Patterned (
  1985.         int Pattern ) = 0;
  1986.     virtual HRESULT __stdcall raw_UserPicture (
  1987.         VARIANT PictureFile,
  1988.         VARIANT PictureFormat,
  1989.         VARIANT PictureStackUnit,
  1990.         VARIANT PicturePlacement ) = 0;
  1991.     virtual HRESULT __stdcall raw_UserTextured (
  1992.         BSTR TextureFile ) = 0;
  1993.     virtual HRESULT __stdcall raw_PresetGradient (
  1994.         int Style,
  1995.         int Variant,
  1996.         int PresetGradientType ) = 0;
  1997.     virtual HRESULT __stdcall get_BackColor (
  1998.         struct ChartColorFormat * * pval ) = 0;
  1999.     virtual HRESULT __stdcall get_ForeColor (
  2000.         struct ChartColorFormat * * pval ) = 0;
  2001.     virtual HRESULT __stdcall get_GradientColorType (
  2002.         int * pval ) = 0;
  2003.     virtual HRESULT __stdcall get_GradientDegree (
  2004.         float * pval ) = 0;
  2005.     virtual HRESULT __stdcall get_GradientStyle (
  2006.         int * pval ) = 0;
  2007.     virtual HRESULT __stdcall get_GradientVariant (
  2008.         int * pval ) = 0;
  2009.     virtual HRESULT __stdcall get_Pattern (
  2010.         int * pval ) = 0;
  2011.     virtual HRESULT __stdcall get_PresetGradientType (
  2012.         int * pval ) = 0;
  2013.     virtual HRESULT __stdcall get_PresetTexture (
  2014.         int * pval ) = 0;
  2015.     virtual HRESULT __stdcall get_TextureName (
  2016.         BSTR * pval ) = 0;
  2017.     virtual HRESULT __stdcall get_TextureType (
  2018.         int * pval ) = 0;
  2019.     virtual HRESULT __stdcall get_Type (
  2020.         int * pval ) = 0;
  2021.     virtual HRESULT __stdcall put_Visible (
  2022.         int pval ) = 0;
  2023.     virtual HRESULT __stdcall get_Visible (
  2024.         int * pval ) = 0;
  2025. };
  2026. struct __declspec(uuid("000c1719-0000-0000-c000-000000000046"))
  2027. LegendEntries : IDispatch
  2028. {
  2029.     //
  2030.     // Property data
  2031.     //
  2032.     __declspec(property(get=GetParent))
  2033.     IDispatchPtr Parent;
  2034.     __declspec(property(get=GetCount))
  2035.     long Count;
  2036.     //
  2037.     // Wrapper methods for error-handling
  2038.     //
  2039.     IDispatchPtr GetParent ( );
  2040.     long GetCount ( );
  2041.     LegendEntryPtr Item (
  2042.         const _variant_t & Index );
  2043.     IUnknownPtr _NewEnum ( );
  2044.     //
  2045.     // Raw methods provided by interface
  2046.     //
  2047.     virtual HRESULT __stdcall get_Parent (
  2048.         IDispatch * * RHS ) = 0;
  2049.     virtual HRESULT __stdcall get_Count (
  2050.         long * RHS ) = 0;
  2051.     virtual HRESULT __stdcall raw_Item (
  2052.         VARIANT Index,
  2053.         struct LegendEntry * * RHS ) = 0;
  2054.     virtual HRESULT __stdcall raw__NewEnum (
  2055.         IUnknown * * RHS ) = 0;
  2056. };
  2057. struct __declspec(uuid("000c1718-0000-0000-c000-000000000046"))
  2058. ChartFont : IDispatch
  2059. {
  2060.     //
  2061.     // Property data
  2062.     //
  2063.     __declspec(property(get=GetBackground,put=PutBackground))
  2064.     _variant_t Background;
  2065.     __declspec(property(get=GetBold,put=PutBold))
  2066.     _variant_t Bold;
  2067.     __declspec(property(get=GetColor,put=PutColor))
  2068.     _variant_t Color;
  2069.     __declspec(property(get=GetColorIndex,put=PutColorIndex))
  2070.     _variant_t ColorIndex;
  2071.     __declspec(property(get=GetFontStyle,put=PutFontStyle))
  2072.     _variant_t FontStyle;
  2073.     __declspec(property(get=GetItalic,put=PutItalic))
  2074.     _variant_t Italic;
  2075.     __declspec(property(get=GetName,put=PutName))
  2076.     _variant_t Name;
  2077.     __declspec(property(get=GetOutlineFont,put=PutOutlineFont))
  2078.     _variant_t OutlineFont;
  2079.     __declspec(property(get=GetShadow,put=PutShadow))
  2080.     _variant_t Shadow;
  2081.     __declspec(property(get=GetSize,put=PutSize))
  2082.     _variant_t Size;
  2083.     __declspec(property(get=GetStrikeThrough,put=PutStrikeThrough))
  2084.     _variant_t StrikeThrough;
  2085.     __declspec(property(get=GetSubscript,put=PutSubscript))
  2086.     _variant_t Subscript;
  2087.     __declspec(property(get=GetSuperscript,put=PutSuperscript))
  2088.     _variant_t Superscript;
  2089.     __declspec(property(get=GetUnderline,put=PutUnderline))
  2090.     _variant_t Underline;
  2091.     //
  2092.     // Wrapper methods for error-handling
  2093.     //
  2094.     void PutBackground (
  2095.         const _variant_t & pval );
  2096.     _variant_t GetBackground ( );
  2097.     void PutBold (
  2098.         const _variant_t & pval );
  2099.     _variant_t GetBold ( );
  2100.     void PutColor (
  2101.         const _variant_t & pval );
  2102.     _variant_t GetColor ( );
  2103.     void PutColorIndex (
  2104.         const _variant_t & pval );
  2105.     _variant_t GetColorIndex ( );
  2106.     void PutFontStyle (
  2107.         const _variant_t & pval );
  2108.     _variant_t GetFontStyle ( );
  2109.     void PutItalic (
  2110.         const _variant_t & pval );
  2111.     _variant_t GetItalic ( );
  2112.     void PutName (
  2113.         const _variant_t & pval );
  2114.     _variant_t GetName ( );
  2115.     void PutOutlineFont (
  2116.         const _variant_t & pval );
  2117.     _variant_t GetOutlineFont ( );
  2118.     void PutShadow (
  2119.         const _variant_t & pval );
  2120.     _variant_t GetShadow ( );
  2121.     void PutSize (
  2122.         const _variant_t & pval );
  2123.     _variant_t GetSize ( );
  2124.     void PutStrikeThrough (
  2125.         const _variant_t & pval );
  2126.     _variant_t GetStrikeThrough ( );
  2127.     void PutSubscript (
  2128.         const _variant_t & pval );
  2129.     _variant_t GetSubscript ( );
  2130.     void PutSuperscript (
  2131.         const _variant_t & pval );
  2132.     _variant_t GetSuperscript ( );
  2133.     void PutUnderline (
  2134.         const _variant_t & pval );
  2135.     _variant_t GetUnderline ( );
  2136.     //
  2137.     // Raw methods provided by interface
  2138.     //
  2139.     virtual HRESULT __stdcall put_Background (
  2140.         VARIANT pval ) = 0;
  2141.     virtual HRESULT __stdcall get_Background (
  2142.         VARIANT * pval ) = 0;
  2143.     virtual HRESULT __stdcall put_Bold (
  2144.         VARIANT pval ) = 0;
  2145.     virtual HRESULT __stdcall get_Bold (
  2146.         VARIANT * pval ) = 0;
  2147.     virtual HRESULT __stdcall put_Color (
  2148.         VARIANT pval ) = 0;
  2149.     virtual HRESULT __stdcall get_Color (
  2150.         VARIANT * pval ) = 0;
  2151.     virtual HRESULT __stdcall put_ColorIndex (
  2152.         VARIANT pval ) = 0;
  2153.     virtual HRESULT __stdcall get_ColorIndex (
  2154.         VARIANT * pval ) = 0;
  2155.     virtual HRESULT __stdcall put_FontStyle (
  2156.         VARIANT pval ) = 0;
  2157.     virtual HRESULT __stdcall get_FontStyle (
  2158.         VARIANT * pval ) = 0;
  2159.     virtual HRESULT __stdcall put_Italic (
  2160.         VARIANT pval ) = 0;
  2161.     virtual HRESULT __stdcall get_Italic (
  2162.         VARIANT * pval ) = 0;
  2163.     virtual HRESULT __stdcall put_Name (
  2164.         VARIANT pval ) = 0;
  2165.     virtual HRESULT __stdcall get_Name (
  2166.         VARIANT * pval ) = 0;
  2167.     virtual HRESULT __stdcall put_OutlineFont (
  2168.         VARIANT pval ) = 0;
  2169.     virtual HRESULT __stdcall get_OutlineFont (
  2170.         VARIANT * pval ) = 0;
  2171.     virtual HRESULT __stdcall put_Shadow (
  2172.         VARIANT pval ) = 0;
  2173.     virtual HRESULT __stdcall get_Shadow (
  2174.         VARIANT * pval ) = 0;
  2175.     virtual HRESULT __stdcall put_Size (
  2176.         VARIANT pval ) = 0;
  2177.     virtual HRESULT __stdcall get_Size (
  2178.         VARIANT * pval ) = 0;
  2179.     virtual HRESULT __stdcall put_StrikeThrough (
  2180.         VARIANT pval ) = 0;
  2181.     virtual HRESULT __stdcall get_StrikeThrough (
  2182.         VARIANT * pval ) = 0;
  2183.     virtual HRESULT __stdcall put_Subscript (
  2184.         VARIANT pval ) = 0;
  2185.     virtual HRESULT __stdcall get_Subscript (
  2186.         VARIANT * pval ) = 0;
  2187.     virtual HRESULT __stdcall put_Superscript (
  2188.         VARIANT pval ) = 0;
  2189.     virtual HRESULT __stdcall get_Superscript (
  2190.         VARIANT * pval ) = 0;
  2191.     virtual HRESULT __stdcall put_Underline (
  2192.         VARIANT pval ) = 0;
  2193.     virtual HRESULT __stdcall get_Underline (
  2194.         VARIANT * pval ) = 0;
  2195. };
  2196. struct __declspec(uuid("000c171d-0000-0000-c000-000000000046"))
  2197. ChartColorFormat : IDispatch
  2198. {
  2199.     //
  2200.     // Property data
  2201.     //
  2202.     __declspec(property(get=Get_Default))
  2203.     long _Default;
  2204.     __declspec(property(get=GetType))
  2205.     long Type;
  2206.     __declspec(property(get=GetSchemeColor,put=PutSchemeColor))
  2207.     long SchemeColor;
  2208.     __declspec(property(get=GetParent))
  2209.     IDispatchPtr Parent;
  2210.     __declspec(property(get=GetRGB,put=PutRGB))
  2211.     long RGB;
  2212.     //
  2213.     // Wrapper methods for error-handling
  2214.     //
  2215.     IDispatchPtr GetParent ( );
  2216.     long GetSchemeColor ( );
  2217.     void PutSchemeColor (
  2218.         long RHS );
  2219.     long GetRGB ( );
  2220.     void PutRGB (
  2221.         long RHS );
  2222.     long Get_Default ( );
  2223.     long GetType ( );
  2224.     //
  2225.     // Raw methods provided by interface
  2226.     //
  2227.     virtual HRESULT __stdcall get_Parent (
  2228.         IDispatch * * RHS ) = 0;
  2229.     virtual HRESULT __stdcall get_SchemeColor (
  2230.         long * RHS ) = 0;
  2231.     virtual HRESULT __stdcall put_SchemeColor (
  2232.         long RHS ) = 0;
  2233.     virtual HRESULT __stdcall get_RGB (
  2234.         long * RHS ) = 0;
  2235.     virtual HRESULT __stdcall put_RGB (
  2236.         long RHS ) = 0;
  2237.     virtual HRESULT __stdcall get__Default (
  2238.         long * RHS ) = 0;
  2239.     virtual HRESULT __stdcall get_Type (
  2240.         long * RHS ) = 0;
  2241. };
  2242. struct __declspec(uuid("000c171a-0000-0000-c000-000000000046"))
  2243. LegendEntry : IDispatch
  2244. {
  2245.     //
  2246.     // Property data
  2247.     //
  2248.     __declspec(property(get=GetIndex))
  2249.     long Index;
  2250.     __declspec(property(get=GetFormat))
  2251.     IMsoChartFormatPtr Format;
  2252.     __declspec(property(get=GetLegendKey))
  2253.     IMsoLegendKeyPtr LegendKey;
  2254.     __declspec(property(get=GetFont))
  2255.     ChartFontPtr Font;
  2256.     __declspec(property(get=GetAutoScaleFont,put=PutAutoScaleFont))
  2257.     _variant_t AutoScaleFont;
  2258.     __declspec(property(get=GetParent))
  2259.     IDispatchPtr Parent;
  2260.     __declspec(property(get=GetWidth))
  2261.     double Width;
  2262.     __declspec(property(get=GetHeight))
  2263.     double Height;
  2264.     __declspec(property(get=GetTop))
  2265.     double Top;
  2266.     __declspec(property(get=GetLeft))
  2267.     double Left;
  2268.     //
  2269.     // Wrapper methods for error-handling
  2270.     //
  2271.     IDispatchPtr GetParent ( );
  2272.     _variant_t Delete ( );
  2273.     ChartFontPtr GetFont ( );
  2274.     long GetIndex ( );
  2275.     IMsoLegendKeyPtr GetLegendKey ( );
  2276.     _variant_t Select ( );
  2277.     _variant_t GetAutoScaleFont ( );
  2278.     void PutAutoScaleFont (
  2279.         const _variant_t & RHS );
  2280.     double GetLeft ( );
  2281.     double GetTop ( );
  2282.     double GetWidth ( );
  2283.     double GetHeight ( );
  2284.     IMsoChartFormatPtr GetFormat ( );
  2285.     //
  2286.     // Raw methods provided by interface
  2287.     //
  2288.     virtual HRESULT __stdcall get_Parent (
  2289.         IDispatch * * RHS ) = 0;
  2290.     virtual HRESULT __stdcall raw_Delete (
  2291.         VARIANT * RHS ) = 0;
  2292.     virtual HRESULT __stdcall get_Font (
  2293.         struct ChartFont * * RHS ) = 0;
  2294.     virtual HRESULT __stdcall get_Index (
  2295.         long * RHS ) = 0;
  2296.     virtual HRESULT __stdcall get_LegendKey (
  2297.         struct IMsoLegendKey * * RHS ) = 0;
  2298.     virtual HRESULT __stdcall raw_Select (
  2299.         VARIANT * RHS ) = 0;
  2300.     virtual HRESULT __stdcall get_AutoScaleFont (
  2301.         VARIANT * RHS ) = 0;
  2302.     virtual HRESULT __stdcall put_AutoScaleFont (
  2303.         VARIANT RHS ) = 0;
  2304.     virtual HRESULT __stdcall get_Left (
  2305.         double * RHS ) = 0;
  2306.     virtual HRESULT __stdcall get_Top (
  2307.         double * RHS ) = 0;
  2308.     virtual HRESULT __stdcall get_Width (
  2309.         double * RHS ) = 0;
  2310.     virtual HRESULT __stdcall get_Height (
  2311.         double * RHS ) = 0;
  2312.     virtual HRESULT __stdcall get_Format (
  2313.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  2314. };
  2315. struct __declspec(uuid("000c171e-0000-0000-c000-000000000046"))
  2316. IMsoLegendKey : IDispatch
  2317. {
  2318.     //
  2319.     // Property data
  2320.     //
  2321.     __declspec(property(get=GetBorder))
  2322.     IMsoBorderPtr Border;
  2323.     __declspec(property(get=GetInterior))
  2324.     IMsoInteriorPtr Interior;
  2325.     __declspec(property(get=GetPictureType,put=PutPictureType))
  2326.     long PictureType;
  2327.     __declspec(property(get=GetPictureUnit,put=PutPictureUnit))
  2328.     double PictureUnit;
  2329.     __declspec(property(get=GetInvertIfNegative,put=PutInvertIfNegative))
  2330.     VARIANT_BOOL InvertIfNegative;
  2331.     __declspec(property(get=GetSmooth,put=PutSmooth))
  2332.     VARIANT_BOOL Smooth;
  2333.     __declspec(property(get=GetLeft))
  2334.     double Left;
  2335.     __declspec(property(get=GetMarkerSize,put=PutMarkerSize))
  2336.     long MarkerSize;
  2337.     __declspec(property(get=GetMarkerStyle,put=PutMarkerStyle))
  2338.     enum XlMarkerStyle MarkerStyle;
  2339.     __declspec(property(get=GetMarkerBackgroundColor,put=PutMarkerBackgroundColor))
  2340.     long MarkerBackgroundColor;
  2341.     __declspec(property(get=GetMarkerBackgroundColorIndex,put=PutMarkerBackgroundColorIndex))
  2342.     enum XlColorIndex MarkerBackgroundColorIndex;
  2343.     __declspec(property(get=GetMarkerForegroundColor,put=PutMarkerForegroundColor))
  2344.     long MarkerForegroundColor;
  2345.     __declspec(property(get=GetMarkerForegroundColorIndex,put=PutMarkerForegroundColorIndex))
  2346.     enum XlColorIndex MarkerForegroundColorIndex;
  2347.     __declspec(property(get=GetShadow,put=PutShadow))
  2348.     VARIANT_BOOL Shadow;
  2349.     __declspec(property(get=GetFormat))
  2350.     IMsoChartFormatPtr Format;
  2351.     __declspec(property(get=GetParent))
  2352.     IDispatchPtr Parent;
  2353.     __declspec(property(get=GetWidth))
  2354.     double Width;
  2355.     __declspec(property(get=GetHeight))
  2356.     double Height;
  2357.     __declspec(property(get=GetTop))
  2358.     double Top;
  2359.     __declspec(property(get=GetFill))
  2360.     ChartFillFormatPtr Fill;
  2361.     //
  2362.     // Wrapper methods for error-handling
  2363.     //
  2364.     IDispatchPtr GetParent ( );
  2365.     IMsoBorderPtr GetBorder ( );
  2366.     _variant_t ClearFormats ( );
  2367.     _variant_t Delete ( );
  2368.     IMsoInteriorPtr GetInterior ( );
  2369.     ChartFillFormatPtr GetFill ( );
  2370.     VARIANT_BOOL GetInvertIfNegative ( );
  2371.     void PutInvertIfNegative (
  2372.         VARIANT_BOOL RHS );
  2373.     long GetMarkerBackgroundColor ( );
  2374.     void PutMarkerBackgroundColor (
  2375.         long RHS );
  2376.     enum XlColorIndex GetMarkerBackgroundColorIndex ( );
  2377.     void PutMarkerBackgroundColorIndex (
  2378.         enum XlColorIndex RHS );
  2379.     long GetMarkerForegroundColor ( );
  2380.     void PutMarkerForegroundColor (
  2381.         long RHS );
  2382.     enum XlColorIndex GetMarkerForegroundColorIndex ( );
  2383.     void PutMarkerForegroundColorIndex (
  2384.         enum XlColorIndex RHS );
  2385.     long GetMarkerSize ( );
  2386.     void PutMarkerSize (
  2387.         long RHS );
  2388.     enum XlMarkerStyle GetMarkerStyle ( );
  2389.     void PutMarkerStyle (
  2390.         enum XlMarkerStyle RHS );
  2391.     long GetPictureType ( );
  2392.     void PutPictureType (
  2393.         long RHS );
  2394.     double GetPictureUnit ( );
  2395.     void PutPictureUnit (
  2396.         double RHS );
  2397.     _variant_t Select ( );
  2398.     VARIANT_BOOL GetSmooth ( );
  2399.     void PutSmooth (
  2400.         VARIANT_BOOL RHS );
  2401.     double GetLeft ( );
  2402.     double GetTop ( );
  2403.     double GetWidth ( );
  2404.     double GetHeight ( );
  2405.     VARIANT_BOOL GetShadow ( );
  2406.     void PutShadow (
  2407.         VARIANT_BOOL RHS );
  2408.     IMsoChartFormatPtr GetFormat ( );
  2409.     //
  2410.     // Raw methods provided by interface
  2411.     //
  2412.     virtual HRESULT __stdcall get_Parent (
  2413.         IDispatch * * RHS ) = 0;
  2414.     virtual HRESULT __stdcall get_Border (
  2415.         struct IMsoBorder * * RHS ) = 0;
  2416.     virtual HRESULT __stdcall raw_ClearFormats (
  2417.         VARIANT * RHS ) = 0;
  2418.     virtual HRESULT __stdcall raw_Delete (
  2419.         VARIANT * RHS ) = 0;
  2420.     virtual HRESULT __stdcall get_Interior (
  2421.         struct IMsoInterior * * RHS ) = 0;
  2422.     virtual HRESULT __stdcall get_Fill (
  2423.         struct ChartFillFormat * * RHS ) = 0;
  2424.     virtual HRESULT __stdcall get_InvertIfNegative (
  2425.         VARIANT_BOOL * RHS ) = 0;
  2426.     virtual HRESULT __stdcall put_InvertIfNegative (
  2427.         VARIANT_BOOL RHS ) = 0;
  2428.     virtual HRESULT __stdcall get_MarkerBackgroundColor (
  2429.         long * RHS ) = 0;
  2430.     virtual HRESULT __stdcall put_MarkerBackgroundColor (
  2431.         long RHS ) = 0;
  2432.     virtual HRESULT __stdcall get_MarkerBackgroundColorIndex (
  2433.         enum XlColorIndex * RHS ) = 0;
  2434.     virtual HRESULT __stdcall put_MarkerBackgroundColorIndex (
  2435.         enum XlColorIndex RHS ) = 0;
  2436.     virtual HRESULT __stdcall get_MarkerForegroundColor (
  2437.         long * RHS ) = 0;
  2438.     virtual HRESULT __stdcall put_MarkerForegroundColor (
  2439.         long RHS ) = 0;
  2440.     virtual HRESULT __stdcall get_MarkerForegroundColorIndex (
  2441.         enum XlColorIndex * RHS ) = 0;
  2442.     virtual HRESULT __stdcall put_MarkerForegroundColorIndex (
  2443.         enum XlColorIndex RHS ) = 0;
  2444.     virtual HRESULT __stdcall get_MarkerSize (
  2445.         long * RHS ) = 0;
  2446.     virtual HRESULT __stdcall put_MarkerSize (
  2447.         long RHS ) = 0;
  2448.     virtual HRESULT __stdcall get_MarkerStyle (
  2449.         enum XlMarkerStyle * RHS ) = 0;
  2450.     virtual HRESULT __stdcall put_MarkerStyle (
  2451.         enum XlMarkerStyle RHS ) = 0;
  2452.     virtual HRESULT __stdcall get_PictureType (
  2453.         long * RHS ) = 0;
  2454.     virtual HRESULT __stdcall put_PictureType (
  2455.         long RHS ) = 0;
  2456.     virtual HRESULT __stdcall get_PictureUnit (
  2457.         double * RHS ) = 0;
  2458.     virtual HRESULT __stdcall put_PictureUnit (
  2459.         double RHS ) = 0;
  2460.     virtual HRESULT __stdcall raw_Select (
  2461.         VARIANT * RHS ) = 0;
  2462.     virtual HRESULT __stdcall get_Smooth (
  2463.         VARIANT_BOOL * RHS ) = 0;
  2464.     virtual HRESULT __stdcall put_Smooth (
  2465.         VARIANT_BOOL RHS ) = 0;
  2466.     virtual HRESULT __stdcall get_Left (
  2467.         double * RHS ) = 0;
  2468.     virtual HRESULT __stdcall get_Top (
  2469.         double * RHS ) = 0;
  2470.     virtual HRESULT __stdcall get_Width (
  2471.         double * RHS ) = 0;
  2472.     virtual HRESULT __stdcall get_Height (
  2473.         double * RHS ) = 0;
  2474.     virtual HRESULT __stdcall get_Shadow (
  2475.         VARIANT_BOOL * RHS ) = 0;
  2476.     virtual HRESULT __stdcall put_Shadow (
  2477.         VARIANT_BOOL RHS ) = 0;
  2478.     virtual HRESULT __stdcall get_Format (
  2479.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  2480. };
  2481. struct __declspec(uuid("000c170a-0000-0000-c000-000000000046"))
  2482. SeriesCollection : IDispatch
  2483. {
  2484.     //
  2485.     // Property data
  2486.     //
  2487.     __declspec(property(get=GetParent))
  2488.     IDispatchPtr Parent;
  2489.     __declspec(property(get=GetCount))
  2490.     long Count;
  2491.     //
  2492.     // Wrapper methods for error-handling
  2493.     //
  2494.     IDispatchPtr GetParent ( );
  2495.     IMsoSeriesPtr Add (
  2496.         const _variant_t & Source,
  2497.         enum XlRowCol Rowcol,
  2498.         const _variant_t & SeriesLabels = vtMissing,
  2499.         const _variant_t & CategoryLabels = vtMissing,
  2500.         const _variant_t & Replace = vtMissing );
  2501.     long GetCount ( );
  2502.     _variant_t Extend (
  2503.         const _variant_t & Source,
  2504.         const _variant_t & Rowcol = vtMissing,
  2505.         const _variant_t & CategoryLabels = vtMissing );
  2506.     IMsoSeriesPtr Item (
  2507.         const _variant_t & Index );
  2508.     IUnknownPtr _NewEnum ( );
  2509.     _variant_t Paste (
  2510.         enum XlRowCol Rowcol,
  2511.         const _variant_t & SeriesLabels = vtMissing,
  2512.         const _variant_t & CategoryLabels = vtMissing,
  2513.         const _variant_t & Replace = vtMissing,
  2514.         const _variant_t & NewSeries = vtMissing );
  2515.     IMsoSeriesPtr NewSeries ( );
  2516.     //
  2517.     // Raw methods provided by interface
  2518.     //
  2519.     virtual HRESULT __stdcall get_Parent (
  2520.         IDispatch * * RHS ) = 0;
  2521.     virtual HRESULT __stdcall raw_Add (
  2522.         VARIANT Source,
  2523.         enum XlRowCol Rowcol,
  2524.         VARIANT SeriesLabels,
  2525.         VARIANT CategoryLabels,
  2526.         VARIANT Replace,
  2527.         struct IMsoSeries * * RHS ) = 0;
  2528.     virtual HRESULT __stdcall get_Count (
  2529.         long * RHS ) = 0;
  2530.     virtual HRESULT __stdcall raw_Extend (
  2531.         VARIANT Source,
  2532.         VARIANT Rowcol,
  2533.         VARIANT CategoryLabels,
  2534.         VARIANT * RHS ) = 0;
  2535.     virtual HRESULT __stdcall raw_Item (
  2536.         VARIANT Index,
  2537.         struct IMsoSeries * * RHS ) = 0;
  2538.     virtual HRESULT __stdcall raw__NewEnum (
  2539.         IUnknown * * RHS ) = 0;
  2540.     virtual HRESULT __stdcall raw_Paste (
  2541.         enum XlRowCol Rowcol,
  2542.         VARIANT SeriesLabels,
  2543.         VARIANT CategoryLabels,
  2544.         VARIANT Replace,
  2545.         VARIANT NewSeries,
  2546.         VARIANT * RHS ) = 0;
  2547.     virtual HRESULT __stdcall raw_NewSeries (
  2548.         struct IMsoSeries * * RHS ) = 0;
  2549. };
  2550. struct __declspec(uuid("000c170b-0000-0000-c000-000000000046"))
  2551. IMsoSeries : IDispatch
  2552. {
  2553.     //
  2554.     // Property data
  2555.     //
  2556.     __declspec(property(get=GetExplosion,put=PutExplosion))
  2557.     long Explosion;
  2558.     __declspec(property(get=GetBorder))
  2559.     IMsoBorderPtr Border;
  2560.     __declspec(property(get=GetInterior))
  2561.     IMsoInteriorPtr Interior;
  2562.     __declspec(property(get=GetInvertIfNegative,put=PutInvertIfNegative))
  2563.     VARIANT_BOOL InvertIfNegative;
  2564.     __declspec(property(get=GetMarkerBackgroundColor,put=PutMarkerBackgroundColor))
  2565.     long MarkerBackgroundColor;
  2566.     __declspec(property(get=GetMarkerBackgroundColorIndex,put=PutMarkerBackgroundColorIndex))
  2567.     enum XlColorIndex MarkerBackgroundColorIndex;
  2568.     __declspec(property(get=GetMarkerForegroundColor,put=PutMarkerForegroundColor))
  2569.     long MarkerForegroundColor;
  2570.     __declspec(property(get=GetMarkerForegroundColorIndex,put=PutMarkerForegroundColorIndex))
  2571.     enum XlColorIndex MarkerForegroundColorIndex;
  2572.     __declspec(property(get=GetMarkerStyle,put=PutMarkerStyle))
  2573.     enum XlMarkerStyle MarkerStyle;
  2574.     __declspec(property(get=GetHasDataLabels,put=PutHasDataLabels))
  2575.     VARIANT_BOOL HasDataLabels;
  2576.     __declspec(property(get=GetHasLeaderLines,put=PutHasLeaderLines))
  2577.     VARIANT_BOOL HasLeaderLines;
  2578.     __declspec(property(get=GetChartType,put=PutChartType))
  2579.     enum XlChartType ChartType;
  2580.     __declspec(property(get=GetFormula,put=PutFormula))
  2581.     _bstr_t Formula;
  2582.     __declspec(property(get=GetFormat))
  2583.     IMsoChartFormatPtr Format;
  2584.     __declspec(property(get=GetFormulaLocal,put=PutFormulaLocal))
  2585.     _bstr_t FormulaLocal;
  2586.     __declspec(property(get=GetFormulaR1C1,put=PutFormulaR1C1))
  2587.     _bstr_t FormulaR1C1;
  2588.     __declspec(property(get=GetFormulaR1C1Local,put=PutFormulaR1C1Local))
  2589.     _bstr_t FormulaR1C1Local;
  2590.     __declspec(property(get=GetBarShape,put=PutBarShape))
  2591.     enum XlBarShape BarShape;
  2592.     __declspec(property(get=GetParent))
  2593.     IDispatchPtr Parent;
  2594.     __declspec(property(get=GetXValues,put=PutXValues))
  2595.     _variant_t XValues;
  2596.     __declspec(property(get=GetErrorBars))
  2597.     IMsoErrorBarsPtr ErrorBars;
  2598.     __declspec(property(get=GetHasErrorBars,put=PutHasErrorBars))
  2599.     VARIANT_BOOL HasErrorBars;
  2600.     __declspec(property(get=GetPictureType,put=PutPictureType))
  2601.     enum XlChartPictureType PictureType;
  2602.     __declspec(property(get=GetPictureUnit,put=PutPictureUnit))
  2603.     double PictureUnit;
  2604.     __declspec(property(get=GetFill))
  2605.     ChartFillFormatPtr Fill;
  2606.     __declspec(property(get=GetValues,put=PutValues))
  2607.     _variant_t Values;
  2608.     __declspec(property(get=GetBubbleSizes,put=PutBubbleSizes))
  2609.     _variant_t BubbleSizes;
  2610.     __declspec(property(get=GetSmooth,put=PutSmooth))
  2611.     VARIANT_BOOL Smooth;
  2612.     __declspec(property(get=GetAxisGroup,put=PutAxisGroup))
  2613.     enum XlAxisGroup AxisGroup;
  2614.     __declspec(property(get=GetPlotOrder,put=PutPlotOrder))
  2615.     long PlotOrder;
  2616.     __declspec(property(get=GetType,put=PutType))
  2617.     long Type;
  2618.     __declspec(property(get=GetName,put=PutName))
  2619.     _bstr_t Name;
  2620.     __declspec(property(get=GetMarkerSize,put=PutMarkerSize))
  2621.     long MarkerSize;
  2622.     __declspec(property(get=GetApplyPictToSides,put=PutApplyPictToSides))
  2623.     VARIANT_BOOL ApplyPictToSides;
  2624.     __declspec(property(get=GetApplyPictToFront,put=PutApplyPictToFront))
  2625.     VARIANT_BOOL ApplyPictToFront;
  2626.     __declspec(property(get=GetApplyPictToEnd,put=PutApplyPictToEnd))
  2627.     VARIANT_BOOL ApplyPictToEnd;
  2628.     __declspec(property(get=GetHas3DEffect,put=PutHas3DEffect))
  2629.     VARIANT_BOOL Has3DEffect;
  2630.     __declspec(property(get=GetShadow,put=PutShadow))
  2631.     VARIANT_BOOL Shadow;
  2632.     __declspec(property(get=GetLeaderLines))
  2633.     IMsoLeaderLinesPtr LeaderLines;
  2634.     //
  2635.     // Wrapper methods for error-handling
  2636.     //
  2637.     IDispatchPtr GetParent ( );
  2638.     _variant_t _ApplyDataLabels (
  2639.         enum XlDataLabelsType Type,
  2640.         const _variant_t & IMsoLegendKey = vtMissing,
  2641.         const _variant_t & AutoText = vtMissing,
  2642.         const _variant_t & HasLeaderLines = vtMissing );
  2643.     enum XlAxisGroup GetAxisGroup ( );
  2644.     void PutAxisGroup (
  2645.         enum XlAxisGroup RHS );
  2646.     IMsoBorderPtr GetBorder ( );
  2647.     _variant_t ClearFormats ( );
  2648.     _variant_t Copy ( );
  2649.     IDispatchPtr DataLabels (
  2650.         const _variant_t & Index = vtMissing );
  2651.     _variant_t Delete ( );
  2652.     _variant_t ErrorBar (
  2653.         enum XlErrorBarDirection Direction,
  2654.         enum XlErrorBarInclude Include,
  2655.         enum XlErrorBarType Type,
  2656.         const _variant_t & Amount = vtMissing,
  2657.         const _variant_t & MinusValues = vtMissing );
  2658.     IMsoErrorBarsPtr GetErrorBars ( );
  2659.     long GetExplosion ( );
  2660.     void PutExplosion (
  2661.         long RHS );
  2662.     _bstr_t GetFormula ( );
  2663.     void PutFormula (
  2664.         _bstr_t RHS );
  2665.     _bstr_t GetFormulaLocal ( );
  2666.     void PutFormulaLocal (
  2667.         _bstr_t RHS );
  2668.     _bstr_t GetFormulaR1C1 ( );
  2669.     void PutFormulaR1C1 (
  2670.         _bstr_t RHS );
  2671.     _bstr_t GetFormulaR1C1Local ( );
  2672.     void PutFormulaR1C1Local (
  2673.         _bstr_t RHS );
  2674.     VARIANT_BOOL GetHasDataLabels ( );
  2675.     void PutHasDataLabels (
  2676.         VARIANT_BOOL RHS );
  2677.     VARIANT_BOOL GetHasErrorBars ( );
  2678.     void PutHasErrorBars (
  2679.         VARIANT_BOOL RHS );
  2680.     IMsoInteriorPtr GetInterior ( );
  2681.     ChartFillFormatPtr GetFill ( );
  2682.     VARIANT_BOOL GetInvertIfNegative ( );
  2683.     void PutInvertIfNegative (
  2684.         VARIANT_BOOL RHS );
  2685.     long GetMarkerBackgroundColor ( );
  2686.     void PutMarkerBackgroundColor (
  2687.         long RHS );
  2688.     enum XlColorIndex GetMarkerBackgroundColorIndex ( );
  2689.     void PutMarkerBackgroundColorIndex (
  2690.         enum XlColorIndex RHS );
  2691.     long GetMarkerForegroundColor ( );
  2692.     void PutMarkerForegroundColor (
  2693.         long RHS );
  2694.     enum XlColorIndex GetMarkerForegroundColorIndex ( );
  2695.     void PutMarkerForegroundColorIndex (
  2696.         enum XlColorIndex RHS );
  2697.     long GetMarkerSize ( );
  2698.     void PutMarkerSize (
  2699.         long RHS );
  2700.     enum XlMarkerStyle GetMarkerStyle ( );
  2701.     void PutMarkerStyle (
  2702.         enum XlMarkerStyle RHS );
  2703.     _bstr_t GetName ( );
  2704.     void PutName (
  2705.         _bstr_t RHS );
  2706.     _variant_t Paste ( );
  2707.     enum XlChartPictureType GetPictureType ( );
  2708.     void PutPictureType (
  2709.         enum XlChartPictureType RHS );
  2710.     double GetPictureUnit ( );
  2711.     void PutPictureUnit (
  2712.         double RHS );
  2713.     long GetPlotOrder ( );
  2714.     void PutPlotOrder (
  2715.         long RHS );
  2716.     IDispatchPtr Points (
  2717.         const _variant_t & Index = vtMissing );
  2718.     _variant_t Select ( );
  2719.     VARIANT_BOOL GetSmooth ( );
  2720.     void PutSmooth (
  2721.         VARIANT_BOOL RHS );
  2722.     IDispatchPtr Trendlines (
  2723.         const _variant_t & Index = vtMissing );
  2724.     long GetType ( );
  2725.     void PutType (
  2726.         long RHS );
  2727.     enum XlChartType GetChartType ( );
  2728.     void PutChartType (
  2729.         enum XlChartType RHS );
  2730.     HRESULT ApplyCustomType (
  2731.         enum XlChartType ChartType );
  2732.     _variant_t GetValues ( );
  2733.     void PutValues (
  2734.         const _variant_t & RHS );
  2735.     _variant_t GetXValues ( );
  2736.     void PutXValues (
  2737.         const _variant_t & RHS );
  2738.     _variant_t GetBubbleSizes ( );
  2739.     void PutBubbleSizes (
  2740.         const _variant_t & RHS );
  2741.     enum XlBarShape GetBarShape ( );
  2742.     void PutBarShape (
  2743.         enum XlBarShape RHS );
  2744.     VARIANT_BOOL GetApplyPictToSides ( );
  2745.     void PutApplyPictToSides (
  2746.         VARIANT_BOOL RHS );
  2747.     VARIANT_BOOL GetApplyPictToFront ( );
  2748.     void PutApplyPictToFront (
  2749.         VARIANT_BOOL RHS );
  2750.     VARIANT_BOOL GetApplyPictToEnd ( );
  2751.     void PutApplyPictToEnd (
  2752.         VARIANT_BOOL RHS );
  2753.     VARIANT_BOOL GetHas3DEffect ( );
  2754.     void PutHas3DEffect (
  2755.         VARIANT_BOOL RHS );
  2756.     VARIANT_BOOL GetShadow ( );
  2757.     void PutShadow (
  2758.         VARIANT_BOOL RHS );
  2759.     VARIANT_BOOL GetHasLeaderLines ( );
  2760.     void PutHasLeaderLines (
  2761.         VARIANT_BOOL RHS );
  2762.     IMsoLeaderLinesPtr GetLeaderLines ( );
  2763.     _variant_t ApplyDataLabels (
  2764.         enum XlDataLabelsType Type,
  2765.         const _variant_t & IMsoLegendKey = vtMissing,
  2766.         const _variant_t & AutoText = vtMissing,
  2767.         const _variant_t & HasLeaderLines = vtMissing,
  2768.         const _variant_t & ShowSeriesName = vtMissing,
  2769.         const _variant_t & ShowCategoryName = vtMissing,
  2770.         const _variant_t & ShowValue = vtMissing,
  2771.         const _variant_t & ShowPercentage = vtMissing,
  2772.         const _variant_t & ShowBubbleSize = vtMissing,
  2773.         const _variant_t & Separator = vtMissing );
  2774.     IMsoChartFormatPtr GetFormat ( );
  2775.     //
  2776.     // Raw methods provided by interface
  2777.     //
  2778.     virtual HRESULT __stdcall get_Parent (
  2779.         IDispatch * * RHS ) = 0;
  2780.     virtual HRESULT __stdcall raw__ApplyDataLabels (
  2781.         enum XlDataLabelsType Type,
  2782.         VARIANT IMsoLegendKey,
  2783.         VARIANT AutoText,
  2784.         VARIANT HasLeaderLines,
  2785.         VARIANT * RHS ) = 0;
  2786.     virtual HRESULT __stdcall get_AxisGroup (
  2787.         enum XlAxisGroup * RHS ) = 0;
  2788.     virtual HRESULT __stdcall put_AxisGroup (
  2789.         enum XlAxisGroup RHS ) = 0;
  2790.     virtual HRESULT __stdcall get_Border (
  2791.         struct IMsoBorder * * RHS ) = 0;
  2792.     virtual HRESULT __stdcall raw_ClearFormats (
  2793.         VARIANT * RHS ) = 0;
  2794.     virtual HRESULT __stdcall raw_Copy (
  2795.         VARIANT * RHS ) = 0;
  2796.     virtual HRESULT __stdcall raw_DataLabels (
  2797.         VARIANT Index,
  2798.         IDispatch * * RHS ) = 0;
  2799.     virtual HRESULT __stdcall raw_Delete (
  2800.         VARIANT * RHS ) = 0;
  2801.     virtual HRESULT __stdcall raw_ErrorBar (
  2802.         enum XlErrorBarDirection Direction,
  2803.         enum XlErrorBarInclude Include,
  2804.         enum XlErrorBarType Type,
  2805.         VARIANT Amount,
  2806.         VARIANT MinusValues,
  2807.         VARIANT * RHS ) = 0;
  2808.     virtual HRESULT __stdcall get_ErrorBars (
  2809.         struct IMsoErrorBars * * RHS ) = 0;
  2810.     virtual HRESULT __stdcall get_Explosion (
  2811.         long * RHS ) = 0;
  2812.     virtual HRESULT __stdcall put_Explosion (
  2813.         long RHS ) = 0;
  2814.     virtual HRESULT __stdcall get_Formula (
  2815.         BSTR * RHS ) = 0;
  2816.     virtual HRESULT __stdcall put_Formula (
  2817.         BSTR RHS ) = 0;
  2818.     virtual HRESULT __stdcall get_FormulaLocal (
  2819.         BSTR * RHS ) = 0;
  2820.     virtual HRESULT __stdcall put_FormulaLocal (
  2821.         BSTR RHS ) = 0;
  2822.     virtual HRESULT __stdcall get_FormulaR1C1 (
  2823.         BSTR * RHS ) = 0;
  2824.     virtual HRESULT __stdcall put_FormulaR1C1 (
  2825.         BSTR RHS ) = 0;
  2826.     virtual HRESULT __stdcall get_FormulaR1C1Local (
  2827.         BSTR * RHS ) = 0;
  2828.     virtual HRESULT __stdcall put_FormulaR1C1Local (
  2829.         BSTR RHS ) = 0;
  2830.     virtual HRESULT __stdcall get_HasDataLabels (
  2831.         VARIANT_BOOL * RHS ) = 0;
  2832.     virtual HRESULT __stdcall put_HasDataLabels (
  2833.         VARIANT_BOOL RHS ) = 0;
  2834.     virtual HRESULT __stdcall get_HasErrorBars (
  2835.         VARIANT_BOOL * RHS ) = 0;
  2836.     virtual HRESULT __stdcall put_HasErrorBars (
  2837.         VARIANT_BOOL RHS ) = 0;
  2838.     virtual HRESULT __stdcall get_Interior (
  2839.         struct IMsoInterior * * RHS ) = 0;
  2840.     virtual HRESULT __stdcall get_Fill (
  2841.         struct ChartFillFormat * * RHS ) = 0;
  2842.     virtual HRESULT __stdcall get_InvertIfNegative (
  2843.         VARIANT_BOOL * RHS ) = 0;
  2844.     virtual HRESULT __stdcall put_InvertIfNegative (
  2845.         VARIANT_BOOL RHS ) = 0;
  2846.     virtual HRESULT __stdcall get_MarkerBackgroundColor (
  2847.         long * RHS ) = 0;
  2848.     virtual HRESULT __stdcall put_MarkerBackgroundColor (
  2849.         long RHS ) = 0;
  2850.     virtual HRESULT __stdcall get_MarkerBackgroundColorIndex (
  2851.         enum XlColorIndex * RHS ) = 0;
  2852.     virtual HRESULT __stdcall put_MarkerBackgroundColorIndex (
  2853.         enum XlColorIndex RHS ) = 0;
  2854.     virtual HRESULT __stdcall get_MarkerForegroundColor (
  2855.         long * RHS ) = 0;
  2856.     virtual HRESULT __stdcall put_MarkerForegroundColor (
  2857.         long RHS ) = 0;
  2858.     virtual HRESULT __stdcall get_MarkerForegroundColorIndex (
  2859.         enum XlColorIndex * RHS ) = 0;
  2860.     virtual HRESULT __stdcall put_MarkerForegroundColorIndex (
  2861.         enum XlColorIndex RHS ) = 0;
  2862.     virtual HRESULT __stdcall get_MarkerSize (
  2863.         long * RHS ) = 0;
  2864.     virtual HRESULT __stdcall put_MarkerSize (
  2865.         long RHS ) = 0;
  2866.     virtual HRESULT __stdcall get_MarkerStyle (
  2867.         enum XlMarkerStyle * RHS ) = 0;
  2868.     virtual HRESULT __stdcall put_MarkerStyle (
  2869.         enum XlMarkerStyle RHS ) = 0;
  2870.     virtual HRESULT __stdcall get_Name (
  2871.         BSTR * RHS ) = 0;
  2872.     virtual HRESULT __stdcall put_Name (
  2873.         BSTR RHS ) = 0;
  2874.     virtual HRESULT __stdcall raw_Paste (
  2875.         VARIANT * RHS ) = 0;
  2876.     virtual HRESULT __stdcall get_PictureType (
  2877.         enum XlChartPictureType * RHS ) = 0;
  2878.     virtual HRESULT __stdcall put_PictureType (
  2879.         enum XlChartPictureType RHS ) = 0;
  2880.     virtual HRESULT __stdcall get_PictureUnit (
  2881.         double * RHS ) = 0;
  2882.     virtual HRESULT __stdcall put_PictureUnit (
  2883.         double RHS ) = 0;
  2884.     virtual HRESULT __stdcall get_PlotOrder (
  2885.         long * RHS ) = 0;
  2886.     virtual HRESULT __stdcall put_PlotOrder (
  2887.         long RHS ) = 0;
  2888.     virtual HRESULT __stdcall raw_Points (
  2889.         VARIANT Index,
  2890.         IDispatch * * RHS ) = 0;
  2891.     virtual HRESULT __stdcall raw_Select (
  2892.         VARIANT * RHS ) = 0;
  2893.     virtual HRESULT __stdcall get_Smooth (
  2894.         VARIANT_BOOL * RHS ) = 0;
  2895.     virtual HRESULT __stdcall put_Smooth (
  2896.         VARIANT_BOOL RHS ) = 0;
  2897.     virtual HRESULT __stdcall raw_Trendlines (
  2898.         VARIANT Index,
  2899.         IDispatch * * RHS ) = 0;
  2900.     virtual HRESULT __stdcall get_Type (
  2901.         long * RHS ) = 0;
  2902.     virtual HRESULT __stdcall put_Type (
  2903.         long RHS ) = 0;
  2904.     virtual HRESULT __stdcall get_ChartType (
  2905.         enum XlChartType * RHS ) = 0;
  2906.     virtual HRESULT __stdcall put_ChartType (
  2907.         enum XlChartType RHS ) = 0;
  2908.     virtual HRESULT __stdcall raw_ApplyCustomType (
  2909.         enum XlChartType ChartType ) = 0;
  2910.     virtual HRESULT __stdcall get_Values (
  2911.         VARIANT * RHS ) = 0;
  2912.     virtual HRESULT __stdcall put_Values (
  2913.         VARIANT RHS ) = 0;
  2914.     virtual HRESULT __stdcall get_XValues (
  2915.         VARIANT * RHS ) = 0;
  2916.     virtual HRESULT __stdcall put_XValues (
  2917.         VARIANT RHS ) = 0;
  2918.     virtual HRESULT __stdcall get_BubbleSizes (
  2919.         VARIANT * RHS ) = 0;
  2920.     virtual HRESULT __stdcall put_BubbleSizes (
  2921.         VARIANT RHS ) = 0;
  2922.     virtual HRESULT __stdcall get_BarShape (
  2923.         enum XlBarShape * RHS ) = 0;
  2924.     virtual HRESULT __stdcall put_BarShape (
  2925.         enum XlBarShape RHS ) = 0;
  2926.     virtual HRESULT __stdcall get_ApplyPictToSides (
  2927.         VARIANT_BOOL * RHS ) = 0;
  2928.     virtual HRESULT __stdcall put_ApplyPictToSides (
  2929.         VARIANT_BOOL RHS ) = 0;
  2930.     virtual HRESULT __stdcall get_ApplyPictToFront (
  2931.         VARIANT_BOOL * RHS ) = 0;
  2932.     virtual HRESULT __stdcall put_ApplyPictToFront (
  2933.         VARIANT_BOOL RHS ) = 0;
  2934.     virtual HRESULT __stdcall get_ApplyPictToEnd (
  2935.         VARIANT_BOOL * RHS ) = 0;
  2936.     virtual HRESULT __stdcall put_ApplyPictToEnd (
  2937.         VARIANT_BOOL RHS ) = 0;
  2938.     virtual HRESULT __stdcall get_Has3DEffect (
  2939.         VARIANT_BOOL * RHS ) = 0;
  2940.     virtual HRESULT __stdcall put_Has3DEffect (
  2941.         VARIANT_BOOL RHS ) = 0;
  2942.     virtual HRESULT __stdcall get_Shadow (
  2943.         VARIANT_BOOL * RHS ) = 0;
  2944.     virtual HRESULT __stdcall put_Shadow (
  2945.         VARIANT_BOOL RHS ) = 0;
  2946.     virtual HRESULT __stdcall get_HasLeaderLines (
  2947.         VARIANT_BOOL * RHS ) = 0;
  2948.     virtual HRESULT __stdcall put_HasLeaderLines (
  2949.         VARIANT_BOOL RHS ) = 0;
  2950.     virtual HRESULT __stdcall get_LeaderLines (
  2951.         struct IMsoLeaderLines * * RHS ) = 0;
  2952.     virtual HRESULT __stdcall raw_ApplyDataLabels (
  2953.         enum XlDataLabelsType Type,
  2954.         VARIANT IMsoLegendKey,
  2955.         VARIANT AutoText,
  2956.         VARIANT HasLeaderLines,
  2957.         VARIANT ShowSeriesName,
  2958.         VARIANT ShowCategoryName,
  2959.         VARIANT ShowValue,
  2960.         VARIANT ShowPercentage,
  2961.         VARIANT ShowBubbleSize,
  2962.         VARIANT Separator,
  2963.         VARIANT * RHS ) = 0;
  2964.     virtual HRESULT __stdcall get_Format (
  2965.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  2966. };
  2967. struct __declspec(uuid("000c1721-0000-0000-c000-000000000046"))
  2968. IMsoErrorBars : IDispatch
  2969. {
  2970.     //
  2971.     // Property data
  2972.     //
  2973.     __declspec(property(get=GetBorder))
  2974.     IMsoBorderPtr Border;
  2975.     __declspec(property(get=GetEndStyle,put=PutEndStyle))
  2976.     enum XlEndStyleCap EndStyle;
  2977.     __declspec(property(get=GetFormat))
  2978.     IMsoChartFormatPtr Format;
  2979.     __declspec(property(get=GetName))
  2980.     _bstr_t Name;
  2981.     __declspec(property(get=GetParent))
  2982.     IDispatchPtr Parent;
  2983.     //
  2984.     // Wrapper methods for error-handling
  2985.     //
  2986.     IDispatchPtr GetParent ( );
  2987.     _bstr_t GetName ( );
  2988.     _variant_t Select ( );
  2989.     IMsoBorderPtr GetBorder ( );
  2990.     _variant_t Delete ( );
  2991.     _variant_t ClearFormats ( );
  2992.     enum XlEndStyleCap GetEndStyle ( );
  2993.     void PutEndStyle (
  2994.         enum XlEndStyleCap RHS );
  2995.     IMsoChartFormatPtr GetFormat ( );
  2996.     //
  2997.     // Raw methods provided by interface
  2998.     //
  2999.     virtual HRESULT __stdcall get_Parent (
  3000.         IDispatch * * RHS ) = 0;
  3001.     virtual HRESULT __stdcall get_Name (
  3002.         BSTR * RHS ) = 0;
  3003.     virtual HRESULT __stdcall raw_Select (
  3004.         VARIANT * RHS ) = 0;
  3005.     virtual HRESULT __stdcall get_Border (
  3006.         struct IMsoBorder * * RHS ) = 0;
  3007.     virtual HRESULT __stdcall raw_Delete (
  3008.         VARIANT * RHS ) = 0;
  3009.     virtual HRESULT __stdcall raw_ClearFormats (
  3010.         VARIANT * RHS ) = 0;
  3011.     virtual HRESULT __stdcall get_EndStyle (
  3012.         enum XlEndStyleCap * RHS ) = 0;
  3013.     virtual HRESULT __stdcall put_EndStyle (
  3014.         enum XlEndStyleCap RHS ) = 0;
  3015.     virtual HRESULT __stdcall get_Format (
  3016.         struct IMsoChartFormat * * ppChartFormat ) = 0;
  3017. };
  3018. struct __declspec(uuid("000c170e-0000-0000-c000-000000000046"))
  3019. IMsoTrendline : IDispatch
  3020. {
  3021.     //
  3022.     // Property data
  3023.     //
  3024.     __declspec(property(get=GetBorder))
  3025.     IMsoBorderPtr Border;
  3026.     __declspec(property(get=GetForward,put=PutForward))
  3027.     double Forward;
  3028.     __declspec(property(get=GetOrder,put=PutOrder))
  3029.     long Order;
  3030.     __declspec(property(get=GetFormat))
  3031.     IMsoChartFormatPtr Format;
  3032.     __declspec(property(get=GetIndex))
  3033.     long Index;
  3034.     __declspec(property(get=GetType,put=PutType))
  3035.     enum XlTrendlineType Type;
  3036.     __declspec(property(get=GetName,put=PutName))
  3037.     _bstr_t Name;
  3038.     __declspec(property(get=GetParent))
  3039.     IDispatchPtr Parent;
  3040.     __declspec(property(get=GetPeriod,put=PutPeriod))
  3041.     long Period;
  3042.     __declspec(property(get=GetBackward,put=PutBackward))
  3043.     double Backward;
  3044.     __declspec(property(get=GetIntercept,put=PutIntercept))
  3045.     double Intercept;
  3046.     __declspec(property(get=GetInterceptIsAuto,put=PutInterceptIsAuto))