spire-xls 15.5.0__py3-none-win_amd64.whl → 15.7.1__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 (1032) hide show
  1. spire/xls/AddtionalFormatWrapper.py +98 -117
  2. spire/xls/Average.py +18 -4
  3. spire/xls/CellBaseStyle.py +13 -6
  4. spire/xls/CellBorder.py +25 -20
  5. spire/xls/CellRange.py +305 -269
  6. spire/xls/CellStyle.py +26 -12
  7. spire/xls/CellStyleFlag.py +181 -58
  8. spire/xls/CellStyleObject.py +36 -67
  9. spire/xls/CellValueChangedEventArgs.py +3 -9
  10. spire/xls/ColorScale.py +31 -39
  11. spire/xls/CommentsRange.py +185 -84
  12. spire/xls/CommonWrapper.py +23 -8
  13. spire/xls/ConverterSetting.py +19 -36
  14. spire/xls/DBConnection.py +41 -8
  15. spire/xls/DVAspect.py +8 -2
  16. spire/xls/DataBar.py +29 -28
  17. spire/xls/DocumentProperty.py +86 -38
  18. spire/xls/Excel2016Charttype.py +14 -2
  19. spire/xls/ExcelComment.py +1 -2
  20. spire/xls/ExcelCommentObject.py +206 -121
  21. spire/xls/ExcelFont.py +74 -59
  22. spire/xls/ExcelGradient.py +68 -24
  23. spire/xls/ExcelInterior.py +49 -20
  24. spire/xls/ExportTableOptions.py +33 -10
  25. spire/xls/ExternalConnection.py +85 -20
  26. spire/xls/ExternalLink.py +26 -10
  27. spire/xls/FileFormat.py +32 -4
  28. spire/xls/Font.py +95 -42
  29. spire/xls/FontArrayWrapper.py +135 -36
  30. spire/xls/FontWrapper.py +194 -92
  31. spire/xls/Format3D.py +130 -30
  32. spire/xls/GeomertyAdjustValue.py +22 -10
  33. spire/xls/GetText.py +8 -2
  34. spire/xls/GoalSeek.py +44 -14
  35. spire/xls/GoalSeekResult.py +36 -3
  36. spire/xls/GradientArrayWrapper.py +92 -28
  37. spire/xls/GradientStops.py +74 -24
  38. spire/xls/GradientType.py +10 -2
  39. spire/xls/GroupShape.py +1 -2
  40. spire/xls/HPageBreak.py +1 -2
  41. spire/xls/HTMLOptions.py +7 -19
  42. spire/xls/HyperLink.py +1 -2
  43. spire/xls/LOGFONT.py +78 -30
  44. spire/xls/OColor.py +62 -29
  45. spire/xls/OdsPageBackground.py +5 -10
  46. spire/xls/PageColRow.py +21 -10
  47. spire/xls/PageSetup.py +2 -3
  48. spire/xls/PaperSizeEntry.py +6 -0
  49. spire/xls/PicStretch.py +47 -14
  50. spire/xls/PicTile.py +35 -10
  51. spire/xls/QueryTableXls.py +19 -6
  52. spire/xls/RTFCommentArray.py +59 -22
  53. spire/xls/RTFStringArray.py +59 -22
  54. spire/xls/RangeRichTextString.py +20 -8
  55. spire/xls/ReferRangeArea.py +39 -16
  56. spire/xls/RichText.py +10 -8
  57. spire/xls/RichTextObject.py +63 -32
  58. spire/xls/RichTextShape.py +88 -32
  59. spire/xls/RichTextString.py +61 -24
  60. spire/xls/RtfTextWriter.py +68 -22
  61. spire/xls/SaveShapeTypeOption.py +19 -37
  62. spire/xls/ShapeGlow.py +34 -14
  63. spire/xls/ShapeReflection.py +55 -18
  64. spire/xls/StyleArrayWrapper.py +169 -78
  65. spire/xls/TextBoxShapeBase.py +63 -30
  66. spire/xls/TextSaveOptions.py +33 -18
  67. spire/xls/TopBottom.py +18 -6
  68. spire/xls/VPageBreak.py +3 -5
  69. spire/xls/Validation.py +12 -6
  70. spire/xls/WebQueryConnection.py +52 -20
  71. spire/xls/Workbook.py +810 -841
  72. spire/xls/Worksheet.py +444 -409
  73. spire/xls/WriteProtection.py +3 -6
  74. spire/xls/XlsAddInFunction.py +34 -20
  75. spire/xls/XlsArcShape.py +156 -40
  76. spire/xls/XlsBitmapShape.py +141 -43
  77. spire/xls/XlsBorder.py +72 -31
  78. spire/xls/XlsBorderArrayWrapper.py +50 -14
  79. spire/xls/XlsButtonShape.py +58 -16
  80. spire/xls/XlsCheckBoxShape.py +72 -18
  81. spire/xls/XlsComboBoxShape.py +53 -16
  82. spire/xls/XlsComment.py +108 -30
  83. spire/xls/XlsDataValidationTable.py +43 -16
  84. spire/xls/XlsDocumentProperty.py +163 -44
  85. spire/xls/XlsEventArgs.py +33 -24
  86. spire/xls/XlsEventHandler.py +10 -4
  87. spire/xls/XlsFill.py +64 -20
  88. spire/xls/XlsFont.py +182 -52
  89. spire/xls/XlsGradient.py +90 -26
  90. spire/xls/XlsGradientStop.py +57 -12
  91. spire/xls/XlsGroupBoxShape.py +36 -10
  92. spire/xls/XlsHPageBreak.py +47 -24
  93. spire/xls/XlsHyperLink.py +111 -42
  94. spire/xls/XlsLabelShape.py +27 -8
  95. spire/xls/XlsLineShape.py +188 -48
  96. spire/xls/XlsListBoxShape.py +63 -14
  97. spire/xls/XlsName.py +767 -318
  98. spire/xls/XlsObject.py +2 -4
  99. spire/xls/XlsOvalShape.py +78 -20
  100. spire/xls/XlsPageSetup.py +67 -34
  101. spire/xls/XlsPageSetupBase.py +29 -58
  102. spire/xls/XlsPrstGeomShape.py +29 -10
  103. spire/xls/XlsRadioButtonShape.py +94 -22
  104. spire/xls/XlsRange.py +881 -1077
  105. spire/xls/XlsRectangleShape.py +69 -22
  106. spire/xls/XlsScrollBarShape.py +78 -18
  107. spire/xls/XlsShape.py +391 -180
  108. spire/xls/XlsShapeFill.py +398 -92
  109. spire/xls/XlsShapeLineFormat.py +201 -44
  110. spire/xls/XlsSpinnerShape.py +57 -14
  111. spire/xls/XlsStyle.py +51 -20
  112. spire/xls/XlsTextBoxShape.py +263 -60
  113. spire/xls/XlsVPageBreak.py +9 -14
  114. spire/xls/XlsValidation.py +318 -68
  115. spire/xls/XlsValidationWrapper.py +217 -49
  116. spire/xls/XlsWorkbook.py +529 -65
  117. spire/xls/XlsWorksheet.py +1211 -1128
  118. spire/xls/XlsWorksheetBase.py +243 -168
  119. spire/xls/__init__.py +529 -528
  120. spire/xls/autofilter/AutoFitterOptions.py +84 -0
  121. spire/xls/autofilter/ColorFilter.py +61 -0
  122. spire/xls/autofilter/CustomFilter.py +199 -0
  123. spire/xls/autofilter/CustomFilterCollection.py +146 -0
  124. spire/xls/autofilter/DateTimeGroupItem.py +196 -0
  125. spire/xls/autofilter/DynamicFilter.py +89 -0
  126. spire/xls/autofilter/FilterColumn.py +289 -0
  127. spire/xls/autofilter/MultipleFilterCollection.py +218 -0
  128. spire/xls/autofilter/Top10Filter.py +109 -0
  129. spire/xls/autofilter/XlsAutoFiltersCollection.py +145 -0
  130. spire/xls/charts/Chart.py +369 -0
  131. spire/xls/charts/ChartArea.py +57 -0
  132. spire/xls/charts/ChartBackgroundMode.py +17 -0
  133. spire/xls/charts/ChartCategoryAxis.py +88 -0
  134. spire/xls/charts/ChartDataLabels.py +40 -0
  135. spire/xls/charts/ChartDataPoint.py +40 -0
  136. spire/xls/charts/ChartFormat.py +68 -0
  137. spire/xls/charts/ChartGridLine.py +26 -0
  138. spire/xls/charts/ChartLegend.py +40 -0
  139. spire/xls/charts/ChartLegendEntriesColl.py +165 -0
  140. spire/xls/charts/ChartLegendEntry.py +26 -0
  141. spire/xls/charts/ChartPlotArea.py +60 -0
  142. spire/xls/charts/ChartSerie.py +147 -0
  143. spire/xls/charts/ChartSerieDataFormat.py +54 -0
  144. spire/xls/charts/ChartSeriesAxis.py +68 -0
  145. spire/xls/charts/ChartShadow.py +288 -0
  146. spire/xls/charts/ChartSheet.py +269 -0
  147. spire/xls/charts/ChartTextArea.py +898 -0
  148. spire/xls/charts/ChartValueAxis.py +90 -0
  149. spire/xls/charts/HistogramAxisFormat.py +32 -0
  150. spire/xls/charts/XlsChart.py +1667 -0
  151. spire/xls/charts/XlsChartAxis.py +596 -0
  152. spire/xls/charts/XlsChartBorder.py +180 -0
  153. spire/xls/charts/XlsChartCategoryAxis.py +640 -0
  154. spire/xls/charts/XlsChartDataLabelArea.py +368 -0
  155. spire/xls/charts/XlsChartDataLabels.py +702 -0
  156. spire/xls/charts/XlsChartDataPoint.py +105 -0
  157. spire/xls/charts/XlsChartDataTable.py +373 -0
  158. spire/xls/charts/XlsChartDropBar.py +295 -0
  159. spire/xls/charts/XlsChartFill.py +659 -0
  160. spire/xls/charts/XlsChartFormat.py +1229 -0
  161. spire/xls/charts/XlsChartFrameFormat.py +612 -0
  162. spire/xls/charts/XlsChartGridLine.py +167 -0
  163. spire/xls/charts/XlsChartInterior.py +229 -0
  164. spire/xls/charts/XlsChartLegend.py +334 -0
  165. spire/xls/charts/XlsChartLegendArea.py +418 -0
  166. spire/xls/charts/XlsChartLegendEntry.py +152 -0
  167. spire/xls/charts/XlsChartSerie.py +607 -0
  168. spire/xls/charts/XlsChartSerieDataFormat.py +1070 -0
  169. spire/xls/charts/XlsChartSeriesAxis.py +306 -0
  170. spire/xls/charts/XlsChartShape.py +1256 -0
  171. spire/xls/charts/XlsChartTitleArea.py +399 -0
  172. spire/xls/charts/XlsChartValueAxis.py +344 -0
  173. spire/xls/charts/XlsChartWallOrFloor.py +349 -0
  174. spire/xls/charts/__init__.py +0 -0
  175. spire/xls/collection/AddInFunctionsCollection.py +31 -0
  176. spire/xls/collection/ArcShapeCollection.py +94 -0
  177. spire/xls/collection/AutoFiltersCollection.py +538 -0
  178. spire/xls/collection/BordersCollection.py +196 -0
  179. spire/xls/collection/BordersCollectionArrayWrapper.py +129 -0
  180. spire/xls/collection/BuiltInDocumentProperties.py +12 -0
  181. spire/xls/collection/ChartDataPointsCollection.py +72 -0
  182. spire/xls/collection/ChartFormatCollection.py +58 -0
  183. spire/xls/collection/ChartSeries.py +187 -0
  184. spire/xls/collection/ChartsCollection.py +119 -0
  185. spire/xls/collection/CollectionBase.py +201 -0
  186. spire/xls/collection/CollectionExtended.py +96 -0
  187. spire/xls/collection/ComboBoxCollection.py +89 -0
  188. spire/xls/collection/CommentsCollection.py +134 -0
  189. spire/xls/collection/GroupShapeCollection.py +45 -0
  190. spire/xls/collection/HPageBreaksCollection.py +116 -0
  191. spire/xls/collection/HyperLinksCollection.py +72 -0
  192. spire/xls/collection/ListObjectCollection.py +48 -0
  193. spire/xls/collection/OvalShapeCollection.py +89 -0
  194. spire/xls/collection/PicturesCollection.py +574 -0
  195. spire/xls/collection/PrstGeomShapeCollection.py +128 -0
  196. spire/xls/collection/RadioButtonCollection.py +139 -0
  197. spire/xls/collection/RangesCollection.py +555 -0
  198. spire/xls/collection/StylesCollection.py +140 -0
  199. spire/xls/collection/VPageBreaksCollection.py +95 -0
  200. spire/xls/collection/WorksheetsCollection.py +363 -0
  201. spire/xls/collection/XlsAddInFunctionsCollection.py +108 -0
  202. spire/xls/collection/XlsBordersCollection.py +98 -0
  203. spire/xls/collection/XlsBuiltInDocumentProperties.py +611 -0
  204. spire/xls/collection/XlsChartDataPointsCollection.py +119 -0
  205. spire/xls/collection/XlsChartFormatCollection.py +160 -0
  206. spire/xls/collection/XlsCommentsCollection.py +116 -0
  207. spire/xls/collection/XlsDataValidationCollection.py +155 -0
  208. spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
  209. spire/xls/collection/XlsHyperLinksCollection.py +104 -0
  210. spire/xls/collection/XlsRangesCollection.py +1634 -0
  211. spire/xls/collection/XlsStylesCollection.py +74 -0
  212. spire/xls/collection/XlsVPageBreaksCollection.py +81 -0
  213. spire/xls/collection/XlsWorksheetsCollection.py +423 -0
  214. spire/xls/collection/__init__.py +0 -0
  215. spire/xls/collection/pivot_table/PivotConditionalFormatCollection.py +38 -0
  216. spire/xls/collection/pivot_table/PivotTableFields.py +108 -0
  217. spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +123 -0
  218. spire/xls/collection/pivot_table/__init__.py +0 -0
  219. spire/xls/conditional_formatting/ColorConditionValue.py +102 -0
  220. spire/xls/conditional_formatting/CondFormatCollectionWrapper.py +153 -0
  221. spire/xls/conditional_formatting/ConditionValue.py +83 -0
  222. spire/xls/conditional_formatting/ConditionValuePosition.py +16 -0
  223. spire/xls/conditional_formatting/ConditionalFormat.py +13 -0
  224. spire/xls/conditional_formatting/ConditionalFormatScope.py +16 -0
  225. spire/xls/conditional_formatting/ConditionalFormatWrapper.py +1271 -0
  226. spire/xls/conditional_formatting/ConditionalFormats.py +65 -0
  227. spire/xls/conditional_formatting/DataBarBorder.py +51 -0
  228. spire/xls/conditional_formatting/NegativeBarFormat.py +90 -0
  229. spire/xls/conditional_formatting/XlsConditionValue.py +134 -0
  230. spire/xls/conditional_formatting/XlsConditionalFormat.py +1155 -0
  231. spire/xls/conditional_formatting/XlsConditionalFormats.py +679 -0
  232. spire/xls/conditional_formatting/__init__.py +0 -0
  233. spire/xls/enums/AlertStyleType.py +17 -0
  234. spire/xls/enums/AutoFormatOptions.py +22 -0
  235. spire/xls/enums/AutoFormatType.py +31 -0
  236. spire/xls/enums/AverageType.py +24 -0
  237. spire/xls/enums/AxisLineIdentifierType.py +18 -0
  238. spire/xls/enums/AxisTextDirectionType.py +17 -0
  239. spire/xls/enums/AxisType.py +17 -0
  240. spire/xls/enums/BaseFormatType.py +16 -0
  241. spire/xls/enums/BordersLineType.py +22 -0
  242. spire/xls/enums/BubbleSizeType.py +16 -0
  243. spire/xls/enums/BuiltInPropertyType.py +49 -0
  244. spire/xls/enums/BuiltInStyles.py +65 -0
  245. spire/xls/enums/CategoryType.py +17 -0
  246. spire/xls/enums/CellDataType.py +22 -0
  247. spire/xls/enums/CellFormatType.py +20 -0
  248. spire/xls/enums/ChartBaseUnitType.py +17 -0
  249. spire/xls/enums/ChartDisplayUnitType.py +25 -0
  250. spire/xls/enums/ChartLinePatternType.py +23 -0
  251. spire/xls/enums/ChartLineWeightType.py +18 -0
  252. spire/xls/enums/ChartMarkerType.py +26 -0
  253. spire/xls/enums/ChartParagraphType.py +17 -0
  254. spire/xls/enums/ChartPieType.py +17 -0
  255. spire/xls/enums/ChartPlotEmptyType.py +17 -0
  256. spire/xls/enums/CheckState.py +17 -0
  257. spire/xls/enums/ColorType.py +17 -0
  258. spire/xls/enums/CommentHAlignType.py +20 -0
  259. spire/xls/enums/CommentVAlignType.py +19 -0
  260. spire/xls/enums/ComparisonOperatorType.py +23 -0
  261. spire/xls/enums/ConditionalFormatType.py +32 -0
  262. spire/xls/enums/DataLabelPositionType.py +25 -0
  263. spire/xls/enums/DataSourceType.py +18 -0
  264. spire/xls/enums/DropLineStyleType.py +17 -0
  265. spire/xls/enums/ErrorBarIncludeType.py +18 -0
  266. spire/xls/enums/ErrorBarType.py +19 -0
  267. spire/xls/enums/ExcelCalculationMode.py +17 -0
  268. spire/xls/enums/ExcelChartType.py +95 -0
  269. spire/xls/enums/ExcelColors.py +120 -0
  270. spire/xls/enums/ExcelComboType.py +21 -0
  271. spire/xls/enums/ExcelHorizontalAlignment.py +20 -0
  272. spire/xls/enums/ExcelPatternType.py +51 -0
  273. spire/xls/enums/ExcelQuartileCalculation.py +16 -0
  274. spire/xls/enums/ExcelShapeType.py +40 -0
  275. spire/xls/enums/ExcelSheetType.py +19 -0
  276. spire/xls/enums/ExcelTreeMapLabelOption.py +17 -0
  277. spire/xls/enums/ExcelVersion.py +23 -0
  278. spire/xls/enums/ExcelVerticalAlignment.py +20 -0
  279. spire/xls/enums/ExpandCollapseFlags.py +17 -0
  280. spire/xls/enums/FilterConditionType.py +20 -0
  281. spire/xls/enums/FilterDataType.py +21 -0
  282. spire/xls/enums/FontUnderlineType.py +19 -0
  283. spire/xls/enums/FontVertialAlignmentType.py +17 -0
  284. spire/xls/enums/GradientColorType.py +17 -0
  285. spire/xls/enums/GradientPatternType.py +63 -0
  286. spire/xls/enums/GradientPresetType.py +38 -0
  287. spire/xls/enums/GradientStyleType.py +20 -0
  288. spire/xls/enums/GradientTextureType.py +39 -0
  289. spire/xls/enums/GradientVariantsType.py +18 -0
  290. spire/xls/enums/HorizontalAlignType.py +22 -0
  291. spire/xls/enums/HyperLinkType.py +19 -0
  292. spire/xls/enums/IgnoreErrorType.py +23 -0
  293. spire/xls/enums/ImageFormatType.py +17 -0
  294. spire/xls/enums/ImageType.py +16 -0
  295. spire/xls/enums/LegendPositionType.py +20 -0
  296. spire/xls/enums/LegendSpacingType.py +17 -0
  297. spire/xls/enums/LineStyleType.py +28 -0
  298. spire/xls/enums/OleObjectType.py +50 -0
  299. spire/xls/enums/OrderBy.py +18 -0
  300. spire/xls/enums/OrderType.py +16 -0
  301. spire/xls/enums/PageBreakExtentType.py +16 -0
  302. spire/xls/enums/PageBreakType.py +17 -0
  303. spire/xls/enums/PageOrientationType.py +16 -0
  304. spire/xls/enums/PagesOrderType.py +16 -0
  305. spire/xls/enums/PaperSizeType.py +134 -0
  306. spire/xls/enums/PivotGroupByTypes.py +22 -0
  307. spire/xls/enums/PrintCommentType.py +17 -0
  308. spire/xls/enums/PrintErrorsType.py +18 -0
  309. spire/xls/enums/ReadingOrderType.py +17 -0
  310. spire/xls/enums/RectangleStyleType.py +16 -0
  311. spire/xls/enums/ResizeBehaveType.py +17 -0
  312. spire/xls/enums/ShapeArrowLengthType.py +17 -0
  313. spire/xls/enums/ShapeArrowStyleType.py +20 -0
  314. spire/xls/enums/ShapeArrowWidthType.py +17 -0
  315. spire/xls/enums/ShapeDashLineStyleType.py +22 -0
  316. spire/xls/enums/ShapeFillType.py +21 -0
  317. spire/xls/enums/ShapeLayerChangeType.py +18 -0
  318. spire/xls/enums/ShapeLineStyleType.py +19 -0
  319. spire/xls/enums/SheetProtectionType.py +32 -0
  320. spire/xls/enums/SortComparsionType.py +18 -0
  321. spire/xls/enums/SortOrientationType.py +16 -0
  322. spire/xls/enums/SortedWayType.py +17 -0
  323. spire/xls/enums/SparklineType.py +17 -0
  324. spire/xls/enums/SplitType.py +18 -0
  325. spire/xls/enums/TextDirection.py +19 -0
  326. spire/xls/enums/TextRotationType.py +18 -0
  327. spire/xls/enums/ThemeColorType.py +26 -0
  328. spire/xls/enums/TickLabelPositionType.py +18 -0
  329. spire/xls/enums/TickMarkType.py +18 -0
  330. spire/xls/enums/TopBottomType.py +18 -0
  331. spire/xls/enums/TopFormatType.py +17 -0
  332. spire/xls/enums/TrendLineType.py +20 -0
  333. spire/xls/enums/UnknownVariableAction.py +17 -0
  334. spire/xls/enums/ValidationComparisonOperator.py +22 -0
  335. spire/xls/enums/VariableTypeAction.py +17 -0
  336. spire/xls/enums/VerticalAlignType.py +19 -0
  337. spire/xls/enums/ViewMode.py +17 -0
  338. spire/xls/enums/WorksheetVisibility.py +17 -0
  339. spire/xls/enums/XLSXBorderJoinType.py +18 -0
  340. spire/xls/enums/XLSXChartMaterialType.py +31 -0
  341. spire/xls/enums/XLSXChartPrespectiveType.py +20 -0
  342. spire/xls/enums/XLSXChartShadowInnerType.py +24 -0
  343. spire/xls/enums/XLSXChartShadowOuterType.py +24 -0
  344. spire/xls/enums/__init__.py +1 -0
  345. spire/xls/interfaces/IArcShape.py +285 -0
  346. spire/xls/interfaces/IChart.py +1597 -0
  347. spire/xls/interfaces/IChartAxis.py +786 -0
  348. spire/xls/interfaces/IChartBorder.py +203 -0
  349. spire/xls/interfaces/IChartCategoryAxis.py +522 -0
  350. spire/xls/interfaces/IChartDataLabels.py +419 -0
  351. spire/xls/interfaces/IChartDataPoint.py +114 -0
  352. spire/xls/interfaces/IChartDataTable.py +184 -0
  353. spire/xls/interfaces/IChartErrorBars.py +340 -0
  354. spire/xls/interfaces/IChartFillBorder.py +268 -0
  355. spire/xls/interfaces/IChartFormat.py +521 -0
  356. spire/xls/interfaces/IChartFrameFormat.py +85 -0
  357. spire/xls/interfaces/IChartGridLine.py +100 -0
  358. spire/xls/interfaces/IChartInterior.py +259 -0
  359. spire/xls/interfaces/IChartLegend.py +453 -0
  360. spire/xls/interfaces/IChartLegendEntry.py +167 -0
  361. spire/xls/interfaces/IChartPageSetup.py +51 -0
  362. spire/xls/interfaces/IChartSerie.py +727 -0
  363. spire/xls/interfaces/IChartSerieDataFormat.py +519 -0
  364. spire/xls/interfaces/IChartSeriesAxis.py +118 -0
  365. spire/xls/interfaces/IChartShape.py +88 -0
  366. spire/xls/interfaces/IChartTextArea.py +181 -0
  367. spire/xls/interfaces/IChartTrendLine.py +502 -0
  368. spire/xls/interfaces/IChartValueAxis.py +586 -0
  369. spire/xls/interfaces/IChartWallOrFloor.py +40 -0
  370. spire/xls/interfaces/ICheckBox.py +120 -0
  371. spire/xls/interfaces/ICloneParent.py +29 -0
  372. spire/xls/interfaces/IColorConditionValue.py +44 -0
  373. spire/xls/interfaces/IColorScale.py +39 -0
  374. spire/xls/interfaces/ICombinedRange.py +109 -0
  375. spire/xls/interfaces/IComboBoxShape.py +120 -0
  376. spire/xls/interfaces/IComment.py +110 -0
  377. spire/xls/interfaces/ICommentShape.py +20 -0
  378. spire/xls/interfaces/IConditionValue.py +83 -0
  379. spire/xls/interfaces/IConditionalFormat.py +757 -0
  380. spire/xls/interfaces/IConditionalFormats.py +66 -0
  381. spire/xls/interfaces/ICustomDocumentProperties.py +168 -0
  382. spire/xls/interfaces/IDataBar.py +127 -0
  383. spire/xls/interfaces/IDataValidation.py +506 -0
  384. spire/xls/interfaces/IDataValidationTable.py +84 -0
  385. spire/xls/interfaces/IDigitalSignature.py +111 -0
  386. spire/xls/interfaces/IDigitalSignatures.py +33 -0
  387. spire/xls/interfaces/IDocumentProperty.py +276 -0
  388. spire/xls/interfaces/IErrorIndicator.py +38 -0
  389. spire/xls/interfaces/IExtendIndex.py +26 -0
  390. spire/xls/interfaces/IExtendedFormat.py +631 -0
  391. spire/xls/interfaces/IFont.py +313 -0
  392. spire/xls/interfaces/IFormat3D.py +307 -0
  393. spire/xls/interfaces/IGeomPath.py +27 -0
  394. spire/xls/interfaces/IGeomPathInfo.py +141 -0
  395. spire/xls/interfaces/IGeomPathShape.py +40 -0
  396. spire/xls/interfaces/IGlow.py +104 -0
  397. spire/xls/interfaces/IGradient.py +203 -0
  398. spire/xls/interfaces/IGroupBox.py +82 -0
  399. spire/xls/interfaces/IHPageBreak.py +26 -0
  400. spire/xls/interfaces/IHyperLink.py +137 -0
  401. spire/xls/interfaces/IIconSet.py +115 -0
  402. spire/xls/interfaces/IInterior.py +137 -0
  403. spire/xls/interfaces/IInternalAddtionalFormat.py +277 -0
  404. spire/xls/interfaces/IInternalFont.py +38 -0
  405. spire/xls/interfaces/ILabelShape.py +60 -0
  406. spire/xls/interfaces/ILineShape.py +334 -0
  407. spire/xls/interfaces/IListObject.py +443 -0
  408. spire/xls/interfaces/IListObjectColumn.py +196 -0
  409. spire/xls/interfaces/IMarkersDesigner.py +133 -0
  410. spire/xls/interfaces/IMigrantRange.py +28 -0
  411. spire/xls/interfaces/INamedObject.py +27 -0
  412. spire/xls/interfaces/INamedRange.py +246 -0
  413. spire/xls/interfaces/INumberFormat.py +90 -0
  414. spire/xls/interfaces/IOleObject.py +225 -0
  415. spire/xls/interfaces/IOptimizedUpdate.py +35 -0
  416. spire/xls/interfaces/IOvalShape.py +201 -0
  417. spire/xls/interfaces/IPageSetup.py +260 -0
  418. spire/xls/interfaces/IPageSetupBase.py +849 -0
  419. spire/xls/interfaces/IPictureShape.py +118 -0
  420. spire/xls/interfaces/IPropertyData.py +100 -0
  421. spire/xls/interfaces/IPrstGeomShape.py +103 -0
  422. spire/xls/interfaces/IRadioButton.py +159 -0
  423. spire/xls/interfaces/IRectangleShape.py +90 -0
  424. spire/xls/interfaces/IReflectionEffect.py +217 -0
  425. spire/xls/interfaces/IScrollBarShape.py +139 -0
  426. spire/xls/interfaces/IShadow.py +385 -0
  427. spire/xls/interfaces/IShape.py +620 -0
  428. spire/xls/interfaces/IShapeFill.py +767 -0
  429. spire/xls/interfaces/IShapeLineFormat.py +488 -0
  430. spire/xls/interfaces/ISortColumn.py +138 -0
  431. spire/xls/interfaces/ISortColumns.py +106 -0
  432. spire/xls/interfaces/ISortedRule.py +154 -0
  433. spire/xls/interfaces/ISpinnerShape.py +124 -0
  434. spire/xls/interfaces/IStyle.py +60 -0
  435. spire/xls/interfaces/ITabSheet.py +364 -0
  436. spire/xls/interfaces/ITextBox.py +140 -0
  437. spire/xls/interfaces/ITextBoxLinkShape.py +48 -0
  438. spire/xls/interfaces/ITextBoxShape.py +27 -0
  439. spire/xls/interfaces/ITextFrame.py +146 -0
  440. spire/xls/interfaces/IVPageBreak.py +26 -0
  441. spire/xls/interfaces/IWorkbook.py +1736 -0
  442. spire/xls/interfaces/IWorksheet.py +2638 -0
  443. spire/xls/interfaces/IXLSRange.py +2241 -0
  444. spire/xls/interfaces/IXLSRanges.py +40 -0
  445. spire/xls/interfaces/IconSet.py +125 -0
  446. spire/xls/interfaces/ImageLocationTypes.py +17 -0
  447. spire/xls/interfaces/ImportObjectOptions.py +136 -0
  448. spire/xls/interfaces/InsertMoveOption.py +17 -0
  449. spire/xls/interfaces/InteriorArrayWrapper.py +181 -0
  450. spire/xls/interfaces/__init__.py +0 -0
  451. spire/xls/interfaces/collections/IDataValidationCollection.py +128 -0
  452. spire/xls/interfaces/collections/IHPageBreaks.py +37 -0
  453. spire/xls/interfaces/collections/IListObjects.py +34 -0
  454. spire/xls/interfaces/collections/IOleObjects.py +44 -0
  455. spire/xls/interfaces/collections/IPrstGeomShapes.py +87 -0
  456. spire/xls/interfaces/collections/IShapes.py +273 -0
  457. spire/xls/interfaces/collections/ITextBoxes.py +67 -0
  458. spire/xls/interfaces/collections/IVPageBreaks.py +37 -0
  459. spire/xls/interfaces/collections/__init__.py +0 -0
  460. spire/xls/interfaces/pivot_table/IPivotCache.py +50 -0
  461. spire/xls/interfaces/pivot_table/IPivotCaches.py +52 -0
  462. spire/xls/interfaces/pivot_table/IPivotCalculatedFields.py +69 -0
  463. spire/xls/interfaces/pivot_table/IPivotField.py +372 -0
  464. spire/xls/interfaces/pivot_table/IPivotTable.py +509 -0
  465. spire/xls/interfaces/pivot_table/IPivotTableOptions.py +507 -0
  466. spire/xls/interfaces/pivot_table/__init__.py +0 -0
  467. spire/xls/interfaces/sorting/__init__.py +0 -0
  468. spire/xls/lib/Spire.Xls.Base.dll +0 -0
  469. spire/xls/lib/_init_.py +0 -0
  470. spire/xls/license/LicenseProvider.py +107 -0
  471. spire/xls/license/__init__.py +0 -0
  472. spire/xls/pivot_tables/AutoSortScope.py +29 -0
  473. spire/xls/pivot_tables/PivotConditionalFormat.py +71 -0
  474. spire/xls/pivot_tables/PivotDataField.py +163 -0
  475. spire/xls/pivot_tables/PivotItem.py +228 -0
  476. spire/xls/pivot_tables/PivotReportFilter.py +199 -0
  477. spire/xls/pivot_tables/PivotReportFilters.py +95 -0
  478. spire/xls/pivot_tables/PivotStyle.py +104 -0
  479. spire/xls/pivot_tables/PivotTableStyle.py +76 -0
  480. spire/xls/pivot_tables/XlsPivotCache.py +506 -0
  481. spire/xls/pivot_tables/XlsPivotCacheField.py +276 -0
  482. spire/xls/pivot_tables/XlsPivotField.py +975 -0
  483. spire/xls/pivot_tables/XlsPivotTable.py +1189 -0
  484. spire/xls/pivot_tables/__init__.py +0 -0
  485. spire/xls/security/__init__.py +0 -0
  486. spire/xls/sorting/DataSorter.py +152 -0
  487. spire/xls/sorting/SortColumn.py +115 -0
  488. spire/xls/sorting/SortColumns.py +194 -0
  489. spire/xls/sorting/__init__.py +0 -0
  490. spire/xls/sparkline/ISparklines.py +72 -0
  491. spire/xls/sparkline/Sparkline.py +89 -0
  492. spire/xls/sparkline/SparklineCollection.py +107 -0
  493. spire/xls/sparkline/SparklineGroup.py +592 -0
  494. spire/xls/sparkline/SparklineGroupCollection.py +67 -0
  495. spire/xls/sparkline/__init__.py +0 -0
  496. spire/xls/template_markers/MarkerDesigner.py +171 -0
  497. spire/xls/template_markers/__init__.py +0 -0
  498. spire_xls-15.7.1.dist-info/METADATA +197 -0
  499. spire_xls-15.7.1.dist-info/RECORD +720 -0
  500. spire/xls/AddInFunctionsCollection.py +0 -29
  501. spire/xls/AlertStyleType.py +0 -18
  502. spire/xls/ArcShapeCollection.py +0 -70
  503. spire/xls/AutoFiltersCollection.py +0 -527
  504. spire/xls/AutoFitterOptions.py +0 -66
  505. spire/xls/AutoFormatOptions.py +0 -23
  506. spire/xls/AutoFormatType.py +0 -32
  507. spire/xls/AutoSortScope.py +0 -25
  508. spire/xls/AverageType.py +0 -25
  509. spire/xls/AxisLineIdentifierType.py +0 -19
  510. spire/xls/AxisTextDirectionType.py +0 -18
  511. spire/xls/AxisType.py +0 -18
  512. spire/xls/BaseFormatType.py +0 -17
  513. spire/xls/BordersCollection.py +0 -158
  514. spire/xls/BordersCollectionArrayWrapper.py +0 -95
  515. spire/xls/BordersLineType.py +0 -23
  516. spire/xls/BubbleSizeType.py +0 -17
  517. spire/xls/BuiltInDocumentProperties.py +0 -12
  518. spire/xls/BuiltInPropertyType.py +0 -50
  519. spire/xls/BuiltInStyles.py +0 -66
  520. spire/xls/CategoryType.py +0 -18
  521. spire/xls/CellDataType.py +0 -23
  522. spire/xls/CellFormatType.py +0 -21
  523. spire/xls/Chart.py +0 -404
  524. spire/xls/ChartArea.py +0 -61
  525. spire/xls/ChartBackgroundMode.py +0 -18
  526. spire/xls/ChartBaseUnitType.py +0 -18
  527. spire/xls/ChartCategoryAxis.py +0 -93
  528. spire/xls/ChartDataLabels.py +0 -42
  529. spire/xls/ChartDataPoint.py +0 -42
  530. spire/xls/ChartDataPointsCollection.py +0 -75
  531. spire/xls/ChartDisplayUnitType.py +0 -26
  532. spire/xls/ChartFormat.py +0 -72
  533. spire/xls/ChartFormatCollection.py +0 -59
  534. spire/xls/ChartGridLine.py +0 -27
  535. spire/xls/ChartLegend.py +0 -42
  536. spire/xls/ChartLegendEntriesColl.py +0 -128
  537. spire/xls/ChartLegendEntry.py +0 -27
  538. spire/xls/ChartLinePatternType.py +0 -24
  539. spire/xls/ChartLineWeightType.py +0 -19
  540. spire/xls/ChartMarkerType.py +0 -27
  541. spire/xls/ChartParagraphType.py +0 -18
  542. spire/xls/ChartPieType.py +0 -18
  543. spire/xls/ChartPlotArea.py +0 -53
  544. spire/xls/ChartPlotEmptyType.py +0 -18
  545. spire/xls/ChartSerie.py +0 -142
  546. spire/xls/ChartSerieDataFormat.py +0 -56
  547. spire/xls/ChartSeries.py +0 -154
  548. spire/xls/ChartSeriesAxis.py +0 -72
  549. spire/xls/ChartShadow.py +0 -235
  550. spire/xls/ChartSheet.py +0 -285
  551. spire/xls/ChartTextArea.py +0 -782
  552. spire/xls/ChartValueAxis.py +0 -92
  553. spire/xls/ChartsCollection.py +0 -113
  554. spire/xls/CheckState.py +0 -18
  555. spire/xls/CollectionBase.py +0 -184
  556. spire/xls/CollectionExtended.py +0 -92
  557. spire/xls/ColorConditionValue.py +0 -91
  558. spire/xls/ColorFilter.py +0 -45
  559. spire/xls/ColorType.py +0 -18
  560. spire/xls/ComboBoxCollection.py +0 -70
  561. spire/xls/CommentHAlignType.py +0 -21
  562. spire/xls/CommentVAlignType.py +0 -20
  563. spire/xls/CommentsCollection.py +0 -109
  564. spire/xls/ComparisonOperatorType.py +0 -24
  565. spire/xls/CondFormatCollectionWrapper.py +0 -125
  566. spire/xls/ConditionValue.py +0 -82
  567. spire/xls/ConditionValuePosition.py +0 -16
  568. spire/xls/ConditionalFormat.py +0 -14
  569. spire/xls/ConditionalFormatScope.py +0 -16
  570. spire/xls/ConditionalFormatType.py +0 -33
  571. spire/xls/ConditionalFormatWrapper.py +0 -986
  572. spire/xls/ConditionalFormats.py +0 -55
  573. spire/xls/CustomFilter.py +0 -147
  574. spire/xls/CustomFilterCollection.py +0 -113
  575. spire/xls/DataBarBorder.py +0 -47
  576. spire/xls/DataLabelPositionType.py +0 -26
  577. spire/xls/DataSorter.py +0 -154
  578. spire/xls/DataSourceType.py +0 -19
  579. spire/xls/DateTimeGroupItem.py +0 -132
  580. spire/xls/DropLineStyleType.py +0 -18
  581. spire/xls/DynamicFilter.py +0 -71
  582. spire/xls/ErrorBarIncludeType.py +0 -19
  583. spire/xls/ErrorBarType.py +0 -20
  584. spire/xls/ExcelCalculationMode.py +0 -18
  585. spire/xls/ExcelChartType.py +0 -96
  586. spire/xls/ExcelColors.py +0 -121
  587. spire/xls/ExcelComboType.py +0 -22
  588. spire/xls/ExcelHorizontalAlignment.py +0 -21
  589. spire/xls/ExcelPatternType.py +0 -52
  590. spire/xls/ExcelQuartileCalculation.py +0 -17
  591. spire/xls/ExcelShapeType.py +0 -41
  592. spire/xls/ExcelSheetType.py +0 -20
  593. spire/xls/ExcelTreeMapLabelOption.py +0 -18
  594. spire/xls/ExcelVersion.py +0 -24
  595. spire/xls/ExcelVerticalAlignment.py +0 -21
  596. spire/xls/ExpandCollapseFlags.py +0 -18
  597. spire/xls/FilterColumn.py +0 -258
  598. spire/xls/FilterConditionType.py +0 -21
  599. spire/xls/FilterDataType.py +0 -22
  600. spire/xls/FontUnderlineType.py +0 -20
  601. spire/xls/FontVertialAlignmentType.py +0 -20
  602. spire/xls/GradientColorType.py +0 -18
  603. spire/xls/GradientPatternType.py +0 -64
  604. spire/xls/GradientPresetType.py +0 -39
  605. spire/xls/GradientStyleType.py +0 -21
  606. spire/xls/GradientTextureType.py +0 -40
  607. spire/xls/GradientVariantsType.py +0 -19
  608. spire/xls/GroupShapeCollection.py +0 -46
  609. spire/xls/HPageBreaksCollection.py +0 -108
  610. spire/xls/HistogramAxisFormat.py +0 -30
  611. spire/xls/HorizontalAlignType.py +0 -23
  612. spire/xls/HyperLinkType.py +0 -20
  613. spire/xls/HyperLinksCollection.py +0 -72
  614. spire/xls/IArcShape.py +0 -259
  615. spire/xls/IChart.py +0 -1368
  616. spire/xls/IChartAxis.py +0 -722
  617. spire/xls/IChartBorder.py +0 -220
  618. spire/xls/IChartCategoryAxis.py +0 -410
  619. spire/xls/IChartDataLabels.py +0 -457
  620. spire/xls/IChartDataPoint.py +0 -131
  621. spire/xls/IChartDataTable.py +0 -197
  622. spire/xls/IChartErrorBars.py +0 -373
  623. spire/xls/IChartFillBorder.py +0 -303
  624. spire/xls/IChartFormat.py +0 -571
  625. spire/xls/IChartFrameFormat.py +0 -93
  626. spire/xls/IChartGridLine.py +0 -107
  627. spire/xls/IChartInterior.py +0 -278
  628. spire/xls/IChartLegend.py +0 -499
  629. spire/xls/IChartLegendEntry.py +0 -178
  630. spire/xls/IChartPageSetup.py +0 -56
  631. spire/xls/IChartSerie.py +0 -779
  632. spire/xls/IChartSerieDataFormat.py +0 -566
  633. spire/xls/IChartSeriesAxis.py +0 -128
  634. spire/xls/IChartShape.py +0 -92
  635. spire/xls/IChartTextArea.py +0 -197
  636. spire/xls/IChartTrendLine.py +0 -548
  637. spire/xls/IChartValueAxis.py +0 -518
  638. spire/xls/IChartWallOrFloor.py +0 -32
  639. spire/xls/ICheckBox.py +0 -96
  640. spire/xls/ICloneParent.py +0 -28
  641. spire/xls/IColorConditionValue.py +0 -31
  642. spire/xls/IColorScale.py +0 -32
  643. spire/xls/ICombinedRange.py +0 -87
  644. spire/xls/IComboBoxShape.py +0 -95
  645. spire/xls/IComment.py +0 -85
  646. spire/xls/ICommentShape.py +0 -12
  647. spire/xls/IConditionValue.py +0 -68
  648. spire/xls/IConditionalFormat.py +0 -606
  649. spire/xls/IConditionalFormats.py +0 -48
  650. spire/xls/ICustomDocumentProperties.py +0 -128
  651. spire/xls/IDataBar.py +0 -105
  652. spire/xls/IDataValidation.py +0 -421
  653. spire/xls/IDataValidationCollection.py +0 -132
  654. spire/xls/IDataValidationTable.py +0 -68
  655. spire/xls/IDigitalSignature.py +0 -99
  656. spire/xls/IDigitalSignatures.py +0 -29
  657. spire/xls/IDocumentProperty.py +0 -226
  658. spire/xls/IErrorIndicator.py +0 -31
  659. spire/xls/IExtendIndex.py +0 -21
  660. spire/xls/IExtendedFormat.py +0 -530
  661. spire/xls/IFont.py +0 -271
  662. spire/xls/IFormat3D.py +0 -252
  663. spire/xls/IGeomPath.py +0 -23
  664. spire/xls/IGeomPathInfo.py +0 -112
  665. spire/xls/IGeomPathShape.py +0 -30
  666. spire/xls/IGlow.py +0 -85
  667. spire/xls/IGradient.py +0 -174
  668. spire/xls/IGroupBox.py +0 -67
  669. spire/xls/IHPageBreak.py +0 -22
  670. spire/xls/IHPageBreaks.py +0 -31
  671. spire/xls/IHyperLink.py +0 -118
  672. spire/xls/IIconSet.py +0 -96
  673. spire/xls/IInterior.py +0 -117
  674. spire/xls/IInternalAddtionalFormat.py +0 -238
  675. spire/xls/IInternalFont.py +0 -31
  676. spire/xls/ILabelShape.py +0 -49
  677. spire/xls/ILineShape.py +0 -305
  678. spire/xls/IListObject.py +0 -493
  679. spire/xls/IListObjectColumn.py +0 -222
  680. spire/xls/IListObjects.py +0 -31
  681. spire/xls/IMarkersDesigner.py +0 -113
  682. spire/xls/IMigrantRange.py +0 -21
  683. spire/xls/INamedObject.py +0 -22
  684. spire/xls/INamedRange.py +0 -162
  685. spire/xls/INumberFormat.py +0 -77
  686. spire/xls/IOleObject.py +0 -176
  687. spire/xls/IOleObjects.py +0 -32
  688. spire/xls/IOptimizedUpdate.py +0 -28
  689. spire/xls/IOvalShape.py +0 -154
  690. spire/xls/IPageSetup.py +0 -195
  691. spire/xls/IPageSetupBase.py +0 -642
  692. spire/xls/IPictureShape.py +0 -99
  693. spire/xls/IPivotCache.py +0 -41
  694. spire/xls/IPivotCaches.py +0 -39
  695. spire/xls/IPivotCalculatedFields.py +0 -50
  696. spire/xls/IPivotField.py +0 -291
  697. spire/xls/IPivotTable.py +0 -393
  698. spire/xls/IPivotTableOptions.py +0 -428
  699. spire/xls/IPropertyData.py +0 -70
  700. spire/xls/IPrstGeomShape.py +0 -71
  701. spire/xls/IPrstGeomShapes.py +0 -81
  702. spire/xls/IRadioButton.py +0 -105
  703. spire/xls/IRectangleShape.py +0 -60
  704. spire/xls/IReflectionEffect.py +0 -138
  705. spire/xls/IScrollBarShape.py +0 -140
  706. spire/xls/IShadow.py +0 -244
  707. spire/xls/IShape.py +0 -409
  708. spire/xls/IShapeFill.py +0 -522
  709. spire/xls/IShapeLineFormat.py +0 -331
  710. spire/xls/IShapes.py +0 -270
  711. spire/xls/ISortColumn.py +0 -96
  712. spire/xls/ISortColumns.py +0 -70
  713. spire/xls/ISortedRule.py +0 -112
  714. spire/xls/ISparklines.py +0 -72
  715. spire/xls/ISpinnerShape.py +0 -102
  716. spire/xls/IStyle.py +0 -50
  717. spire/xls/ITabSheet.py +0 -302
  718. spire/xls/ITextBox.py +0 -116
  719. spire/xls/ITextBoxLinkShape.py +0 -40
  720. spire/xls/ITextBoxShape.py +0 -22
  721. spire/xls/ITextBoxes.py +0 -61
  722. spire/xls/ITextFrame.py +0 -120
  723. spire/xls/IVPageBreak.py +0 -22
  724. spire/xls/IVPageBreaks.py +0 -31
  725. spire/xls/IWorkbook.py +0 -1806
  726. spire/xls/IWorksheet.py +0 -2694
  727. spire/xls/IXLSRange.py +0 -2479
  728. spire/xls/IXLSRanges.py +0 -35
  729. spire/xls/IconSet.py +0 -103
  730. spire/xls/IgnoreErrorType.py +0 -24
  731. spire/xls/ImageFormatType.py +0 -18
  732. spire/xls/ImageLocationTypes.py +0 -15
  733. spire/xls/ImageType.py +0 -17
  734. spire/xls/ImportObjectOptions.py +0 -89
  735. spire/xls/InsertMoveOption.py +0 -15
  736. spire/xls/InteriorArrayWrapper.py +0 -126
  737. spire/xls/LegendPositionType.py +0 -21
  738. spire/xls/LegendSpacingType.py +0 -18
  739. spire/xls/LineStyleType.py +0 -29
  740. spire/xls/ListObjectCollection.py +0 -45
  741. spire/xls/MarkerDesigner.py +0 -172
  742. spire/xls/MultipleFilterCollection.py +0 -166
  743. spire/xls/NegativeBarFormat.py +0 -82
  744. spire/xls/OleObjectType.py +0 -51
  745. spire/xls/OrderBy.py +0 -19
  746. spire/xls/OrderType.py +0 -17
  747. spire/xls/OvalShapeCollection.py +0 -70
  748. spire/xls/PageBreakExtentType.py +0 -17
  749. spire/xls/PageBreakType.py +0 -18
  750. spire/xls/PageOrientationType.py +0 -17
  751. spire/xls/PagesOrderType.py +0 -17
  752. spire/xls/PaperSizeType.py +0 -135
  753. spire/xls/PicturesCollection.py +0 -532
  754. spire/xls/PivotConditionalFormat.py +0 -54
  755. spire/xls/PivotConditionalFormatCollection.py +0 -38
  756. spire/xls/PivotDataField.py +0 -118
  757. spire/xls/PivotGroupByTypes.py +0 -23
  758. spire/xls/PivotItem.py +0 -161
  759. spire/xls/PivotReportFilter.py +0 -92
  760. spire/xls/PivotReportFilters.py +0 -63
  761. spire/xls/PivotStyle.py +0 -79
  762. spire/xls/PivotTableFields.py +0 -85
  763. spire/xls/PivotTableStyle.py +0 -63
  764. spire/xls/PrintCommentType.py +0 -18
  765. spire/xls/PrintErrorsType.py +0 -19
  766. spire/xls/PrstGeomShapeCollection.py +0 -126
  767. spire/xls/RadioButtonCollection.py +0 -137
  768. spire/xls/RangesCollection.py +0 -537
  769. spire/xls/ReadingOrderType.py +0 -18
  770. spire/xls/RectangleStyleType.py +0 -17
  771. spire/xls/ResizeBehaveType.py +0 -18
  772. spire/xls/ShapeArrowLengthType.py +0 -18
  773. spire/xls/ShapeArrowStyleType.py +0 -21
  774. spire/xls/ShapeArrowWidthType.py +0 -18
  775. spire/xls/ShapeDashLineStyleType.py +0 -23
  776. spire/xls/ShapeFillType.py +0 -22
  777. spire/xls/ShapeLayerChangeType.py +0 -19
  778. spire/xls/ShapeLineStyleType.py +0 -20
  779. spire/xls/SheetProtectionType.py +0 -33
  780. spire/xls/SortColumn.py +0 -120
  781. spire/xls/SortColumns.py +0 -185
  782. spire/xls/SortComparsionType.py +0 -19
  783. spire/xls/SortOrientationType.py +0 -17
  784. spire/xls/SortedWayType.py +0 -18
  785. spire/xls/Sparkline.py +0 -70
  786. spire/xls/SparklineCollection.py +0 -112
  787. spire/xls/SparklineGroup.py +0 -523
  788. spire/xls/SparklineGroupCollection.py +0 -71
  789. spire/xls/SparklineType.py +0 -18
  790. spire/xls/SplitType.py +0 -19
  791. spire/xls/StylesCollection.py +0 -141
  792. spire/xls/TextDirection.py +0 -20
  793. spire/xls/TextRotationType.py +0 -19
  794. spire/xls/ThemeColorType.py +0 -27
  795. spire/xls/TickLabelPositionType.py +0 -19
  796. spire/xls/TickMarkType.py +0 -19
  797. spire/xls/Top10Filter.py +0 -75
  798. spire/xls/TopBottomType.py +0 -19
  799. spire/xls/TopFormatType.py +0 -18
  800. spire/xls/TrendLineType.py +0 -21
  801. spire/xls/UnknownVariableAction.py +0 -18
  802. spire/xls/VPageBreaksCollection.py +0 -96
  803. spire/xls/ValidationComparisonOperator.py +0 -23
  804. spire/xls/VariableTypeAction.py +0 -19
  805. spire/xls/VerticalAlignType.py +0 -20
  806. spire/xls/ViewMode.py +0 -18
  807. spire/xls/WorksheetVisibility.py +0 -18
  808. spire/xls/WorksheetsCollection.py +0 -341
  809. spire/xls/XLSXBorderJoinType.py +0 -19
  810. spire/xls/XLSXChartMaterialType.py +0 -32
  811. spire/xls/XLSXChartPrespectiveType.py +0 -21
  812. spire/xls/XLSXChartShadowInnerType.py +0 -25
  813. spire/xls/XLSXChartShadowOuterType.py +0 -25
  814. spire/xls/XlsAddInFunctionsCollection.py +0 -101
  815. spire/xls/XlsAutoFiltersCollection.py +0 -119
  816. spire/xls/XlsBordersCollection.py +0 -101
  817. spire/xls/XlsBuiltInDocumentProperties.py +0 -639
  818. spire/xls/XlsChart.py +0 -1510
  819. spire/xls/XlsChartAxis.py +0 -564
  820. spire/xls/XlsChartBorder.py +0 -165
  821. spire/xls/XlsChartCategoryAxis.py +0 -656
  822. spire/xls/XlsChartDataLabelArea.py +0 -387
  823. spire/xls/XlsChartDataLabels.py +0 -811
  824. spire/xls/XlsChartDataPoint.py +0 -108
  825. spire/xls/XlsChartDataPointsCollection.py +0 -120
  826. spire/xls/XlsChartDataTable.py +0 -393
  827. spire/xls/XlsChartDropBar.py +0 -301
  828. spire/xls/XlsChartFill.py +0 -571
  829. spire/xls/XlsChartFormat.py +0 -1069
  830. spire/xls/XlsChartFormatCollection.py +0 -162
  831. spire/xls/XlsChartFrameFormat.py +0 -614
  832. spire/xls/XlsChartGridLine.py +0 -171
  833. spire/xls/XlsChartInterior.py +0 -240
  834. spire/xls/XlsChartLegend.py +0 -355
  835. spire/xls/XlsChartLegendArea.py +0 -419
  836. spire/xls/XlsChartLegendEntry.py +0 -156
  837. spire/xls/XlsChartSerie.py +0 -589
  838. spire/xls/XlsChartSerieDataFormat.py +0 -1008
  839. spire/xls/XlsChartSeriesAxis.py +0 -212
  840. spire/xls/XlsChartShape.py +0 -1142
  841. spire/xls/XlsChartTitleArea.py +0 -392
  842. spire/xls/XlsChartValueAxis.py +0 -317
  843. spire/xls/XlsChartWallOrFloor.py +0 -319
  844. spire/xls/XlsCommentsCollection.py +0 -87
  845. spire/xls/XlsConditionValue.py +0 -111
  846. spire/xls/XlsConditionalFormat.py +0 -1119
  847. spire/xls/XlsConditionalFormats.py +0 -590
  848. spire/xls/XlsDataValidationCollection.py +0 -159
  849. spire/xls/XlsHPageBreaksCollection.py +0 -85
  850. spire/xls/XlsHyperLinksCollection.py +0 -102
  851. spire/xls/XlsPivotCache.py +0 -401
  852. spire/xls/XlsPivotCacheField.py +0 -209
  853. spire/xls/XlsPivotCachesCollection.py +0 -124
  854. spire/xls/XlsPivotField.py +0 -885
  855. spire/xls/XlsPivotTable.py +0 -905
  856. spire/xls/XlsRangesCollection.py +0 -1566
  857. spire/xls/XlsStylesCollection.py +0 -73
  858. spire/xls/XlsVPageBreaksCollection.py +0 -84
  859. spire/xls/XlsWorksheetsCollection.py +0 -416
  860. spire_xls-15.5.0.dist-info/METADATA +0 -197
  861. spire_xls-15.5.0.dist-info/RECORD +0 -703
  862. /spire/xls/{lib → autofilter}/__init__.py +0 -0
  863. /spire/xls/{ChartBorder.py → charts/ChartBorder.py} +0 -0
  864. /spire/xls/{ChartDataTable.py → charts/ChartDataTable.py} +0 -0
  865. /spire/xls/{ChartDropBar.py → charts/ChartDropBar.py} +0 -0
  866. /spire/xls/{ChartInterior.py → charts/ChartInterior.py} +0 -0
  867. /spire/xls/{ChartPageSetup.py → charts/ChartPageSetup.py} +0 -0
  868. /spire/xls/{ChartTitle.py → charts/ChartTitle.py} +0 -0
  869. /spire/xls/{ChartWallOrFloor.py → charts/ChartWallOrFloor.py} +0 -0
  870. /spire/xls/{XlsChartPageSetup.py → charts/XlsChartPageSetup.py} +0 -0
  871. /spire/xls/{XlsChartPlotArea.py → charts/XlsChartPlotArea.py} +0 -0
  872. /spire/xls/{ButtonShapeCollection.py → collection/ButtonShapeCollection.py} +0 -0
  873. /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
  874. /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
  875. /spire/xls/{DataConnections.py → collection/DataConnections.py} +0 -0
  876. /spire/xls/{ExternalLinkCollection.py → collection/ExternalLinkCollection.py} +0 -0
  877. /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
  878. /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
  879. /spire/xls/{GroupBoxCollection.py → collection/GroupBoxCollection.py} +0 -0
  880. /spire/xls/{LabelShapeCollection.py → collection/LabelShapeCollection.py} +0 -0
  881. /spire/xls/{LineCollection.py → collection/LineCollection.py} +0 -0
  882. /spire/xls/{ListBoxCollection.py → collection/ListBoxCollection.py} +0 -0
  883. /spire/xls/{QueryTableCollection.py → collection/QueryTableCollection.py} +0 -0
  884. /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
  885. /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
  886. /spire/xls/{ShapeCollectionBase.py → collection/ShapeCollectionBase.py} +0 -0
  887. /spire/xls/{SpinnerShapeCollection.py → collection/SpinnerShapeCollection.py} +0 -0
  888. /spire/xls/{TextBoxCollection.py → collection/TextBoxCollection.py} +0 -0
  889. /spire/xls/{WorkbookObjectsCollection.py → collection/WorkbookObjectsCollection.py} +0 -0
  890. /spire/xls/{WorksheetChartsCollection.py → collection/WorksheetChartsCollection.py} +0 -0
  891. /spire/xls/{WorksheetConditionalFormats.py → collection/WorksheetConditionalFormats.py} +0 -0
  892. /spire/xls/{XlsChartSeries.py → collection/XlsChartSeries.py} +0 -0
  893. /spire/xls/{XlsChartsCollection.py → collection/XlsChartsCollection.py} +0 -0
  894. /spire/xls/{XlsFontsCollection.py → collection/XlsFontsCollection.py} +0 -0
  895. /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
  896. /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
  897. /spire/xls/{XlsWorkbookObjectsCollection.py → collection/XlsWorkbookObjectsCollection.py} +0 -0
  898. /spire/xls/{XlsWorksheetChartsCollection.py → collection/XlsWorksheetChartsCollection.py} +0 -0
  899. /spire/xls/{XlsWorksheetConditionalFormats.py → collection/XlsWorksheetConditionalFormats.py} +0 -0
  900. /spire/xls/{PivotCachesCollection.py → collection/pivot_table/PivotCachesCollection.py} +0 -0
  901. /spire/xls/{PivotCalculatedFieldsCollection.py → collection/pivot_table/PivotCalculatedFieldsCollection.py} +0 -0
  902. /spire/xls/{PivotDataFields.py → collection/pivot_table/PivotDataFields.py} +0 -0
  903. /spire/xls/{PivotTablesCollection.py → collection/pivot_table/PivotTablesCollection.py} +0 -0
  904. /spire/xls/{XlsPivotTablesCollection.py → collection/pivot_table/XlsPivotTablesCollection.py} +0 -0
  905. /spire/xls/{AxisTypes.py → enums/AxisTypes.py} +0 -0
  906. /spire/xls/{CompoundLineType.py → enums/CompoundLineType.py} +0 -0
  907. /spire/xls/{ConditionValueType.py → enums/ConditionValueType.py} +0 -0
  908. /spire/xls/{ConditionalTopNType.py → enums/ConditionalTopNType.py} +0 -0
  909. /spire/xls/{ConnectionDataSourceType.py → enums/ConnectionDataSourceType.py} +0 -0
  910. /spire/xls/{CopyRangeOptions.py → enums/CopyRangeOptions.py} +0 -0
  911. /spire/xls/{DataBarAxisPosition.py → enums/DataBarAxisPosition.py} +0 -0
  912. /spire/xls/{DataBarBorderType.py → enums/DataBarBorderType.py} +0 -0
  913. /spire/xls/{DataBarFillType.py → enums/DataBarFillType.py} +0 -0
  914. /spire/xls/{DataBarNegativeColorType.py → enums/DataBarNegativeColorType.py} +0 -0
  915. /spire/xls/{DataMarkerDirection.py → enums/DataMarkerDirection.py} +0 -0
  916. /spire/xls/{DateTimeGroupingType.py → enums/DateTimeGroupingType.py} +0 -0
  917. /spire/xls/{DeleteOption.py → enums/DeleteOption.py} +0 -0
  918. /spire/xls/{DynamicFilterType.py → enums/DynamicFilterType.py} +0 -0
  919. /spire/xls/{ExcelClearOptions.py → enums/ExcelClearOptions.py} +0 -0
  920. /spire/xls/{ExcelFindOptions.py → enums/ExcelFindOptions.py} +0 -0
  921. /spire/xls/{ExcelSaveType.py → enums/ExcelSaveType.py} +0 -0
  922. /spire/xls/{ExcelTotalsCalculation.py → enums/ExcelTotalsCalculation.py} +0 -0
  923. /spire/xls/{FillPictureType.py → enums/FillPictureType.py} +0 -0
  924. /spire/xls/{FilterOperatorType.py → enums/FilterOperatorType.py} +0 -0
  925. /spire/xls/{FilterType.py → enums/FilterType.py} +0 -0
  926. /spire/xls/{FindType.py → enums/FindType.py} +0 -0
  927. /spire/xls/{GeomertyAdjustValueFormulaType.py → enums/GeomertyAdjustValueFormulaType.py} +0 -0
  928. /spire/xls/{GroupByType.py → enums/GroupByType.py} +0 -0
  929. /spire/xls/{HttpContentType.py → enums/HttpContentType.py} +0 -0
  930. /spire/xls/{IconSetType.py → enums/IconSetType.py} +0 -0
  931. /spire/xls/{InsertOptionsType.py → enums/InsertOptionsType.py} +0 -0
  932. /spire/xls/{LineShapeType.py → enums/LineShapeType.py} +0 -0
  933. /spire/xls/{MeasureUnits.py → enums/MeasureUnits.py} +0 -0
  934. /spire/xls/{MsoPathType.py → enums/MsoPathType.py} +0 -0
  935. /spire/xls/{OLEDBCommandType.py → enums/OLEDBCommandType.py} +0 -0
  936. /spire/xls/{OdsPageBackgroundImagePositionType.py → enums/OdsPageBackgroundImagePositionType.py} +0 -0
  937. /spire/xls/{OdsPageBackgroundImageType.py → enums/OdsPageBackgroundImageType.py} +0 -0
  938. /spire/xls/{OdsPageBackgroundType.py → enums/OdsPageBackgroundType.py} +0 -0
  939. /spire/xls/{OleLinkType.py → enums/OleLinkType.py} +0 -0
  940. /spire/xls/{PathFillMode.py → enums/PathFillMode.py} +0 -0
  941. /spire/xls/{PdfConformanceLevel.py → enums/PdfConformanceLevel.py} +0 -0
  942. /spire/xls/{PivotAutoFomatTypes.py → enums/PivotAutoFomatTypes.py} +0 -0
  943. /spire/xls/{PivotBuiltInStyles.py → enums/PivotBuiltInStyles.py} +0 -0
  944. /spire/xls/{PivotDataType.py → enums/PivotDataType.py} +0 -0
  945. /spire/xls/{PivotFieldFormatType.py → enums/PivotFieldFormatType.py} +0 -0
  946. /spire/xls/{PivotFieldSortType.py → enums/PivotFieldSortType.py} +0 -0
  947. /spire/xls/{PivotItemType.py → enums/PivotItemType.py} +0 -0
  948. /spire/xls/{PivotLabelFilterType.py → enums/PivotLabelFilterType.py} +0 -0
  949. /spire/xls/{PivotPageAreaFieldsOrderType.py → enums/PivotPageAreaFieldsOrderType.py} +0 -0
  950. /spire/xls/{PivotTableElement.py → enums/PivotTableElement.py} +0 -0
  951. /spire/xls/{PivotTableLayoutType.py → enums/PivotTableLayoutType.py} +0 -0
  952. /spire/xls/{PivotValueFilterType.py → enums/PivotValueFilterType.py} +0 -0
  953. /spire/xls/{PresetTextEffect.py → enums/PresetTextEffect.py} +0 -0
  954. /spire/xls/{PrintingPageType.py → enums/PrintingPageType.py} +0 -0
  955. /spire/xls/{PropertyType.py → enums/PropertyType.py} +0 -0
  956. /spire/xls/{PrstGeomShapeType.py → enums/PrstGeomShapeType.py} +0 -0
  957. /spire/xls/{RectangleShapeType.py → enums/RectangleShapeType.py} +0 -0
  958. /spire/xls/{RelationShip.py → enums/RelationShip.py} +0 -0
  959. /spire/xls/{RenameStrategy.py → enums/RenameStrategy.py} +0 -0
  960. /spire/xls/{RtfTags.py → enums/RtfTags.py} +0 -0
  961. /spire/xls/{SelectionType.py → enums/SelectionType.py} +0 -0
  962. /spire/xls/{SparklineEmptyCells.py → enums/SparklineEmptyCells.py} +0 -0
  963. /spire/xls/{SpartlineVerticalAxisType.py → enums/SpartlineVerticalAxisType.py} +0 -0
  964. /spire/xls/{StrikeThroughStyle.py → enums/StrikeThroughStyle.py} +0 -0
  965. /spire/xls/{StyleDefineType.py → enums/StyleDefineType.py} +0 -0
  966. /spire/xls/{SubtotalTypes.py → enums/SubtotalTypes.py} +0 -0
  967. /spire/xls/{TRangeValueType.py → enums/TRangeValueType.py} +0 -0
  968. /spire/xls/{TableBuiltInStyles.py → enums/TableBuiltInStyles.py} +0 -0
  969. /spire/xls/{TextDirectionType.py → enums/TextDirectionType.py} +0 -0
  970. /spire/xls/{TextVerticalValue.py → enums/TextVerticalValue.py} +0 -0
  971. /spire/xls/{TimePeriodType.py → enums/TimePeriodType.py} +0 -0
  972. /spire/xls/{UnderlineStyle.py → enums/UnderlineStyle.py} +0 -0
  973. /spire/xls/{WorksheetCopyType.py → enums/WorksheetCopyType.py} +0 -0
  974. /spire/xls/{XLSXChartBevelType.py → enums/XLSXChartBevelType.py} +0 -0
  975. /spire/xls/{XLSXChartLightingType.py → enums/XLSXChartLightingType.py} +0 -0
  976. /spire/xls/{XLSXPivotItemType.py → enums/XLSXPivotItemType.py} +0 -0
  977. /spire/xls/{XmlOpenType.py → enums/XmlOpenType.py} +0 -0
  978. /spire/xls/{IAddInFunction.py → interfaces/IAddInFunction.py} +0 -0
  979. /spire/xls/{IAutoFilter.py → interfaces/IAutoFilter.py} +0 -0
  980. /spire/xls/{IAutoFilterCondition.py → interfaces/IAutoFilterCondition.py} +0 -0
  981. /spire/xls/{IAutoFilters.py → interfaces/IAutoFilters.py} +0 -0
  982. /spire/xls/{IBorder.py → interfaces/IBorder.py} +0 -0
  983. /spire/xls/{IBuiltInDocumentProperties.py → interfaces/IBuiltInDocumentProperties.py} +0 -0
  984. /spire/xls/{IButtonShape.py → interfaces/IButtonShape.py} +0 -0
  985. /spire/xls/{IChartDropBar.py → interfaces/IChartDropBar.py} +0 -0
  986. /spire/xls/{IExcelApplication.py → interfaces/IExcelApplication.py} +0 -0
  987. /spire/xls/{IInternalWorksheet.py → interfaces/IInternalWorksheet.py} +0 -0
  988. /spire/xls/{IListBox.py → interfaces/IListBox.py} +0 -0
  989. /spire/xls/{IRichTextString.py → interfaces/IRichTextString.py} +0 -0
  990. /spire/xls/{IAddInFunctions.py → interfaces/collections/IAddInFunctions.py} +0 -0
  991. /spire/xls/{IArcShapes.py → interfaces/collections/IArcShapes.py} +0 -0
  992. /spire/xls/{IBorders.py → interfaces/collections/IBorders.py} +0 -0
  993. /spire/xls/{IButtonShapes.py → interfaces/collections/IButtonShapes.py} +0 -0
  994. /spire/xls/{IChartDataPoints.py → interfaces/collections/IChartDataPoints.py} +0 -0
  995. /spire/xls/{IChartLegendEntries.py → interfaces/collections/IChartLegendEntries.py} +0 -0
  996. /spire/xls/{IChartSeries.py → interfaces/collections/IChartSeries.py} +0 -0
  997. /spire/xls/{IChartShapes.py → interfaces/collections/IChartShapes.py} +0 -0
  998. /spire/xls/{IChartTrendLines.py → interfaces/collections/IChartTrendLines.py} +0 -0
  999. /spire/xls/{ICharts.py → interfaces/collections/ICharts.py} +0 -0
  1000. /spire/xls/{ICheckBoxes.py → interfaces/collections/ICheckBoxes.py} +0 -0
  1001. /spire/xls/{IComboBoxes.py → interfaces/collections/IComboBoxes.py} +0 -0
  1002. /spire/xls/{IComments.py → interfaces/collections/IComments.py} +0 -0
  1003. /spire/xls/{IConditionalFormatsCollection.py → interfaces/collections/IConditionalFormatsCollection.py} +0 -0
  1004. /spire/xls/{IGroupBoxes.py → interfaces/collections/IGroupBoxes.py} +0 -0
  1005. /spire/xls/{IHyperLinks.py → interfaces/collections/IHyperLinks.py} +0 -0
  1006. /spire/xls/{ILabelShapes.py → interfaces/collections/ILabelShapes.py} +0 -0
  1007. /spire/xls/{ILines.py → interfaces/collections/ILines.py} +0 -0
  1008. /spire/xls/{IListBoxes.py → interfaces/collections/IListBoxes.py} +0 -0
  1009. /spire/xls/{INameRanges.py → interfaces/collections/INameRanges.py} +0 -0
  1010. /spire/xls/{IOvalShapes.py → interfaces/collections/IOvalShapes.py} +0 -0
  1011. /spire/xls/{IPictures.py → interfaces/collections/IPictures.py} +0 -0
  1012. /spire/xls/{IRadioButtons.py → interfaces/collections/IRadioButtons.py} +0 -0
  1013. /spire/xls/{IRectangleShapes.py → interfaces/collections/IRectangleShapes.py} +0 -0
  1014. /spire/xls/{IScrollBarShapes.py → interfaces/collections/IScrollBarShapes.py} +0 -0
  1015. /spire/xls/{ISpinnerShapes.py → interfaces/collections/ISpinnerShapes.py} +0 -0
  1016. /spire/xls/{IStyles.py → interfaces/collections/IStyles.py} +0 -0
  1017. /spire/xls/{ITabSheets.py → interfaces/collections/ITabSheets.py} +0 -0
  1018. /spire/xls/{IWorksheetGroup.py → interfaces/collections/IWorksheetGroup.py} +0 -0
  1019. /spire/xls/{IWorksheets.py → interfaces/collections/IWorksheets.py} +0 -0
  1020. /spire/xls/{IPivotDataField.py → interfaces/pivot_table/IPivotDataField.py} +0 -0
  1021. /spire/xls/{IPivotDataFields.py → interfaces/pivot_table/IPivotDataFields.py} +0 -0
  1022. /spire/xls/{IPivotFields.py → interfaces/pivot_table/IPivotFields.py} +0 -0
  1023. /spire/xls/{IPivotTables.py → interfaces/pivot_table/IPivotTables.py} +0 -0
  1024. /spire/xls/{IDataSort.py → interfaces/sorting/IDataSort.py} +0 -0
  1025. /spire/xls/{PivotCache.py → pivot_tables/PivotCache.py} +0 -0
  1026. /spire/xls/{PivotField.py → pivot_tables/PivotField.py} +0 -0
  1027. /spire/xls/{PivotTable.py → pivot_tables/PivotTable.py} +0 -0
  1028. /spire/xls/{EncryptedKeyInfo.py → security/EncryptedKeyInfo.py} +0 -0
  1029. /spire/xls/{ISparkline.py → sparkline/ISparkline.py} +0 -0
  1030. /spire/xls/{ISparklineGroup.py → sparkline/ISparklineGroup.py} +0 -0
  1031. {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/WHEEL +0 -0
  1032. {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/top_level.txt +0 -0
spire/xls/IWorkbook.py DELETED
@@ -1,1806 +0,0 @@
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 IWorkbook ( IExcelApplication) :
10
- """
11
-
12
- """
13
- @dispatch
14
-
15
- @abc.abstractmethod
16
- def Replace(self ,oldValue:str,newValue:str):
17
- """
18
- <summary>
19
- Replaces specified string by specified value.
20
- <example>The following code snippet illustrates how to replace the string with another string:
21
- <code>
22
- //Create workbook
23
- Workbook workbook = new Workbook();
24
- workbook.LoadFromFile("Sample.xlsx");
25
- //Replace the oldValue by newValue
26
- string oldValue = "Find";
27
- string newValue = "NewValue";
28
- workbook.Replace(oldValue, newValue);
29
- //Save to file
30
- workbook.SaveToFile("Replace.xlsx");
31
- </code>
32
- </example>
33
- </summary>
34
- <param name="oldValue">String value to replace.</param>
35
- <param name="newValue">New value for the range with specified string.</param>
36
- """
37
- pass
38
-
39
-
40
- @dispatch
41
-
42
- @abc.abstractmethod
43
- def Replace(self ,oldValue:str,newValue:float):
44
- """
45
- <summary>
46
- Replaces specified string by specified value.
47
- <example>The following code snippet illustrates how to replace the string with double:
48
- <code>
49
- //Create workbook
50
- Workbook workbook = new Workbook();
51
- workbook.LoadFromFile("Sample.xlsx");
52
- //Replace the oldValue by double
53
- string oldValue = "Ten";
54
- workbook.Replace(oldValue, 10.0);
55
- //Save to file
56
- workbook.SaveToFile("Replace.xlsx");
57
- </code>
58
- </example>
59
- </summary>
60
- <param name="oldValue">String value to replace.</param>
61
- <param name="newValue">New value for the range with specified string.</param>
62
- """
63
- pass
64
-
65
-
66
- @dispatch
67
-
68
- @abc.abstractmethod
69
- def Replace(self ,oldValue:str,newValue:DateTime):
70
- """
71
- <summary>
72
- Replaces specified string by specified value.
73
- <example>The following code illustrates how to replace the string value with datetime:
74
- <code>
75
- //Create workbook
76
- Workbook workbook = new Workbook();
77
- workbook.LoadFromFile("Sample.xlsx");
78
- //Replace the oldValue by dateTime
79
- string oldValue = "Find";
80
- DateTime dateTime = DateTime.Now;
81
- workbook.Replace(oldValue, dateTime);
82
- //Save to file
83
- workbook.SaveToFile("Replace.xlsx");
84
- </code>
85
- </example>
86
- </summary>
87
- <param name="oldValue">String value to replace.</param>
88
- <param name="newValue">New value for the range with specified string.</param>
89
- """
90
- pass
91
-
92
-
93
- @dispatch
94
-
95
- @abc.abstractmethod
96
- def Replace(self ,oldValue:str,newValues:List[str],isVertical:bool):
97
- """
98
- <summary>
99
- Replaces specified string by data from array.
100
- <example>The following code snippet illustrates how to replace the string with array of string values:
101
- <code>
102
- //Create workbook
103
- Workbook workbook = new Workbook();
104
- workbook.LoadFromFile("Sample.xlsx");
105
- //Replace the oldValue by array of string values
106
- string oldValue = "Find";
107
- string[] newValues = { "X values", "Y values" };
108
- workbook.Replace(oldValue, newValues , true);
109
- //Save to file
110
- workbook.SaveToFile("Replace.xlsx");
111
- </code>
112
- </example>
113
- </summary>
114
- <param name="oldValue">String value to replace.</param>
115
- <param name="newValues">Array of new values.</param>
116
- <param name="isVertical">Indicates whether array should be inserted vertically.</param>
117
- """
118
- pass
119
-
120
-
121
- @dispatch
122
-
123
- @abc.abstractmethod
124
- def Replace(self ,oldValue:str,newValues:List[int],isVertical:bool):
125
- """
126
- <summary>
127
- Replaces specified string by data from array.
128
- <example>The following code snippet illustrates how to replace the string with array of int values:
129
- <code>
130
- //Create workbook
131
- Workbook workbook = new Workbook();
132
- workbook.LoadFromFile("Sample.xlsx");
133
- //Replace the oldValue by array of int values
134
- string oldValue = "Find";
135
- int[] newValues = { 1, 2 };
136
- workbook.Replace(oldValue, newValues, true);
137
- //Save to file
138
- workbook.SaveToFile("Replace.xlsx");
139
- </code>
140
- </example>
141
- </summary>
142
- <param name="oldValue">String value to replace.</param>
143
- <param name="newValues">Array of new values.</param>
144
- <param name="isVertical">Indicates whether array should be inserted vertically.</param>
145
- """
146
- pass
147
-
148
-
149
- @dispatch
150
-
151
- @abc.abstractmethod
152
- def Replace(self ,oldValue:str,newValues:List[float],isVertical:bool):
153
- """
154
- <summary>
155
- Replaces specified string by data from array.
156
- <example>The following code snippet illustrates how to replace the string with array of double values:
157
- <code>
158
- //Create workbook
159
- Workbook workbook = new Workbook();
160
- workbook.LoadFromFile("Sample.xlsx");
161
- //Replace the oldValue by array of double values
162
- string oldValue = "Find";
163
- double[] newValues = { 1.0, 2.0 };
164
- workbook.Replace(oldValue, newValues, true);
165
- //Save to file
166
- workbook.SaveToFile("Replace.xlsx");
167
- </code>
168
- </example>
169
- </summary>
170
- <param name="oldValue">String value to replace.</param>
171
- <param name="newValues">Array of new values.</param>
172
- <param name="isVertical">Indicates whether array should be inserted vertically.</param>
173
- """
174
- pass
175
-
176
-
177
- # @dispatch
178
- #
179
- # @abc.abstractmethod
180
- # def Replace(self ,oldValue:str,newValues:'DataTable',isFieldNamesShown:bool):
181
- # """
182
- # <summary>
183
- # Replaces specified string by data table values.
184
- # <example>The following code snippet illustrates how to replace the string value with data table:
185
- # <code>
186
- # //Create workbook
187
- # Workbook workbook = new Workbook();
188
- # workbook.LoadFromFile("Sample.xlsx");
189
- # //Replace the oldValue by data table
190
- # string oldValue = "Find";
191
- # System.Data.DataTable table = new System.Data.DataTable();
192
- # table.Columns.Add("Dosage", typeof(int));
193
- # table.Rows.Add(1);
194
- # workbook.Replace(oldValue, table, true);
195
- # //Save to file
196
- # workbook.SaveToFile("Replace.xlsx");
197
- # </code>
198
- # </example>
199
- # </summary>
200
- # <param name="oldValue">String value to replace.</param>
201
- # <param name="newValues">Data table with new data.</param>
202
- # <param name="isFieldNamesShown">Indicates whether field name must be shown.</param>
203
- # """
204
- # pass
205
- #
206
-
207
-
208
- # @dispatch
209
- #
210
- # @abc.abstractmethod
211
- # def Replace(self ,oldValue:str,newValues:'DataColumn',isFieldNamesShown:bool):
212
- # """
213
- # <summary>
214
- # Replaces specified string by data column values.
215
- # <example>The following code snippet illustrates how to replace the string value with data column:
216
- # <code>
217
- # //Create workbook
218
- # Workbook workbook = new Workbook();
219
- # workbook.LoadFromFile("Sample.xlsx");
220
- # //Replace the oldValue by data column
221
- # string oldValue = "Find";
222
- # System.Data.DataTable table = new System.Data.DataTable();
223
- # table.Columns.Add("Dosage", typeof(int));
224
- # table.Rows.Add(1);
225
- # System.Data.DataColumn dataColumn = table.Columns[0];
226
- # workbook.Replace(oldValue, dataColumn, true);
227
- # //Save to file
228
- # workbook.SaveToFile("Replace.xlsx");
229
- # </code>
230
- # </example>
231
- # </summary>
232
- # <param name="oldValue">String value to replace.</param>
233
- # <param name="newValues">Data table with new data.</param>
234
- # <param name="isFieldNamesShown">Indicates whether field name must be shown.</param>
235
- # """
236
- # pass
237
- #
238
-
239
-
240
- @dispatch
241
-
242
- @abc.abstractmethod
243
- def FindOne(self ,findValue:str,flags:FindType)->IXLSRange:
244
- """
245
- <summary>
246
- This method seraches for the first cell with specified string value.
247
- <example>This sample shows how to find the first cell with specified string value:
248
- <code>
249
- //Create workbook
250
- Workbook workbook = new Workbook();
251
- workbook.LoadFromFile("Sample.xlsx");
252
- //Find cell with specified string value
253
- string value = "value";
254
- IXLSRange result = workbook.FindString(value, false, false);
255
- </code>
256
- </example>
257
- </summary>
258
- <param name="findValue">Value to search.</param>
259
- <param name="flags">Type of value to search.</param>
260
- <returns>First found cell, or Null if value was not found.</returns>
261
- """
262
- pass
263
-
264
-
265
- @dispatch
266
-
267
- @abc.abstractmethod
268
- def FindOne(self ,findValue:float,flags:FindType)->IXLSRange:
269
- """
270
- <summary>
271
- This method seraches for the first cell with specified double value.
272
- <example>This sample shows how to find the first cell with specified double value:
273
- <code>
274
- //Create workbook
275
- Workbook workbook = new Workbook();
276
- workbook.LoadFromFile("Sample.xlsx");
277
- //Find cell with specified double value
278
- double value = 9.00;
279
- IXLSRange result = workbook.FindNumber(value, false);
280
- </code>
281
- </example>
282
- </summary>
283
- <param name="findValue">Value to search.</param>
284
- <param name="flags">Type of value to search.</param>
285
- <returns>First found cell, or Null if value was not found.</returns>
286
- """
287
- pass
288
-
289
-
290
- @dispatch
291
-
292
- @abc.abstractmethod
293
- def FindOne(self ,findValue:bool)->IXLSRange:
294
- """
295
- <summary>
296
- This method seraches for the first cell with specified bool value.
297
- <example>This sample shows how to find the first cell with specified bool value:
298
- <code>
299
- //Create workbook
300
- Workbook workbook = new Workbook();
301
- workbook.LoadFromFile("Sample.xlsx");
302
- //Find cell with specified bool value
303
- IXLSRange result = workbook.FindBool(true);
304
- </code>
305
- </example>
306
- </summary>
307
- <param name="findValue">Value to search.</param>
308
- <returns>First found cell, or Null if value was not found.</returns>
309
- """
310
- pass
311
-
312
-
313
- @dispatch
314
-
315
- @abc.abstractmethod
316
- def FindOne(self ,findValue:DateTime)->IXLSRange:
317
- """
318
- <summary>
319
- This method seraches for the first cell with specified DateTime value.
320
- <example>This sample shows how to find the first cell with specified DateTime value:
321
- <code>
322
- //Create workbook
323
- Workbook workbook = new Workbook();
324
- workbook.LoadFromFile("Sample.xlsx");
325
- //Find cell with specified DateTime value
326
- DateTime dateTime = DateTime.Now;
327
- IXLSRange result = workbook.FindDateTime(dateTime);
328
- </code>
329
- </example>
330
- </summary>
331
- <param name="findValue">Value to search.</param>
332
- <returns>First found cell, or Null if value was not found.</returns>
333
- """
334
- pass
335
-
336
-
337
- @dispatch
338
-
339
- @abc.abstractmethod
340
- def FindOne(self ,findValue:TimeSpan)->IXLSRange:
341
- """
342
- <summary>
343
- This method seraches for the first cell with specified TimeSpan value.
344
- <example>This sample shows how to find the first cell with specified TimeSpan value:
345
- <code>
346
- //Create workbook
347
- Workbook workbook = new Workbook();
348
- workbook.LoadFromFile("Sample.xlsx");
349
- //Find cell with specified TimeSpan value
350
- TimeSpan timeSpan = new TimeSpan(2, 30, 30);
351
- IXLSRange result = workbook.FindTimeSpan(timeSpan);
352
- </code>
353
- </example>
354
- </summary>
355
- <param name="findValue">Value to search.</param>
356
- <returns>First found cell, or Null if value was not found.</returns>
357
- """
358
- pass
359
-
360
-
361
- # @dispatch
362
- #
363
- # @abc.abstractmethod
364
- # def FindAll(self ,findValue:str,flags:FindType)->ListCellRanges:
365
- # """
366
- # <summary>
367
- # This method seraches for the all cells with specified string value.
368
- # <example>This sample shows how to find all cells with specified string value:
369
- # <code>
370
- # //Create workbook
371
- # Workbook workbook = new Workbook();
372
- # workbook.LoadFromFile("Sample.xlsx");
373
- # //Find cells with specified string value
374
- # string value = "value";
375
- # CellRange[] result = workbook.FindAllString(value , false , false);
376
- # </code>
377
- # </example>
378
- # </summary>
379
- # <param name="findValue">Value to search.</param>
380
- # <param name="flags">Type of value to search.</param>
381
- # <returns>All found cells, or Null if value was not found.</returns>
382
- # """
383
- # pass
384
- #
385
-
386
-
387
- # @dispatch
388
- #
389
- # @abc.abstractmethod
390
- # def FindAll(self ,findValue:float,flags:FindType)->ListCellRanges:
391
- # """
392
- # <summary>
393
- # This method seraches for the all cells with specified double value.
394
- # <example>This sample shows how to find all cells with specified doulbe value:
395
- # <code>
396
- # //Create workbook
397
- # Workbook workbook = new Workbook();
398
- # workbook.LoadFromFile("Sample.xlsx");
399
- # //Find cells with specified double value
400
- # CellRange[] result = workbook.FindAllNumber(100.32 , false);
401
- # </code>
402
- # </example>
403
- # </summary>
404
- # <param name="findValue">Value to search.</param>
405
- # <param name="flags">Type of value to search.</param>
406
- # <returns>All found cells, or Null if value was not found.</returns>
407
- # """
408
- # pass
409
- #
410
-
411
-
412
- # @dispatch
413
- #
414
- # @abc.abstractmethod
415
- # def FindAll(self ,findValue:bool)->ListCellRanges:
416
- # """
417
- # <summary>
418
- # This method seraches for the all cells with specified bool value.
419
- # <example>This sample shows how to find all cells with specified bool value:
420
- # <code>
421
- # //Create workbook
422
- # Workbook workbook = new Workbook();
423
- # workbook.LoadFromFile("Sample.xlsx");
424
- # //Find cells with specified bool value
425
- # CellRange[] result = workbook.FindAllBool(true);
426
- # </code>
427
- # </example>
428
- # </summary>
429
- # <param name="findValue">Value to search.</param>
430
- # <returns>All found cells, or Null if value was not found</returns>
431
- # """
432
- # pass
433
- #
434
-
435
-
436
- # @dispatch
437
- #
438
- # @abc.abstractmethod
439
- # def FindAll(self ,findValue:DateTime)->ListCellRanges:
440
- # """
441
- # <summary>
442
- # This method seraches for the all cells with specified DateTime value.
443
- # <example>This sample shows how to find all cells with specified DateTime value:
444
- # <code>
445
- # //Create workbook
446
- # Workbook workbook = new Workbook();
447
- # workbook.LoadFromFile("Sample.xlsx");
448
- # //Find cells with specified DateTime value
449
- # CellRange[] result = workbook.FindAllDateTime(DateTime.Now);
450
- # </code>
451
- # </example>
452
- # </summary>
453
- # <param name="findValue">Value to search.</param>
454
- # <returns>All found cells, or Null if value was not found.</returns>
455
- # """
456
- # pass
457
- #
458
-
459
-
460
- # @dispatch
461
- #
462
- # @abc.abstractmethod
463
- # def FindAll(self ,findValue:TimeSpan)->ListCellRanges:
464
- # """
465
- # <summary>
466
- # This method seraches for the all cells with specified TimeSpan value.
467
- # <example>This sample shows how to find all cells with specified TimeSpan value:
468
- # <code>
469
- # //Create workbook
470
- # Workbook workbook = new Workbook();
471
- # workbook.LoadFromFile("Sample.xlsx");
472
- # //Find cells with specified TimeSpan value
473
- # TimeSpan value = new TimeSpan(2, 30, 30);
474
- # CellRange[] result = workbook.FindAllTimeSpan(value);
475
- # </code>
476
- # </example>
477
- # </summary>
478
- # <param name="findValue">Value to search.</param>
479
- # <returns>All found cells, or Null if value was not found.</returns>
480
- # """
481
- # pass
482
- #
483
-
484
-
485
- @dispatch
486
-
487
- @abc.abstractmethod
488
- def SaveAs(self ,fileName:str,separator:str):
489
- """
490
- <summary>
491
- Save active WorkSheet using separator.
492
- <example>The following code illustrates how to save the active worksheet in a different file with separator:
493
- <code>
494
- //Create workbook
495
- Workbook workbook = new Workbook();
496
- workbook.LoadFromFile("Sample.xlsx");
497
- //Save to file
498
- workbook.SaveToFile("Result.csv" , ",");
499
- </code>
500
- </example>
501
- </summary>
502
- <param name="fileName">Path to save.</param>
503
- <param name="separator">Current separator.</param>
504
- """
505
- pass
506
-
507
-
508
- @dispatch
509
-
510
- @abc.abstractmethod
511
- def SaveAs(self ,stream:Stream,separator:str):
512
- """
513
- <summary>
514
- Save active WorkSheet using separator.
515
- <example>The following code illustrates how to saves the active worksheet as stream with separator:
516
- <code>
517
- //Create workbook
518
- Workbook workbook = new Workbook();
519
- workbook.LoadFromFile("Sample.xlsx");
520
- //Save to stream
521
- Stream stream = new MemoryStream();
522
- workbook.SaveToFile(stream , ",");
523
- </code>
524
- </example>
525
- </summary>
526
- <param name="stream">Stream to save.</param>
527
- <param name="separator">Current separator.</param>
528
- """
529
- pass
530
-
531
-
532
-
533
- @abc.abstractmethod
534
- def SetSeparators(self ,argumentsSeparator:int,arrayRowsSeparator:int):
535
- """
536
- <summary>
537
- Sets separators for formula parsing.
538
- </summary>
539
- <param name="argumentsSeparator">Arguments separator to set.</param>
540
- <param name="arrayRowsSeparator">Array rows separator to set.</param>
541
- """
542
- pass
543
-
544
-
545
-
546
- @abc.abstractmethod
547
- def Protect(self ,bIsProtectWindow:bool,bIsProtectContent:bool):
548
- """
549
- <summary>
550
- Sets protection for workbook.
551
- </summary>
552
- <param name="bIsProtectWindow">Indicates if protect workbook window.</param>
553
- <param name="bIsProtectContent">Indicates if protect workbook content.</param>
554
- """
555
- pass
556
-
557
-
558
- @abc.abstractmethod
559
- def Unprotect(self):
560
- """
561
- <summary>
562
- Unprotects workbook.
563
- </summary>
564
- """
565
- pass
566
-
567
-
568
-
569
- @abc.abstractmethod
570
- def Clone(self)->'IWorkbook':
571
- """
572
- <summary>
573
- Creates copy of the current instance.
574
- </summary>
575
- <returns>Copy of the current instance.</returns>
576
- """
577
- pass
578
-
579
-
580
-
581
- @abc.abstractmethod
582
- def SetWriteProtectionPassword(self ,password:str):
583
- """
584
- <summary>
585
- This method sets write protection password.
586
- </summary>
587
- <param name="password">Password to set.</param>
588
- """
589
- pass
590
-
591
-
592
- @property
593
-
594
- @abc.abstractmethod
595
- def ActiveSheet(self)->'IWorksheet':
596
- """
597
- <summary>
598
- Returns an object that represents the active sheet (the sheet on top)
599
- in the active workbook or in the specified window or workbook. Returns
600
- Nothing if no sheet is active. Read-only.
601
- </summary>
602
- """
603
- pass
604
-
605
-
606
- @property
607
- @abc.abstractmethod
608
- def ActiveSheetIndex(self)->int:
609
- """
610
- <summary>
611
- Gets / sets index of the active sheet.
612
- </summary>
613
- """
614
- pass
615
-
616
-
617
- @ActiveSheetIndex.setter
618
- @abc.abstractmethod
619
- def ActiveSheetIndex(self, value:int):
620
- """
621
-
622
- """
623
- pass
624
-
625
-
626
- @property
627
-
628
- @abc.abstractmethod
629
- def AddInFunctions(self)->'IAddInFunctions':
630
- """
631
- <summary>
632
- Returns collection of all workbook's add-in functions. Read-only.
633
- </summary>
634
- """
635
- pass
636
-
637
-
638
- @property
639
-
640
- @abc.abstractmethod
641
- def Author(self)->str:
642
- """
643
- <summary>
644
- Returns or sets the author of the comment. Read-only String.
645
- </summary>
646
- """
647
- pass
648
-
649
-
650
- @Author.setter
651
- @abc.abstractmethod
652
- def Author(self, value:str):
653
- """
654
-
655
- """
656
- pass
657
-
658
-
659
- @property
660
- @abc.abstractmethod
661
- def IsHScrollBarVisible(self)->bool:
662
- """
663
- <summary>
664
- Gets or sets a value indicating whether to display horizontal scroll bar.
665
- <example>This sample shows how to hide horizontal scroll bar:
666
- <code>
667
- //Create workbook
668
- Workbook workbook = new Workbook();
669
- //Hide horizontal scroll bar
670
- workbook.IsHScrollBarVisible = false;
671
- //Save to file
672
- workbook.SaveToFile("IsHScrollBarVisible.xlsx");
673
- </code>
674
- </example>
675
- </summary>
676
- """
677
- pass
678
-
679
-
680
- @IsHScrollBarVisible.setter
681
- @abc.abstractmethod
682
- def IsHScrollBarVisible(self, value:bool):
683
- """
684
-
685
- """
686
- pass
687
-
688
-
689
- @property
690
- @abc.abstractmethod
691
- def IsVScrollBarVisible(self)->bool:
692
- """
693
- <summary>
694
- Gets or sets a value indicating whether to display vertical scroll bar.
695
- <example>This sample shows how to hide vertical scroll bar:
696
- <code>
697
- //Create workbook
698
- Workbook workbook = new Workbook();
699
- //Hide vertical scroll bar
700
- workbook.IsVScrollBarVisible = false;
701
- //Save to file
702
- workbook.SaveToFile("IsVScrollBarVisible.xlsx");
703
- </code>
704
- </example>
705
- </summary>
706
- """
707
- pass
708
-
709
-
710
- @IsVScrollBarVisible.setter
711
- @abc.abstractmethod
712
- def IsVScrollBarVisible(self, value:bool):
713
- """
714
-
715
- """
716
- pass
717
-
718
-
719
- @property
720
-
721
- @abc.abstractmethod
722
- def BuiltInDocumentProperties(self)->'IBuiltInDocumentProperties':
723
- """
724
- <summary>
725
- Returns collection that represents all the built-in document properties
726
- for the specified workbook. Read-only.
727
- <example>The following code snippet illustrates how to get the built in document properties:
728
- <code>
729
- //Create workbook
730
- Workbook workbook = new Workbook();
731
- workbook.LoadFromFile("Sample.xlsx");
732
- //Get the built in document properties
733
- IBuiltInDocumentProperties builtInDocumentProperties = workbook.DocumentProperties;
734
- </code>
735
- </example>
736
- </summary>
737
- """
738
- pass
739
-
740
-
741
- @property
742
-
743
- @abc.abstractmethod
744
- def CodeName(self)->str:
745
- """
746
- <summary>
747
- Name which is used by macros to access the workbook items.
748
- </summary>
749
- """
750
- pass
751
-
752
-
753
- @CodeName.setter
754
- @abc.abstractmethod
755
- def CodeName(self, value:str):
756
- """
757
-
758
- """
759
- pass
760
-
761
-
762
- @property
763
-
764
- @abc.abstractmethod
765
- def CustomDocumentProperties(self)->'ICustomDocumentProperties':
766
- """
767
- <summary>
768
- Returns collection that represents all the custom document properties
769
- for the specified workbook. Read-only.
770
- <example>The following code snippet illustrates how to get the custom document properties:
771
- <code>
772
- //Create workbook
773
- Workbook workbook = new Workbook();
774
- workbook.LoadFromFile("Sample.xlsx");
775
- //Get the document properties
776
- ICustomDocumentProperties documentProperties = workbook.CustomDocumentProperties;
777
- </code>
778
- </example>
779
- </summary>
780
- """
781
- pass
782
-
783
-
784
- @property
785
- @abc.abstractmethod
786
- def Date1904(self)->bool:
787
- """
788
- <summary>
789
- True if the workbook uses the 1904 date system. Read / write Boolean.
790
- </summary>
791
- """
792
- pass
793
-
794
-
795
- @Date1904.setter
796
- @abc.abstractmethod
797
- def Date1904(self, value:bool):
798
- """
799
-
800
- """
801
- pass
802
-
803
-
804
- @property
805
- @abc.abstractmethod
806
- def IsDisplayPrecision(self)->bool:
807
- """
808
- <summary>
809
- True if cell is protected.
810
- </summary>
811
- """
812
- pass
813
-
814
-
815
- @IsDisplayPrecision.setter
816
- @abc.abstractmethod
817
- def IsDisplayPrecision(self, value:bool):
818
- """
819
-
820
- """
821
- pass
822
-
823
-
824
- @property
825
- @abc.abstractmethod
826
- def IsCellProtection(self)->bool:
827
- """
828
- <summary>
829
- True if cell is protected.
830
- </summary>
831
- """
832
- pass
833
-
834
-
835
- @property
836
- @abc.abstractmethod
837
- def IsWindowProtection(self)->bool:
838
- """
839
- <summary>
840
- True if window is protected.
841
- </summary>
842
- """
843
- pass
844
-
845
-
846
- @property
847
-
848
- @abc.abstractmethod
849
- def Names(self)->'INameRanges':
850
- """
851
- <summary>
852
- For an ReservedHandle object, returns a Names collection that represents
853
- all the names in the active workbook. For a Workbook object, returns
854
- a Names collection that represents all the names in the specified
855
- workbook (including all worksheet-specific names).
856
- <example>The following code snippet illustrates how to get names:
857
- <code>
858
- //Create workbook
859
- Workbook workbook = new Workbook();
860
- workbook.LoadFromFile("Sample.xlsx");
861
- //Get names
862
- INameRanges names = workbook.NameRanges;
863
- </code>
864
- </example>
865
- </summary>
866
- """
867
- pass
868
-
869
-
870
- @property
871
- @abc.abstractmethod
872
- def ReadOnly(self)->bool:
873
- """
874
- <summary>
875
- True if the workbook has been opened as Read-only. Read-only Boolean.
876
- </summary>
877
- """
878
- pass
879
-
880
-
881
- @property
882
- @abc.abstractmethod
883
- def Saved(self)->bool:
884
- """
885
- <summary>
886
- True if no changes have been made to the specified workbook since
887
- it was last saved. Read/write Boolean.
888
- </summary>
889
- """
890
- pass
891
-
892
-
893
- @Saved.setter
894
- @abc.abstractmethod
895
- def Saved(self, value:bool):
896
- """
897
-
898
- """
899
- pass
900
-
901
-
902
- @property
903
-
904
- @abc.abstractmethod
905
- def Styles(self)->'IStyles':
906
- """
907
- <summary>
908
- Returns a Styles collection that represents all the styles
909
- in the specified workbook. Read-only.
910
- <example>The following code snippet illustrates how to get the Styles:
911
- <code>
912
- //Create worksheet
913
- Workbook workbook = new Workbook();
914
- Worksheet worksheet = workbook.Worksheets[0];
915
- //Set styles
916
- IStyles styles = workbook.Styles;
917
- </code>
918
- </example>
919
- </summary>
920
- """
921
- pass
922
-
923
-
924
- @property
925
-
926
- @abc.abstractmethod
927
- def Worksheets(self)->'IWorksheets':
928
- """
929
- <summary>
930
- Returns a Sheets collection that represents all the worksheets
931
- in the specified workbook. Read-only Sheets object.
932
- </summary>
933
- """
934
- pass
935
-
936
-
937
- @property
938
- @abc.abstractmethod
939
- def HasMacros(self)->bool:
940
- """
941
- <summary>
942
- True indicate that opened workbook contains VBA macros.
943
- </summary>
944
- """
945
- pass
946
-
947
-
948
- @property
949
-
950
- @abc.abstractmethod
951
- def Palette(self)->List['Color']:
952
- """
953
- <summary>
954
- Get Palette of colors which an Excel document can have.
955
- Here is a table of color indexes to places in the color tool box
956
- provided by Excel application:
957
- --------------------------------------------
958
- | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
959
- ---+----------------------------------------
960
- |1 | 00 | 51 | 50 | 49 | 47 | 10 | 53 | 54 |
961
- |2 | 08 | 45 | 11 | 09 | 13 | 04 | 46 | 15 |
962
- |3 | 02 | 44 | 42 | 48 | 41 | 40 | 12 | 55 |
963
- |4 | 06 | 43 | 05 | 03 | 07 | 32 | 52 | 14 |
964
- |5 | 37 | 39 | 35 | 34 | 33 | 36 | 38 | 01 |
965
- ---+----------------------------------------
966
- |6 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
967
- |7 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
968
- --------------------------------------------
969
- <example>The following code illustrates how to access the default colors of excel color palette:
970
- <code>
971
- //Create worksheet
972
- Workbook workbook = new Workbook();
973
- Worksheet worksheet = workbook.Worksheets[0];
974
- //Get colors
975
- System.Drawing.Color[] colors = workbook.Colors;
976
- //Get color
977
- System.Drawing.Color color = colors[2];
978
- //Set color
979
- worksheet["B2"].Style.Color = color;
980
- //Save to file
981
- workbook.SaveToFile("CellFormats.xlsx");
982
- </code>
983
- </example>
984
- </summary>
985
- """
986
- pass
987
-
988
-
989
-
990
- @property
991
- @abc.abstractmethod
992
- def DisplayedTab(self)->int:
993
- """
994
- <summary>
995
- Index of tab which will be displayed on document open.
996
- </summary>
997
- """
998
- pass
999
-
1000
-
1001
- @DisplayedTab.setter
1002
- @abc.abstractmethod
1003
- def DisplayedTab(self, value:int):
1004
- """
1005
-
1006
- """
1007
- pass
1008
-
1009
-
1010
- @property
1011
-
1012
- @abc.abstractmethod
1013
- def Charts(self)->'ICharts':
1014
- """
1015
- <summary>
1016
- Collection of the chart objects.
1017
- </summary>
1018
- """
1019
- pass
1020
-
1021
-
1022
- @property
1023
- @abc.abstractmethod
1024
- def ThrowOnUnknownNames(self)->bool:
1025
- """
1026
- <summary>
1027
- Indicates whether exception should be thrown when unknown
1028
- name was found in a formula.
1029
- </summary>
1030
- """
1031
- pass
1032
-
1033
-
1034
- @ThrowOnUnknownNames.setter
1035
- @abc.abstractmethod
1036
- def ThrowOnUnknownNames(self, value:bool):
1037
- """
1038
-
1039
- """
1040
- pass
1041
-
1042
-
1043
- @property
1044
- @abc.abstractmethod
1045
- def DisableMacrosStart(self)->bool:
1046
- """
1047
- <summary>
1048
- This Property allows users to disable load of macros from
1049
- document. Excel on file open will simply skip macros and will
1050
- work as if document does not contain them. This options works
1051
- only when file contains macros (HasMacros property is True).
1052
- </summary>
1053
- """
1054
- pass
1055
-
1056
-
1057
- @DisableMacrosStart.setter
1058
- @abc.abstractmethod
1059
- def DisableMacrosStart(self, value:bool):
1060
- """
1061
-
1062
- """
1063
- pass
1064
-
1065
-
1066
- @property
1067
- @abc.abstractmethod
1068
- def StandardFontSize(self)->float:
1069
- """
1070
- <summary>
1071
- Returns or sets the standard font size, in points. Read/write.
1072
- <example>The following code illustrates how to set the standard font size for the workbook:
1073
- <code>
1074
- //Create worksheet
1075
- Workbook workbook = new Workbook();
1076
- Worksheet worksheet = workbook.Worksheets[0];
1077
- //Set text
1078
- worksheet["B2"].Text = "Text";
1079
- //Set standard font
1080
- workbook.DefaultFontName = "Arial";
1081
- //Set standard font size
1082
- workbook.DefaultFontSize = 18;
1083
- //Save to file
1084
- workbook.SaveToFile("CellFormats.xlsx");
1085
- </code>
1086
- </example>
1087
- </summary>
1088
- """
1089
- pass
1090
-
1091
-
1092
- @StandardFontSize.setter
1093
- @abc.abstractmethod
1094
- def StandardFontSize(self, value:float):
1095
- """
1096
-
1097
- """
1098
- pass
1099
-
1100
-
1101
- @property
1102
-
1103
- @abc.abstractmethod
1104
- def StandardFont(self)->str:
1105
- """
1106
- <summary>
1107
- Returns or sets the name of the standard font. Read/write String.
1108
- <example>The following code illustrates how to set the standard font for the workbook:
1109
- <code>
1110
- //Create worksheet
1111
- Workbook workbook = new Workbook();
1112
- Worksheet worksheet = workbook.Worksheets[0];
1113
- //Set text
1114
- worksheet["B2"].Text = "Text";
1115
- //Set standard font
1116
- workbook.DefaultFontName = "Arial";
1117
- //Set standard font size
1118
- workbook.DefaultFontSize = 18;
1119
- //Save to file
1120
- workbook.SaveToFile("CellFormats.xlsx");
1121
- </code>
1122
- </example>
1123
- </summary>
1124
- """
1125
- pass
1126
-
1127
-
1128
- @StandardFont.setter
1129
- @abc.abstractmethod
1130
- def StandardFont(self, value:str):
1131
- """
1132
-
1133
- """
1134
- pass
1135
-
1136
-
1137
- @property
1138
- @abc.abstractmethod
1139
- def Allow3DRangesInDataValidation(self)->bool:
1140
- """
1141
- <summary>
1142
- Indicates whether to allow usage of 3D ranges in DataValidation
1143
- list property (MS Excel doesn't allow).
1144
- </summary>
1145
- """
1146
- pass
1147
-
1148
-
1149
- @Allow3DRangesInDataValidation.setter
1150
- @abc.abstractmethod
1151
- def Allow3DRangesInDataValidation(self, value:bool):
1152
- """
1153
-
1154
- """
1155
- pass
1156
-
1157
-
1158
- @property
1159
-
1160
- @abc.abstractmethod
1161
- def RowSeparator(self)->str:
1162
- """
1163
- <summary>
1164
- Gets / sets row separator for array parsing.
1165
- </summary>
1166
- """
1167
- pass
1168
-
1169
-
1170
- @property
1171
-
1172
- @abc.abstractmethod
1173
- def ArgumentsSeparator(self)->str:
1174
- """
1175
- <summary>
1176
- Formula arguments separator.
1177
- </summary>
1178
- """
1179
- pass
1180
-
1181
-
1182
- @property
1183
- @abc.abstractmethod
1184
- def IsRightToLeft(self)->bool:
1185
- """
1186
- <summary>
1187
- Indicates whether worksheet is displayed right to left.
1188
- </summary>
1189
- """
1190
- pass
1191
-
1192
-
1193
- @IsRightToLeft.setter
1194
- @abc.abstractmethod
1195
- def IsRightToLeft(self, value:bool):
1196
- """
1197
-
1198
- """
1199
- pass
1200
-
1201
-
1202
- @property
1203
- @abc.abstractmethod
1204
- def DisplayWorkbookTabs(self)->bool:
1205
- """
1206
- <summary>
1207
- Indicates whether tabs are visible.
1208
- </summary>
1209
- """
1210
- pass
1211
-
1212
-
1213
- @DisplayWorkbookTabs.setter
1214
- @abc.abstractmethod
1215
- def DisplayWorkbookTabs(self, value:bool):
1216
- """
1217
-
1218
- """
1219
- pass
1220
-
1221
-
1222
- @property
1223
-
1224
- @abc.abstractmethod
1225
- def TabSheets(self)->'ITabSheets':
1226
- """
1227
- <summary>
1228
- Returns collection of tab sheets. Read-only.
1229
- </summary>
1230
- """
1231
- pass
1232
-
1233
-
1234
- @property
1235
- @abc.abstractmethod
1236
- def DetectDateTimeInValue(self)->bool:
1237
- """
1238
- <summary>
1239
- Indicates whether library should try to detect string value passed to Value (and Value2)
1240
- property as DateTime. Setting this property to false can increase performance greatly for
1241
- such operations especially on Framework 1.0 and 1.1. Default value is true.
1242
- </summary>
1243
- """
1244
- pass
1245
-
1246
-
1247
- @DetectDateTimeInValue.setter
1248
- @abc.abstractmethod
1249
- def DetectDateTimeInValue(self, value:bool):
1250
- """
1251
-
1252
- """
1253
- pass
1254
-
1255
-
1256
- @property
1257
- @abc.abstractmethod
1258
- def ReadOnlyRecommended(self)->bool:
1259
- """
1260
- <summary>
1261
- True to display a message when the file is opened, recommending that the file be opened as read-only.
1262
- </summary>
1263
- """
1264
- pass
1265
-
1266
-
1267
- @ReadOnlyRecommended.setter
1268
- @abc.abstractmethod
1269
- def ReadOnlyRecommended(self, value:bool):
1270
- """
1271
-
1272
- """
1273
- pass
1274
-
1275
-
1276
- @property
1277
-
1278
- @abc.abstractmethod
1279
- def PasswordToOpen(self)->str:
1280
- """
1281
- <summary>
1282
- Gets / sets password to encrypt document.
1283
- </summary>
1284
- """
1285
- pass
1286
-
1287
-
1288
- @PasswordToOpen.setter
1289
- @abc.abstractmethod
1290
- def PasswordToOpen(self, value:str):
1291
- """
1292
-
1293
- """
1294
- pass
1295
-
1296
-
1297
- @property
1298
- @abc.abstractmethod
1299
- def MaxRowCount(self)->int:
1300
- """
1301
- <summary>
1302
- Returns maximum row count for each worksheet in this workbook. Read-only.
1303
- </summary>
1304
- """
1305
- pass
1306
-
1307
-
1308
- @property
1309
- @abc.abstractmethod
1310
- def MaxColumnCount(self)->int:
1311
- """
1312
- <summary>
1313
- Returns maximum column count for each worksheet in this workbook. Read-only.
1314
- </summary>
1315
- """
1316
- pass
1317
-
1318
-
1319
- @property
1320
-
1321
- @abc.abstractmethod
1322
- def Version(self)->'ExcelVersion':
1323
- """
1324
- <summary>
1325
- Gets / sets excel version.
1326
- </summary>
1327
- """
1328
- pass
1329
-
1330
-
1331
- @Version.setter
1332
- @abc.abstractmethod
1333
- def Version(self, value:'ExcelVersion'):
1334
- """
1335
-
1336
- """
1337
- pass
1338
-
1339
-
1340
- @property
1341
-
1342
- @abc.abstractmethod
1343
- def PivotCaches(self)->'XlsPivotCachesCollection':
1344
- """
1345
- <summary>
1346
- Returns pivot caches collection. Read-only.
1347
- <example>The following code snippet illustrates how to get pivot caches:
1348
- <code>
1349
- //Load workbook
1350
- Workbook workbook = new Workbook();
1351
- workbook.LoadFromFile("Sample.xlsx");
1352
- //Gets pivot caches collection
1353
- IPivotCaches pivotCaches = workbook.PivotCaches;
1354
- </code>
1355
- </example>
1356
- </summary>
1357
- """
1358
- pass
1359
-
1360
-
1361
- @abc.abstractmethod
1362
- def Activate(self):
1363
- """
1364
- <summary>
1365
- Activates the first window associated with the workbook.
1366
- </summary>
1367
- """
1368
- pass
1369
-
1370
-
1371
-
1372
- @abc.abstractmethod
1373
- def AddFont(self ,fontToAdd:'IFont')->'IFont':
1374
- """
1375
- <summary>
1376
- Adds font to the inner fonts collection and makes this font read-only.
1377
- </summary>
1378
- <param name="fontToAdd">Font to add.</param>
1379
- <returns>Added font.</returns>
1380
- """
1381
- pass
1382
-
1383
-
1384
- @dispatch
1385
-
1386
- @abc.abstractmethod
1387
- def Close(self ,SaveChanges:bool,Filename:str):
1388
- """
1389
- <summary>
1390
- Closes the object.
1391
- </summary>
1392
- <param name="SaveChanges">If True, all changes will be saved.</param>
1393
- <param name="Filename">Name of the file.</param>
1394
- """
1395
- pass
1396
-
1397
-
1398
- @dispatch
1399
-
1400
- @abc.abstractmethod
1401
- def Close(self ,saveChanges:bool):
1402
- """
1403
- <summary>
1404
- Closes the object.
1405
- </summary>
1406
- <param name="saveChanges">If True, all changes will be saved.</param>
1407
- """
1408
- pass
1409
-
1410
-
1411
- @dispatch
1412
- @abc.abstractmethod
1413
- def Close(self):
1414
- """
1415
- <summary>
1416
- Closes the object without saving.
1417
- </summary>
1418
- """
1419
- pass
1420
-
1421
-
1422
- @dispatch
1423
-
1424
- @abc.abstractmethod
1425
- def Close(self ,Filename:str):
1426
- """
1427
- <summary>
1428
- Closes the object and saves changes into specified file.
1429
- </summary>
1430
- <param name="Filename">
1431
- File name in which workbook will be saved if SaveChanges is true.
1432
- </param>
1433
- """
1434
- pass
1435
-
1436
-
1437
- @abc.abstractmethod
1438
- def CopyToClipboard(self):
1439
- """
1440
- <summary>
1441
- Copies workbook to the clipboard.
1442
- </summary>
1443
- """
1444
- pass
1445
-
1446
-
1447
-
1448
- @abc.abstractmethod
1449
- def CreateTemplateMarkersProcessor(self)->'IMarkersDesigner':
1450
- """
1451
- <summary>
1452
- Creates object that can be used for template markers processing.
1453
- </summary>
1454
- <returns>Object that can be used for template markers processing.</returns>
1455
- """
1456
- pass
1457
-
1458
-
1459
- @abc.abstractmethod
1460
- def Save(self):
1461
- """
1462
- <summary>
1463
- Saves changes to the specified workbook.
1464
- <example>This sample shows how to save changes to the specified workbook:
1465
- <code>
1466
- //Load workbook
1467
- Workbook workbook = new Workbook();
1468
- workbook.LoadFromFile("Sample.xlsx");
1469
- //Save to file
1470
- workbook.Save();
1471
- </code>
1472
- </example>
1473
- </summary>
1474
- """
1475
- pass
1476
-
1477
-
1478
- @dispatch
1479
-
1480
- @abc.abstractmethod
1481
- def SaveAs(self ,Filename:str):
1482
- """
1483
- <summary>
1484
- Short variant of SaveAs method.
1485
- </summary>
1486
- <param name="Filename"></param>
1487
- """
1488
- pass
1489
-
1490
-
1491
- @dispatch
1492
-
1493
- @abc.abstractmethod
1494
- def SaveAs(self ,Filename:str,saveType:ExcelSaveType):
1495
- """
1496
- <summary>
1497
- Short variant of SaveAs method.
1498
- </summary>
1499
- <param name="Filename">Name of the file.</param>
1500
- <param name="saveType">Excel save type.</param>
1501
- """
1502
- pass
1503
-
1504
-
1505
-
1506
- @abc.abstractmethod
1507
- def SaveAsHtml(self ,filename:str,saveOptions:'HTMLOptions'):
1508
- """
1509
- <summary>
1510
- Saves changes to the specified stream.
1511
- </summary>
1512
- <param name="filename">Name of the file.</param>
1513
- <param name="saveOptions">Save options in html.</param>
1514
- """
1515
- pass
1516
-
1517
-
1518
- @dispatch
1519
-
1520
- @abc.abstractmethod
1521
- def SaveAs(self ,stream:Stream):
1522
- """
1523
- <summary>
1524
- Saves changes to the specified stream.
1525
- </summary>
1526
- <param name="stream">Stream that will receive workbook data.</param>
1527
- """
1528
- pass
1529
-
1530
-
1531
- @dispatch
1532
-
1533
- @abc.abstractmethod
1534
- def SaveAs(self ,stream:Stream,saveType:ExcelSaveType):
1535
- """
1536
- <summary>
1537
- Saves changes to the specified stream.
1538
- </summary>
1539
- <param name="stream">Stream that will receive workbook data.</param>
1540
- <param name="saveType">Type of the Excel file.</param>
1541
- """
1542
- pass
1543
-
1544
-
1545
- # @dispatch
1546
- #
1547
- # @abc.abstractmethod
1548
- # def SaveAs(self ,fileName:str,saveType:ExcelSaveType,response:'HttpResponse'):
1549
- # """
1550
- # <summary>
1551
- # Saves changes to the specified HttpResponse.
1552
- # </summary>
1553
- # <param name="fileName">Name of the file in HttpResponse.</param>
1554
- # <param name="saveType">Type of the Excel file.</param>
1555
- # <param name="response">HttpResponse that will receive workbook's data.</param>
1556
- # """
1557
- # pass
1558
- #
1559
-
1560
-
1561
- # @dispatch
1562
- #
1563
- # @abc.abstractmethod
1564
- # def SaveAs(self ,fileName:str,response:'HttpResponse'):
1565
- # """
1566
- # <summary>
1567
- # Saves changes to the specified HttpResponse.
1568
- # </summary>
1569
- # <param name="fileName">Name of the file in HttpResponse.</param>
1570
- # <param name="response">HttpResponse to save in.</param>
1571
- # """
1572
- # pass
1573
- #
1574
-
1575
-
1576
-
1577
- @abc.abstractmethod
1578
- def SetPaletteColor(self ,index:int,color:'Color'):
1579
- """
1580
- <summary>
1581
- Set user color for specified element in Color table.
1582
- <example>The following code snippet illustrates how to set palette color:
1583
- <code>
1584
- //Create worksheet
1585
- Workbook workbook = new Workbook();
1586
- Worksheet worksheet = workbook.Worksheets[0];
1587
- //Set palette color
1588
- workbook.ChangePaletteColor(System.Drawing.Color.Red , 10);
1589
- //Set color
1590
- worksheet["B2"].Style.Color = workbook.Colors[10];
1591
- //Save to file
1592
- workbook.SaveToFile("CellFormats.xlsx");
1593
- </code>
1594
- </example>
1595
- </summary>
1596
- <param name="index">Index of Color in array.</param>
1597
- <param name="color">New color which must be set.</param>
1598
- """
1599
- pass
1600
-
1601
-
1602
- @abc.abstractmethod
1603
- def ResetPalette(self):
1604
- """
1605
- <summary>
1606
- Recover palette to default values.
1607
- <example>The following code snippets illustrates how to reset the palette:
1608
- <code>
1609
- //Create worksheet
1610
- Workbook workbook = new Workbook();
1611
- Worksheet worksheet = workbook.Worksheets[0];
1612
- //Get colors
1613
- System.Drawing.Color[] colors = workbook.Colors;
1614
- //Check color
1615
- Console.WriteLine(colors[2].Name);
1616
- //Set color
1617
- colors[2] = System.Drawing.Color.Yellow;
1618
- //Reset palette
1619
- workbook.ResetPalette();
1620
- //Check color
1621
- Console.WriteLine(workbook.Colors[2].Name);
1622
- //Save to file
1623
- workbook.SaveToFile("CellFormats.xlsx");
1624
- </code>
1625
- </example>
1626
- </summary>
1627
- """
1628
- pass
1629
-
1630
-
1631
-
1632
- @abc.abstractmethod
1633
- def GetPaletteColor(self ,color:'ExcelColors')->'Color':
1634
- """
1635
- <summary>
1636
- Method return Color object from workbook palette by its index.
1637
- <example>The following code illustrates how to get the RGB color value for the specified color from ExcelColors enumeration:
1638
- <code>
1639
- //Create worksheet
1640
- Workbook workbook = new Workbook();
1641
- Worksheet worksheet = workbook.Worksheets[0];
1642
- //Get color
1643
- System.Drawing.Color color = workbook.GetPaletteColor(ExcelColors.Red);
1644
- //Set color
1645
- worksheet["B2"].Style.Color = workbook.Colors[10];
1646
- //Save to file
1647
- workbook.SaveToFile("CellFormats.xlsx");
1648
- </code>
1649
- </example>
1650
- </summary>
1651
- <param name="color">Index from palette array.</param>
1652
- <returns>RGB Color.</returns>
1653
- """
1654
- pass
1655
-
1656
-
1657
- @dispatch
1658
-
1659
- @abc.abstractmethod
1660
- def GetNearestColor(self ,color:Color)->ExcelColors:
1661
- """
1662
- <summary>
1663
- Gets the nearest color to the specified Color structure
1664
- from Workbook palette.
1665
- <example>The following code illustrates how to get the indexed color from ExcelColors for the given color from Color structure:
1666
- <code>
1667
- //Create worksheet
1668
- Workbook workbook = new Workbook();
1669
- Worksheet worksheet = workbook.Worksheets[0];
1670
- //Get color
1671
- ExcelColors color = workbook.GetMatchingColor(System.Drawing.Color.Red);
1672
- //Set color
1673
- worksheet["B2"].Style.KnownColor = color;
1674
- //Save to file
1675
- workbook.SaveToFile("CellFormats.xlsx");
1676
- </code>
1677
- </example>
1678
- </summary>
1679
- <param name="color">System color.</param>
1680
- <returns>Color index from workbook palette.</returns>
1681
- """
1682
- pass
1683
-
1684
-
1685
- @dispatch
1686
-
1687
- @abc.abstractmethod
1688
- def GetNearestColor(self ,r:int,g:int,b:int)->ExcelColors:
1689
- """
1690
- <summary>
1691
- Gets the nearest color to the specified by red, green, and blue
1692
- values color from Workbook palette.
1693
- <example>The following code illustrates how to get the indexed color from ExcelColors for the given color from Color structure:
1694
- <code>
1695
- //Create worksheet
1696
- Workbook workbook = new Workbook();
1697
- Worksheet worksheet = workbook.Worksheets[0];
1698
- //Get color
1699
- ExcelColors color = workbook.GetMatchingColor(255, 0, 0);
1700
- //Set color
1701
- worksheet["B2"].Style.KnownColor = color;
1702
- //Save to file
1703
- workbook.SaveToFile("CellFormats.xlsx");
1704
- </code>
1705
- </example>
1706
- </summary>
1707
- <param name="r">Red component of the color.</param>
1708
- <param name="g">Green component of the color.</param>
1709
- <param name="b">Blue component of the color.</param>
1710
- <returns>Color index from workbook palette.</returns>
1711
- """
1712
- pass
1713
-
1714
-
1715
- @dispatch
1716
-
1717
- @abc.abstractmethod
1718
- def SetColorOrGetNearest(self ,color:Color)->ExcelColors:
1719
- """
1720
- <summary>
1721
- If there is at least one free color, define a new color;
1722
- if not, search for the closest one.
1723
- </summary>
1724
- <param name="color"></param>
1725
- <returns>Color index from workbook palette.</returns>
1726
- """
1727
- pass
1728
-
1729
-
1730
- @dispatch
1731
-
1732
- @abc.abstractmethod
1733
- def SetColorOrGetNearest(self ,r:int,g:int,b:int)->ExcelColors:
1734
- """
1735
- <summary>
1736
- If there is at least one free color, define a new color;
1737
- if not, search for the closest one.
1738
- </summary>
1739
- <param name="r">Red component of the color.</param>
1740
- <param name="g">Green component of the color.</param>
1741
- <param name="b">Blue component of the color.</param>
1742
- <returns>Color index from workbook palette.</returns>
1743
- """
1744
- pass
1745
-
1746
-
1747
- @dispatch
1748
-
1749
- @abc.abstractmethod
1750
- def CreateFont(self)->IFont:
1751
- """
1752
- <summary>
1753
- Method to create a font object and register it in the workbook.
1754
- <example>The following code illustrates how to create IFont object:
1755
- <code>
1756
- //Create worksheet
1757
- Workbook workbook = new Workbook();
1758
- Worksheet worksheet = workbook.Worksheets[0];
1759
- //Set text
1760
- IRichTextString richText = worksheet["B2"].RichText;
1761
- //Create font
1762
- IFont font = workbook.CreateFont();
1763
- //Set color
1764
- font.Color = Color.Red;
1765
- //Set text
1766
- richText.Text = "Sample";
1767
- //Set font
1768
- richText.SetFont(0, 5, font);
1769
- //Save to file
1770
- workbook.SaveToFile("CellFormats.xlsx");
1771
- </code>
1772
- </example>
1773
- </summary>
1774
- <returns>Newly created font.</returns>
1775
- """
1776
- pass
1777
-
1778
-
1779
- @dispatch
1780
-
1781
- @abc.abstractmethod
1782
- def CreateFont(self ,baseFont:IFont)->IFont:
1783
- """
1784
- <summary>
1785
- Method that creates font object based on another font object
1786
- and registers it in the workbook.
1787
- </summary>
1788
- <param name="baseFont">Base font for the new one.</param>
1789
- <returns>Newly created font.</returns>
1790
- """
1791
- pass
1792
-
1793
-
1794
- @dispatch
1795
-
1796
- @abc.abstractmethod
1797
- def CreateFont(self ,nativeFont:Font)->IFont:
1798
- """
1799
- <summary>
1800
- Method creates a font object based on native font and register it in the workbook.
1801
- </summary>]
1802
- <param name="nativeFont">Native font to get settings from.</param> <returns>Newly created font.</returns>
1803
- """
1804
- pass
1805
-
1806
-