spire-xls 15.5.0__py3-none-macosx_10_7_universal.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.dylib +0 -0
  698. spire/xls/lib/__init__.py +0 -0
  699. spire/xls/lib/libSkiaSharp.dylib +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
@@ -0,0 +1,52 @@
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 CellValueChangedEventHandler (SpireObject) :
10
+ """
11
+
12
+ """
13
+
14
+ def Invoke(self ,sender:'SpireObject',e:'CellValueChangedEventArgs'):
15
+ """
16
+
17
+ """
18
+ intPtrsender:c_void_p = sender.Ptr
19
+ intPtre:c_void_p = e.Ptr
20
+
21
+ GetDllLibXls().CellValueChangedEventHandler_Invoke.argtypes=[c_void_p ,c_void_p,c_void_p]
22
+ CallCFunction(GetDllLibXls().CellValueChangedEventHandler_Invoke, self.Ptr, intPtrsender,intPtre)
23
+
24
+ #
25
+ # def BeginInvoke(self ,sender:'SpireObject',e:'CellValueChangedEventArgs',callback:'AsyncCallback',object:'SpireObject')->'IAsyncResult':
26
+ # """
27
+ #
28
+ # """
29
+ # intPtrsender:c_void_p = sender.Ptr
30
+ # intPtre:c_void_p = e.Ptr
31
+ # intPtrcallback:c_void_p = callback.Ptr
32
+ # intPtrobject:c_void_p = object.Ptr
33
+ #
34
+ # GetDllLibXls().CellValueChangedEventHandler_BeginInvoke.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p,c_void_p]
35
+ # GetDllLibXls().CellValueChangedEventHandler_BeginInvoke.restype=c_void_p
36
+ # intPtr = CallCFunction(GetDllLibXls().CellValueChangedEventHandler_BeginInvoke, self.Ptr, intPtrsender,intPtre,intPtrcallback,intPtrobject)
37
+ # ret = None if intPtr==None else IAsyncResult(intPtr)
38
+ # return ret
39
+ #
40
+
41
+
42
+ #
43
+ # def EndInvoke(self ,result:'IAsyncResult'):
44
+ # """
45
+ #
46
+ # """
47
+ # intPtrresult:c_void_p = result.Ptr
48
+ #
49
+ # GetDllLibXls().CellValueChangedEventHandler_EndInvoke.argtypes=[c_void_p ,c_void_p]
50
+ # CallCFunction(GetDllLibXls().CellValueChangedEventHandler_EndInvoke, self.Ptr, intPtrresult)
51
+
52
+
spire/xls/Chart.py ADDED
@@ -0,0 +1,404 @@
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 Chart ( XlsChartShape) :
10
+ """
11
+
12
+ """
13
+ @property
14
+
15
+ def Series(self)->'ChartSeries':
16
+ """
17
+ <summary>
18
+ Returns an object that represents either a single series (a Series object) or a collection of all the series (a SeriesCollection collection) in the chart or chart group.
19
+ </summary>
20
+ """
21
+ GetDllLibXls().Chart_get_Series.argtypes=[c_void_p]
22
+ GetDllLibXls().Chart_get_Series.restype=c_void_p
23
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Series, self.Ptr)
24
+ ret = None if intPtr==None else ChartSeries(intPtr)
25
+ return ret
26
+
27
+
28
+ @property
29
+
30
+ def ChartTitleArea(self)->'ChartTextArea':
31
+ """
32
+ <summary>
33
+ Gets title text area. Read-only.
34
+ </summary>
35
+ """
36
+ GetDllLibXls().Chart_get_ChartTitleArea.argtypes=[c_void_p]
37
+ GetDllLibXls().Chart_get_ChartTitleArea.restype=c_void_p
38
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_ChartTitleArea, self.Ptr)
39
+ ret = None if intPtr==None else ChartTextArea(intPtr)
40
+ return ret
41
+
42
+
43
+ @property
44
+
45
+ def ChartArea(self)->'ChartArea':
46
+ """
47
+ <summary>
48
+ Returns a ChartArea object that represents the complete chart area for the chart.
49
+ <example>The following code illustrates how to access IChartFrameFormat using ChartArea
50
+ property and set foreground color for the ChartArea:
51
+ <code>
52
+ //Create worksheet
53
+ Workbook workbook = new Workbook();
54
+ Worksheet worksheet = workbook.Worksheets[0];
55
+ //Add data
56
+ worksheet.Range["A1"].Text = "Jan";
57
+ worksheet.Range["B1"].Text = "Feb";
58
+ worksheet.Range["C1"].Text = "Mar";
59
+ worksheet.Range["A2"].Text = "10";
60
+ worksheet.Range["B2"].Text = "20";
61
+ worksheet.Range["C2"].Text = "30";
62
+ //Create chart and range
63
+ Chart chart = worksheet.Charts.Add();
64
+ chart.DataRange = worksheet.Range["A1:C2"];
65
+ //Set chart frame format
66
+ IChartFrameFormat frameFormat = chart.ChartArea;
67
+ //Set color
68
+ frameFormat.Fill.ForeColor = System.Drawing.Color.Red;
69
+ //Save to file
70
+ workbook.SaveToFile("Chart.xlsx");
71
+ </code>
72
+ </example>
73
+ </summary>
74
+ """
75
+ GetDllLibXls().Chart_get_ChartArea.argtypes=[c_void_p]
76
+ GetDllLibXls().Chart_get_ChartArea.restype=c_void_p
77
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_ChartArea, self.Ptr)
78
+ ret = None if intPtr==None else ChartArea(intPtr)
79
+ return ret
80
+
81
+
82
+ @property
83
+
84
+ def DataRange(self)->'CellRange':
85
+ """
86
+ <summary>
87
+ DataRange for the chart series.
88
+ </summary>
89
+ """
90
+ GetDllLibXls().Chart_get_DataRange.argtypes=[c_void_p]
91
+ GetDllLibXls().Chart_get_DataRange.restype=c_void_p
92
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_DataRange, self.Ptr)
93
+ ret = None if intPtr==None else CellRange(intPtr)
94
+ return ret
95
+
96
+
97
+ @DataRange.setter
98
+ def DataRange(self, value:'CellRange'):
99
+ GetDllLibXls().Chart_set_DataRange.argtypes=[c_void_p, c_void_p]
100
+ CallCFunction(GetDllLibXls().Chart_set_DataRange, self.Ptr, value.Ptr)
101
+
102
+ @property
103
+
104
+ def DataTable(self)->'ChartDataTable':
105
+ """
106
+ <summary>
107
+ Returns a DataTable object that represents the chart data table.
108
+ <example>The following code illustrates how to set HasDataTable to "true" to enable data table
109
+ and set IChartDataTable.HasBorders to "false" to hide the borders of data table:
110
+ <code>
111
+ //Create worksheet
112
+ Workbook workbook = new Workbook();
113
+ Worksheet worksheet = workbook.Worksheets[0];
114
+ //Add data
115
+ worksheet.Range["A1"].Text = "Jan";
116
+ worksheet.Range["B1"].Text = "Feb";
117
+ worksheet.Range["C1"].Text = "Mar";
118
+ worksheet.Range["A2"].Text = "10";
119
+ worksheet.Range["B2"].Text = "20";
120
+ worksheet.Range["C2"].Text = "30";
121
+ //Create chart and range
122
+ Chart chart = worksheet.Charts.Add();
123
+ chart.DataRange = worksheet.Range["A1:C2"];
124
+ //Set Chart data table
125
+ chart.HasDataTable = true;
126
+ IChartDataTable dataTable = chart.DataTable;
127
+ //Set border
128
+ dataTable.HasBorders = false;
129
+ //Save to file
130
+ workbook.SaveToFile("Chart.xlsx");
131
+ </code>
132
+ </example>
133
+ </summary>
134
+ """
135
+ GetDllLibXls().Chart_get_DataTable.argtypes=[c_void_p]
136
+ GetDllLibXls().Chart_get_DataTable.restype=c_void_p
137
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_DataTable, self.Ptr)
138
+ ret = None if intPtr==None else ChartDataTable(intPtr)
139
+ return ret
140
+
141
+
142
+ @property
143
+
144
+ def Floor(self)->'ChartWallOrFloor':
145
+ """
146
+ <summary>
147
+ Returns a Floor object that represents the floor of the 3-D chart.
148
+ <example>The following code illustrates how to access IChartWallOrFloor using Floor
149
+ property and set foreground color for the chart's Floor:
150
+ <code>
151
+ //Create worksheet
152
+ Workbook workbook = new Workbook();
153
+ workbook.LoadFromFile("Sample.xlsx");
154
+ Worksheet worksheet = workbook.Worksheets[0];
155
+ //Get chart
156
+ Chart chart = worksheet.Charts[0];
157
+ //Set chart wall
158
+ IChartWallOrFloor floor = chart.Floor;
159
+ //Set color
160
+ floor.Fill.FillType = ShapeFillType.SolidColor;
161
+ floor.Fill.ForeColor = System.Drawing.Color.Red;
162
+ //Save to file
163
+ workbook.SaveToFile("Chart.xlsx");
164
+ </code>
165
+ </example>
166
+ </summary>
167
+ """
168
+ GetDllLibXls().Chart_get_Floor.argtypes=[c_void_p]
169
+ GetDllLibXls().Chart_get_Floor.restype=c_void_p
170
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Floor, self.Ptr)
171
+ ret = None if intPtr==None else ChartWallOrFloor(intPtr)
172
+ return ret
173
+
174
+
175
+ @property
176
+
177
+ def Legend(self)->'ChartLegend':
178
+ """
179
+ <summary>
180
+ Represents chart legend.
181
+ <example>The following code illustrates how to access IChartLegend using IChart.Legend
182
+ property and set IChartLegend.Position to LegendPositionType.Left:
183
+ <code>
184
+ //Create worksheet
185
+ Workbook workbook = new Workbook();
186
+ Worksheet worksheet = workbook.Worksheets[0];
187
+ //Add data
188
+ worksheet.Range["A1"].Text = "Jan";
189
+ worksheet.Range["B1"].Text = "Feb";
190
+ worksheet.Range["C1"].Text = "Mar";
191
+ worksheet.Range["A2"].Text = "10";
192
+ worksheet.Range["B2"].Text = "20";
193
+ worksheet.Range["C2"].Text = "30";
194
+ //Create chart and range
195
+ Chart chart = worksheet.Charts.Add();
196
+ chart.DataRange = worksheet.Range["A1:C2"];
197
+ //Set chart legend and legend position
198
+ IChartLegend legend = chart.Legend;
199
+ legend.Position = LegendPositionType.Left;
200
+ //Save to file
201
+ workbook.SaveToFile("Chart.xlsx");
202
+ </code>
203
+ </example>
204
+ </summary>
205
+ """
206
+ GetDllLibXls().Chart_get_Legend.argtypes=[c_void_p]
207
+ GetDllLibXls().Chart_get_Legend.restype=c_void_p
208
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Legend, self.Ptr)
209
+ ret = None if intPtr==None else ChartLegend(intPtr)
210
+ return ret
211
+
212
+
213
+ @property
214
+
215
+ def PageSetup(self)->'ChartPageSetup':
216
+ """
217
+ <summary>
218
+ Page setup for the chart.
219
+ </summary>
220
+ """
221
+ GetDllLibXls().Chart_get_PageSetup.argtypes=[c_void_p]
222
+ GetDllLibXls().Chart_get_PageSetup.restype=c_void_p
223
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_PageSetup, self.Ptr)
224
+ ret = None if intPtr==None else ChartPageSetup(intPtr)
225
+ return ret
226
+
227
+
228
+ @property
229
+
230
+ def PlotArea(self)->'ChartPlotArea':
231
+ """
232
+ <summary>
233
+ Returns a PlotArea object that represents the plot area of a chart.
234
+ <example>The following code illustrates how to access IChartFrameFormat using PlotArea
235
+ property and set foreground color for the chart's PlotArea:
236
+ <code>
237
+ //Create worksheet
238
+ Workbook workbook = new Workbook();
239
+ Worksheet worksheet = workbook.Worksheets[0];
240
+ //Add data
241
+ worksheet.Range["A1"].Text = "Jan";
242
+ worksheet.Range["B1"].Text = "Feb";
243
+ worksheet.Range["C1"].Text = "Mar";
244
+ worksheet.Range["A2"].Text = "10";
245
+ worksheet.Range["B2"].Text = "20";
246
+ worksheet.Range["C2"].Text = "30";
247
+ //Create chart and range
248
+ Chart chart = worksheet.Charts.Add();
249
+ chart.DataRange = worksheet.Range["A1:C2"];
250
+ //Set chart frame format
251
+ IChartFrameFormat frameFormat = chart.PlotArea;
252
+ //Set color
253
+ frameFormat.Fill.ForeColor = System.Drawing.Color.Red;
254
+ //Save to file
255
+ workbook.SaveToFile("Chart.xlsx");
256
+ </code>
257
+ </example>
258
+ </summary>
259
+ """
260
+ GetDllLibXls().Chart_get_PlotArea.argtypes=[c_void_p]
261
+ GetDllLibXls().Chart_get_PlotArea.restype=c_void_p
262
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_PlotArea, self.Ptr)
263
+ ret = None if intPtr==None else ChartPlotArea(intPtr)
264
+ return ret
265
+
266
+
267
+ @property
268
+
269
+ def PrimaryCategoryAxis(self)->'ChartCategoryAxis':
270
+ """
271
+ <summary>
272
+ Returns primary category axis.
273
+ </summary>
274
+ """
275
+ GetDllLibXls().Chart_get_PrimaryCategoryAxis.argtypes=[c_void_p]
276
+ GetDllLibXls().Chart_get_PrimaryCategoryAxis.restype=c_void_p
277
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_PrimaryCategoryAxis, self.Ptr)
278
+ ret = None if intPtr==None else ChartCategoryAxis(intPtr)
279
+ return ret
280
+
281
+
282
+ @property
283
+
284
+ def PrimaryValueAxis(self)->'ChartValueAxis':
285
+ """
286
+ <summary>
287
+ Returns primary value axis.
288
+ </summary>
289
+ """
290
+ GetDllLibXls().Chart_get_PrimaryValueAxis.argtypes=[c_void_p]
291
+ GetDllLibXls().Chart_get_PrimaryValueAxis.restype=c_void_p
292
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_PrimaryValueAxis, self.Ptr)
293
+ ret = None if intPtr==None else ChartValueAxis(intPtr)
294
+ return ret
295
+
296
+
297
+ @property
298
+
299
+ def PrimarySerieAxis(self)->'ChartSeriesAxis':
300
+ """
301
+ <summary>
302
+ Returns primary series axis. Read-only.
303
+ </summary>
304
+ """
305
+ GetDllLibXls().Chart_get_PrimarySerieAxis.argtypes=[c_void_p]
306
+ GetDllLibXls().Chart_get_PrimarySerieAxis.restype=c_void_p
307
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_PrimarySerieAxis, self.Ptr)
308
+ ret = None if intPtr==None else ChartSeriesAxis(intPtr)
309
+ return ret
310
+
311
+
312
+ @property
313
+
314
+ def SecondaryCategoryAxis(self)->'ChartCategoryAxis':
315
+ """
316
+ <summary>
317
+ Returns secondary category axis.
318
+ </summary>
319
+ """
320
+ GetDllLibXls().Chart_get_SecondaryCategoryAxis.argtypes=[c_void_p]
321
+ GetDllLibXls().Chart_get_SecondaryCategoryAxis.restype=c_void_p
322
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_SecondaryCategoryAxis, self.Ptr)
323
+ ret = None if intPtr==None else ChartCategoryAxis(intPtr)
324
+ return ret
325
+
326
+
327
+ @property
328
+
329
+ def SecondaryValueAxis(self)->'ChartValueAxis':
330
+ """
331
+ <summary>
332
+ Returns secondary value axis. Read-only.
333
+ </summary>
334
+ """
335
+ GetDllLibXls().Chart_get_SecondaryValueAxis.argtypes=[c_void_p]
336
+ GetDllLibXls().Chart_get_SecondaryValueAxis.restype=c_void_p
337
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_SecondaryValueAxis, self.Ptr)
338
+ ret = None if intPtr==None else ChartValueAxis(intPtr)
339
+ return ret
340
+
341
+
342
+ @property
343
+
344
+ def Workbook(self)->'Workbook':
345
+ """
346
+ <summary>
347
+ Workbook contains the chart.
348
+ </summary>
349
+ """
350
+ GetDllLibXls().Chart_get_Workbook.argtypes=[c_void_p]
351
+ GetDllLibXls().Chart_get_Workbook.restype=c_void_p
352
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Workbook, self.Ptr)
353
+ ret = None if intPtr==None else Workbook(intPtr)
354
+ return ret
355
+
356
+
357
+ @property
358
+
359
+ def Walls(self)->'ChartWallOrFloor':
360
+ """
361
+ <summary>
362
+ Represents chart walls.
363
+ <example>The following code illustrates how to access IChartWallOrFloor using Walls
364
+ property and set foreground color for the chart's Walls:
365
+ <code>
366
+ //Create worksheet
367
+ Workbook workbook = new Workbook();
368
+ workbook.LoadFromFile("Sample.xlsx");
369
+ Worksheet worksheet = workbook.Worksheets[0];
370
+ //Get chart
371
+ Chart chart = worksheet.Charts[0];
372
+ //Set chart wall
373
+ IChartWallOrFloor wall = chart.Walls;
374
+ //Set color
375
+ wall.Fill.FillType = ShapeFillType.SolidColor;
376
+ wall.Fill.ForeColor = System.Drawing.Color.Red;
377
+ //Save to file
378
+ workbook.SaveToFile("Chart.xlsx");
379
+ </code>
380
+ </example>
381
+ </summary>
382
+ """
383
+ GetDllLibXls().Chart_get_Walls.argtypes=[c_void_p]
384
+ GetDllLibXls().Chart_get_Walls.restype=c_void_p
385
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Walls, self.Ptr)
386
+ ret = None if intPtr==None else ChartWallOrFloor(intPtr)
387
+ return ret
388
+
389
+
390
+ @property
391
+
392
+ def Worksheet(self)->'SpireObject':
393
+ """
394
+ <summary>
395
+ Worksheet which contains the chart.
396
+ </summary>
397
+ """
398
+ GetDllLibXls().Chart_get_Worksheet.argtypes=[c_void_p]
399
+ GetDllLibXls().Chart_get_Worksheet.restype=c_void_p
400
+ intPtr = CallCFunction(GetDllLibXls().Chart_get_Worksheet, self.Ptr)
401
+ ret = None if intPtr==None else SpireObject(intPtr)
402
+ return ret
403
+
404
+
spire/xls/ChartArea.py ADDED
@@ -0,0 +1,61 @@
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 ChartArea ( XlsChartFrameFormat) :
10
+ """
11
+
12
+ """
13
+ @property
14
+
15
+ def Border(self)->'ChartBorder':
16
+ """
17
+ <summary>
18
+ Represents chart border. Read only.
19
+ </summary>
20
+ """
21
+ GetDllLibXls().ChartArea_get_Border.argtypes=[c_void_p]
22
+ GetDllLibXls().ChartArea_get_Border.restype=c_void_p
23
+ intPtr = CallCFunction(GetDllLibXls().ChartArea_get_Border, self.Ptr)
24
+ ret = None if intPtr==None else ChartBorder(intPtr)
25
+ return ret
26
+
27
+
28
+ @property
29
+
30
+ def Interior(self)->'ChartInterior':
31
+ """
32
+ <summary>
33
+ Represents chart interior. Read only.
34
+ <example>The following code illustrates the use of Interior property:
35
+ <code>
36
+ //Create worksheet
37
+ Workbook workbook = new Workbook();
38
+ workbook.LoadFromFile("Sample.xlsx");
39
+ Worksheet worksheet = workbook.Worksheets[0];
40
+ //Create chart and set range
41
+ IChart chart = worksheet.Charts.Add();
42
+ chart.DataRange = worksheet.Range["B2:C6"];
43
+ //Set chart type
44
+ chart.ChartType = ExcelChartType.Column3DClustered;
45
+ //Gets interior formatting properties for the chart element
46
+ IChartInterior chartInterior = chart.ChartArea.Interior;
47
+ chartInterior.BackgroundColor = Color.Beige;
48
+ chartInterior.Pattern = ExcelPatternType.DarkDownwardDiagonal;
49
+ //Save to file
50
+ workbook.SaveToFile("Chart.xlsx");
51
+ </code>
52
+ </example>
53
+ </summary>
54
+ """
55
+ GetDllLibXls().ChartArea_get_Interior.argtypes=[c_void_p]
56
+ GetDllLibXls().ChartArea_get_Interior.restype=c_void_p
57
+ intPtr = CallCFunction(GetDllLibXls().ChartArea_get_Interior, self.Ptr)
58
+ ret = None if intPtr==None else ChartInterior(intPtr)
59
+ return ret
60
+
61
+
@@ -0,0 +1,18 @@
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 ChartBackgroundMode(Enum):
10
+ """
11
+ <summary>
12
+ Chart background mode.
13
+ </summary>
14
+ """
15
+ Automatic = 0
16
+ Transparent = 1
17
+ Opaque = 2
18
+
@@ -0,0 +1,18 @@
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 ChartBaseUnitType(Enum):
10
+ """
11
+ <summary>
12
+ Represents chart base unit.
13
+ </summary>
14
+ """
15
+ Day = 0
16
+ Month = 1
17
+ Year = 2
18
+
@@ -0,0 +1,12 @@
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 ChartBorder ( XlsChartBorder) :
10
+ """
11
+
12
+ """
@@ -0,0 +1,93 @@
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 spire.xls.ChartGridLine import *
7
+ from ctypes import *
8
+ import abc
9
+
10
+ class ChartCategoryAxis ( XlsChartCategoryAxis) :
11
+ """
12
+
13
+ """
14
+ @property
15
+
16
+ def CategoryLabels(self)->'CellRange':
17
+ """
18
+ <summary>
19
+ Category labels for the chart.
20
+ </summary>
21
+ """
22
+ GetDllLibXls().ChartCategoryAxis_get_CategoryLabels.argtypes=[c_void_p]
23
+ GetDllLibXls().ChartCategoryAxis_get_CategoryLabels.restype=c_void_p
24
+ intPtr = CallCFunction(GetDllLibXls().ChartCategoryAxis_get_CategoryLabels, self.Ptr)
25
+ ret = None if intPtr==None else CellRange(intPtr)
26
+ return ret
27
+
28
+
29
+ @CategoryLabels.setter
30
+ def CategoryLabels(self, value:'CellRange'):
31
+ GetDllLibXls().ChartCategoryAxis_set_CategoryLabels.argtypes=[c_void_p, c_void_p]
32
+ CallCFunction(GetDllLibXls().ChartCategoryAxis_set_CategoryLabels, self.Ptr, value.Ptr)
33
+
34
+ @property
35
+
36
+ def Font(self)->'ExcelFont':
37
+ """
38
+ <summary>
39
+ Gets font used for axis text displaying.
40
+ </summary>
41
+ """
42
+ GetDllLibXls().ChartCategoryAxis_get_Font.argtypes=[c_void_p]
43
+ GetDllLibXls().ChartCategoryAxis_get_Font.restype=c_void_p
44
+ intPtr = CallCFunction(GetDllLibXls().ChartCategoryAxis_get_Font, self.Ptr)
45
+ ret = None if intPtr==None else ExcelFont(intPtr)
46
+ return ret
47
+
48
+
49
+ @property
50
+
51
+ def TitleArea(self)->'ChartTextArea':
52
+ """
53
+ <summary>
54
+ Returns text area for the axis title. Read-only.
55
+ </summary>
56
+ """
57
+ GetDllLibXls().ChartCategoryAxis_get_TitleArea.argtypes=[c_void_p]
58
+ GetDllLibXls().ChartCategoryAxis_get_TitleArea.restype=c_void_p
59
+ intPtr = CallCFunction(GetDllLibXls().ChartCategoryAxis_get_TitleArea, self.Ptr)
60
+ ret = None if intPtr==None else ChartTextArea(intPtr)
61
+ return ret
62
+
63
+
64
+ @property
65
+
66
+ def MajorGridLines(self)->'ChartGridLine':
67
+ """
68
+ <summary>
69
+ Returns a ChartGridLine object that represents the major gridlines for the specified axis. Only axes in the primary axis group can have gridlines
70
+ </summary>
71
+ """
72
+ GetDllLibXls().ChartCategoryAxis_get_MajorGridLines.argtypes=[c_void_p]
73
+ GetDllLibXls().ChartCategoryAxis_get_MajorGridLines.restype=c_void_p
74
+ intPtr = CallCFunction(GetDllLibXls().ChartCategoryAxis_get_MajorGridLines, self.Ptr)
75
+ ret = None if intPtr==None else ChartGridLine(intPtr)
76
+ return ret
77
+
78
+
79
+ @property
80
+
81
+ def MinorGridLines(self)->'ChartGridLine':
82
+ """
83
+ <summary>
84
+ Returns a ChartGridLine object that represents the minor gridlines for the specified axis. Only axes in the primary axis group can have gridlines.
85
+ </summary>
86
+ """
87
+ GetDllLibXls().ChartCategoryAxis_get_MinorGridLines.argtypes=[c_void_p]
88
+ GetDllLibXls().ChartCategoryAxis_get_MinorGridLines.restype=c_void_p
89
+ intPtr = CallCFunction(GetDllLibXls().ChartCategoryAxis_get_MinorGridLines, self.Ptr)
90
+ ret = None if intPtr==None else ChartGridLine(intPtr)
91
+ return ret
92
+
93
+