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
@@ -0,0 +1,2638 @@
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 IWorksheet ( ITabSheet, IExcelApplication) :
10
+ """
11
+
12
+ """
13
+
14
+ @abc.abstractmethod
15
+ def Protect(self ,password:str):
16
+ """
17
+ Protects worksheet's content with password.
18
+
19
+ Args:
20
+ password: Password to protect with.
21
+ Example::
22
+
23
+ #Create worksheet
24
+ workbook = Workbook()
25
+ worksheet = workbook.Worksheets[0]
26
+ #Protects the first worksheet's content with password
27
+ worksheet.Protect("123456")
28
+ #Save to file
29
+ workbook.SaveToFile("Protect.xlsx")
30
+
31
+ """
32
+ pass
33
+
34
+
35
+
36
+ @abc.abstractmethod
37
+ def Unprotect(self ,password:str):
38
+ """
39
+ Unprotects worksheet's content with password.
40
+
41
+ Args:
42
+ password: Password to unprotect.
43
+
44
+ """
45
+ pass
46
+
47
+
48
+
49
+ @abc.abstractmethod
50
+ def AutoFitRow(self ,rowIndex:int):
51
+ """
52
+ Autofits specified row.
53
+
54
+ Args:
55
+ rowIndex: One-based row index.
56
+ Example::
57
+
58
+ #Create worksheet
59
+ workbook = Workbook()
60
+ worksheet = workbook.Worksheets[0]
61
+ #Set text
62
+ worksheet["C2"].Value = "Sample text"
63
+ #Set Style
64
+ style = workbook.Styles.Add("CustomStyle")
65
+ font = style.Font
66
+ font.Size = 18
67
+ worksheet["C2"].Style = style
68
+ #Set auto fit
69
+ worksheet.AutoFitRow(2)
70
+ #Save to file
71
+ workbook.SaveToFile("AutoFitRow.xlsx")
72
+
73
+ """
74
+ pass
75
+
76
+
77
+
78
+ @abc.abstractmethod
79
+ def AutoFitColumn(self ,columnIndex:int):
80
+ """
81
+ Autofits specified column.
82
+
83
+ Args:
84
+ columnIndex: One-based column index.
85
+ Example::
86
+
87
+ #Create worksheet
88
+ workbook = Workbook()
89
+ worksheet = workbook.Worksheets[0]
90
+ #Set text
91
+ worksheet["A1"].Text = "Sample text in cell"
92
+ #Set auto fit
93
+ worksheet.AutoFitColumn(1)
94
+ #Save to file
95
+ workbook.SaveToFile("AutoFitColumn.xlsx")
96
+
97
+ """
98
+ pass
99
+
100
+
101
+ @dispatch
102
+
103
+ @abc.abstractmethod
104
+ def Replace(self ,oldValue:str,newValue:str):
105
+ """
106
+ Replaces specified string by specified value.
107
+
108
+ Args:
109
+ oldValue: String value to replace.
110
+ newValue: New value for the range with specified string.
111
+ Example::
112
+
113
+ #Create worksheet
114
+ workbook = Workbook()
115
+ workbook.LoadFromFile("Sample.xlsx")
116
+ worksheet = workbook.Worksheets[0]
117
+ #Replace the oldValue by newValue
118
+ oldValue = "Find"
119
+ newValue = "NewValue"
120
+ worksheet.Replace(oldValue, newValue)
121
+ #Save to file
122
+ workbook.SaveToFile("Replace.xlsx")
123
+
124
+ """
125
+ pass
126
+
127
+
128
+ @dispatch
129
+
130
+ @abc.abstractmethod
131
+ def Replace(self ,oldValue:str,newValue:float):
132
+ """
133
+ Replaces specified string by specified value.
134
+
135
+ Args:
136
+ oldValue: String value to replace.
137
+ newValue: New value for the range with specified string.
138
+ Example::
139
+
140
+ #Create worksheet
141
+ workbook = Workbook()
142
+ workbook.LoadFromFile("Sample.xlsx")
143
+ worksheet = workbook.Worksheets[0]
144
+ #Replace the oldValue by double
145
+ oldValue = "Ten"
146
+ worksheet.Replace(oldValue, 10.0)
147
+ #Save to file
148
+ workbook.SaveToFile("Replace.xlsx")
149
+
150
+ """
151
+ pass
152
+
153
+
154
+ @dispatch
155
+
156
+ @abc.abstractmethod
157
+ def Replace(self ,oldValue:str,newValue:DateTime):
158
+ """
159
+ Replaces specified string by specified value.
160
+
161
+ Args:
162
+ oldValue: String value to replace.
163
+ newValue: New value for the range with specified string.
164
+ Example::
165
+
166
+ #Create worksheet
167
+ workbook = Workbook()
168
+ workbook.LoadFromFile("Sample.xlsx")
169
+ worksheet = workbook.Worksheets[0]
170
+ #Replace the oldValue by dateTime
171
+ oldValue = "Find"
172
+ dateTime = DateTime.Now
173
+ worksheet.Replace(oldValue, dateTime)
174
+ #Save to file
175
+ workbook.SaveToFile("Replace.xlsx")
176
+
177
+ """
178
+ pass
179
+
180
+
181
+ @dispatch
182
+
183
+ @abc.abstractmethod
184
+ def Replace(self ,oldValue:str,newValues:List[str],isVertical:bool):
185
+ """
186
+ Replaces specified string by data from array.
187
+
188
+ Args:
189
+ oldValue: String value to replace.
190
+ newValues: Array of new values.
191
+ isVertical: Indicates whether array should be inserted vertically.
192
+ Example::
193
+
194
+ #Create worksheet
195
+ workbook = Workbook()
196
+ workbook.LoadFromFile("Sample.xlsx")
197
+ worksheet = workbook.Worksheets[0]
198
+ #Replace the oldValue by array of string values
199
+ oldValue = "Find"
200
+ string[] newValues = { "X values", "Y values" }
201
+ worksheet.Replace(oldValue, newValues , true)
202
+ #Save to file
203
+ workbook.SaveToFile("Replace.xlsx")
204
+
205
+ """
206
+ pass
207
+
208
+
209
+ @dispatch
210
+
211
+ @abc.abstractmethod
212
+ def Replace(self ,oldValue:str,newValues:List[int],isVertical:bool):
213
+ """
214
+ Replaces specified string by data from array.
215
+
216
+ Args:
217
+ oldValue: String value to replace.
218
+ newValues: Array of new values.
219
+ isVertical: Indicates whether array should be inserted vertically.
220
+ Example::
221
+
222
+ #Create worksheet
223
+ workbook = Workbook()
224
+ workbook.LoadFromFile("Sample.xlsx")
225
+ worksheet = workbook.Worksheets[0]
226
+ #Replace the oldValue by array of int values
227
+ oldValue = "Find"
228
+ int[] newValues = { 1, 2 }
229
+ worksheet.Replace(oldValue, newValues, true)
230
+ #Save to file
231
+ workbook.SaveToFile("Replace.xlsx")
232
+
233
+ """
234
+ pass
235
+
236
+
237
+ @dispatch
238
+
239
+ @abc.abstractmethod
240
+ def Replace(self ,oldValue:str,newValues:List[float],isVertical:bool):
241
+ """
242
+ Replaces specified string by data from array.
243
+
244
+ Args:
245
+ oldValue: String value to replace.
246
+ newValues: Array of new values.
247
+ isVertical: Indicates whether array should be inserted vertically.
248
+ Example::
249
+
250
+ #Create worksheet
251
+ workbook = Workbook()
252
+ workbook.LoadFromFile("Sample.xlsx")
253
+ worksheet = workbook.Worksheets[0]
254
+ #Replace the oldValue by array of double values
255
+ oldValue = "Find"
256
+ double[] newValues = { 1.0, 2.0 }
257
+ worksheet.Replace(oldValue, newValues, true)
258
+ #Save to file
259
+ workbook.SaveToFile("Replace.xlsx")
260
+
261
+ """
262
+ pass
263
+
264
+
265
+ # @dispatch
266
+ #
267
+ # @abc.abstractmethod
268
+ # def Replace(self ,oldValue:str,newValues:'DataTable',isFieldNamesShown:bool):
269
+ # """
270
+ # <summary>
271
+ # Replaces specified string by data table values.
272
+ # <example>The following code snippet illustrates how to replace the string value with data table:
273
+ # <code>
274
+ # //Create worksheet
275
+ # Workbook workbook = new Workbook();
276
+ # workbook.LoadFromFile("Sample.xlsx");
277
+ # Worksheet worksheet = workbook.Worksheets[0];
278
+ # //Replace the oldValue by data table
279
+ # string oldValue = "Find";
280
+ # System.Data.DataTable table = new System.Data.DataTable();
281
+ # table.Columns.Add("Dosage", typeof(int));
282
+ # table.Rows.Add(1);
283
+ # worksheet.Replace(oldValue, table, true);
284
+ # //Save to file
285
+ # workbook.SaveToFile("Replace.xlsx");
286
+ # </code>
287
+ # </example>
288
+ # </summary>
289
+ # <param name="oldValue">String value to replace.</param>
290
+ # <param name="newValues">Data table with new data.</param>
291
+ # <param name="isFieldNamesShown">Indicates wheter field name must be shown.</param>
292
+ # """
293
+ # pass
294
+ #
295
+
296
+
297
+ # @dispatch
298
+ #
299
+ # @abc.abstractmethod
300
+ # def Replace(self ,oldValue:str,newValues:'DataColumn',isFieldNamesShown:bool):
301
+ # """
302
+ # <summary>
303
+ # Replaces specified string by data column values.
304
+ # <example>The following code snippet illustrates how to replace the string value with data column:
305
+ # <code>
306
+ # //Create worksheet
307
+ # Workbook workbook = new Workbook();
308
+ # workbook.LoadFromFile("Sample.xlsx");
309
+ # Worksheet worksheet = workbook.Worksheets[0];
310
+ # //Replace the oldValue by data column
311
+ # string oldValue = "Find";
312
+ # System.Data.DataTable table = new System.Data.DataTable();
313
+ # table.Columns.Add("Dosage", typeof(int));
314
+ # table.Rows.Add(1);
315
+ # System.Data.DataColumn dataColumn = table.Columns[0];
316
+ # worksheet.Replace(oldValue, dataColumn, true);
317
+ # //Save to file
318
+ # workbook.SaveToFile("Replace.xlsx");
319
+ # </code>
320
+ # </example>
321
+ # </summary>
322
+ # <param name="oldValue">String value to replace.</param>
323
+ # <param name="newValues">Data table with new data.</param>
324
+ # <param name="isFieldNamesShown">Indicates whether field name must be shown.</param>
325
+ # """
326
+ # pass
327
+ #
328
+
329
+
330
+ @abc.abstractmethod
331
+ def Remove(self):
332
+ """
333
+ Removes worksheet from parent worksheets collection.
334
+
335
+ """
336
+ pass
337
+
338
+
339
+
340
+ @abc.abstractmethod
341
+ def MoveWorksheet(self ,iNewIndex:int):
342
+ """
343
+ Moves worksheet.
344
+
345
+ Args:
346
+ iNewIndex: New index of the worksheet.
347
+
348
+ """
349
+ pass
350
+
351
+
352
+
353
+ @abc.abstractmethod
354
+ def ColumnWidthToPixels(self ,widthInChars:float)->int:
355
+ """
356
+ Converts column width into pixels.
357
+
358
+ Args:
359
+ widthInChars: Width in characters.
360
+
361
+ Returns:
362
+ Width in pixels
363
+
364
+ """
365
+ pass
366
+
367
+
368
+
369
+ @abc.abstractmethod
370
+ def PixelsToColumnWidth(self ,pixels:float)->float:
371
+ """
372
+ Converts pixels into column width (in characters).
373
+
374
+ Args:
375
+ pixels: Width in pixels
376
+
377
+ Returns:
378
+ Widht in characters.
379
+
380
+ """
381
+ pass
382
+
383
+
384
+
385
+ @abc.abstractmethod
386
+ def SetColumnWidthInPixels(self ,columnIndex:int,value:int):
387
+ """
388
+ Sets column width in pixels.
389
+
390
+ Args:
391
+ columnIndex: One-based column index.
392
+ value: Width to set.
393
+ Example::
394
+
395
+ #Create worksheet
396
+ workbook = Workbook()
397
+ worksheet = workbook.Worksheets[0]
398
+ #Set column width
399
+ worksheet.SetColumnWidthInPixels(2, 160)
400
+ #Save to file
401
+ workbook.SaveToFile("SetColumnWidthInPixels.xlsx")
402
+
403
+ """
404
+ pass
405
+
406
+
407
+
408
+ @abc.abstractmethod
409
+ def SetRowHeightPixels(self ,Row:int,value:float):
410
+ """
411
+ Sets row height in pixels.
412
+
413
+ Args:
414
+ Row: One-based row index to set height.
415
+ value: Value in pixels to set.
416
+ Example::
417
+
418
+ #Create worksheet
419
+ workbook = Workbook()
420
+ worksheet = workbook.Worksheets[0]
421
+ #Set row height
422
+ worksheet.SetRowHeightPixels(3, 150)
423
+ #Save to file
424
+ workbook.SaveToFile("SetRowHeightPixels.xlsx")
425
+
426
+ """
427
+ pass
428
+
429
+
430
+
431
+ @abc.abstractmethod
432
+ def GetColumnWidthPixels(self ,Column:int)->int:
433
+ """
434
+ Returns width in pixels from ColumnInfoRecord if there is corresponding ColumnInfoRecord or StandardWidth if not.
435
+
436
+ Args:
437
+ Column: One-based index of the column.
438
+
439
+ Returns:
440
+ Width in pixels of the specified column.
441
+ Example::
442
+
443
+ #Create worksheet
444
+ workbook = Workbook()
445
+ worksheet = workbook.Worksheets[0]
446
+ #Set text
447
+ worksheet["A1"].Text = "Sample text in cell"
448
+ #Set auto fit
449
+ worksheet.AutoFitColumn(1)
450
+ #Get column width
451
+ print(worksheet.GetColumnWidthPixels(1))
452
+ #Save to file
453
+ workbook.SaveToFile("UsedRange.xlsx")
454
+
455
+ """
456
+ pass
457
+
458
+
459
+
460
+ @abc.abstractmethod
461
+ def GetRowHeightPixels(self ,Row:int)->int:
462
+ """
463
+ Returns height from RowRecord if there is a corresponding RowRecord. Otherwise returns StandardHeight.
464
+
465
+ Args:
466
+ Row: One-bazed index of the row.
467
+ Example::
468
+
469
+ #Create worksheet
470
+ workbook = Workbook()
471
+ worksheet = workbook.Worksheets[0]
472
+ #Set text
473
+ worksheet["C2"].Text = "Sample text"
474
+ worksheet["C2"].Style.Font.Size = 18
475
+ #Set auto fit
476
+ worksheet.AutoFitRow(2)
477
+ #Get row height
478
+ print(worksheet.GetRowHeightPixels(2))
479
+ #Save to file
480
+ workbook.SaveToFile("UsedRange.xlsx")
481
+
482
+ """
483
+ pass
484
+
485
+
486
+
487
+ @abc.abstractmethod
488
+ def SaveToFile(self ,fileName:str,separator:str):
489
+ """
490
+ Save tabsheet using separator.
491
+
492
+ Args:
493
+ fileName: File to save.
494
+ separator: Current seperator.
495
+ Example::
496
+
497
+ #Create worksheet
498
+ workbook = Workbook()
499
+ workbook.LoadFromFile("Sample.xlsx")
500
+ worksheet = workbook.Worksheets[0]
501
+ #Save to file
502
+
503
+ """
504
+ pass
505
+
506
+
507
+
508
+ @abc.abstractmethod
509
+ def SaveToStream(self ,stream:'Stream',separator:str):
510
+ """
511
+ Save tabsheet using separator.
512
+
513
+ Args:
514
+ stream: Stream to save.
515
+ separator: Current seperator.
516
+ Example::
517
+
518
+ #Create worksheet
519
+ workbook = Workbook()
520
+ workbook.LoadFromFile("Sample.xlsx")
521
+ worksheet = workbook.Worksheets[0]
522
+ #Create stream
523
+ stream = MemoryStream()
524
+ #Save to stream
525
+ worksheet.SaveToStream(stream , ",")
526
+
527
+ """
528
+ pass
529
+
530
+
531
+ @dispatch
532
+
533
+ @abc.abstractmethod
534
+ def SetDefaultColumnStyle(self ,iColumnIndex:int,defaultStyle:IStyle):
535
+ """
536
+ Sets by column index default style for column.
537
+
538
+ Args:
539
+ iColumnIndex: Column index.
540
+ defaultStyle: Default style.
541
+ Example::
542
+
543
+ #Create worksheet
544
+ workbook = Workbook()
545
+ worksheet = workbook.Worksheets[0]
546
+ #Create style
547
+ style = workbook.Styles.Add("CustomStyle")
548
+ #Set Color
549
+ style.Color = Color.Red
550
+ #Set default style
551
+ worksheet.SetDefaultColumnStyle(2, style)
552
+ #Save to file
553
+ workbook.SaveToFile("SetDefaultColumnStyle.xlsx")
554
+
555
+ """
556
+ pass
557
+
558
+
559
+ @dispatch
560
+
561
+ @abc.abstractmethod
562
+ def SetDefaultColumnStyle(self ,iStartColumnIndex:int,iEndColumnIndex:int,defaultStyle:IStyle):
563
+ """
564
+ Sets by column index default style for column.
565
+
566
+ Args:
567
+ iStartColumnIndex: Start column index.
568
+ iEndColumnIndex: End column index.
569
+ defaultStyle: Default style.
570
+ Example::
571
+
572
+ #Create worksheet
573
+ workbook = Workbook()
574
+ worksheet = workbook.Worksheets[0]
575
+ #Create style
576
+ style = workbook.Styles.Add("CustomStyle")
577
+ #Set Color
578
+ style.Color = Color.Red
579
+ #Set default style
580
+ worksheet.SetDefaultColumnStyle(2, 5, style)
581
+ #Save to file
582
+ workbook.SaveToFile("SetDefaultColumnStyle.xlsx")
583
+
584
+ """
585
+ pass
586
+
587
+
588
+ @dispatch
589
+
590
+ @abc.abstractmethod
591
+ def SetDefaultRowStyle(self ,rowIndex:int,defaultStyle:IStyle):
592
+ """
593
+ Sets by column index default style for row.
594
+
595
+ Args:
596
+ rowIndex: Row index.
597
+ defaultStyle: Default style.
598
+ Example::
599
+
600
+ #Create worksheet
601
+ workbook = Workbook()
602
+ worksheet = workbook.Worksheets[0]
603
+ #Create style
604
+ style = workbook.Styles.Add("CustomStyle")
605
+ #Set Color
606
+ style.Color = Color.Red
607
+ #Set default style
608
+ worksheet.SetDefaultRowStyle(2, style)
609
+ #Save to file
610
+ workbook.SaveToFile("SetDefaultRowStyle.xlsx")
611
+
612
+ """
613
+ pass
614
+
615
+
616
+ @dispatch
617
+
618
+ @abc.abstractmethod
619
+ def SetDefaultRowStyle(self ,iStartRowIndex:int,iEndRowIndex:int,defaultStyle:IStyle):
620
+ """
621
+ Sets by column index default style for row.
622
+
623
+ Args:
624
+ iStartRowIndex: Start row index.
625
+ iEndRowIndex: End row index.
626
+ defaultStyle: Default style.
627
+ Example::
628
+
629
+ #Create worksheet
630
+ workbook = Workbook()
631
+ worksheet = workbook.Worksheets[0]
632
+ #Create style
633
+ style = workbook.Styles.Add("CustomStyle")
634
+ #Set Color
635
+ style.Color = Color.Red
636
+ #Set default style
637
+ worksheet.SetDefaultRowStyle(2, 5, style)
638
+ #Save to file
639
+ workbook.SaveToFile("SetDefaultRowStyle.xlsx")
640
+
641
+ """
642
+ pass
643
+
644
+
645
+
646
+ @abc.abstractmethod
647
+ def GetDefaultColumnStyle(self ,iColumnIndex:int)->'IStyle':
648
+ """
649
+ Returns default column style.
650
+
651
+ Args:
652
+ iColumnIndex: Column index.
653
+
654
+ Returns:
655
+ Default column style or null if style wasn't set.
656
+ Example::
657
+
658
+ #Create worksheet
659
+ workbook = Workbook()
660
+ worksheet = workbook.Worksheets[0]
661
+ #Create style
662
+ style = workbook.Styles.Add("CustomStyle")
663
+ #Set Color
664
+ style.Color = Color.Red
665
+ #Set default style
666
+ worksheet.SetDefaultColumnStyle(2,style)
667
+ #Get default style
668
+ defaultStyle = worksheet.GetDefaultColumnStyle(2)
669
+ #Set color
670
+ defaultStyle.Color = Color.Blue
671
+ worksheet.SetDefaultColumnStyle(3, defaultStyle)
672
+ #Save to file
673
+ workbook.SaveToFile("GetDefaultColumnStyle.xlsx")
674
+
675
+ """
676
+ pass
677
+
678
+
679
+
680
+ @abc.abstractmethod
681
+ def GetDefaultRowStyle(self ,rowIndex:int)->'IStyle':
682
+ """
683
+ Returns default row style.
684
+
685
+ Args:
686
+ rowIndex: Row index.
687
+
688
+ Returns:
689
+ Default row style or null if style wasn't set.
690
+ Example::
691
+
692
+ #Create worksheet
693
+ workbook = Workbook()
694
+ worksheet = workbook.Worksheets[0]
695
+ #Create style
696
+ style = workbook.Styles.Add("CustomStyle")
697
+ #Set Color
698
+ style.Color = Color.Red
699
+ #Set default style
700
+ worksheet.SetDefaultRowStyle(2,style)
701
+ #Get default style
702
+ defaultStyle = worksheet.GetDefaultRowStyle(2)
703
+ #Set color
704
+ defaultStyle.Color = Color.Blue
705
+ worksheet.SetDefaultRowStyle(3, defaultStyle)
706
+ #Save to file
707
+ workbook.SaveToFile("GetDefaultColumnStyle.xlsx")
708
+
709
+ """
710
+ pass
711
+
712
+
713
+
714
+ @abc.abstractmethod
715
+ def SetValue(self ,iRow:int,iColumn:int,value:str):
716
+ """
717
+ Sets value in the specified cell.
718
+
719
+ Args:
720
+ iRow: One-based row index of the cell to set value.
721
+ iColumn: One-based column index of the cell to set value.
722
+ value: Value to set.
723
+
724
+ """
725
+ pass
726
+
727
+
728
+
729
+ @abc.abstractmethod
730
+ def SetNumber(self ,iRow:int,iColumn:int,value:float):
731
+ """
732
+ Sets value in the specified cell.
733
+
734
+ Args:
735
+ iRow: One-based row index of the cell to set value.
736
+ iColumn: One-based column index of the cell to set value.
737
+ value: Value to set.
738
+
739
+ """
740
+ pass
741
+
742
+
743
+
744
+ @abc.abstractmethod
745
+ def SetBoolean(self ,iRow:int,iColumn:int,value:bool):
746
+ """
747
+ Sets value in the specified cell.
748
+
749
+ Args:
750
+ iRow: One-based row index of the cell to set value.
751
+ iColumn: One-based column index of the cell to set value.
752
+ value: Value to set.
753
+
754
+ """
755
+ pass
756
+
757
+
758
+
759
+ @abc.abstractmethod
760
+ def SetText(self ,iRow:int,iColumn:int,value:str):
761
+ """
762
+ Sets text in the specified cell.
763
+
764
+ Args:
765
+ iRow: One-based row index of the cell to set value.
766
+ iColumn: One-based column index of the cell to set value.
767
+ value: Text to set.
768
+
769
+ """
770
+ pass
771
+
772
+
773
+
774
+ @abc.abstractmethod
775
+ def SetFormula(self ,iRow:int,iColumn:int,value:str):
776
+ """
777
+ Sets formula in the specified cell.
778
+
779
+ Args:
780
+ iRow: One-based row index of the cell to set value.
781
+ iColumn: One-based column index of the cell to set value.
782
+ value: Formula to set.
783
+
784
+ """
785
+ pass
786
+
787
+
788
+
789
+ @abc.abstractmethod
790
+ def SetError(self ,iRow:int,iColumn:int,value:str):
791
+ """
792
+ Sets error in the specified cell.
793
+
794
+ Args:
795
+ iRow: One-based row index of the cell to set value.
796
+ iColumn: One-based column index of the cell to set value.
797
+ value: Error to set.
798
+
799
+ """
800
+ pass
801
+
802
+
803
+
804
+ @abc.abstractmethod
805
+ def SetBlank(self ,iRow:int,iColumn:int):
806
+ """
807
+ Sets blank in specified cell.
808
+
809
+ Args:
810
+ iRow: One-based row index of the cell to set value.
811
+ iColumn: One-based column index of the cell to set value.
812
+
813
+ """
814
+ pass
815
+
816
+
817
+
818
+ @abc.abstractmethod
819
+ def SetFormulaNumberValue(self ,iRow:int,iColumn:int,value:float):
820
+ """
821
+ Sets formula number value.
822
+
823
+ Args:
824
+ iRow: One based row index.
825
+ iColumn: One based column index.
826
+ value: Represents formula number value for set.
827
+
828
+ """
829
+ pass
830
+
831
+
832
+
833
+ @abc.abstractmethod
834
+ def SetFormulaErrorValue(self ,iRow:int,iColumn:int,value:str):
835
+ """
836
+ Sets formula error value.
837
+
838
+ Args:
839
+ iRow: One based row index.
840
+ iColumn: One based column index.
841
+ value: Represents formula error value for set.
842
+
843
+ """
844
+ pass
845
+
846
+
847
+
848
+ @abc.abstractmethod
849
+ def SetFormulaBoolValue(self ,iRow:int,iColumn:int,value:bool):
850
+ """
851
+ Sets formula bool value.
852
+
853
+ Args:
854
+ iRow: One based row index.
855
+ iColumn: One based column index.
856
+ value: Represents formula bool value for set.
857
+
858
+ """
859
+ pass
860
+
861
+
862
+
863
+ @abc.abstractmethod
864
+ def SetFormulaStringValue(self ,iRow:int,iColumn:int,value:str):
865
+ """
866
+ Sets formula string value.
867
+
868
+ Args:
869
+ iRow: One based row index.
870
+ iColumn: One based column index.
871
+ value: Represents formula string value for set.
872
+
873
+ """
874
+ pass
875
+
876
+
877
+
878
+ @abc.abstractmethod
879
+ def GetText(self ,row:int,column:int)->str:
880
+ """
881
+ Returns string value corresponding to the cell.
882
+
883
+ Args:
884
+ row: One-based row index of the cell to get value from.
885
+ column: One-based column index of the cell to get value from.
886
+
887
+ Returns:
888
+ String contained by the cell.
889
+
890
+ """
891
+ pass
892
+
893
+
894
+
895
+ @abc.abstractmethod
896
+ def GetNumber(self ,row:int,column:int)->float:
897
+ """
898
+ Returns number value corresponding to the cell.
899
+
900
+ Args:
901
+ row: One-based row index of the cell to get value from.
902
+ column: One-based column index of the cell to get value from.
903
+
904
+ Returns:
905
+ Number contained by the cell.
906
+
907
+ """
908
+ pass
909
+
910
+
911
+
912
+ @abc.abstractmethod
913
+ def GetFormula(self ,row:int,column:int,bR1C1:bool)->str:
914
+ """
915
+ Returns formula value corresponding to the cell.
916
+
917
+ Args:
918
+ row: One-based row index of the cell to get value from.
919
+ column: One-based column index of the cell to get value from.
920
+ bR1C1: Indicates whether R1C1 notation should be used.
921
+
922
+ Returns:
923
+ Formula contained by the cell.
924
+
925
+ """
926
+ pass
927
+
928
+
929
+
930
+ @abc.abstractmethod
931
+ def GetError(self ,row:int,column:int)->str:
932
+ """
933
+ Gets error value from cell.
934
+
935
+ Args:
936
+ row: Row index.
937
+ column: Column index.
938
+
939
+ Returns:
940
+ Returns error value or null.
941
+
942
+ """
943
+ pass
944
+
945
+
946
+
947
+ @abc.abstractmethod
948
+ def GetBoolean(self ,row:int,column:int)->bool:
949
+ """
950
+ Gets bool value from cell.
951
+
952
+ Args:
953
+ row: Represents row index.
954
+ column: Represents column index.
955
+
956
+ Returns:
957
+ Returns found bool value. If cannot found returns false.
958
+
959
+ """
960
+ pass
961
+
962
+
963
+
964
+ @abc.abstractmethod
965
+ def GetFormulaBoolValue(self ,row:int,column:int)->bool:
966
+ """
967
+ Gets formula bool value from cell.
968
+
969
+ Args:
970
+ row: Represents row index.
971
+ column: Represents column index.
972
+
973
+ Returns:
974
+ Returns found bool value. If cannot found returns false.
975
+
976
+ """
977
+ pass
978
+
979
+
980
+
981
+ @abc.abstractmethod
982
+ def GetFormulaErrorValue(self ,row:int,column:int)->str:
983
+ """
984
+ Gets formula error value from cell.
985
+
986
+ Args:
987
+ row: Row index.
988
+ column: Column index.
989
+
990
+ Returns:
991
+ Returns error value or null.
992
+
993
+ """
994
+ pass
995
+
996
+
997
+
998
+ @abc.abstractmethod
999
+ def GetFormulaNumberValue(self ,row:int,column:int)->float:
1000
+ """
1001
+ Returns formula number value corresponding to the cell.
1002
+
1003
+ Args:
1004
+ row: One-based row index of the cell to get value from.
1005
+ column: One-based column index of the cell to get value from.
1006
+
1007
+ Returns:
1008
+ Number contained by the cell.
1009
+
1010
+ """
1011
+ pass
1012
+
1013
+
1014
+
1015
+ @abc.abstractmethod
1016
+ def GetFormulaStringValue(self ,row:int,column:int)->str:
1017
+ """
1018
+ Returns formula string value corresponding to the cell.
1019
+
1020
+ Args:
1021
+ row: One-based row index of the cell to get value from.
1022
+ column: One-based column index of the cell to get value from.
1023
+
1024
+ Returns:
1025
+ String contained by the cell.
1026
+
1027
+ """
1028
+ pass
1029
+
1030
+
1031
+ @dispatch
1032
+
1033
+ @abc.abstractmethod
1034
+ def SaveToImage(self ,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int)->Stream:
1035
+ """
1036
+ Converts range into image (Bitmap).
1037
+
1038
+ Args:
1039
+ firstRow: One-based index of the first row to convert.
1040
+ firstColumn: One-based index of the first column to convert.
1041
+ lastRow: One-based index of the last row to convert.
1042
+ lastColumn: One-based index of the last column to convert.
1043
+
1044
+ """
1045
+ pass
1046
+
1047
+
1048
+ @dispatch
1049
+
1050
+ @abc.abstractmethod
1051
+ def SaveToImage(self ,stream:Stream,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int,imageType:ImageType)->Stream:
1052
+ """
1053
+ Converts range into image.
1054
+
1055
+ Args:
1056
+ firstRow: One-based index of the first row to convert.
1057
+ firstColumn: One-based index of the first column to convert.
1058
+ lastRow: One-based index of the last row to convert.
1059
+ lastColumn: One-based index of the last column to convert.
1060
+ imageType: Type of the image to create.
1061
+ stream: Output stream. It is ignored if null.
1062
+
1063
+ Returns:
1064
+ Created image.
1065
+ Example::
1066
+
1067
+ #Create worksheet
1068
+ workbook = Workbook()
1069
+ workbook.LoadFromFile("Sample.xlsx")
1070
+ worksheet = workbook.Worksheets[0]
1071
+ #Creat stream
1072
+ stream = MemoryStream()
1073
+ #Save to image
1074
+ System.Drawing.image = worksheet.SaveToImage(stream,1, 1, 10, 20, Spire.Xls.ImageType.Bitmap)
1075
+ image.Save("Sample.png", System.Drawing.Imaging.ImageFormat.Png)
1076
+
1077
+ """
1078
+ pass
1079
+
1080
+
1081
+ @dispatch
1082
+
1083
+ @abc.abstractmethod
1084
+ def SaveToHtml(self ,filename:str):
1085
+ """
1086
+ Saves worksheet with specified filename.
1087
+
1088
+ Args:
1089
+ filename: File to save.
1090
+ Example::
1091
+
1092
+ #Create worksheet
1093
+ workbook = Workbook()
1094
+ workbook.LoadFromFile("Sample.xlsx")
1095
+ worksheet = workbook.Worksheets[0]
1096
+ #Save to HTML file
1097
+ worksheet.SaveToHtml("Output.html")
1098
+
1099
+ """
1100
+ pass
1101
+
1102
+
1103
+ @dispatch
1104
+
1105
+ @abc.abstractmethod
1106
+ def SaveToHtml(self ,stream:Stream):
1107
+ """
1108
+ Save to HTML stream.
1109
+
1110
+ Args:
1111
+ stream: Stream object.
1112
+ Example::
1113
+
1114
+ #Create worksheet
1115
+ workbook = Workbook()
1116
+ workbook.LoadFromFile("Sample.xlsx")
1117
+ worksheet = workbook.Worksheets[0]
1118
+ #Creat stream
1119
+ stream = MemoryStream()
1120
+ #Save to HTML stream
1121
+ worksheet.SaveToHtml(stream)
1122
+
1123
+ """
1124
+ pass
1125
+
1126
+
1127
+ @dispatch
1128
+
1129
+ @abc.abstractmethod
1130
+ def SaveToHtml(self ,filename:str,saveOptions:HTMLOptions):
1131
+ """
1132
+ Saves as HTML.
1133
+
1134
+ Args:
1135
+ filename: The filename.
1136
+ saveOptions: The option.
1137
+ Example::
1138
+
1139
+ #Create worksheet
1140
+ workbook = Workbook()
1141
+ workbook.LoadFromFile("Sample.xlsx")
1142
+ worksheet = workbook.Worksheets[0]
1143
+ #Save to HTML file
1144
+ worksheet.SaveToHtml("Sample.html" , Spire.Xls.Core.Spreadsheet.HTMLOptions.Default)
1145
+
1146
+ """
1147
+ pass
1148
+
1149
+
1150
+ @dispatch
1151
+
1152
+ @abc.abstractmethod
1153
+ def SaveToHtml(self ,stream:Stream,saveOptions:HTMLOptions):
1154
+ """
1155
+ Saves work sheet to HTML.
1156
+
1157
+ Args:
1158
+ stream: Stream to save.
1159
+ saveOptions: Save Options.
1160
+ Example::
1161
+
1162
+ #Create worksheet
1163
+ workbook = Workbook()
1164
+ workbook.LoadFromFile("Sample.xlsx")
1165
+ worksheet = workbook.Worksheets[0]
1166
+ #Creat stream
1167
+ stream = MemoryStream()
1168
+ #Save to HTML stream
1169
+ worksheet.SaveToHtml(stream, Spire.Xls.Core.Spreadsheet.HTMLOptions.Default)
1170
+
1171
+ """
1172
+ pass
1173
+
1174
+
1175
+ @dispatch
1176
+
1177
+ @abc.abstractmethod
1178
+ def SaveToImage(self ,outputStream:Stream,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int,emfType:EmfType)->Stream:
1179
+ """
1180
+ Converts range into metafile image.
1181
+
1182
+ Args:
1183
+ firstRow: One-based index of the first row to convert.
1184
+ firstColumn: One-based index of the first column to convert.
1185
+ lastRow: One-based index of the last row to convert.
1186
+ lastColumn: One-based index of the last column to convert.
1187
+ emfType: Metafile EmfType.
1188
+ outputStream: Output stream. It is ignored if null.
1189
+
1190
+ Returns:
1191
+ Created image.
1192
+
1193
+ """
1194
+ pass
1195
+
1196
+
1197
+ @dispatch
1198
+
1199
+ @abc.abstractmethod
1200
+ def SaveToImage(self ,outputStream:Stream,firstRow:int,firstColumn:int,lastRow:int,lastColumn:int,imageType:ImageType,emfType:EmfType)->Stream:
1201
+ """
1202
+ Converts range into image.
1203
+
1204
+ Args:
1205
+ firstRow: One-based index of the first row to convert.
1206
+ firstColumn: One-based index of the first column to convert.
1207
+ lastRow: One-based index of the last row to convert.
1208
+ lastColumn: One-based index of the last column to convert.
1209
+ imageType: Type of the image to create.
1210
+ outputStream: Output stream. It is ignored if null.
1211
+ emfType: Metafile EmfType.
1212
+
1213
+ Returns:
1214
+ Created image.
1215
+
1216
+ """
1217
+ pass
1218
+
1219
+
1220
+
1221
+ @abc.abstractmethod
1222
+ def add_CellValueChanged(self ,value:'CellValueChangedEventHandler'):
1223
+ """
1224
+
1225
+ """
1226
+ pass
1227
+
1228
+
1229
+
1230
+ @abc.abstractmethod
1231
+ def remove_CellValueChanged(self ,value:'CellValueChangedEventHandler'):
1232
+ """
1233
+
1234
+ """
1235
+ pass
1236
+
1237
+
1238
+ @property
1239
+
1240
+ @abc.abstractmethod
1241
+ def AutoFilters(self)->'IAutoFilters':
1242
+ """
1243
+ Returns collection of worksheet's autofilters. Read-only.
1244
+
1245
+ """
1246
+ pass
1247
+
1248
+
1249
+ @property
1250
+
1251
+ @abc.abstractmethod
1252
+ def Cells(self)->'ListXlsRanges':
1253
+ """
1254
+ Returns all used cells in the worksheet. Read-only.
1255
+
1256
+ """
1257
+ pass
1258
+
1259
+
1260
+
1261
+ @property
1262
+ @abc.abstractmethod
1263
+ def DisplayPageBreaks(self)->bool:
1264
+ """
1265
+ True if page breaks (both automatic and manual) on the specified worksheet are displayed. Read / write Boolean.
1266
+
1267
+ """
1268
+ pass
1269
+
1270
+
1271
+ @DisplayPageBreaks.setter
1272
+ @abc.abstractmethod
1273
+ def DisplayPageBreaks(self, value:bool):
1274
+ """
1275
+
1276
+ """
1277
+ pass
1278
+
1279
+
1280
+ @property
1281
+ @abc.abstractmethod
1282
+ def Index(self)->int:
1283
+ """
1284
+ Returns the index number of the object within the collection of similar objects. Read-only.
1285
+
1286
+ """
1287
+ pass
1288
+
1289
+
1290
+ @property
1291
+
1292
+ @abc.abstractmethod
1293
+ def MergedCells(self)->'ListXlsRanges':
1294
+ """
1295
+ Returns all merged ranges. Read-only.
1296
+ Example::
1297
+
1298
+ #Create worksheet
1299
+ workbook = Workbook()
1300
+ worksheet = workbook.Worksheets[0]
1301
+ #Merge cells
1302
+ worksheet["C2:D2"].Merge()
1303
+ worksheet["F3:G3"].Merge()
1304
+ #Get merged ranges
1305
+ IXLSRange[] mergedRanges = worksheet.MergedCells
1306
+ #Get merged range count . Output will be 2
1307
+ Console.Write(mergedRanges.Length)
1308
+ #Save to file
1309
+ workbook.SaveToFile("MergedCells.xlsx")
1310
+
1311
+ """
1312
+ pass
1313
+
1314
+
1315
+
1316
+ @property
1317
+
1318
+ @abc.abstractmethod
1319
+ def Names(self)->'INameRanges':
1320
+ """
1321
+ For a Worksheet object, returns a Names collection that represents all the worksheet-specific names (names defined with the "WorksheetName!" prefix). Read-only Names object.
1322
+
1323
+ """
1324
+ pass
1325
+
1326
+
1327
+ @property
1328
+
1329
+ @abc.abstractmethod
1330
+ def CodeName(self)->str:
1331
+ """
1332
+ Name that is used by macros to access the workbook items.
1333
+
1334
+ """
1335
+ pass
1336
+
1337
+
1338
+ @CodeName.setter
1339
+ @abc.abstractmethod
1340
+ def CodeName(self, value:str):
1341
+ """
1342
+
1343
+ """
1344
+ pass
1345
+
1346
+
1347
+ @property
1348
+
1349
+ @abc.abstractmethod
1350
+ def PageSetup(self)->'IPageSetup':
1351
+ """
1352
+ Returns a PageSetup object that contains all the page setup settings for the specified object. Read-only.
1353
+
1354
+ """
1355
+ pass
1356
+
1357
+
1358
+ @property
1359
+
1360
+ @abc.abstractmethod
1361
+ def AllocatedRange(self)->'IXLSRange':
1362
+ """
1363
+ Returns a Range object that represents a cell or a range of cells.
1364
+
1365
+ """
1366
+ pass
1367
+
1368
+
1369
+ @property
1370
+
1371
+ @abc.abstractmethod
1372
+ def Rows(self)->'ListXlsRanges':
1373
+ """
1374
+ For a Worksheet object, returns an array of Range objects that represents all the rows on the specified worksheet. Read-only Range object.
1375
+
1376
+ """
1377
+ pass
1378
+
1379
+
1380
+
1381
+ @property
1382
+ @abc.abstractmethod
1383
+ def Columns(self)->'ListXlsRanges':
1384
+ """
1385
+ For a Worksheet object, returns an array of Range objects that represents all the columns on the specified worksheet. Read-only Range object.
1386
+
1387
+ """
1388
+ pass
1389
+
1390
+
1391
+
1392
+ @property
1393
+ @abc.abstractmethod
1394
+ def DefaultRowHeight(self)->float:
1395
+ """
1396
+ Returns the standard (default) height of all the rows in the worksheet, in points. Read/write Double.
1397
+ Example::
1398
+
1399
+ #Create worksheet
1400
+ workbook = Workbook()
1401
+ worksheet = workbook.Worksheets[0]
1402
+ #Get row height
1403
+ Console.Write(worksheet.DefaultRowHeight)
1404
+ #Set default height
1405
+ worksheet.DefaultRowHeight = 40
1406
+ #Save to file
1407
+ workbook.SaveToFile("DefaultRowHeight.xlsx")
1408
+
1409
+ """
1410
+ pass
1411
+
1412
+
1413
+ @DefaultRowHeight.setter
1414
+ @abc.abstractmethod
1415
+ def DefaultRowHeight(self, value:float):
1416
+ """
1417
+
1418
+ """
1419
+ pass
1420
+
1421
+
1422
+ @property
1423
+ @abc.abstractmethod
1424
+ def DefaultColumnWidth(self)->float:
1425
+ """
1426
+ Returns or sets the standard (default) width of all the columns in the worksheet. Read/write Double.
1427
+ Example::
1428
+
1429
+ #Create worksheet
1430
+ workbook = Workbook()
1431
+ worksheet = workbook.Worksheets[0]
1432
+ #Get column width
1433
+ Console.Write(worksheet.DefaultColumnWidth)
1434
+ #Set default width
1435
+ worksheet.DefaultColumnWidth = 40
1436
+ #Save to file
1437
+ workbook.SaveToFile("DefaultColumnWidth.xlsx")
1438
+
1439
+ """
1440
+ pass
1441
+
1442
+
1443
+ @DefaultColumnWidth.setter
1444
+ @abc.abstractmethod
1445
+ def DefaultColumnWidth(self, value:float):
1446
+ """
1447
+
1448
+ """
1449
+ pass
1450
+
1451
+
1452
+ @property
1453
+
1454
+ @abc.abstractmethod
1455
+ def Type(self)->'ExcelSheetType':
1456
+ """
1457
+ Returns or sets the worksheet type. Read-only ExcelSheetType.
1458
+
1459
+ """
1460
+ pass
1461
+
1462
+
1463
+ @property
1464
+
1465
+ @abc.abstractmethod
1466
+ def Range(self)->'XlsRange':
1467
+ """
1468
+ Returns a Range object that represents the used range on the specified worksheet. Read-only.
1469
+ Example::
1470
+
1471
+ #Create worksheet
1472
+ workbook = Workbook()
1473
+ worksheet = workbook.Worksheets[0]
1474
+ #Set text
1475
+ worksheet["B2"].Text = "Text"
1476
+ #Set Color
1477
+ worksheet["J3"].Style.Color = Color.Red
1478
+ #Get used range . Output will be B2:J3
1479
+ Console.Write(worksheet.Range.RangeAddressLocal)
1480
+ #Save to file
1481
+ workbook.SaveToFile("UsedRange.xlsx")
1482
+
1483
+ """
1484
+ pass
1485
+
1486
+
1487
+ @property
1488
+ @abc.abstractmethod
1489
+ def Zoom(self)->int:
1490
+ """
1491
+ Zoom factor of document. Value must be in range from 10 till 400.
1492
+ Example::
1493
+
1494
+ #Create worksheet
1495
+ workbook = Workbook()
1496
+ worksheet = workbook.Worksheets[0]
1497
+ #Set zoom
1498
+ worksheet.Zoom = 200
1499
+ #Save to file
1500
+ workbook.SaveToFile("Zoom.xlsx")
1501
+
1502
+ """
1503
+ pass
1504
+
1505
+
1506
+ @Zoom.setter
1507
+ @abc.abstractmethod
1508
+ def Zoom(self, value:int):
1509
+ """
1510
+
1511
+ """
1512
+ pass
1513
+
1514
+
1515
+ @property
1516
+ @abc.abstractmethod
1517
+ def VerticalSplit(self)->int:
1518
+ """
1519
+ Gets or sets the position of vertical split in the worksheet.
1520
+
1521
+ """
1522
+ pass
1523
+
1524
+
1525
+ @VerticalSplit.setter
1526
+ @abc.abstractmethod
1527
+ def VerticalSplit(self, value:int):
1528
+ """
1529
+
1530
+ """
1531
+ pass
1532
+
1533
+
1534
+ @property
1535
+ @abc.abstractmethod
1536
+ def HorizontalSplit(self)->int:
1537
+ """
1538
+ Gets or sets the position of horizontal split in the worksheet.
1539
+
1540
+ """
1541
+ pass
1542
+
1543
+
1544
+ @HorizontalSplit.setter
1545
+ @abc.abstractmethod
1546
+ def HorizontalSplit(self, value:int):
1547
+ """
1548
+
1549
+ """
1550
+ pass
1551
+
1552
+
1553
+ @property
1554
+ @abc.abstractmethod
1555
+ def FirstVisibleRow(self)->int:
1556
+ """
1557
+ Index to first visible row in bottom pane(s).
1558
+
1559
+ """
1560
+ pass
1561
+
1562
+
1563
+ @FirstVisibleRow.setter
1564
+ @abc.abstractmethod
1565
+ def FirstVisibleRow(self, value:int):
1566
+ """
1567
+
1568
+ """
1569
+ pass
1570
+
1571
+
1572
+ @property
1573
+ @abc.abstractmethod
1574
+ def FirstVisibleColumn(self)->int:
1575
+ """
1576
+ Index to first visible column in right pane(s).
1577
+
1578
+ """
1579
+ pass
1580
+
1581
+
1582
+ @FirstVisibleColumn.setter
1583
+ @abc.abstractmethod
1584
+ def FirstVisibleColumn(self, value:int):
1585
+ """
1586
+
1587
+ """
1588
+ pass
1589
+
1590
+
1591
+ @property
1592
+ @abc.abstractmethod
1593
+ def ActivePane(self)->int:
1594
+ """
1595
+ Identifier of pane with active cell cursor.
1596
+
1597
+ """
1598
+ pass
1599
+
1600
+
1601
+ @ActivePane.setter
1602
+ @abc.abstractmethod
1603
+ def ActivePane(self, value:int):
1604
+ """
1605
+
1606
+ """
1607
+ pass
1608
+
1609
+
1610
+ @property
1611
+ @abc.abstractmethod
1612
+ def IsDisplayZeros(self)->bool:
1613
+ """
1614
+ True if zero values to be displayed False otherwise.
1615
+
1616
+ """
1617
+ pass
1618
+
1619
+
1620
+ @IsDisplayZeros.setter
1621
+ @abc.abstractmethod
1622
+ def IsDisplayZeros(self, value:bool):
1623
+ """
1624
+
1625
+ """
1626
+ pass
1627
+
1628
+
1629
+ @property
1630
+ @abc.abstractmethod
1631
+ def GridLinesVisible(self)->bool:
1632
+ """
1633
+ True if gridlines are visible; False otherwise.
1634
+ Example::
1635
+
1636
+ #Create worksheet
1637
+ workbook = Workbook()
1638
+ worksheet = workbook.Worksheets[0]
1639
+ #Set grid line visibility
1640
+ worksheet.GridLinesVisible = false
1641
+ #Save to file
1642
+ workbook.SaveToFile("GridLinesVisible.xlsx")
1643
+
1644
+ """
1645
+ pass
1646
+
1647
+
1648
+ @GridLinesVisible.setter
1649
+ @abc.abstractmethod
1650
+ def GridLinesVisible(self, value:bool):
1651
+ """
1652
+
1653
+ """
1654
+ pass
1655
+
1656
+
1657
+ @property
1658
+
1659
+ @abc.abstractmethod
1660
+ def GridLineColor(self)->'ExcelColors':
1661
+ """
1662
+ Gets / sets Grid line color.
1663
+ Example::
1664
+
1665
+ #Create worksheet
1666
+ workbook = Workbook()
1667
+ worksheet = workbook.Worksheets[0]
1668
+ #Set grid lines color
1669
+ worksheet.GridLineColor = ExcelColors.Red
1670
+ #Save to file
1671
+ workbook.SaveToFile("GridLineColor.xlsx")
1672
+
1673
+ """
1674
+ pass
1675
+
1676
+
1677
+ @GridLineColor.setter
1678
+ @abc.abstractmethod
1679
+ def GridLineColor(self, value:'ExcelColors'):
1680
+ """
1681
+
1682
+ """
1683
+ pass
1684
+
1685
+
1686
+ @property
1687
+ @abc.abstractmethod
1688
+ def RowColumnHeadersVisible(self)->bool:
1689
+ """
1690
+ True if row and column headers are visible; False otherwise.
1691
+
1692
+ """
1693
+ pass
1694
+
1695
+
1696
+ @RowColumnHeadersVisible.setter
1697
+ @abc.abstractmethod
1698
+ def RowColumnHeadersVisible(self, value:bool):
1699
+ """
1700
+
1701
+ """
1702
+ pass
1703
+
1704
+
1705
+ @property
1706
+ @abc.abstractmethod
1707
+ def FormulasVisible(self)->bool:
1708
+ """
1709
+
1710
+ """
1711
+ pass
1712
+
1713
+
1714
+ @FormulasVisible.setter
1715
+ @abc.abstractmethod
1716
+ def FormulasVisible(self, value:bool):
1717
+ """
1718
+
1719
+ """
1720
+ pass
1721
+
1722
+
1723
+ @property
1724
+
1725
+ @abc.abstractmethod
1726
+ def VPageBreaks(self)->'IVPageBreaks':
1727
+ """
1728
+ Returns a VPageBreaks collection that represents the vertical page breaks on the sheet. Read-only.
1729
+
1730
+ """
1731
+ pass
1732
+
1733
+
1734
+ @property
1735
+
1736
+ @abc.abstractmethod
1737
+ def HPageBreaks(self)->'IHPageBreaks':
1738
+ """
1739
+ Returns an HPageBreaks collection that represents the horizontal page breaks on the sheet. Read-only.
1740
+
1741
+ """
1742
+ pass
1743
+
1744
+
1745
+ @property
1746
+ @abc.abstractmethod
1747
+ def IsStringsPreserved(self)->bool:
1748
+ """
1749
+ Indicates if all values in the workbook are preserved as strings.
1750
+
1751
+ """
1752
+ pass
1753
+
1754
+
1755
+ @IsStringsPreserved.setter
1756
+ @abc.abstractmethod
1757
+ def IsStringsPreserved(self, value:bool):
1758
+ """
1759
+
1760
+ """
1761
+ pass
1762
+
1763
+
1764
+ @property
1765
+
1766
+ @abc.abstractmethod
1767
+ def Comments(self)->'IComments':
1768
+ """
1769
+ Comments collection.
1770
+ Example::
1771
+
1772
+ #Create worksheet
1773
+ workbook = Workbook()
1774
+ worksheet = workbook.Worksheets[0]
1775
+ #Adding comments to a cell.
1776
+ comment1 = worksheet.Range["A1"].AddComment()
1777
+ comment2 = worksheet.Range["B1"].AddComment()
1778
+ #Set comment text
1779
+ comment1.Text = "Comment1"
1780
+ comment2.Text = "Comment2"
1781
+ #Check count
1782
+ Console.Write(worksheet.Comments.Count)
1783
+ #Save to file
1784
+ workbook.SaveToFile("Comments.xlsx")
1785
+
1786
+ """
1787
+ pass
1788
+
1789
+
1790
+ @dispatch
1791
+
1792
+ @abc.abstractmethod
1793
+ def get_Item(self ,row:int,column:int)->IXLSRange:
1794
+ """
1795
+ Gets / sets cell by row and index.
1796
+
1797
+ """
1798
+ pass
1799
+
1800
+
1801
+ @dispatch
1802
+
1803
+ @abc.abstractmethod
1804
+ def get_Item(self ,row:int,column:int,lastRow:int,lastColumn:int)->IXLSRange:
1805
+ """
1806
+ Get cells range.
1807
+
1808
+ """
1809
+ pass
1810
+
1811
+
1812
+ @dispatch
1813
+
1814
+ @abc.abstractmethod
1815
+ def get_Item(self ,name:str)->IXLSRange:
1816
+ """
1817
+ Get cell range.
1818
+
1819
+ """
1820
+ pass
1821
+
1822
+
1823
+ @property
1824
+
1825
+ @abc.abstractmethod
1826
+ def HyperLinks(self)->'IHyperLinks':
1827
+ """
1828
+ Collection of all worksheet's hyperlinks.
1829
+
1830
+ """
1831
+ pass
1832
+
1833
+
1834
+ @property
1835
+ @abc.abstractmethod
1836
+ def UseRangesCache(self)->bool:
1837
+ """
1838
+ Indicates whether all created range objects should be cached. Default value is false.
1839
+
1840
+ """
1841
+ pass
1842
+
1843
+
1844
+ @UseRangesCache.setter
1845
+ @abc.abstractmethod
1846
+ def UseRangesCache(self, value:bool):
1847
+ """
1848
+
1849
+ """
1850
+ pass
1851
+
1852
+
1853
+ @property
1854
+ @abc.abstractmethod
1855
+ def TopVisibleRow(self)->int:
1856
+ """
1857
+ Gets/sets top visible row of the worksheet.
1858
+ Example::
1859
+
1860
+ #Create worksheet
1861
+ workbook = Workbook()
1862
+ worksheet = workbook.Worksheets[0]
1863
+ #Set top visible row
1864
+ worksheet.TopVisibleRow = 5
1865
+ #Get top visible row
1866
+ Console.Write(worksheet.TopVisibleRow)
1867
+ #Save to file
1868
+ workbook.SaveToFile("TopVisibleRow.xlsx")
1869
+
1870
+ """
1871
+ pass
1872
+
1873
+
1874
+ @TopVisibleRow.setter
1875
+ @abc.abstractmethod
1876
+ def TopVisibleRow(self, value:int):
1877
+ """
1878
+
1879
+ """
1880
+ pass
1881
+
1882
+
1883
+ @property
1884
+ @abc.abstractmethod
1885
+ def LeftVisibleColumn(self)->int:
1886
+ """
1887
+ Gets/sets left visible column of the worksheet.
1888
+ Example::
1889
+
1890
+ #Create worksheet
1891
+ workbook = Workbook()
1892
+ worksheet = workbook.Worksheets[0]
1893
+ #Set left visible column
1894
+ worksheet.LeftVisibleColumn = 3
1895
+ #Get left visible column
1896
+ Console.Write(worksheet.LeftVisibleColumn)
1897
+ #Save to file
1898
+ workbook.SaveToFile("LeftVisibleColumn.xlsx")
1899
+
1900
+ """
1901
+ pass
1902
+
1903
+
1904
+ @LeftVisibleColumn.setter
1905
+ @abc.abstractmethod
1906
+ def LeftVisibleColumn(self, value:int):
1907
+ """
1908
+
1909
+ """
1910
+ pass
1911
+
1912
+
1913
+ @property
1914
+
1915
+ @abc.abstractmethod
1916
+ def PivotTables(self)->'PivotTablesCollection':
1917
+ """
1918
+ Returns pivot table collection containing all pivot tables in the worksheet. Read-only.
1919
+
1920
+ """
1921
+ pass
1922
+
1923
+
1924
+ @property
1925
+
1926
+ @abc.abstractmethod
1927
+ def ListObjects(self)->'IListObjects':
1928
+ """
1929
+ Gets collection of all list objects in the worksheet.
1930
+
1931
+ """
1932
+ pass
1933
+
1934
+
1935
+ @property
1936
+
1937
+ @abc.abstractmethod
1938
+ def OleObjects(self)->'IOleObjects':
1939
+ """
1940
+ Gets the OLE objects.
1941
+ Example::
1942
+
1943
+ #Create worksheet
1944
+ workbook = Workbook()
1945
+ worksheet = workbook.Worksheets[0]
1946
+ #Create image stream
1947
+ System.Drawing.image = System.Drawing.Image.FromFile("image.png")
1948
+ #Add ole object
1949
+ oleObject = worksheet.OleObjects.Add("Shapes.xlsx", image, OleLinkType.Embed)
1950
+ #Save to file
1951
+ workbook.SaveToFile("OLEObjects.xlsx")
1952
+
1953
+ """
1954
+ pass
1955
+
1956
+
1957
+ @property
1958
+ @abc.abstractmethod
1959
+ def HasOleObjects(self)->bool:
1960
+ """
1961
+ Gets or sets a value indicating whether this instance is OLE object.
1962
+ Example::
1963
+
1964
+ #Create worksheet
1965
+ workbook = Workbook()
1966
+ worksheet = workbook.Worksheets[0]
1967
+ #Create image stream
1968
+ System.Drawing.image = System.Drawing.Image.FromFile("image.png")
1969
+ #Add ole object
1970
+ oleObject = worksheet.OleObjects.Add("Shapes.xlsx", image, OleLinkType.Embed)
1971
+ #Check HasOleObject.Output will be true.</para>
1972
+ Console.Write(worksheet.HasOleObjects)
1973
+
1974
+ <para>#Save to file
1975
+ workbook.SaveToFile("HasOleObjects.xlsx");
1976
+
1977
+ """
1978
+ pass
1979
+
1980
+
1981
+ @abc.abstractmethod
1982
+ def CopyToClipboard(self):
1983
+ """
1984
+ Copies worksheet into the clipboard.
1985
+
1986
+ """
1987
+ pass
1988
+
1989
+
1990
+ @abc.abstractmethod
1991
+ def Clear(self):
1992
+ """
1993
+ Clears worksheet data. Removes all formatting and merges.
1994
+
1995
+ """
1996
+ pass
1997
+
1998
+
1999
+ @abc.abstractmethod
2000
+ def ClearData(self):
2001
+ """
2002
+ Clears worksheet. Only the data is removed from each cell.
2003
+
2004
+ """
2005
+ pass
2006
+
2007
+
2008
+
2009
+ @abc.abstractmethod
2010
+ def CheckExistence(self ,iRow:int,iColumn:int)->bool:
2011
+ """
2012
+ Indicates whether a cell was initialized or accessed by the user.
2013
+
2014
+ Args:
2015
+ iRow: One-based row index of the cell.
2016
+ iColumn: One-based column index of the cell.
2017
+
2018
+ Returns:
2019
+ Value indicating whether the cell was initialized or accessed by the user.
2020
+ Example::
2021
+
2022
+ #Create worksheet
2023
+ workbook = Workbook()
2024
+ worksheet = workbook.Worksheets[0]
2025
+ #Set text
2026
+ worksheet.Range["A1"].Text = "Hello"
2027
+ #Check the cell.Output will be true.
2028
+ Console.Write(worksheet.CheckExistence(1, 1))
2029
+ #Save to file
2030
+ workbook.SaveToFile("CheckExistence.xlsx")
2031
+
2032
+ """
2033
+ pass
2034
+
2035
+
2036
+
2037
+ @abc.abstractmethod
2038
+ def CreateNamedRanges(self ,namedRange:str,referRange:str,vertical:bool):
2039
+ """
2040
+
2041
+ """
2042
+ pass
2043
+
2044
+
2045
+
2046
+ @abc.abstractmethod
2047
+ def IsColumnVisible(self ,columnIndex:int)->bool:
2048
+ """
2049
+ Method check is Column with specifed index visible to end user or not.
2050
+
2051
+ Args:
2052
+ columnIndex: Index of column.
2053
+
2054
+ Returns:
2055
+ True - column is visible; otherwise False.
2056
+
2057
+ """
2058
+ pass
2059
+
2060
+
2061
+
2062
+ @abc.abstractmethod
2063
+ def IsRowVisible(self ,rowIndex:int)->bool:
2064
+ """
2065
+ Method check is Row with specifed index visible to user or not.
2066
+
2067
+ Args:
2068
+ rowIndex: Index of row visibility of each must be checked.
2069
+
2070
+ Returns:
2071
+ True - row is visible to user, otherwise False.
2072
+
2073
+ """
2074
+ pass
2075
+
2076
+
2077
+
2078
+ @abc.abstractmethod
2079
+ def DeleteRow(self ,index:int):
2080
+ """
2081
+ Removes specified row (with formulas update).
2082
+
2083
+ Args:
2084
+ index: One-based row index to remove.
2085
+
2086
+ """
2087
+ pass
2088
+
2089
+
2090
+
2091
+ @abc.abstractmethod
2092
+ def DeleteColumn(self ,index:int):
2093
+ """
2094
+ Removes specified column (with formulas update).
2095
+
2096
+ Args:
2097
+ index: One-based column index to remove.
2098
+
2099
+ """
2100
+ pass
2101
+
2102
+
2103
+ @dispatch
2104
+
2105
+ @abc.abstractmethod
2106
+ def InsertArray(self ,arrObject:List[SpireObject],firstRow:int,firstColumn:int,isVertical:bool)->int:
2107
+ """
2108
+ Imports an array of objects into a worksheet.
2109
+
2110
+ Args:
2111
+ arrObject: Array to import.
2112
+ firstRow: Row of the first cell where array should be imported.
2113
+ firstColumn: Column of the first cell where array should be imported.
2114
+ isVertical: True if array should be imported vertically; False - horizontally.
2115
+
2116
+ Returns:
2117
+ Number of imported elements.
2118
+ Example::
2119
+
2120
+ #Create worksheet
2121
+ workbook = Workbook()
2122
+ worksheet = workbook.Worksheets[0]
2123
+ #Initialize the Object Array
2124
+ object[] array = new object[4] { "Total Income", "Actual Expense", "Expected Expenses", "Profit" }
2125
+ #Insert the Object Array to Sheet
2126
+ worksheet.InsertArray(array, 1, 1, true)
2127
+ #Save to file
2128
+ workbook.SaveToFile(InsertArray.xlsx")
2129
+
2130
+ """
2131
+ pass
2132
+
2133
+
2134
+ @dispatch
2135
+
2136
+ @abc.abstractmethod
2137
+ def InsertArray(self ,arrString:List[str],firstRow:int,firstColumn:int,isVertical:bool)->int:
2138
+ """
2139
+ Imports an array of strings into a worksheet.
2140
+
2141
+ Args:
2142
+ arrString: Array to import.
2143
+ firstRow: Row of the first cell where array should be imported.
2144
+ firstColumn: Column of the first cell where array should be imported.
2145
+ isVertical: True if array should be imported vertically; False - horizontally.
2146
+
2147
+ Returns:
2148
+ Number of imported elements.
2149
+ Example::
2150
+
2151
+ #Create worksheet
2152
+ workbook = Workbook()
2153
+ worksheet = workbook.Worksheets[0]
2154
+ #Initialize the string Array
2155
+ string[] arrayString = new string[4] { "Total Income", "Actual Expense", "Expected Expenses", "Profit" }
2156
+ #Insert the string Array to Sheet
2157
+ worksheet.InsertArray(arrayString, 1, 1, true)
2158
+ #Save to file
2159
+ workbook.SaveToFile(InsertArray.xlsx")
2160
+
2161
+ """
2162
+ pass
2163
+
2164
+
2165
+ @dispatch
2166
+
2167
+ @abc.abstractmethod
2168
+ def InsertArray(self ,arrInt:List[int],firstRow:int,firstColumn:int,isVertical:bool)->int:
2169
+ """
2170
+ Imports an array of integers into a worksheet.
2171
+
2172
+ Args:
2173
+ arrInt: Array to import.
2174
+ firstRow: Row of the first cell where array should be imported.
2175
+ firstColumn: Column of the first cell where array should be imported.
2176
+ isVertical: True if array should be imported vertically; False - horizontally.
2177
+
2178
+ Returns:
2179
+ Number of imported elements.
2180
+ Example::
2181
+
2182
+ #Create worksheet
2183
+ workbook = Workbook()
2184
+ worksheet = workbook.Worksheets[0]
2185
+ #Initialize the integer Array
2186
+ int[] arrayInt = new int[4] {1000, 2000, 3000, 4000}
2187
+ #Insert the integer Array to Sheet
2188
+ worksheet.InsertArray(arrayInt, 1, 1, true)
2189
+ #Save to file
2190
+ workbook.SaveToFile(InsertArray.xlsx")
2191
+
2192
+ """
2193
+ pass
2194
+
2195
+
2196
+ @dispatch
2197
+
2198
+ @abc.abstractmethod
2199
+ def InsertArray(self ,arrDouble:List[float],firstRow:int,firstColumn:int,isVertical:bool)->int:
2200
+ """
2201
+ Imports an array of doubles into a worksheet.
2202
+
2203
+ Args:
2204
+ arrDouble: Array to import.
2205
+ firstRow: Row of the first cell where array should be imported.
2206
+ firstColumn: Column of the first cell where array should be imported.
2207
+ isVertical: True if array should be imported vertically; False - horizontally.
2208
+
2209
+ Returns:
2210
+ Number of imported elements.
2211
+ Example::
2212
+
2213
+ #Create worksheet
2214
+ workbook = Workbook()
2215
+ worksheet = workbook.Worksheets[0]
2216
+ #Initialize the double Array
2217
+ double[] arrayDouble = new double[4] { 344.0045, 345.0045, 346.0045, 347.0045 }
2218
+ #Insert the double Array to Sheet
2219
+ worksheet.InsertArray(arrayDouble, 1, 1, true)
2220
+ #Save to file
2221
+ workbook.SaveToFile(InsertArray.xlsx")
2222
+
2223
+ """
2224
+ pass
2225
+
2226
+
2227
+ # @dispatch
2228
+ #
2229
+ # @abc.abstractmethod
2230
+ # def InsertArray(self ,arrDateTime:'DateTime[]',firstRow:int,firstColumn:int,isVertical:bool)->int:
2231
+ # """
2232
+ # <summary>
2233
+ # Imports an array of DateTimes into worksheet.
2234
+ # <example>The following code illustrates how to Imports an array of DateTime values into a worksheet with the specified row and colum:
2235
+ # <code>
2236
+ # //Create worksheet
2237
+ # Workbook workbook = new Workbook();
2238
+ # Worksheet worksheet = workbook.Worksheets[0];
2239
+ # //Initialize the DateTime Array
2240
+ # DateTime[] arrayDate = new DateTime[4] { DateTime.Parse("06:45"), DateTime.Parse("08:30"), DateTime.Parse("09:40"), DateTime.Parse("10:30") };
2241
+ # //Insert the DateTime Array to Sheet
2242
+ # worksheet.InsertArray(arrayDate, 1, 1, true);
2243
+ # //Save to file
2244
+ # workbook.SaveToFile(InsertArray.xlsx");
2245
+ # </code>
2246
+ # </example>
2247
+ # </summary>
2248
+ # <param name="arrDateTime">Array to import.</param>
2249
+ # <param name="firstRow">Row of the first cell where array should be imported.</param>
2250
+ # <param name="firstColumn">Column of the first cell where array should be imported.</param>
2251
+ # <param name="isVertical">True if array should be imported vertically; False - horizontally.</param>
2252
+ # <returns>Number of imported elements.</returns>
2253
+ # """
2254
+ # pass
2255
+ #
2256
+
2257
+
2258
+ # @dispatch
2259
+ #
2260
+ # @abc.abstractmethod
2261
+ # def InsertArray(self ,arrObject:'Object[,]',firstRow:int,firstColumn:int)->int:
2262
+ # """
2263
+ #
2264
+ # """
2265
+ # pass
2266
+ #
2267
+
2268
+
2269
+ #
2270
+ # @abc.abstractmethod
2271
+ # def InsertDataColumn(self ,dataColumn:'DataColumn',isFieldNameShown:bool,firstRow:int,firstColumn:int)->int:
2272
+ # """
2273
+ # <summary>
2274
+ # Imports data from a DataColumn into worksheet.
2275
+ # <example>The following code illustrates how to Imports data from a DataColumn into a worksheet with the specified row and column:
2276
+ # <code>
2277
+ # //Create worksheet
2278
+ # Workbook workbook = new Workbook();
2279
+ # Worksheet worksheet = workbook.Worksheets[0];
2280
+ # //Create a DataTable
2281
+ # System.Data.DataTable table = new System.Data.DataTable();
2282
+ # table.Columns.Add("ID", typeof(int));
2283
+ # table.Columns.Add("Item", typeof(string));
2284
+ # table.Columns.Add("Name", typeof(string));
2285
+ # table.Rows.Add(1, "Soap", "David");
2286
+ # table.Rows.Add(2, "Paste", "Sam");
2287
+ # table.Rows.Add(3, "Cream", "Christoff");
2288
+ # //Insert the DataColumn to worksheet
2289
+ # System.Data.DataColumn column = table.Columns[2];
2290
+ # worksheet.InsertDataColumn(column, true, 1, 1);
2291
+ # //Save to file
2292
+ # workbook.SaveToFile(InsertDataColumn.xlsx");
2293
+ # </code>
2294
+ # </example>
2295
+ # </summary>
2296
+ # <param name="dataColumn">DataColumn with desired data.</param>
2297
+ # <param name="isFieldNameShown">True if column name must also be imported.</param>
2298
+ # <param name="firstRow">Row of the first cell where DataTable should be imported.</param>
2299
+ # <param name="firstColumn">Column of the first cell where DataTable should be imported.</param>
2300
+ # <returns>Number of imported rows.</returns>
2301
+ # """
2302
+ # pass
2303
+ #
2304
+
2305
+
2306
+ # @dispatch
2307
+ #
2308
+ # @abc.abstractmethod
2309
+ # def InsertDataTable(self ,dataTable:'DataTable',isFieldNameShown:bool,firstRow:int,firstColumn:int)->int:
2310
+ # """
2311
+ # <summary>
2312
+ # Imports data from a DataTable into worksheet.
2313
+ # <example>The following code illustrates how to Imports data from a DataTable into a worksheet with the specified row and column:
2314
+ # <code>
2315
+ # //Create worksheet
2316
+ # Workbook workbook = new Workbook();
2317
+ # Worksheet worksheet = workbook.Worksheets[0];
2318
+ # //Create a DataTable
2319
+ # System.Data.DataTable table = new System.Data.DataTable();
2320
+ # table.Columns.Add("ID", typeof(int));
2321
+ # table.Columns.Add("Item", typeof(string));
2322
+ # table.Columns.Add("Name", typeof(string));
2323
+ # table.Rows.Add(1, "Soap", "David");
2324
+ # table.Rows.Add(2, "Paste", "Sam");
2325
+ # table.Rows.Add(3, "Cream", "Christoff");
2326
+ # //Insert the DataTable to worksheet
2327
+ # worksheet.InsertDataTable(table, true, 1, 1);
2328
+ # //Save to file
2329
+ # workbook.SaveToFile(InsertDataTable.xlsx");
2330
+ # </code>
2331
+ # </example>
2332
+ # </summary>
2333
+ # <param name="dataTable">DataTable with desired data.</param>
2334
+ # <param name="isFieldNameShown">True if column names must also be imported.</param>
2335
+ # <param name="firstRow">Row of the first cell where DataTable should be imported.</param>
2336
+ # <param name="firstColumn">Column of the first cell where DataTable should be imported.</param>
2337
+ # <returns>Number of imported rows.</returns>
2338
+ # """
2339
+ # pass
2340
+ #
2341
+
2342
+
2343
+ # @dispatch
2344
+ #
2345
+ # @abc.abstractmethod
2346
+ # def InsertDataTable(self ,dataTable:'DataTable',isFieldNameShown:bool,firstRow:int,firstColumn:int,preserveTypes:bool)->int:
2347
+ # """
2348
+ # <summary>
2349
+ # Imports data from a DataTable into worksheet.
2350
+ # <example>The following code illustrates how to Imports data from a DataTable into a worksheet with the specified row and column along with the preserve type:
2351
+ # <code>
2352
+ # //Create worksheet
2353
+ # Workbook workbook = new Workbook();
2354
+ # Worksheet worksheet = workbook.Worksheets[0];
2355
+ # //Create a DataTable
2356
+ # System.Data.DataTable table = new System.Data.DataTable();
2357
+ # table.Columns.Add("ID", typeof(int));
2358
+ # table.Columns.Add("Item", typeof(string));
2359
+ # table.Columns.Add("Name", typeof(string));
2360
+ # table.Rows.Add(1, "Soap", "David");
2361
+ # table.Rows.Add(2, "Paste", "Sam");
2362
+ # table.Rows.Add(3, "Cream", "Christoff");
2363
+ # //Insert the DataTable to worksheet
2364
+ # worksheet.InsertDataTable(table, true, 1, 1 , true);
2365
+ # //Save to file
2366
+ # workbook.SaveToFile(InsertDataTable.xlsx");
2367
+ # </code>
2368
+ # </example>
2369
+ # </summary>
2370
+ # <param name="dataTable">DataTable with desired data.</param>
2371
+ # <param name="isFieldNameShown">True if column names must also be imported.</param>
2372
+ # <param name="firstRow">Row of the first cell where DataTable should be imported.</param>
2373
+ # <param name="firstColumn">Column of the first cell where DataTable should be imported.</param>
2374
+ # <param name="preserveTypes">
2375
+ # Indicates whether XlsIO should try to preserve types in DataTable,
2376
+ # i.e. if it is set to False (default) and in DataTable we have in string column
2377
+ # value that contains only numbers, it would be converted to number.
2378
+ # </param>
2379
+ # <returns>Number of imported rows.</returns>
2380
+ # """
2381
+ # pass
2382
+ #
2383
+
2384
+
2385
+ # @dispatch
2386
+ #
2387
+ # @abc.abstractmethod
2388
+ # def InsertDataTable(self ,dataTable:'DataTable',isFieldNameShown:bool,firstRow:int,firstColumn:int,maxRows:int,maxColumns:int)->int:
2389
+ # """
2390
+ # <summary>
2391
+ # Imports data from a DataTable into worksheet.
2392
+ # <example>The following code illustrates how to Imports data from a DataTable into a worksheet with the specified range:
2393
+ # <code>
2394
+ # //Create worksheet
2395
+ # Workbook workbook = new Workbook();
2396
+ # Worksheet worksheet = workbook.Worksheets[0];
2397
+ # //Create a DataTable
2398
+ # System.Data.DataTable table = new System.Data.DataTable();
2399
+ # table.Columns.Add("ID", typeof(int));
2400
+ # table.Columns.Add("Item", typeof(string));
2401
+ # table.Columns.Add("Name", typeof(string));
2402
+ # table.Rows.Add(1, "Soap", "David");
2403
+ # table.Rows.Add(2, "Paste", "Sam");
2404
+ # table.Rows.Add(3, "Cream", "Christoff");
2405
+ # //Insert the DataTable to worksheet
2406
+ # worksheet.InsertDataTable(table, true, 1 , 1 , 2 , 2);
2407
+ # //Save to file
2408
+ # workbook.SaveToFile(InsertDataTable.xlsx");
2409
+ # </code>
2410
+ # </example>
2411
+ # </summary>
2412
+ # <param name="dataTable">DataTable with desired data.</param>
2413
+ # <param name="isFieldNameShown">True if column names must also be imported.</param>
2414
+ # <param name="firstRow">Row of the first cell where DataTable should be imported.</param>
2415
+ # <param name="firstColumn">Column of the first cell where DataTable should be imported.</param>
2416
+ # <param name="maxRows">Maximum number of rows to import.</param>
2417
+ # <param name="maxColumns">Maximum number of columns to import.</param>
2418
+ # <returns>Number of imported rows.</returns>
2419
+ # """
2420
+ # pass
2421
+ #
2422
+
2423
+
2424
+ # @dispatch
2425
+ #
2426
+ # @abc.abstractmethod
2427
+ # def InsertDataTable(self ,dataTable:'DataTable',isFieldNameShown:bool,firstRow:int,firstColumn:int,maxRows:int,maxColumns:int,preserveTypes:bool)->int:
2428
+ # """
2429
+ # <summary>
2430
+ # Imports data from a DataTable into worksheet.
2431
+ # <example>The following code illustrates how to Imports data from a DataTable into a worksheet with specified range along with preserve type:
2432
+ # <code>
2433
+ # //Create worksheet
2434
+ # Workbook workbook = new Workbook();
2435
+ # Worksheet worksheet = workbook.Worksheets[0];
2436
+ # //Create a DataTable
2437
+ # System.Data.DataTable table = new System.Data.DataTable();
2438
+ # table.Columns.Add("ID", typeof(int));
2439
+ # table.Columns.Add("Item", typeof(string));
2440
+ # table.Columns.Add("Name", typeof(string));
2441
+ # table.Rows.Add(1, "Soap", "David");
2442
+ # table.Rows.Add(2, "Paste", "Sam");
2443
+ # table.Rows.Add(3, "Cream", "Christoff");
2444
+ # //Insert the DataTable to worksheet
2445
+ # worksheet.InsertDataTable(table, true, 1 , 1 , 2 , 2 , true);
2446
+ # //Save to file
2447
+ # workbook.SaveToFile(InsertDataTable.xlsx");
2448
+ # </code>
2449
+ # </example>
2450
+ # </summary>
2451
+ # <param name="dataTable">DataTable with desired data.</param>
2452
+ # <param name="isFieldNameShown">True if column names must also be imported.</param>
2453
+ # <param name="firstRow">Row of the first cell where DataTable should be imported.</param>
2454
+ # <param name="firstColumn">Column of the first cell where DataTable should be imported.</param>
2455
+ # <param name="maxRows">Maximum number of rows to import.</param>
2456
+ # <param name="maxColumns">Maximum number of columns to import.</param>
2457
+ # <param name="preserveTypes">
2458
+ # Indicates whether XlsIO should try to preserve types in DataTable,
2459
+ # i.e. if it is set to False (default) and in DataTable we have in string column
2460
+ # value that contains only numbers, it would be converted to number.
2461
+ # </param>
2462
+ # <returns>Number of imported rows.</returns>
2463
+ # """
2464
+ # pass
2465
+ #
2466
+
2467
+
2468
+ # @dispatch
2469
+ #
2470
+ # @abc.abstractmethod
2471
+ # def InsertDataView(self ,dataView:'DataView',isFieldNameShown:bool,firstRow:int,firstColumn:int)->int:
2472
+ # """
2473
+ # <summary>
2474
+ # Imports data from a DataView into worksheet.
2475
+ # <example>The following code illustrates how to Imports data from a DataView into a worksheet with the specified row and column:
2476
+ # <code>
2477
+ # //Create worksheet
2478
+ # Workbook workbook = new Workbook();
2479
+ # Worksheet worksheet = workbook.Worksheets[0];
2480
+ # //Create a DataTable
2481
+ # System.Data.DataTable table = new System.Data.DataTable();
2482
+ # table.Columns.Add("ID", typeof(int));
2483
+ # table.Columns.Add("Item", typeof(string));
2484
+ # table.Columns.Add("Name", typeof(string));
2485
+ # table.Rows.Add(1, "Soap", "David");
2486
+ # table.Rows.Add(2, "Paste", "Sam");
2487
+ # table.Rows.Add(3, "Cream", "Christoff");
2488
+ # //Initialize dataview of datatable
2489
+ # System.Data.DataView view = table.DefaultView;
2490
+ # //Import data from DataView
2491
+ # worksheet.InsertDataView(view, true, 1, 1);
2492
+ # //Save to file
2493
+ # workbook.SaveToFile(InsertDataView.xlsx");
2494
+ # </code>
2495
+ # </example>
2496
+ # </summary>
2497
+ # <param name="dataView">DataView with desired data.</param>
2498
+ # <param name="isFieldNameShown">TRUE if column names must also be imported.</param>
2499
+ # <param name="firstRow">Row of the first cell where DataView should be imported.</param>
2500
+ # <param name="firstColumn">Column of the first cell where DataView should be imported.</param>
2501
+ # <returns>Number of imported rows.</returns>
2502
+ # """
2503
+ # pass
2504
+ #
2505
+
2506
+
2507
+ # @dispatch
2508
+ #
2509
+ # @abc.abstractmethod
2510
+ # def InsertDataView(self ,dataView:'DataView',isFieldNameShown:bool,firstRow:int,firstColumn:int,bPreserveTypes:bool)->int:
2511
+ # """
2512
+ # <summary>
2513
+ # Imports data from a DataView into worksheet.
2514
+ # <example>The following code illustrates how to Imports data from a DataView into a worksheet with the specified specified row and column along with preserve type:
2515
+ # <code>
2516
+ # //Create worksheet
2517
+ # Workbook workbook = new Workbook();
2518
+ # Worksheet worksheet = workbook.Worksheets[0];
2519
+ # //Create a DataTable
2520
+ # System.Data.DataTable table = new System.Data.DataTable();
2521
+ # table.Columns.Add("ID", typeof(int));
2522
+ # table.Columns.Add("Item", typeof(string));
2523
+ # table.Columns.Add("Name", typeof(string));
2524
+ # table.Rows.Add(1, "Soap", "David");
2525
+ # table.Rows.Add(2, "Paste", "Sam");
2526
+ # table.Rows.Add(3, "Cream", "Christoff");
2527
+ # //Initialize dataview of datatable
2528
+ # System.Data.DataView view = table.DefaultView;
2529
+ # //Import data from DataView
2530
+ # worksheet.InsertDataView(view, true, 1, 1 , true);
2531
+ # //Save to file
2532
+ # workbook.SaveToFile(InsertDataView.xlsx");
2533
+ # </code>
2534
+ # </example>
2535
+ # </summary>
2536
+ # <param name="dataView">DataView with desired data.</param>
2537
+ # <param name="isFieldNameShown">TRUE if column names must also be imported.</param>
2538
+ # <param name="firstRow">Row of the first cell where DataView should be imported.</param>
2539
+ # <param name="firstColumn">Column of the first cell where DataView should be imported.</param>
2540
+ # <param name="bPreserveTypes">Indicates whether to preserve column types.</param>
2541
+ # <returns>Number of imported rows.</returns>
2542
+ # """
2543
+ # pass
2544
+ #
2545
+
2546
+
2547
+ # @dispatch
2548
+ #
2549
+ # @abc.abstractmethod
2550
+ # def InsertDataView(self ,dataView:'DataView',isFieldNameShown:bool,firstRow:int,firstColumn:int,maxRows:int,maxColumns:int)->int:
2551
+ # """
2552
+ # <summary>
2553
+ # Imports data from a DataView into worksheet.
2554
+ # <example>The following code illustrates how to Imports data from a DataView into a worksheet with the specified range:
2555
+ # <code>
2556
+ # //Create worksheet
2557
+ # Workbook workbook = new Workbook();
2558
+ # Worksheet worksheet = workbook.Worksheets[0];
2559
+ # //Create a DataTable
2560
+ # System.Data.DataTable table = new System.Data.DataTable();
2561
+ # table.Columns.Add("ID", typeof(int));
2562
+ # table.Columns.Add("Item", typeof(string));
2563
+ # table.Columns.Add("Name", typeof(string));
2564
+ # table.Rows.Add(1, "Soap", "David");
2565
+ # table.Rows.Add(2, "Paste", "Sam");
2566
+ # table.Rows.Add(3, "Cream", "Christoff");
2567
+ # //Initialize dataview of datatable
2568
+ # System.Data.DataView view = table.DefaultView;
2569
+ # //Import data from DataView
2570
+ # worksheet.InsertDataView(view, true, 1, 1 , 2 , 2);
2571
+ # //Save to file
2572
+ # workbook.SaveToFile(InsertDataView.xlsx");
2573
+ # </code>
2574
+ # </example>
2575
+ # </summary>
2576
+ # <param name="dataView">DataView with desired data.</param>
2577
+ # <param name="isFieldNameShown">TRUE if column names must also be imported.</param>
2578
+ # <param name="firstRow">Row of the first cell where DataView should be imported.</param>
2579
+ # <param name="firstColumn">Column of the first cell where DataView should be imported.</param>
2580
+ # <param name="maxRows">Maximum number of rows to import.</param>
2581
+ # <param name="maxColumns">Maximum number of columns to import.</param>
2582
+ # <returns>Number of imported rows.</returns>
2583
+ # """
2584
+ # pass
2585
+ #
2586
+
2587
+
2588
+ # @dispatch
2589
+ #
2590
+ # @abc.abstractmethod
2591
+ # def InsertDataView(self ,dataView:'DataView',isFieldNameShown:bool,firstRow:int,firstColumn:int,maxRows:int,maxColumns:int,bPreserveTypes:bool)->int:
2592
+ # """
2593
+ # <summary>
2594
+ # Imports data from a DataView into worksheet.
2595
+ # <example>The following code illustrates how to Imports data from a DataView into a worksheet with the specified range along with preserve type:
2596
+ # <code>
2597
+ # //Create worksheet
2598
+ # Workbook workbook = new Workbook();
2599
+ # Worksheet worksheet = workbook.Worksheets[0];
2600
+ # //Create a DataTable
2601
+ # System.Data.DataTable table = new System.Data.DataTable();
2602
+ # table.Columns.Add("ID", typeof(int));
2603
+ # table.Columns.Add("Item", typeof(string));
2604
+ # table.Columns.Add("Name", typeof(string));
2605
+ # table.Rows.Add(1, "Soap", "David");
2606
+ # table.Rows.Add(2, "Paste", "Sam");
2607
+ # table.Rows.Add(3, "Cream", "Christoff");
2608
+ # //Initialize dataview of datatable
2609
+ # System.Data.DataView view = table.DefaultView;
2610
+ # //Import data from DataView
2611
+ # worksheet.InsertDataView(view, true, 1, 1 , 2 , 2 , true);
2612
+ # //Save to file
2613
+ # workbook.SaveToFile(InsertDataView.xlsx");
2614
+ # </code>
2615
+ # </example>
2616
+ # </summary>
2617
+ # <param name="dataView">DataView with desired data.</param>
2618
+ # <param name="isFieldNameShown">TRUE if column names must also be imported.</param>
2619
+ # <param name="firstRow">Row of the first cell where DataView should be imported.</param>
2620
+ # <param name="firstColumn">Column of the first cell where DataView should be imported.</param>
2621
+ # <param name="maxRows">Maximum number of rows to import.</param>
2622
+ # <param name="maxColumns">Maximum number of columns to import.</param>
2623
+ # <param name="bPreserveTypes">Indicates whether to preserve column types.</param>
2624
+ # <returns>Number of imported rows</returns>
2625
+ # """
2626
+ # pass
2627
+ #
2628
+
2629
+
2630
+ @abc.abstractmethod
2631
+ def RemovePanes(self):
2632
+ """
2633
+ Removes panes from a worksheet.
2634
+
2635
+ """
2636
+ pass
2637
+
2638
+