spire-xls 15.5.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. spire/__init__.py +0 -0
  2. spire/xls/AddInFunctionsCollection.py +29 -0
  3. spire/xls/AddtionalFormatWrapper.py +976 -0
  4. spire/xls/AlertStyleType.py +18 -0
  5. spire/xls/ArcShapeCollection.py +70 -0
  6. spire/xls/AutoFiltersCollection.py +527 -0
  7. spire/xls/AutoFitterOptions.py +66 -0
  8. spire/xls/AutoFormatOptions.py +23 -0
  9. spire/xls/AutoFormatType.py +32 -0
  10. spire/xls/AutoSortScope.py +25 -0
  11. spire/xls/Average.py +29 -0
  12. spire/xls/AverageType.py +25 -0
  13. spire/xls/AxisLineIdentifierType.py +19 -0
  14. spire/xls/AxisTextDirectionType.py +18 -0
  15. spire/xls/AxisType.py +18 -0
  16. spire/xls/AxisTypes.py +18 -0
  17. spire/xls/BaseFormatType.py +17 -0
  18. spire/xls/BordersCollection.py +158 -0
  19. spire/xls/BordersCollectionArrayWrapper.py +95 -0
  20. spire/xls/BordersLineType.py +23 -0
  21. spire/xls/BubbleSizeType.py +17 -0
  22. spire/xls/BuiltInDocumentProperties.py +12 -0
  23. spire/xls/BuiltInPropertyType.py +50 -0
  24. spire/xls/BuiltInStyles.py +66 -0
  25. spire/xls/ButtonShapeCollection.py +70 -0
  26. spire/xls/CategoryType.py +18 -0
  27. spire/xls/CellBaseStyle.py +26 -0
  28. spire/xls/CellBorder.py +154 -0
  29. spire/xls/CellDataType.py +23 -0
  30. spire/xls/CellFormatType.py +21 -0
  31. spire/xls/CellRange.py +915 -0
  32. spire/xls/CellStyle.py +85 -0
  33. spire/xls/CellStyleFlag.py +432 -0
  34. spire/xls/CellStyleObject.py +617 -0
  35. spire/xls/CellValueChangedEventArgs.py +75 -0
  36. spire/xls/CellValueChangedEventHandler.py +52 -0
  37. spire/xls/Chart.py +404 -0
  38. spire/xls/ChartArea.py +61 -0
  39. spire/xls/ChartBackgroundMode.py +18 -0
  40. spire/xls/ChartBaseUnitType.py +18 -0
  41. spire/xls/ChartBorder.py +12 -0
  42. spire/xls/ChartCategoryAxis.py +93 -0
  43. spire/xls/ChartDataLabels.py +42 -0
  44. spire/xls/ChartDataPoint.py +42 -0
  45. spire/xls/ChartDataPointsCollection.py +75 -0
  46. spire/xls/ChartDataTable.py +12 -0
  47. spire/xls/ChartDisplayUnitType.py +26 -0
  48. spire/xls/ChartDropBar.py +12 -0
  49. spire/xls/ChartFormat.py +72 -0
  50. spire/xls/ChartFormatCollection.py +59 -0
  51. spire/xls/ChartGridLine.py +27 -0
  52. spire/xls/ChartInterior.py +12 -0
  53. spire/xls/ChartLegend.py +42 -0
  54. spire/xls/ChartLegendEntriesColl.py +128 -0
  55. spire/xls/ChartLegendEntry.py +27 -0
  56. spire/xls/ChartLinePatternType.py +24 -0
  57. spire/xls/ChartLineWeightType.py +19 -0
  58. spire/xls/ChartMarkerType.py +27 -0
  59. spire/xls/ChartPageSetup.py +12 -0
  60. spire/xls/ChartParagraphType.py +18 -0
  61. spire/xls/ChartPieType.py +18 -0
  62. spire/xls/ChartPlotArea.py +53 -0
  63. spire/xls/ChartPlotEmptyType.py +18 -0
  64. spire/xls/ChartSerie.py +142 -0
  65. spire/xls/ChartSerieDataFormat.py +56 -0
  66. spire/xls/ChartSeries.py +154 -0
  67. spire/xls/ChartSeriesAxis.py +72 -0
  68. spire/xls/ChartShadow.py +235 -0
  69. spire/xls/ChartSheet.py +285 -0
  70. spire/xls/ChartTextArea.py +782 -0
  71. spire/xls/ChartTitle.py +12 -0
  72. spire/xls/ChartValueAxis.py +92 -0
  73. spire/xls/ChartWallOrFloor.py +12 -0
  74. spire/xls/ChartsCollection.py +113 -0
  75. spire/xls/CheckBoxCollection.py +70 -0
  76. spire/xls/CheckState.py +18 -0
  77. spire/xls/CollectionBase.py +184 -0
  78. spire/xls/CollectionChangeEventArgs.py +36 -0
  79. spire/xls/CollectionExtended.py +92 -0
  80. spire/xls/ColorConditionValue.py +91 -0
  81. spire/xls/ColorFilter.py +45 -0
  82. spire/xls/ColorScale.py +172 -0
  83. spire/xls/ColorType.py +18 -0
  84. spire/xls/ComboBoxCollection.py +70 -0
  85. spire/xls/CommentHAlignType.py +21 -0
  86. spire/xls/CommentVAlignType.py +20 -0
  87. spire/xls/CommentsCollection.py +109 -0
  88. spire/xls/CommentsRange.py +578 -0
  89. spire/xls/CommonWrapper.py +40 -0
  90. spire/xls/ComparisonOperatorType.py +24 -0
  91. spire/xls/CompoundLineType.py +18 -0
  92. spire/xls/CondFormatCollectionWrapper.py +125 -0
  93. spire/xls/ConditionValue.py +82 -0
  94. spire/xls/ConditionValuePosition.py +16 -0
  95. spire/xls/ConditionValueType.py +20 -0
  96. spire/xls/ConditionalFormat.py +14 -0
  97. spire/xls/ConditionalFormatScope.py +16 -0
  98. spire/xls/ConditionalFormatType.py +33 -0
  99. spire/xls/ConditionalFormatWrapper.py +986 -0
  100. spire/xls/ConditionalFormats.py +55 -0
  101. spire/xls/ConditionalTopNType.py +17 -0
  102. spire/xls/ConnectionDataSourceType.py +26 -0
  103. spire/xls/ConverterSetting.py +347 -0
  104. spire/xls/CopyRangeOptions.py +23 -0
  105. spire/xls/CustomFilter.py +147 -0
  106. spire/xls/CustomFilterCollection.py +113 -0
  107. spire/xls/DBConnection.py +198 -0
  108. spire/xls/DVAspect.py +15 -0
  109. spire/xls/DataBar.py +220 -0
  110. spire/xls/DataBarAxisPosition.py +16 -0
  111. spire/xls/DataBarBorder.py +47 -0
  112. spire/xls/DataBarBorderType.py +15 -0
  113. spire/xls/DataBarFillType.py +15 -0
  114. spire/xls/DataBarNegativeColorType.py +15 -0
  115. spire/xls/DataConnections.py +25 -0
  116. spire/xls/DataLabelPositionType.py +26 -0
  117. spire/xls/DataMarkerDirection.py +17 -0
  118. spire/xls/DataSorter.py +154 -0
  119. spire/xls/DataSourceType.py +19 -0
  120. spire/xls/DateTimeGroupItem.py +132 -0
  121. spire/xls/DateTimeGroupingType.py +19 -0
  122. spire/xls/DeleteOption.py +15 -0
  123. spire/xls/DocumentProperty.py +304 -0
  124. spire/xls/DropLineStyleType.py +18 -0
  125. spire/xls/DynamicFilter.py +71 -0
  126. spire/xls/DynamicFilterType.py +48 -0
  127. spire/xls/EncryptedKeyInfo.py +12 -0
  128. spire/xls/ErrorBarIncludeType.py +19 -0
  129. spire/xls/ErrorBarType.py +20 -0
  130. spire/xls/Excel2016Charttype.py +20 -0
  131. spire/xls/ExcelAddInFunction.py +12 -0
  132. spire/xls/ExcelCalculationMode.py +18 -0
  133. spire/xls/ExcelChartType.py +96 -0
  134. spire/xls/ExcelClearOptions.py +18 -0
  135. spire/xls/ExcelColors.py +121 -0
  136. spire/xls/ExcelComboType.py +22 -0
  137. spire/xls/ExcelComment.py +27 -0
  138. spire/xls/ExcelCommentObject.py +618 -0
  139. spire/xls/ExcelFindOptions.py +16 -0
  140. spire/xls/ExcelFont.py +310 -0
  141. spire/xls/ExcelGradient.py +174 -0
  142. spire/xls/ExcelHorizontalAlignment.py +21 -0
  143. spire/xls/ExcelInterior.py +128 -0
  144. spire/xls/ExcelPatternType.py +52 -0
  145. spire/xls/ExcelPicture.py +12 -0
  146. spire/xls/ExcelQuartileCalculation.py +17 -0
  147. spire/xls/ExcelSaveType.py +15 -0
  148. spire/xls/ExcelShapeType.py +41 -0
  149. spire/xls/ExcelSheetType.py +20 -0
  150. spire/xls/ExcelTotalsCalculation.py +23 -0
  151. spire/xls/ExcelTreeMapLabelOption.py +18 -0
  152. spire/xls/ExcelVersion.py +24 -0
  153. spire/xls/ExcelVerticalAlignment.py +21 -0
  154. spire/xls/ExpandCollapseFlags.py +18 -0
  155. spire/xls/ExportTableOptions.py +74 -0
  156. spire/xls/ExternalConnection.py +147 -0
  157. spire/xls/ExternalLink.py +58 -0
  158. spire/xls/ExternalLinkCollection.py +25 -0
  159. spire/xls/FileFormat.py +40 -0
  160. spire/xls/FillPictureType.py +16 -0
  161. spire/xls/FilterColumn.py +258 -0
  162. spire/xls/FilterConditionType.py +21 -0
  163. spire/xls/FilterDataType.py +22 -0
  164. spire/xls/FilterOperatorType.py +20 -0
  165. spire/xls/FilterType.py +20 -0
  166. spire/xls/FindType.py +19 -0
  167. spire/xls/Font.py +376 -0
  168. spire/xls/FontArrayWrapper.py +265 -0
  169. spire/xls/FontUnderlineType.py +20 -0
  170. spire/xls/FontVertialAlignmentType.py +20 -0
  171. spire/xls/FontWrapper.py +450 -0
  172. spire/xls/FontsCollection.py +87 -0
  173. spire/xls/Format3D.py +235 -0
  174. spire/xls/GeomertyAdjustValue.py +63 -0
  175. spire/xls/GeomertyAdjustValueFormulaType.py +30 -0
  176. spire/xls/GeomertyAdjustValuesCollection.py +39 -0
  177. spire/xls/GetText.py +15 -0
  178. spire/xls/GoalSeek.py +65 -0
  179. spire/xls/GoalSeekResult.py +57 -0
  180. spire/xls/GradientArrayWrapper.py +188 -0
  181. spire/xls/GradientColorType.py +18 -0
  182. spire/xls/GradientPatternType.py +64 -0
  183. spire/xls/GradientPresetType.py +39 -0
  184. spire/xls/GradientStops.py +146 -0
  185. spire/xls/GradientStyleType.py +21 -0
  186. spire/xls/GradientTextureType.py +40 -0
  187. spire/xls/GradientType.py +17 -0
  188. spire/xls/GradientVariantsType.py +19 -0
  189. spire/xls/GroupBoxCollection.py +70 -0
  190. spire/xls/GroupByType.py +15 -0
  191. spire/xls/GroupShape.py +21 -0
  192. spire/xls/GroupShapeCollection.py +46 -0
  193. spire/xls/HPageBreak.py +32 -0
  194. spire/xls/HPageBreaksCollection.py +108 -0
  195. spire/xls/HTMLOptions.py +144 -0
  196. spire/xls/HistogramAxisFormat.py +30 -0
  197. spire/xls/HorizontalAlignType.py +23 -0
  198. spire/xls/HttpContentType.py +18 -0
  199. spire/xls/HyperLink.py +32 -0
  200. spire/xls/HyperLinkType.py +20 -0
  201. spire/xls/HyperLinksCollection.py +72 -0
  202. spire/xls/IAddInFunction.py +22 -0
  203. spire/xls/IAddInFunctions.py +50 -0
  204. spire/xls/IArcShape.py +259 -0
  205. spire/xls/IArcShapes.py +50 -0
  206. spire/xls/IAutoFilter.py +167 -0
  207. spire/xls/IAutoFilterCondition.py +123 -0
  208. spire/xls/IAutoFilters.py +49 -0
  209. spire/xls/IBorder.py +116 -0
  210. spire/xls/IBorders.py +106 -0
  211. spire/xls/IBuiltInDocumentProperties.py +579 -0
  212. spire/xls/IButtonShape.py +12 -0
  213. spire/xls/IButtonShapes.py +50 -0
  214. spire/xls/IChart.py +1368 -0
  215. spire/xls/IChartAxis.py +722 -0
  216. spire/xls/IChartBorder.py +220 -0
  217. spire/xls/IChartCategoryAxis.py +410 -0
  218. spire/xls/IChartDataLabels.py +457 -0
  219. spire/xls/IChartDataPoint.py +131 -0
  220. spire/xls/IChartDataPoints.py +31 -0
  221. spire/xls/IChartDataTable.py +197 -0
  222. spire/xls/IChartDropBar.py +12 -0
  223. spire/xls/IChartErrorBars.py +373 -0
  224. spire/xls/IChartFillBorder.py +303 -0
  225. spire/xls/IChartFormat.py +571 -0
  226. spire/xls/IChartFrameFormat.py +93 -0
  227. spire/xls/IChartGridLine.py +107 -0
  228. spire/xls/IChartInterior.py +278 -0
  229. spire/xls/IChartLegend.py +499 -0
  230. spire/xls/IChartLegendEntries.py +30 -0
  231. spire/xls/IChartLegendEntry.py +178 -0
  232. spire/xls/IChartPageSetup.py +56 -0
  233. spire/xls/IChartSerie.py +779 -0
  234. spire/xls/IChartSerieDataFormat.py +566 -0
  235. spire/xls/IChartSeries.py +39 -0
  236. spire/xls/IChartSeriesAxis.py +128 -0
  237. spire/xls/IChartShape.py +92 -0
  238. spire/xls/IChartShapes.py +39 -0
  239. spire/xls/IChartTextArea.py +197 -0
  240. spire/xls/IChartTrendLine.py +548 -0
  241. spire/xls/IChartTrendLines.py +79 -0
  242. spire/xls/IChartValueAxis.py +518 -0
  243. spire/xls/IChartWallOrFloor.py +32 -0
  244. spire/xls/ICharts.py +70 -0
  245. spire/xls/ICheckBox.py +96 -0
  246. spire/xls/ICheckBoxes.py +50 -0
  247. spire/xls/ICloneParent.py +28 -0
  248. spire/xls/IColorConditionValue.py +31 -0
  249. spire/xls/IColorScale.py +32 -0
  250. spire/xls/ICombinedRange.py +87 -0
  251. spire/xls/IComboBoxShape.py +95 -0
  252. spire/xls/IComboBoxes.py +50 -0
  253. spire/xls/IComment.py +85 -0
  254. spire/xls/ICommentShape.py +12 -0
  255. spire/xls/IComments.py +50 -0
  256. spire/xls/IConditionValue.py +68 -0
  257. spire/xls/IConditionalFormat.py +606 -0
  258. spire/xls/IConditionalFormats.py +48 -0
  259. spire/xls/IConditionalFormatsCollection.py +134 -0
  260. spire/xls/ICustomDocumentProperties.py +128 -0
  261. spire/xls/IDataBar.py +105 -0
  262. spire/xls/IDataSort.py +95 -0
  263. spire/xls/IDataValidation.py +421 -0
  264. spire/xls/IDataValidationCollection.py +132 -0
  265. spire/xls/IDataValidationTable.py +68 -0
  266. spire/xls/IDigitalSignature.py +99 -0
  267. spire/xls/IDigitalSignatures.py +29 -0
  268. spire/xls/IDocumentProperty.py +226 -0
  269. spire/xls/IErrorIndicator.py +31 -0
  270. spire/xls/IExcelApplication.py +22 -0
  271. spire/xls/IExtendIndex.py +21 -0
  272. spire/xls/IExtendedFormat.py +530 -0
  273. spire/xls/IFont.py +271 -0
  274. spire/xls/IFormat3D.py +252 -0
  275. spire/xls/IGeomPath.py +23 -0
  276. spire/xls/IGeomPathInfo.py +112 -0
  277. spire/xls/IGeomPathShape.py +30 -0
  278. spire/xls/IGlow.py +85 -0
  279. spire/xls/IGradient.py +174 -0
  280. spire/xls/IGroupBox.py +67 -0
  281. spire/xls/IGroupBoxes.py +50 -0
  282. spire/xls/IHPageBreak.py +22 -0
  283. spire/xls/IHPageBreaks.py +31 -0
  284. spire/xls/IHyperLink.py +118 -0
  285. spire/xls/IHyperLinks.py +48 -0
  286. spire/xls/IIconSet.py +96 -0
  287. spire/xls/IInterior.py +117 -0
  288. spire/xls/IInternalAddtionalFormat.py +238 -0
  289. spire/xls/IInternalFont.py +31 -0
  290. spire/xls/IInternalWorksheet.py +132 -0
  291. spire/xls/ILabelShape.py +49 -0
  292. spire/xls/ILabelShapes.py +50 -0
  293. spire/xls/ILineShape.py +305 -0
  294. spire/xls/ILines.py +50 -0
  295. spire/xls/IListBox.py +86 -0
  296. spire/xls/IListBoxes.py +50 -0
  297. spire/xls/IListObject.py +493 -0
  298. spire/xls/IListObjectColumn.py +222 -0
  299. spire/xls/IListObjects.py +31 -0
  300. spire/xls/IMarkersDesigner.py +113 -0
  301. spire/xls/IMigrantRange.py +21 -0
  302. spire/xls/INameRanges.py +162 -0
  303. spire/xls/INamedObject.py +22 -0
  304. spire/xls/INamedRange.py +162 -0
  305. spire/xls/INumberFormat.py +77 -0
  306. spire/xls/IOleObject.py +176 -0
  307. spire/xls/IOleObjects.py +32 -0
  308. spire/xls/IOptimizedUpdate.py +28 -0
  309. spire/xls/IOvalShape.py +154 -0
  310. spire/xls/IOvalShapes.py +50 -0
  311. spire/xls/IPageSetup.py +195 -0
  312. spire/xls/IPageSetupBase.py +642 -0
  313. spire/xls/IPictureShape.py +99 -0
  314. spire/xls/IPictures.py +250 -0
  315. spire/xls/IPivotCache.py +41 -0
  316. spire/xls/IPivotCaches.py +39 -0
  317. spire/xls/IPivotCalculatedFields.py +50 -0
  318. spire/xls/IPivotDataField.py +68 -0
  319. spire/xls/IPivotDataFields.py +50 -0
  320. spire/xls/IPivotField.py +291 -0
  321. spire/xls/IPivotFields.py +41 -0
  322. spire/xls/IPivotTable.py +393 -0
  323. spire/xls/IPivotTableOptions.py +428 -0
  324. spire/xls/IPivotTables.py +68 -0
  325. spire/xls/IPropertyData.py +70 -0
  326. spire/xls/IPrstGeomShape.py +71 -0
  327. spire/xls/IPrstGeomShapes.py +81 -0
  328. spire/xls/IRadioButton.py +105 -0
  329. spire/xls/IRadioButtons.py +71 -0
  330. spire/xls/IRectangleShape.py +60 -0
  331. spire/xls/IRectangleShapes.py +50 -0
  332. spire/xls/IReflectionEffect.py +138 -0
  333. spire/xls/IRichTextString.py +93 -0
  334. spire/xls/IScrollBarShape.py +140 -0
  335. spire/xls/IScrollBarShapes.py +50 -0
  336. spire/xls/IShadow.py +244 -0
  337. spire/xls/IShape.py +409 -0
  338. spire/xls/IShapeFill.py +522 -0
  339. spire/xls/IShapeLineFormat.py +331 -0
  340. spire/xls/IShapes.py +270 -0
  341. spire/xls/ISortColumn.py +96 -0
  342. spire/xls/ISortColumns.py +70 -0
  343. spire/xls/ISortedRule.py +112 -0
  344. spire/xls/ISparkline.py +68 -0
  345. spire/xls/ISparklineGroup.py +428 -0
  346. spire/xls/ISparklines.py +72 -0
  347. spire/xls/ISpinnerShape.py +102 -0
  348. spire/xls/ISpinnerShapes.py +50 -0
  349. spire/xls/IStyle.py +50 -0
  350. spire/xls/IStyles.py +69 -0
  351. spire/xls/ITabSheet.py +302 -0
  352. spire/xls/ITabSheets.py +57 -0
  353. spire/xls/ITextBox.py +116 -0
  354. spire/xls/ITextBoxLinkShape.py +40 -0
  355. spire/xls/ITextBoxShape.py +22 -0
  356. spire/xls/ITextBoxes.py +61 -0
  357. spire/xls/ITextFrame.py +120 -0
  358. spire/xls/IVPageBreak.py +22 -0
  359. spire/xls/IVPageBreaks.py +31 -0
  360. spire/xls/IWorkbook.py +1806 -0
  361. spire/xls/IWorksheet.py +2694 -0
  362. spire/xls/IWorksheetGroup.py +48 -0
  363. spire/xls/IWorksheets.py +159 -0
  364. spire/xls/IXLSRange.py +2479 -0
  365. spire/xls/IXLSRanges.py +35 -0
  366. spire/xls/IconSet.py +103 -0
  367. spire/xls/IconSetType.py +35 -0
  368. spire/xls/IgnoreErrorType.py +24 -0
  369. spire/xls/ImageFormatType.py +18 -0
  370. spire/xls/ImageLocationTypes.py +15 -0
  371. spire/xls/ImageType.py +17 -0
  372. spire/xls/ImportObjectOptions.py +89 -0
  373. spire/xls/InsertMoveOption.py +15 -0
  374. spire/xls/InsertOptionsType.py +16 -0
  375. spire/xls/InteriorArrayWrapper.py +126 -0
  376. spire/xls/LOGFONT.py +140 -0
  377. spire/xls/LabelShapeCollection.py +71 -0
  378. spire/xls/LegendPositionType.py +21 -0
  379. spire/xls/LegendSpacingType.py +18 -0
  380. spire/xls/LineCollection.py +85 -0
  381. spire/xls/LineShapeType.py +17 -0
  382. spire/xls/LineStyleType.py +29 -0
  383. spire/xls/ListBoxCollection.py +71 -0
  384. spire/xls/ListObjectCollection.py +45 -0
  385. spire/xls/MarkerDesigner.py +172 -0
  386. spire/xls/MeasureUnits.py +21 -0
  387. spire/xls/MsoPathInfo.py +38 -0
  388. spire/xls/MsoPathType.py +21 -0
  389. spire/xls/MultipleFilterCollection.py +166 -0
  390. spire/xls/NegativeBarFormat.py +82 -0
  391. spire/xls/OColor.py +165 -0
  392. spire/xls/OLEDBCommandType.py +19 -0
  393. spire/xls/OdsPageBackground.py +129 -0
  394. spire/xls/OdsPageBackgroundImagePositionType.py +22 -0
  395. spire/xls/OdsPageBackgroundImageType.py +16 -0
  396. spire/xls/OdsPageBackgroundType.py +16 -0
  397. spire/xls/OleLinkType.py +15 -0
  398. spire/xls/OleObjectType.py +51 -0
  399. spire/xls/OrderBy.py +19 -0
  400. spire/xls/OrderType.py +17 -0
  401. spire/xls/OvalShapeCollection.py +70 -0
  402. spire/xls/PageBreakExtentType.py +17 -0
  403. spire/xls/PageBreakType.py +18 -0
  404. spire/xls/PageColRow.py +48 -0
  405. spire/xls/PageOrientationType.py +17 -0
  406. spire/xls/PageSetup.py +14 -0
  407. spire/xls/PagesOrderType.py +17 -0
  408. spire/xls/PaperSizeEntry.py +30 -0
  409. spire/xls/PaperSizeType.py +135 -0
  410. spire/xls/PathFillMode.py +19 -0
  411. spire/xls/PdfConformanceLevel.py +20 -0
  412. spire/xls/PicStretch.py +104 -0
  413. spire/xls/PicTile.py +72 -0
  414. spire/xls/PicturesCollection.py +532 -0
  415. spire/xls/PivotAutoFomatTypes.py +35 -0
  416. spire/xls/PivotBuiltInStyles.py +97 -0
  417. spire/xls/PivotCache.py +12 -0
  418. spire/xls/PivotCachesCollection.py +12 -0
  419. spire/xls/PivotCalculatedFieldsCollection.py +38 -0
  420. spire/xls/PivotConditionalFormat.py +54 -0
  421. spire/xls/PivotConditionalFormatCollection.py +38 -0
  422. spire/xls/PivotDataField.py +118 -0
  423. spire/xls/PivotDataFields.py +104 -0
  424. spire/xls/PivotDataType.py +21 -0
  425. spire/xls/PivotField.py +12 -0
  426. spire/xls/PivotFieldFormatType.py +28 -0
  427. spire/xls/PivotFieldSortType.py +16 -0
  428. spire/xls/PivotGroupByTypes.py +23 -0
  429. spire/xls/PivotItem.py +161 -0
  430. spire/xls/PivotItemType.py +28 -0
  431. spire/xls/PivotLabelFilterType.py +27 -0
  432. spire/xls/PivotPageAreaFieldsOrderType.py +15 -0
  433. spire/xls/PivotReportFilter.py +92 -0
  434. spire/xls/PivotReportFilters.py +63 -0
  435. spire/xls/PivotStyle.py +79 -0
  436. spire/xls/PivotTable.py +12 -0
  437. spire/xls/PivotTableElement.py +38 -0
  438. spire/xls/PivotTableFields.py +85 -0
  439. spire/xls/PivotTableLayoutType.py +16 -0
  440. spire/xls/PivotTableStyle.py +63 -0
  441. spire/xls/PivotTablesCollection.py +12 -0
  442. spire/xls/PivotValueFilterType.py +21 -0
  443. spire/xls/PresetTextEffect.py +43 -0
  444. spire/xls/PrintCommentType.py +18 -0
  445. spire/xls/PrintErrorsType.py +19 -0
  446. spire/xls/PrintingPageType.py +16 -0
  447. spire/xls/PropertyType.py +31 -0
  448. spire/xls/PrstGeomShapeCollection.py +126 -0
  449. spire/xls/PrstGeomShapeType.py +201 -0
  450. spire/xls/QueryTableCollection.py +25 -0
  451. spire/xls/QueryTableXls.py +42 -0
  452. spire/xls/RTFCommentArray.py +112 -0
  453. spire/xls/RTFStringArray.py +112 -0
  454. spire/xls/RadioButtonCollection.py +137 -0
  455. spire/xls/RangeRichTextString.py +42 -0
  456. spire/xls/RangesCollection.py +537 -0
  457. spire/xls/ReadingOrderType.py +18 -0
  458. spire/xls/RectangleCollection.py +71 -0
  459. spire/xls/RectangleShapeType.py +22 -0
  460. spire/xls/RectangleStyleType.py +17 -0
  461. spire/xls/ReferRangeArea.py +88 -0
  462. spire/xls/RelationShip.py +15 -0
  463. spire/xls/RenameStrategy.py +16 -0
  464. spire/xls/ResizeBehaveType.py +18 -0
  465. spire/xls/RichText.py +49 -0
  466. spire/xls/RichTextObject.py +133 -0
  467. spire/xls/RichTextShape.py +168 -0
  468. spire/xls/RichTextString.py +126 -0
  469. spire/xls/RtfTags.py +30 -0
  470. spire/xls/RtfTextWriter.py +629 -0
  471. spire/xls/SaveShapeTypeOption.py +310 -0
  472. spire/xls/ScrollBarCollection.py +71 -0
  473. spire/xls/SelectionType.py +16 -0
  474. spire/xls/ShapeArrowLengthType.py +18 -0
  475. spire/xls/ShapeArrowStyleType.py +21 -0
  476. spire/xls/ShapeArrowWidthType.py +18 -0
  477. spire/xls/ShapeCollectionBase.py +87 -0
  478. spire/xls/ShapeDashLineStyleType.py +23 -0
  479. spire/xls/ShapeFillType.py +22 -0
  480. spire/xls/ShapeGeomPath.py +26 -0
  481. spire/xls/ShapeGlow.py +91 -0
  482. spire/xls/ShapeLayerChangeType.py +19 -0
  483. spire/xls/ShapeLineStyleType.py +20 -0
  484. spire/xls/ShapeReflection.py +131 -0
  485. spire/xls/ShapeSegmentPath.py +26 -0
  486. spire/xls/SheetProtectionType.py +33 -0
  487. spire/xls/SortColumn.py +120 -0
  488. spire/xls/SortColumns.py +185 -0
  489. spire/xls/SortComparsionType.py +19 -0
  490. spire/xls/SortOrientationType.py +17 -0
  491. spire/xls/SortedWayType.py +18 -0
  492. spire/xls/Sparkline.py +70 -0
  493. spire/xls/SparklineCollection.py +112 -0
  494. spire/xls/SparklineEmptyCells.py +16 -0
  495. spire/xls/SparklineGroup.py +523 -0
  496. spire/xls/SparklineGroupCollection.py +71 -0
  497. spire/xls/SparklineType.py +18 -0
  498. spire/xls/SpartlineVerticalAxisType.py +16 -0
  499. spire/xls/SpinnerShapeCollection.py +70 -0
  500. spire/xls/SplitType.py +19 -0
  501. spire/xls/StrikeThroughStyle.py +17 -0
  502. spire/xls/StringUtil.py +12 -0
  503. spire/xls/StyleArrayWrapper.py +621 -0
  504. spire/xls/StyleDefineType.py +15 -0
  505. spire/xls/StylesCollection.py +141 -0
  506. spire/xls/SubtotalTypes.py +26 -0
  507. spire/xls/TRangeValueType.py +19 -0
  508. spire/xls/TableBuiltInStyles.py +75 -0
  509. spire/xls/TextBoxCollection.py +70 -0
  510. spire/xls/TextBoxShapeBase.py +140 -0
  511. spire/xls/TextDirection.py +20 -0
  512. spire/xls/TextDirectionType.py +16 -0
  513. spire/xls/TextRotationType.py +19 -0
  514. spire/xls/TextSaveOptions.py +85 -0
  515. spire/xls/TextVerticalValue.py +19 -0
  516. spire/xls/ThemeColorType.py +27 -0
  517. spire/xls/TickLabelPositionType.py +19 -0
  518. spire/xls/TickMarkType.py +19 -0
  519. spire/xls/TimePeriodType.py +23 -0
  520. spire/xls/Top10Filter.py +75 -0
  521. spire/xls/TopBottom.py +44 -0
  522. spire/xls/TopBottomType.py +19 -0
  523. spire/xls/TopFormatType.py +18 -0
  524. spire/xls/TrendLineType.py +21 -0
  525. spire/xls/UnderlineStyle.py +32 -0
  526. spire/xls/UnknownVariableAction.py +18 -0
  527. spire/xls/UtilityMethods.py +55 -0
  528. spire/xls/VPageBreak.py +34 -0
  529. spire/xls/VPageBreaksCollection.py +96 -0
  530. spire/xls/Validation.py +33 -0
  531. spire/xls/ValidationComparisonOperator.py +23 -0
  532. spire/xls/VariableTypeAction.py +19 -0
  533. spire/xls/VerticalAlignType.py +20 -0
  534. spire/xls/ViewMode.py +18 -0
  535. spire/xls/WebQueryConnection.py +224 -0
  536. spire/xls/Workbook.py +3152 -0
  537. spire/xls/WorkbookObjectsCollection.py +25 -0
  538. spire/xls/Worksheet.py +1319 -0
  539. spire/xls/WorksheetChartsCollection.py +83 -0
  540. spire/xls/WorksheetConditionalFormats.py +12 -0
  541. spire/xls/WorksheetCopyType.py +31 -0
  542. spire/xls/WorksheetVisibility.py +18 -0
  543. spire/xls/WorksheetsCollection.py +341 -0
  544. spire/xls/WriteProtection.py +64 -0
  545. spire/xls/XLSXBorderJoinType.py +19 -0
  546. spire/xls/XLSXChartBevelType.py +26 -0
  547. spire/xls/XLSXChartLightingType.py +40 -0
  548. spire/xls/XLSXChartMaterialType.py +32 -0
  549. spire/xls/XLSXChartPrespectiveType.py +21 -0
  550. spire/xls/XLSXChartShadowInnerType.py +25 -0
  551. spire/xls/XLSXChartShadowOuterType.py +25 -0
  552. spire/xls/XLSXPivotItemType.py +28 -0
  553. spire/xls/XlsAddInFunction.py +78 -0
  554. spire/xls/XlsAddInFunctionsCollection.py +101 -0
  555. spire/xls/XlsArcShape.py +331 -0
  556. spire/xls/XlsAutoFiltersCollection.py +119 -0
  557. spire/xls/XlsBitmapShape.py +297 -0
  558. spire/xls/XlsBorder.py +172 -0
  559. spire/xls/XlsBorderArrayWrapper.py +116 -0
  560. spire/xls/XlsBordersCollection.py +101 -0
  561. spire/xls/XlsBuiltInDocumentProperties.py +639 -0
  562. spire/xls/XlsButtonShape.py +137 -0
  563. spire/xls/XlsChart.py +1510 -0
  564. spire/xls/XlsChartAxis.py +564 -0
  565. spire/xls/XlsChartBorder.py +165 -0
  566. spire/xls/XlsChartCategoryAxis.py +656 -0
  567. spire/xls/XlsChartDataLabelArea.py +387 -0
  568. spire/xls/XlsChartDataLabels.py +811 -0
  569. spire/xls/XlsChartDataPoint.py +108 -0
  570. spire/xls/XlsChartDataPointsCollection.py +120 -0
  571. spire/xls/XlsChartDataTable.py +393 -0
  572. spire/xls/XlsChartDropBar.py +301 -0
  573. spire/xls/XlsChartFill.py +571 -0
  574. spire/xls/XlsChartFormat.py +1069 -0
  575. spire/xls/XlsChartFormatCollection.py +162 -0
  576. spire/xls/XlsChartFrameFormat.py +614 -0
  577. spire/xls/XlsChartGridLine.py +171 -0
  578. spire/xls/XlsChartInterior.py +240 -0
  579. spire/xls/XlsChartLegend.py +355 -0
  580. spire/xls/XlsChartLegendArea.py +419 -0
  581. spire/xls/XlsChartLegendEntry.py +156 -0
  582. spire/xls/XlsChartPageSetup.py +56 -0
  583. spire/xls/XlsChartPlotArea.py +12 -0
  584. spire/xls/XlsChartSerie.py +589 -0
  585. spire/xls/XlsChartSerieDataFormat.py +1008 -0
  586. spire/xls/XlsChartSeries.py +111 -0
  587. spire/xls/XlsChartSeriesAxis.py +212 -0
  588. spire/xls/XlsChartShape.py +1142 -0
  589. spire/xls/XlsChartTitleArea.py +392 -0
  590. spire/xls/XlsChartValueAxis.py +317 -0
  591. spire/xls/XlsChartWallOrFloor.py +319 -0
  592. spire/xls/XlsChartsCollection.py +89 -0
  593. spire/xls/XlsCheckBoxShape.py +156 -0
  594. spire/xls/XlsComboBoxShape.py +128 -0
  595. spire/xls/XlsComment.py +234 -0
  596. spire/xls/XlsCommentsCollection.py +87 -0
  597. spire/xls/XlsConditionValue.py +111 -0
  598. spire/xls/XlsConditionalFormat.py +1119 -0
  599. spire/xls/XlsConditionalFormats.py +590 -0
  600. spire/xls/XlsDataValidationCollection.py +159 -0
  601. spire/xls/XlsDataValidationTable.py +105 -0
  602. spire/xls/XlsDocumentProperty.py +370 -0
  603. spire/xls/XlsEventArgs.py +93 -0
  604. spire/xls/XlsEventHandler.py +52 -0
  605. spire/xls/XlsFill.py +139 -0
  606. spire/xls/XlsFont.py +364 -0
  607. spire/xls/XlsFontStyle.py +12 -0
  608. spire/xls/XlsFontsCollection.py +51 -0
  609. spire/xls/XlsGradient.py +185 -0
  610. spire/xls/XlsGradientStop.py +85 -0
  611. spire/xls/XlsGroupBoxShape.py +88 -0
  612. spire/xls/XlsHPageBreak.py +105 -0
  613. spire/xls/XlsHPageBreaksCollection.py +85 -0
  614. spire/xls/XlsHeaderFooterShapeCollection.py +57 -0
  615. spire/xls/XlsHyperLink.py +229 -0
  616. spire/xls/XlsHyperLinksCollection.py +102 -0
  617. spire/xls/XlsLabelShape.py +73 -0
  618. spire/xls/XlsLineShape.py +367 -0
  619. spire/xls/XlsListBoxShape.py +124 -0
  620. spire/xls/XlsName.py +1871 -0
  621. spire/xls/XlsObject.py +36 -0
  622. spire/xls/XlsOvalShape.py +176 -0
  623. spire/xls/XlsPageSetup.py +220 -0
  624. spire/xls/XlsPageSetupBase.py +1354 -0
  625. spire/xls/XlsPicturesCollection.py +365 -0
  626. spire/xls/XlsPivotCache.py +401 -0
  627. spire/xls/XlsPivotCacheField.py +209 -0
  628. spire/xls/XlsPivotCachesCollection.py +124 -0
  629. spire/xls/XlsPivotField.py +885 -0
  630. spire/xls/XlsPivotTable.py +905 -0
  631. spire/xls/XlsPivotTablesCollection.py +131 -0
  632. spire/xls/XlsPrstGeomShape.py +97 -0
  633. spire/xls/XlsRadioButtonShape.py +188 -0
  634. spire/xls/XlsRange.py +3193 -0
  635. spire/xls/XlsRangesCollection.py +1566 -0
  636. spire/xls/XlsRectangleShape.py +174 -0
  637. spire/xls/XlsScrollBarShape.py +146 -0
  638. spire/xls/XlsShape.py +967 -0
  639. spire/xls/XlsShapeFill.py +627 -0
  640. spire/xls/XlsShapeLineFormat.py +341 -0
  641. spire/xls/XlsSpinnerShape.py +116 -0
  642. spire/xls/XlsStyle.py +106 -0
  643. spire/xls/XlsStylesCollection.py +73 -0
  644. spire/xls/XlsTextBoxShape.py +480 -0
  645. spire/xls/XlsVPageBreak.py +98 -0
  646. spire/xls/XlsVPageBreaksCollection.py +84 -0
  647. spire/xls/XlsValidation.py +520 -0
  648. spire/xls/XlsValidationWrapper.py +397 -0
  649. spire/xls/XlsWorkbook.py +1947 -0
  650. spire/xls/XlsWorkbookObjectsCollection.py +94 -0
  651. spire/xls/XlsWorksheet.py +4352 -0
  652. spire/xls/XlsWorksheetBase.py +1273 -0
  653. spire/xls/XlsWorksheetChartsCollection.py +25 -0
  654. spire/xls/XlsWorksheetConditionalFormats.py +215 -0
  655. spire/xls/XlsWorksheetsCollection.py +416 -0
  656. spire/xls/XmlOpenType.py +14 -0
  657. spire/xls/__init__.py +723 -0
  658. spire/xls/common/Boolean.py +192 -0
  659. spire/xls/common/Byte.py +256 -0
  660. spire/xls/common/Char.py +740 -0
  661. spire/xls/common/Color.py +2187 -0
  662. spire/xls/common/Common.py +150 -0
  663. spire/xls/common/CultureInfo.py +565 -0
  664. spire/xls/common/DateTime.py +1147 -0
  665. spire/xls/common/Double.py +438 -0
  666. spire/xls/common/EmfType.py +23 -0
  667. spire/xls/common/Encoding.py +928 -0
  668. spire/xls/common/FontStyle.py +25 -0
  669. spire/xls/common/GraphicsUnit.py +27 -0
  670. spire/xls/common/ICollection.py +70 -0
  671. spire/xls/common/IDictionary.py +122 -0
  672. spire/xls/common/IEnumerable.py +41 -0
  673. spire/xls/common/IEnumerator.py +60 -0
  674. spire/xls/common/IList.py +145 -0
  675. spire/xls/common/Int16.py +272 -0
  676. spire/xls/common/Int32.py +280 -0
  677. spire/xls/common/Int64.py +256 -0
  678. spire/xls/common/License.py +175 -0
  679. spire/xls/common/PixelFormat.py +43 -0
  680. spire/xls/common/Point.py +298 -0
  681. spire/xls/common/PointF.py +274 -0
  682. spire/xls/common/Rectangle.py +449 -0
  683. spire/xls/common/RectangleF.py +436 -0
  684. spire/xls/common/Regex.py +962 -0
  685. spire/xls/common/RegexOptions.py +29 -0
  686. spire/xls/common/Single.py +416 -0
  687. spire/xls/common/Size.py +271 -0
  688. spire/xls/common/SizeF.py +259 -0
  689. spire/xls/common/SpireObject.py +79 -0
  690. spire/xls/common/Stream.py +550 -0
  691. spire/xls/common/String.py +1878 -0
  692. spire/xls/common/TimeSpan.py +872 -0
  693. spire/xls/common/UInt16.py +272 -0
  694. spire/xls/common/UInt32.py +272 -0
  695. spire/xls/common/UInt64.py +272 -0
  696. spire/xls/common/__init__.py +316 -0
  697. spire/xls/lib/Spire.Xls.Base.dll +0 -0
  698. spire/xls/lib/__init__.py +0 -0
  699. spire/xls/lib/libSkiaSharp.dll +0 -0
  700. spire_xls-15.5.0.dist-info/METADATA +197 -0
  701. spire_xls-15.5.0.dist-info/RECORD +703 -0
  702. spire_xls-15.5.0.dist-info/WHEEL +5 -0
  703. spire_xls-15.5.0.dist-info/top_level.txt +1 -0
spire/xls/IChart.py ADDED
@@ -0,0 +1,1368 @@
1
+ from enum import Enum
2
+ from plum import dispatch
3
+ from typing import TypeVar,Union,Generic,List,Tuple
4
+ from spire.xls.common import *
5
+ from spire.xls import *
6
+ from ctypes import *
7
+ import abc
8
+
9
+ class IChart (abc.ABC) :
10
+ """
11
+ <summary>
12
+ Represents a chart sheet in the workbook.
13
+ </summary>
14
+ """
15
+ @property
16
+
17
+ @abc.abstractmethod
18
+ def ChartType(self)->'ExcelChartType':
19
+ """
20
+ <summary>
21
+ Type of the chart.
22
+ <example>The following code illustrates how to set ExcelChartType.PyramidBarStacked to ChartType property:
23
+ <code>
24
+ //Create worksheet
25
+ Workbook workbook = new Workbook();
26
+ Worksheet worksheet = workbook.Worksheets[0];
27
+ //Add data
28
+ worksheet.Range["A1"].Text = "Jan";
29
+ worksheet.Range["B1"].Text = "Feb";
30
+ worksheet.Range["C1"].Text = "Mar";
31
+ worksheet.Range["A2"].Text = "10";
32
+ worksheet.Range["B2"].Text = "20";
33
+ worksheet.Range["C2"].Text = "30";
34
+ //Create chart and set chart type
35
+ IChart chart = workbook.Charts.Add();
36
+ chart.DataRange = worksheet.Range["A1:C2"];
37
+ chart.ChartType = ExcelChartType.PyramidBarStacked;
38
+ //Save to file
39
+ workbook.SaveToFile("Chart.xlsx");
40
+ </code>
41
+ </example>
42
+ </summary>
43
+ """
44
+ pass
45
+
46
+
47
+ @ChartType.setter
48
+ @abc.abstractmethod
49
+ def ChartType(self, value:'ExcelChartType'):
50
+ """
51
+
52
+ """
53
+ pass
54
+
55
+
56
+ @property
57
+
58
+ @abc.abstractmethod
59
+ def DataRange(self)->'IXLSRange':
60
+ """
61
+ <summary>
62
+ DataRange for the chart series.
63
+ <example>The following code illustrates how to set the data range for the chart:
64
+ <code>
65
+ //Create worksheet
66
+ Workbook workbook = new Workbook();
67
+ Worksheet worksheet = workbook.Worksheets[0];
68
+ //Add data
69
+ worksheet.Range["A1"].Text = "Jan";
70
+ worksheet.Range["B1"].Text = "Feb";
71
+ worksheet.Range["C1"].Text = "Mar";
72
+ worksheet.Range["A2"].Text = "10";
73
+ worksheet.Range["B2"].Text = "20";
74
+ worksheet.Range["C2"].Text = "30";
75
+ //Create chart and set range
76
+ IChart chart = workbook.Charts.Add();
77
+ chart.DataRange = worksheet.Range["A1:C2"];
78
+ //Save to file
79
+ workbook.SaveToFile("Chart.xlsx");
80
+ </code>
81
+ </example>
82
+ </summary>
83
+ """
84
+ pass
85
+
86
+
87
+ @DataRange.setter
88
+ @abc.abstractmethod
89
+ def DataRange(self, value:'IXLSRange'):
90
+ """
91
+
92
+ """
93
+ pass
94
+
95
+
96
+ @property
97
+ @abc.abstractmethod
98
+ def SeriesDataFromRange(self)->bool:
99
+ """
100
+ <summary>
101
+ True if series are in rows in DataRange;False otherwise.
102
+ <example>The following code illustrates how to set SeriesDataFromRange property for charts:
103
+ <code>
104
+ //Create worksheet
105
+ Workbook workbook = new Workbook();
106
+ Worksheet worksheet = workbook.Worksheets[0];
107
+ //Add data
108
+ worksheet.Range["A1"].Text = "Jan";
109
+ worksheet.Range["B1"].Text = "Feb";
110
+ worksheet.Range["C1"].Text = "Mar";
111
+ worksheet.Range["A2"].Text = "10";
112
+ worksheet.Range["B2"].Text = "20";
113
+ worksheet.Range["C2"].Text = "30";
114
+ //Create chart and set SeriesDataFromRange
115
+ IChart chart = workbook.Charts.Add();
116
+ chart.DataRange = worksheet.Range["A1:C2"];
117
+ chart.SeriesDataFromRange = false;
118
+ //Save to file
119
+ workbook.SaveToFile("Chart.xlsx");
120
+ </code>
121
+ </example>
122
+ </summary>
123
+ """
124
+ pass
125
+
126
+
127
+ @SeriesDataFromRange.setter
128
+ @abc.abstractmethod
129
+ def SeriesDataFromRange(self, value:bool):
130
+ """
131
+
132
+ """
133
+ pass
134
+
135
+
136
+ @property
137
+
138
+ @abc.abstractmethod
139
+ def PageSetup(self)->'IChartPageSetup':
140
+ """
141
+ <summary>
142
+ Page setup for the chart. Read-only.
143
+ <example>The following code illustrates how to set paper size:
144
+ <code>
145
+ //Create worksheet
146
+ Workbook workbook = new Workbook();
147
+ Worksheet worksheet = workbook.Worksheets[0];
148
+ //Add data
149
+ worksheet.Range["A1"].Text = "Jan";
150
+ worksheet.Range["B1"].Text = "Feb";
151
+ worksheet.Range["C1"].Text = "Mar";
152
+ worksheet.Range["A2"].Text = "10";
153
+ worksheet.Range["B2"].Text = "20";
154
+ worksheet.Range["C2"].Text = "30";
155
+ //Create chart and range
156
+ IChart chart = workbook.Charts.Add();
157
+ chart.DataRange = worksheet.Range["A1:C2"];
158
+ //Set chart page setup and paper size
159
+ IChartPageSetup pageSetup = chart.PageSetup;
160
+ pageSetup.PaperSize = PaperSizeType.A3TransversePaper;
161
+ //Save to file
162
+ workbook.SaveToFile("Chart.xlsx");
163
+ </code>
164
+ </example>
165
+ </summary>
166
+ """
167
+ pass
168
+
169
+
170
+ @property
171
+ @abc.abstractmethod
172
+ def XPos(self)->float:
173
+ """
174
+ <summary>
175
+ X coordinate of the upper-left corner of the chart in points (1/72 inch).
176
+ </summary>
177
+ """
178
+ pass
179
+
180
+
181
+ @XPos.setter
182
+ @abc.abstractmethod
183
+ def XPos(self, value:float):
184
+ """
185
+
186
+ """
187
+ pass
188
+
189
+
190
+ @property
191
+ @abc.abstractmethod
192
+ def YPos(self)->float:
193
+ """
194
+ <summary>
195
+ Y coordinate of the upper-left corner of the chart in points (1/72 inch).
196
+ </summary>
197
+ """
198
+ pass
199
+
200
+
201
+ @YPos.setter
202
+ @abc.abstractmethod
203
+ def YPos(self, value:float):
204
+ """
205
+
206
+ """
207
+ pass
208
+
209
+
210
+ @property
211
+ @abc.abstractmethod
212
+ def Width(self)->float:
213
+ """
214
+ <summary>
215
+ Width of the chart in points (1/72 inch).
216
+ </summary>
217
+ """
218
+ pass
219
+
220
+
221
+ @Width.setter
222
+ @abc.abstractmethod
223
+ def Width(self, value:float):
224
+ """
225
+
226
+ """
227
+ pass
228
+
229
+
230
+ @property
231
+ @abc.abstractmethod
232
+ def Height(self)->float:
233
+ """
234
+ <summary>
235
+ Height of the chart in points (1/72 inch).
236
+ </summary>
237
+ """
238
+ pass
239
+
240
+
241
+ @Height.setter
242
+ @abc.abstractmethod
243
+ def Height(self, value:float):
244
+ """
245
+
246
+ """
247
+ pass
248
+
249
+
250
+ @property
251
+
252
+ @abc.abstractmethod
253
+ def Name(self)->str:
254
+ """
255
+ <summary>
256
+ Name of the chart's worksheet.
257
+ </summary>
258
+ """
259
+ pass
260
+
261
+
262
+ @Name.setter
263
+ @abc.abstractmethod
264
+ def Name(self, value:str):
265
+ """
266
+
267
+ """
268
+ pass
269
+
270
+
271
+ @property
272
+
273
+ @abc.abstractmethod
274
+ def PrimaryCategoryAxis(self)->'IChartCategoryAxis':
275
+ """
276
+ <summary>
277
+ Primary category axis. Read-only.
278
+ <example>The following code illustrates how to set the visibility of PrimaryCategoryAxis:
279
+ <code>
280
+ //Create worksheet
281
+ Workbook workbook = new Workbook();
282
+ Worksheet worksheet = workbook.Worksheets[0];
283
+ //Add data
284
+ worksheet.Range["A1"].Text = "Jan";
285
+ worksheet.Range["B1"].Text = "Feb";
286
+ worksheet.Range["C1"].Text = "Mar";
287
+ worksheet.Range["A2"].Text = "10";
288
+ worksheet.Range["B2"].Text = "20";
289
+ worksheet.Range["C2"].Text = "30";
290
+ //Create chart and range
291
+ IChart chart = workbook.Charts.Add();
292
+ chart.DataRange = worksheet.Range["A1:C2"];
293
+ //Chart category axis
294
+ IChartCategoryAxis categoryAxis = chart.PrimaryCategoryAxis;
295
+ //Set visibility
296
+ categoryAxis.Visible = false;
297
+ //Save to file
298
+ workbook.SaveToFile("Chart.xlsx");
299
+ </code>
300
+ </example>
301
+ </summary>
302
+ """
303
+ pass
304
+
305
+
306
+ @property
307
+
308
+ @abc.abstractmethod
309
+ def PrimaryValueAxis(self)->'IChartValueAxis':
310
+ """
311
+ <summary>
312
+ Primary value axis. Read-only.
313
+ <example>The following code illustrates how to set the visibility of PrimaryValueAxis:
314
+ <code>
315
+ //Create worksheet
316
+ Workbook workbook = new Workbook();
317
+ Worksheet worksheet = workbook.Worksheets[0];
318
+ //Add data
319
+ worksheet.Range["A1"].Text = "Jan";
320
+ worksheet.Range["B1"].Text = "Feb";
321
+ worksheet.Range["C1"].Text = "Mar";
322
+ worksheet.Range["A2"].Text = "10";
323
+ worksheet.Range["B2"].Text = "20";
324
+ worksheet.Range["C2"].Text = "30";
325
+ //Create chart and range
326
+ IChart chart = workbook.Charts.Add();
327
+ chart.DataRange = worksheet.Range["A1:C2"];
328
+ //Chart value axis
329
+ IChartValueAxis valueAxis = chart.PrimaryValueAxis;
330
+ //Set visibility
331
+ valueAxis.Visible = false;
332
+ //Save to file
333
+ workbook.SaveToFile("Chart.xlsx");
334
+ </code>
335
+ </example>
336
+ </summary>
337
+ """
338
+ pass
339
+
340
+
341
+ @property
342
+
343
+ @abc.abstractmethod
344
+ def PrimarySerieAxis(self)->'IChartSeriesAxis':
345
+ """
346
+ <summary>
347
+ Primary serie axis. Read-only.
348
+ <example>The following code illustrates how to set the visibility of PrimarySerieAxis:
349
+ <code>
350
+ //Create worksheet
351
+ Workbook workbook = new Workbook();
352
+ Worksheet worksheet = workbook.Worksheets[0];
353
+ //Add data
354
+ worksheet.Range["A1"].Text = "Jan";
355
+ worksheet.Range["B1"].Text = "Feb";
356
+ worksheet.Range["C1"].Text = "Mar";
357
+ worksheet.Range["A2"].Text = "10";
358
+ worksheet.Range["B2"].Text = "20";
359
+ worksheet.Range["C2"].Text = "30";
360
+ //Create chart and range
361
+ IChart chart = workbook.Charts.Add();
362
+ chart.DataRange = worksheet.Range["A1:C2"];
363
+ //Set chart type
364
+ chart.ChartType = ExcelChartType.Surface3D;
365
+ //Chart series axis
366
+ IChartSeriesAxis seriesAxis = chart.PrimarySerieAxis;
367
+ //Set visibility
368
+ seriesAxis.Visible = false;
369
+ //Save to file
370
+ workbook.SaveToFile("Chart.xlsx");
371
+ </code>
372
+ </example>
373
+ </summary>
374
+ """
375
+ pass
376
+
377
+
378
+ @property
379
+
380
+ @abc.abstractmethod
381
+ def SecondaryCategoryAxis(self)->'IChartCategoryAxis':
382
+ """
383
+ <summary>
384
+ Secondary category axis. Read-only.
385
+ <example>The following code illustrates how to disable PrimaryCategoryAxis and set
386
+ SecondaryCategoryAxis for charts:
387
+ <code>
388
+ //Create worksheet
389
+ Workbook workbook = new Workbook();
390
+ Worksheet worksheet = workbook.Worksheets[0];
391
+ //Add data
392
+ worksheet.Range["A1"].Text = "Jan";
393
+ worksheet.Range["B1"].Text = "Feb";
394
+ worksheet.Range["C1"].Text = "Mar";
395
+ worksheet.Range["A2"].Text = "10";
396
+ worksheet.Range["B2"].Text = "20";
397
+ worksheet.Range["C2"].Text = "30";
398
+ worksheet.Range["A3"].Value = "100";
399
+ worksheet.Range["B3"].Value = "200";
400
+ worksheet.Range["C3"].Value = "300";
401
+ //Create chart and range
402
+ Chart chart = worksheet.Charts.Add();
403
+ chart.DataRange = worksheet.Range["A1:C3"];
404
+ //Set secondary axis
405
+ IChartSerie serie = chart.Series[1];
406
+ serie.UsePrimaryAxis = false;
407
+ chart.SecondaryCategoryAxis.Visible = true;
408
+ //Save to file
409
+ workbook.SaveToFile("Chart.xlsx");
410
+ </code>
411
+ </example>
412
+ </summary>
413
+ """
414
+ pass
415
+
416
+
417
+ @property
418
+
419
+ @abc.abstractmethod
420
+ def SecondaryValueAxis(self)->'IChartValueAxis':
421
+ """
422
+ <summary>
423
+ Secondary value axis. Read-only.
424
+ <example>The following code illustrates how to disable PrimaryValueAxis and set
425
+ SecondaryValueAxis for charts:
426
+ <code>
427
+ //Create worksheet
428
+ Workbook workbook = new Workbook();
429
+ Worksheet worksheet = workbook.Worksheets[0];
430
+ //Add data
431
+ worksheet.Range["A1"].Text = "Jan";
432
+ worksheet.Range["B1"].Text = "Feb";
433
+ worksheet.Range["C1"].Text = "Mar";
434
+ worksheet.Range["A2"].Text = "10";
435
+ worksheet.Range["B2"].Text = "20";
436
+ worksheet.Range["C2"].Text = "30";
437
+ worksheet.Range["A3"].Value = "100";
438
+ worksheet.Range["B3"].Value = "200";
439
+ worksheet.Range["C3"].Value = "300";
440
+ //Create chart and range
441
+ Chart chart = worksheet.Charts.Add();
442
+ chart.DataRange = worksheet.Range["A1:C3"];
443
+ //Set secondary axis
444
+ IChartSerie serie = chart.Series[1];
445
+ serie.UsePrimaryAxis = false;
446
+ chart.SecondaryValueAxis.Visible = true;
447
+ //Save to file
448
+ workbook.SaveToFile("Chart.xlsx");
449
+ </code>
450
+ </example>
451
+ </summary>
452
+ """
453
+ pass
454
+
455
+
456
+ @property
457
+
458
+ @abc.abstractmethod
459
+ def ChartArea(self)->'IChartFrameFormat':
460
+ """
461
+ <summary>
462
+ Returns an object that represents the complete chart area for the chart. Read-only.
463
+ <example>The following code illustrates how to access IChartFrameFormat using ChartArea
464
+ property and set foreground color for the ChartArea:
465
+ <code>
466
+ //Create worksheet
467
+ Workbook workbook = new Workbook();
468
+ Worksheet worksheet = workbook.Worksheets[0];
469
+ //Add data
470
+ worksheet.Range["A1"].Text = "Jan";
471
+ worksheet.Range["B1"].Text = "Feb";
472
+ worksheet.Range["C1"].Text = "Mar";
473
+ worksheet.Range["A2"].Text = "10";
474
+ worksheet.Range["B2"].Text = "20";
475
+ worksheet.Range["C2"].Text = "30";
476
+ //Create chart and range
477
+ Chart chart = worksheet.Charts.Add();
478
+ chart.DataRange = worksheet.Range["A1:C2"];
479
+ //Set chart frame format
480
+ IChartFrameFormat frameFormat = chart.ChartArea;
481
+ //Set color
482
+ frameFormat.Fill.ForeColor = System.Drawing.Color.Red;
483
+ //Save to file
484
+ workbook.SaveToFile("Chart.xlsx");
485
+ </code>
486
+ </example>
487
+ </summary>
488
+ """
489
+ pass
490
+
491
+
492
+ @property
493
+
494
+ @abc.abstractmethod
495
+ def PlotArea(self)->'IChartFrameFormat':
496
+ """
497
+ <summary>
498
+ Returns plot area frame format. Read-only.
499
+ <example>The following code illustrates how to access IChartFrameFormat using PlotArea
500
+ property and set foreground color for the chart's PlotArea:
501
+ <code>
502
+ //Create worksheet
503
+ Workbook workbook = new Workbook();
504
+ Worksheet worksheet = workbook.Worksheets[0];
505
+ //Add data
506
+ worksheet.Range["A1"].Text = "Jan";
507
+ worksheet.Range["B1"].Text = "Feb";
508
+ worksheet.Range["C1"].Text = "Mar";
509
+ worksheet.Range["A2"].Text = "10";
510
+ worksheet.Range["B2"].Text = "20";
511
+ worksheet.Range["C2"].Text = "30";
512
+ //Create chart and range
513
+ Chart chart = worksheet.Charts.Add();
514
+ chart.DataRange = worksheet.Range["A1:C2"];
515
+ //Set chart frame format
516
+ IChartFrameFormat frameFormat = chart.PlotArea;
517
+ //Set color
518
+ frameFormat.Fill.ForeColor = System.Drawing.Color.Red;
519
+ //Save to file
520
+ workbook.SaveToFile("Chart.xlsx");
521
+ </code>
522
+ </example>
523
+ </summary>
524
+ """
525
+ pass
526
+
527
+
528
+ @property
529
+
530
+ @abc.abstractmethod
531
+ def Walls(self)->'IChartWallOrFloor':
532
+ """
533
+ <summary>
534
+ Represents chart walls. Read-only.
535
+ <example>The following code illustrates how to access IChartWallOrFloor using Walls
536
+ property and set foreground color for the chart's Walls:
537
+ <code>
538
+ //Create worksheet
539
+ Workbook workbook = new Workbook();
540
+ workbook.LoadFromFile("Sample.xlsx");
541
+ Worksheet worksheet = workbook.Worksheets[0];
542
+ //Get chart
543
+ Chart chart = worksheet.Charts[0];
544
+ //Set chart wall
545
+ IChartWallOrFloor wall = chart.Walls;
546
+ //Set color
547
+ wall.Fill.FillType = ShapeFillType.SolidColor;
548
+ wall.Fill.ForeColor = System.Drawing.Color.Red;
549
+ //Save to file
550
+ workbook.SaveToFile("Chart.xlsx");
551
+ </code>
552
+ </example>
553
+ </summary>
554
+ """
555
+ pass
556
+
557
+
558
+ @property
559
+
560
+ @abc.abstractmethod
561
+ def Floor(self)->'IChartWallOrFloor':
562
+ """
563
+ <summary>
564
+ Represents chart floor. Read-only.
565
+ <example>The following code illustrates how to access IChartWallOrFloor using Floor
566
+ property and set foreground color for the chart's Floor:
567
+ <code>
568
+ //Create worksheet
569
+ Workbook workbook = new Workbook();
570
+ workbook.LoadFromFile("Sample.xlsx");
571
+ Worksheet worksheet = workbook.Worksheets[0];
572
+ //Get chart
573
+ Chart chart = worksheet.Charts[0];
574
+ //Set chart wall
575
+ IChartWallOrFloor floor = chart.Floor;
576
+ //Set color
577
+ floor.Fill.FillType = ShapeFillType.SolidColor;
578
+ floor.Fill.ForeColor = System.Drawing.Color.Red;
579
+ //Save to file
580
+ workbook.SaveToFile("Chart.xlsx");
581
+ </code>
582
+ </example>
583
+ </summary>
584
+ """
585
+ pass
586
+
587
+
588
+ @property
589
+
590
+ @abc.abstractmethod
591
+ def DataTable(self)->'IChartDataTable':
592
+ """
593
+ <summary>
594
+ Represents charts dataTable object.
595
+ <example>The following code illustrates how to set HasDataTable to "true" to enable data table
596
+ and set IChartDataTable.HasBorders to "false" to hide the borders of data table:
597
+ <code>
598
+ //Create worksheet
599
+ Workbook workbook = new Workbook();
600
+ Worksheet worksheet = workbook.Worksheets[0];
601
+ //Add data
602
+ worksheet.Range["A1"].Text = "Jan";
603
+ worksheet.Range["B1"].Text = "Feb";
604
+ worksheet.Range["C1"].Text = "Mar";
605
+ worksheet.Range["A2"].Text = "10";
606
+ worksheet.Range["B2"].Text = "20";
607
+ worksheet.Range["C2"].Text = "30";
608
+ //Create chart and range
609
+ Chart chart = worksheet.Charts.Add();
610
+ chart.DataRange = worksheet.Range["A1:C2"];
611
+ //Set Chart data table
612
+ chart.HasDataTable = true;
613
+ IChartDataTable dataTable = chart.DataTable;
614
+ //Set border
615
+ dataTable.HasBorders = false;
616
+ //Save to file
617
+ workbook.SaveToFile("Chart.xlsx");
618
+ </code>
619
+ </example>
620
+ </summary>
621
+ """
622
+ pass
623
+
624
+
625
+ @property
626
+ @abc.abstractmethod
627
+ def HasDataTable(self)->bool:
628
+ """
629
+ <summary>
630
+ True if the chart has a data table.
631
+ <example>The following code illustrates how data table can be set for charts:
632
+ <code>
633
+ //Create worksheet
634
+ Workbook workbook = new Workbook();
635
+ Worksheet worksheet = workbook.Worksheets[0];
636
+ //Add data
637
+ worksheet.Range["A1"].Text = "Jan";
638
+ worksheet.Range["B1"].Text = "Feb";
639
+ worksheet.Range["C1"].Text = "Mar";
640
+ worksheet.Range["A2"].Text = "10";
641
+ worksheet.Range["B2"].Text = "20";
642
+ worksheet.Range["C2"].Text = "30";
643
+ //Create chart and range
644
+ Chart chart = worksheet.Charts.Add();
645
+ chart.DataRange = worksheet.Range["A1:C2"];
646
+ //Set Chart data table
647
+ chart.HasDataTable = true;
648
+ //Save to file
649
+ workbook.SaveToFile("Chart.xlsx");
650
+ </code>
651
+ </example>
652
+ </summary>
653
+ """
654
+ pass
655
+
656
+
657
+ @HasDataTable.setter
658
+ @abc.abstractmethod
659
+ def HasDataTable(self, value:bool):
660
+ """
661
+
662
+ """
663
+ pass
664
+
665
+
666
+ @property
667
+
668
+ @abc.abstractmethod
669
+ def Legend(self)->'IChartLegend':
670
+ """
671
+ <summary>
672
+ Represents chart legend.
673
+ <example>The following code illustrates how to access IChartLegend using IChart.Legend
674
+ property and set IChartLegend.Position to LegendPositionType.Left:
675
+ <code>
676
+ //Create worksheet
677
+ Workbook workbook = new Workbook();
678
+ Worksheet worksheet = workbook.Worksheets[0];
679
+ //Add data
680
+ worksheet.Range["A1"].Text = "Jan";
681
+ worksheet.Range["B1"].Text = "Feb";
682
+ worksheet.Range["C1"].Text = "Mar";
683
+ worksheet.Range["A2"].Text = "10";
684
+ worksheet.Range["B2"].Text = "20";
685
+ worksheet.Range["C2"].Text = "30";
686
+ //Create chart and range
687
+ Chart chart = worksheet.Charts.Add();
688
+ chart.DataRange = worksheet.Range["A1:C2"];
689
+ //Set chart legend and legend position
690
+ IChartLegend legend = chart.Legend;
691
+ legend.Position = LegendPositionType.Left;
692
+ //Save to file
693
+ workbook.SaveToFile("Chart.xlsx");
694
+ </code>
695
+ </example>
696
+ </summary>
697
+ """
698
+ pass
699
+
700
+
701
+ @property
702
+ @abc.abstractmethod
703
+ def HasLegend(self)->bool:
704
+ """
705
+ <summary>
706
+ True if the chart has a legend object.
707
+ <example>The following code illustrates how to set HasLegend property:
708
+ <code>
709
+ //Create worksheet
710
+ Workbook workbook = new Workbook();
711
+ Worksheet worksheet = workbook.Worksheets[0];
712
+ //Add data
713
+ worksheet.Range["A1"].Text = "Jan";
714
+ worksheet.Range["B1"].Text = "Feb";
715
+ worksheet.Range["C1"].Text = "Mar";
716
+ worksheet.Range["A2"].Text = "10";
717
+ worksheet.Range["B2"].Text = "20";
718
+ worksheet.Range["C2"].Text = "30";
719
+ //Create chart and range
720
+ Chart chart = worksheet.Charts.Add();
721
+ chart.DataRange = worksheet.Range["A1:C2"];
722
+ //Set hasLegend
723
+ chart.HasLegend = false;
724
+ //Save to file
725
+ workbook.SaveToFile("Chart.xlsx");
726
+ </code>
727
+ </example>
728
+ </summary>
729
+ """
730
+ pass
731
+
732
+
733
+ @HasLegend.setter
734
+ @abc.abstractmethod
735
+ def HasLegend(self, value:bool):
736
+ """
737
+
738
+ """
739
+ pass
740
+
741
+
742
+ @property
743
+ @abc.abstractmethod
744
+ def Rotation(self)->int:
745
+ """
746
+ <summary>
747
+ Returns or sets the rotation of the 3-D chart view
748
+ (the rotation of the plot area around the z-axis, in degrees).(0 to 360 degrees).
749
+ <example>The following code illustrates how to set Rotation for 3-D charts:
750
+ <code>
751
+ //Create worksheet
752
+ Workbook workbook = new Workbook();
753
+ Worksheet worksheet = workbook.Worksheets[0];
754
+ //Add data
755
+ worksheet.Range["A1"].Text = "Jan";
756
+ worksheet.Range["B1"].Text = "Feb";
757
+ worksheet.Range["C1"].Text = "Mar";
758
+ worksheet.Range["A2"].Text = "10";
759
+ worksheet.Range["B2"].Text = "20";
760
+ worksheet.Range["C2"].Text = "30";
761
+ //Create chart and range
762
+ Chart chart = worksheet.Charts.Add();
763
+ chart.DataRange = worksheet.Range["A1:C2"];
764
+ //Set Chart rotation
765
+ chart.ChartType = ExcelChartType.Column3DClustered;
766
+ chart.Rotation = 50;
767
+ //Save to file
768
+ workbook.SaveToFile("Chart.xlsx");
769
+ </code>
770
+ </example>
771
+ </summary>
772
+ """
773
+ pass
774
+
775
+
776
+ @Rotation.setter
777
+ @abc.abstractmethod
778
+ def Rotation(self, value:int):
779
+ """
780
+
781
+ """
782
+ pass
783
+
784
+
785
+ @property
786
+ @abc.abstractmethod
787
+ def Elevation(self)->int:
788
+ """
789
+ <summary>
790
+ Returns or sets the elevation of the 3-D chart view, in degrees (?0 to +90 degrees).
791
+ <example>The following code illustrates how to set Rotation for 3-D charts:
792
+ <code>
793
+ //Create worksheet
794
+ Workbook workbook = new Workbook();
795
+ Worksheet worksheet = workbook.Worksheets[0];
796
+ //Add data
797
+ worksheet.Range["A1"].Text = "Jan";
798
+ worksheet.Range["B1"].Text = "Feb";
799
+ worksheet.Range["C1"].Text = "Mar";
800
+ worksheet.Range["A2"].Text = "10";
801
+ worksheet.Range["B2"].Text = "20";
802
+ worksheet.Range["C2"].Text = "30";
803
+ //Create chart and range
804
+ Chart chart = worksheet.Charts.Add();
805
+ chart.DataRange = worksheet.Range["A1:C2"];
806
+ //Set Chart elevation
807
+ chart.ChartType = ExcelChartType.Column3DClustered;
808
+ chart.Elevation = 50;
809
+ //Save to file
810
+ workbook.SaveToFile("Chart.xlsx");
811
+ </code>
812
+ </example>
813
+ </summary>
814
+ """
815
+ pass
816
+
817
+
818
+ @Elevation.setter
819
+ @abc.abstractmethod
820
+ def Elevation(self, value:int):
821
+ """
822
+
823
+ """
824
+ pass
825
+
826
+
827
+ @property
828
+ @abc.abstractmethod
829
+ def Perspective(self)->int:
830
+ """
831
+ <summary>
832
+ Returns or sets the perspective for the 3-D chart view (0 to 100).
833
+ <example>The following code illustrates how to set Perspective for the charts:
834
+ <code>
835
+ //Create worksheet
836
+ Workbook workbook = new Workbook();
837
+ Worksheet worksheet = workbook.Worksheets[0];
838
+ //Add data
839
+ worksheet.Range["A1"].Text = "Jan";
840
+ worksheet.Range["B1"].Text = "Feb";
841
+ worksheet.Range["C1"].Text = "Mar";
842
+ worksheet.Range["A2"].Text = "10";
843
+ worksheet.Range["B2"].Text = "20";
844
+ worksheet.Range["C2"].Text = "30";
845
+ //Create chart and range
846
+ Chart chart = worksheet.Charts.Add();
847
+ chart.DataRange = worksheet.Range["A1:C2"];
848
+ //Set Chart perspective
849
+ chart.ChartType = ExcelChartType.Column3DClustered;
850
+ chart.Perspective = 70;
851
+ //Save to file
852
+ workbook.SaveToFile("Chart.xlsx");
853
+ </code>
854
+ </example>
855
+ </summary>
856
+ """
857
+ pass
858
+
859
+
860
+ @Perspective.setter
861
+ @abc.abstractmethod
862
+ def Perspective(self, value:int):
863
+ """
864
+
865
+ """
866
+ pass
867
+
868
+
869
+ @property
870
+ @abc.abstractmethod
871
+ def HeightPercent(self)->int:
872
+ """
873
+ <summary>
874
+ Returns or sets the height of a 3-D chart as a percentage of the chart width
875
+ (between 5 and 500 percent).
876
+ <example>The following code illustrates how to set HeightPercent to a Column 3D chart:
877
+ <code>
878
+ //Create worksheet
879
+ Workbook workbook = new Workbook();
880
+ Worksheet worksheet = workbook.Worksheets[0];
881
+ //Add data
882
+ worksheet.Range["A1"].Text = "Jan";
883
+ worksheet.Range["B1"].Text = "Feb";
884
+ worksheet.Range["C1"].Text = "Mar";
885
+ worksheet.Range["A2"].Text = "10";
886
+ worksheet.Range["B2"].Text = "20";
887
+ worksheet.Range["C2"].Text = "30";
888
+ //Create chart and range
889
+ Chart chart = worksheet.Charts.Add();
890
+ chart.DataRange = worksheet.Range["A1:C2"];
891
+ //Set Chart height percent
892
+ chart.ChartType = ExcelChartType.Column3DClustered;
893
+ chart.AutoScaling = false;
894
+ chart.HeightPercent = 50;
895
+ //Save to file
896
+ workbook.SaveToFile("Chart.xlsx");
897
+ </code>
898
+ </example>
899
+ </summary>
900
+ """
901
+ pass
902
+
903
+
904
+ @HeightPercent.setter
905
+ @abc.abstractmethod
906
+ def HeightPercent(self, value:int):
907
+ """
908
+
909
+ """
910
+ pass
911
+
912
+
913
+ @property
914
+ @abc.abstractmethod
915
+ def DepthPercent(self)->int:
916
+ """
917
+ <summary>
918
+ Returns or sets the depth of a 3-D chart as a percentage of the chart width
919
+ (between 20 and 2000 percent).
920
+ <example>The following code illustrates how to set DepthPercent to a Column 3D chart:
921
+ <code>
922
+ //Create worksheet
923
+ Workbook workbook = new Workbook();
924
+ Worksheet worksheet = workbook.Worksheets[0];
925
+ //Add data
926
+ worksheet.Range["A1"].Text = "Jan";
927
+ worksheet.Range["B1"].Text = "Feb";
928
+ worksheet.Range["C1"].Text = "Mar";
929
+ worksheet.Range["A2"].Text = "10";
930
+ worksheet.Range["B2"].Text = "20";
931
+ worksheet.Range["C2"].Text = "30";
932
+ //Create chart and range
933
+ Chart chart = worksheet.Charts.Add();
934
+ chart.DataRange = worksheet.Range["A1:C2"];
935
+ //Set Chart depth percent
936
+ chart.ChartType = ExcelChartType.Column3DClustered;
937
+ chart.DepthPercent = 500;
938
+ //Save to file
939
+ workbook.SaveToFile("Chart.xlsx");
940
+ </code>
941
+ </example>
942
+ </summary>
943
+ """
944
+ pass
945
+
946
+
947
+ @DepthPercent.setter
948
+ @abc.abstractmethod
949
+ def DepthPercent(self, value:int):
950
+ """
951
+
952
+ """
953
+ pass
954
+
955
+
956
+ @property
957
+ @abc.abstractmethod
958
+ def GapDepth(self)->int:
959
+ """
960
+ <summary>
961
+ Returns or sets the distance between the data series in a 3-D chart, as a percentage of
962
+ the marker width.( 0 - 500 )
963
+ <example>The following code illustrates how to set GapDepth to a Column 3D chart:
964
+ <code>
965
+ //Create worksheet
966
+ Workbook workbook = new Workbook();
967
+ Worksheet worksheet = workbook.Worksheets[0];
968
+ //Add data
969
+ worksheet.Range["A1"].Text = "Jan";
970
+ worksheet.Range["B1"].Text = "Feb";
971
+ worksheet.Range["C1"].Text = "Mar";
972
+ worksheet.Range["A2"].Text = "10";
973
+ worksheet.Range["B2"].Text = "20";
974
+ worksheet.Range["C2"].Text = "30";
975
+ //Create chart and range
976
+ Chart chart = worksheet.Charts.Add();
977
+ chart.DataRange = worksheet.Range["A1:C2"];
978
+ //Set gap depth
979
+ chart.ChartType = ExcelChartType.Column3DClustered;
980
+ chart.GapDepth = 450;
981
+ //Save to file
982
+ workbook.SaveToFile("Chart.xlsx");
983
+ </code>
984
+ </example>
985
+ </summary>
986
+ """
987
+ pass
988
+
989
+
990
+ @GapDepth.setter
991
+ @abc.abstractmethod
992
+ def GapDepth(self, value:int):
993
+ """
994
+
995
+ """
996
+ pass
997
+
998
+
999
+ @property
1000
+ @abc.abstractmethod
1001
+ def RightAngleAxes(self)->bool:
1002
+ """
1003
+ <summary>
1004
+ True if the chart axes are at right angles, independent of chart rotation or elevation.
1005
+ <example>The following code illustrates how RightAngleAxes can be set for charts:
1006
+ <code>
1007
+ //Create worksheet
1008
+ Workbook workbook = new Workbook();
1009
+ Worksheet worksheet = workbook.Worksheets[0];
1010
+ //Add data
1011
+ worksheet.Range["A1"].Text = "Jan";
1012
+ worksheet.Range["B1"].Text = "Feb";
1013
+ worksheet.Range["C1"].Text = "Mar";
1014
+ worksheet.Range["A2"].Text = "10";
1015
+ worksheet.Range["B2"].Text = "20";
1016
+ worksheet.Range["C2"].Text = "30";
1017
+ //Create chart and range
1018
+ Chart chart = worksheet.Charts.Add();
1019
+ chart.DataRange = worksheet.Range["A1:C2"];
1020
+ //Set Chart rotation and RightAngleAxes
1021
+ chart.ChartType = ExcelChartType.Column3DClustered;
1022
+ chart.Rotation = 50;
1023
+ chart.RightAngleAxes = true;
1024
+ //Save to file
1025
+ workbook.SaveToFile("Chart.xlsx");
1026
+ </code>
1027
+ </example>
1028
+ </summary>
1029
+ """
1030
+ pass
1031
+
1032
+
1033
+ @RightAngleAxes.setter
1034
+ @abc.abstractmethod
1035
+ def RightAngleAxes(self, value:bool):
1036
+ """
1037
+
1038
+ """
1039
+ pass
1040
+
1041
+
1042
+ @property
1043
+ @abc.abstractmethod
1044
+ def AutoScaling(self)->bool:
1045
+ """
1046
+ <summary>
1047
+ True if Microsoft Excel scales a 3-D chart so that it's closer in size to the equivalent 2-D chart.
1048
+ <example>The following code illustrates how to set auto scaling for charts:
1049
+ <code>
1050
+ //Create worksheet
1051
+ Workbook workbook = new Workbook();
1052
+ Worksheet worksheet = workbook.Worksheets[0];
1053
+ //Add data
1054
+ worksheet.Range["A1"].Text = "Jan";
1055
+ worksheet.Range["B1"].Text = "Feb";
1056
+ worksheet.Range["C1"].Text = "Mar";
1057
+ worksheet.Range["A2"].Text = "10";
1058
+ worksheet.Range["B2"].Text = "20";
1059
+ worksheet.Range["C2"].Text = "30";
1060
+ //Create chart and range
1061
+ Chart chart = worksheet.Charts.Add();
1062
+ chart.DataRange = worksheet.Range["A1:C2"];
1063
+ //Set auto scaling
1064
+ chart.ChartType = ExcelChartType.Column3DClustered;
1065
+ chart.HeightPercent = 50;
1066
+ chart.AutoScaling = true;
1067
+ //Save to file
1068
+ workbook.SaveToFile("Chart.xlsx");
1069
+ </code>
1070
+ </example>
1071
+ </summary>
1072
+ """
1073
+ pass
1074
+
1075
+
1076
+ @AutoScaling.setter
1077
+ @abc.abstractmethod
1078
+ def AutoScaling(self, value:bool):
1079
+ """
1080
+
1081
+ """
1082
+ pass
1083
+
1084
+
1085
+ @property
1086
+ @abc.abstractmethod
1087
+ def WallsAndGridlines2D(self)->bool:
1088
+ """
1089
+ <summary>
1090
+ True if gridlines are drawn two-dimensionally on a 3-D chart.
1091
+ </summary>
1092
+ """
1093
+ pass
1094
+
1095
+
1096
+ @WallsAndGridlines2D.setter
1097
+ @abc.abstractmethod
1098
+ def WallsAndGridlines2D(self, value:bool):
1099
+ """
1100
+
1101
+ """
1102
+ pass
1103
+
1104
+
1105
+ @property
1106
+ @abc.abstractmethod
1107
+ def HasPlotArea(self)->bool:
1108
+ """
1109
+ <summary>
1110
+ Indicates whether chart has plot area.
1111
+ </summary>
1112
+ """
1113
+ pass
1114
+
1115
+
1116
+ @HasPlotArea.setter
1117
+ @abc.abstractmethod
1118
+ def HasPlotArea(self, value:bool):
1119
+ """
1120
+
1121
+ """
1122
+ pass
1123
+
1124
+
1125
+ @property
1126
+
1127
+ @abc.abstractmethod
1128
+ def DisplayBlanksAs(self)->'ChartPlotEmptyType':
1129
+ """
1130
+ <summary>
1131
+ Represents the way that blank cells are plotted on a chart.
1132
+ </summary>
1133
+ """
1134
+ pass
1135
+
1136
+
1137
+ @DisplayBlanksAs.setter
1138
+ @abc.abstractmethod
1139
+ def DisplayBlanksAs(self, value:'ChartPlotEmptyType'):
1140
+ """
1141
+
1142
+ """
1143
+ pass
1144
+
1145
+
1146
+ @property
1147
+ @abc.abstractmethod
1148
+ def PlotVisibleOnly(self)->bool:
1149
+ """
1150
+ <summary>
1151
+ True if only visible cells are plotted. False if both visible and hidden cells are plotted.
1152
+ <example>The following code illustrates how to set PlotVisibleOnly to "true" so that
1153
+ chart plots all the cells within the chart's DataRange:
1154
+ <code>
1155
+ //Create worksheet
1156
+ Workbook workbook = new Workbook();
1157
+ Worksheet worksheet = workbook.Worksheets[0];
1158
+ //Add data
1159
+ worksheet.Range["A1"].Text = "Jan";
1160
+ worksheet.Range["B1"].Text = "Feb";
1161
+ worksheet.Range["C1"].Text = "Mar";
1162
+ worksheet.Range["A2"].Text = "10";
1163
+ worksheet.Range["B2"].Text = "20";
1164
+ worksheet.Range["C2"].Text = "30";
1165
+ //Hide column and create chart
1166
+ worksheet.Columns[2].ColumnWidth = 0;
1167
+ Chart chart = worksheet.Charts.Add();
1168
+ chart.DataRange = worksheet.Range["A1:C2"];
1169
+ //Set Plot visible only
1170
+ chart.PlotVisibleOnly = true;
1171
+ //Save to file
1172
+ workbook.SaveToFile("Chart.xlsx");
1173
+ </code>
1174
+ </example>
1175
+ </summary>
1176
+ """
1177
+ pass
1178
+
1179
+
1180
+ @PlotVisibleOnly.setter
1181
+ @abc.abstractmethod
1182
+ def PlotVisibleOnly(self, value:bool):
1183
+ """
1184
+
1185
+ """
1186
+ pass
1187
+
1188
+
1189
+ @property
1190
+ @abc.abstractmethod
1191
+ def SizeWithWindow(self)->bool:
1192
+ """
1193
+ <summary>
1194
+ True if Microsoft Excel resizes the chart to match the size of the chart sheet window.
1195
+ False if the chart size isn't attached to the window size. Applies only to chart sheets.
1196
+ </summary>
1197
+ """
1198
+ pass
1199
+
1200
+
1201
+ @SizeWithWindow.setter
1202
+ @abc.abstractmethod
1203
+ def SizeWithWindow(self, value:bool):
1204
+ """
1205
+
1206
+ """
1207
+ pass
1208
+
1209
+
1210
+ @property
1211
+
1212
+ @abc.abstractmethod
1213
+ def PivotTable(self)->'PivotTable':
1214
+ """
1215
+ <summary>
1216
+ Gets or sets the pivot source.
1217
+ </summary>
1218
+ <value>The pivot source.</value>
1219
+ """
1220
+ pass
1221
+
1222
+
1223
+ @PivotTable.setter
1224
+ @abc.abstractmethod
1225
+ def PivotTable(self, value:'PivotTable'):
1226
+ """
1227
+
1228
+ """
1229
+ pass
1230
+
1231
+
1232
+ @property
1233
+
1234
+ @abc.abstractmethod
1235
+ def PivotChartType(self)->'ExcelChartType':
1236
+ """
1237
+ <summary>
1238
+ Gets or sets the type of the pivot chart.
1239
+ </summary>
1240
+ <value>The type of the pivot chart.</value>
1241
+ """
1242
+ pass
1243
+
1244
+
1245
+ @PivotChartType.setter
1246
+ @abc.abstractmethod
1247
+ def PivotChartType(self, value:'ExcelChartType'):
1248
+ """
1249
+
1250
+ """
1251
+ pass
1252
+
1253
+
1254
+ @property
1255
+ @abc.abstractmethod
1256
+ def DisplayEntireFieldButtons(self)->bool:
1257
+ """
1258
+ <summary>
1259
+ Gets or sets a value indicating whether [show all field buttons].
1260
+ </summary>
1261
+ <value>
1262
+ <c>true</c> if [show all field buttons]; otherwise, <c>false</c>.
1263
+ </value>
1264
+ """
1265
+ pass
1266
+
1267
+
1268
+ @DisplayEntireFieldButtons.setter
1269
+ @abc.abstractmethod
1270
+ def DisplayEntireFieldButtons(self, value:bool):
1271
+ """
1272
+
1273
+ """
1274
+ pass
1275
+
1276
+
1277
+ @property
1278
+ @abc.abstractmethod
1279
+ def DisplayValueFieldButtons(self)->bool:
1280
+ """
1281
+ <summary>
1282
+ Gets or sets a value indicating whether [show value field buttons].
1283
+ </summary>
1284
+ <value>
1285
+ <c>true</c> if [show value field buttons]; otherwise, <c>false</c>.
1286
+ </value>
1287
+ """
1288
+ pass
1289
+
1290
+
1291
+ @DisplayValueFieldButtons.setter
1292
+ @abc.abstractmethod
1293
+ def DisplayValueFieldButtons(self, value:bool):
1294
+ """
1295
+
1296
+ """
1297
+ pass
1298
+
1299
+
1300
+ @property
1301
+ @abc.abstractmethod
1302
+ def DisplayAxisFieldButtons(self)->bool:
1303
+ """
1304
+ <summary>
1305
+ Gets or sets a value indicating whether [show axis field buttons].
1306
+ </summary>
1307
+ <value>
1308
+ <c>true</c> if [show axis field buttons]; otherwise, <c>false</c>.
1309
+ </value>
1310
+ """
1311
+ pass
1312
+
1313
+
1314
+ @DisplayAxisFieldButtons.setter
1315
+ @abc.abstractmethod
1316
+ def DisplayAxisFieldButtons(self, value:bool):
1317
+ """
1318
+
1319
+ """
1320
+ pass
1321
+
1322
+
1323
+ @property
1324
+ @abc.abstractmethod
1325
+ def DisplayLegendFieldButtons(self)->bool:
1326
+ """
1327
+ <summary>
1328
+ Gets or sets a value indicating whether [show legend field buttons].
1329
+ </summary>
1330
+ <value>
1331
+ <c>true</c> if [show legend field buttons]; otherwise, <c>false</c>.
1332
+ </value>
1333
+ """
1334
+ pass
1335
+
1336
+
1337
+ @DisplayLegendFieldButtons.setter
1338
+ @abc.abstractmethod
1339
+ def DisplayLegendFieldButtons(self, value:bool):
1340
+ """
1341
+
1342
+ """
1343
+ pass
1344
+
1345
+
1346
+ @property
1347
+ @abc.abstractmethod
1348
+ def ShowReportFilterFieldButtons(self)->bool:
1349
+ """
1350
+ <summary>
1351
+ Gets or sets a value indicating whether [show report filter field buttons].
1352
+ </summary>
1353
+ <value>
1354
+ <c>true</c> if [show report filter field buttons]; otherwise, <c>false</c>.
1355
+ </value>
1356
+ """
1357
+ pass
1358
+
1359
+
1360
+ @ShowReportFilterFieldButtons.setter
1361
+ @abc.abstractmethod
1362
+ def ShowReportFilterFieldButtons(self, value:bool):
1363
+ """
1364
+
1365
+ """
1366
+ pass
1367
+
1368
+