spire-xls 15.5.0__py3-none-win_amd64.whl → 15.7.1__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1032) hide show
  1. spire/xls/AddtionalFormatWrapper.py +98 -117
  2. spire/xls/Average.py +18 -4
  3. spire/xls/CellBaseStyle.py +13 -6
  4. spire/xls/CellBorder.py +25 -20
  5. spire/xls/CellRange.py +305 -269
  6. spire/xls/CellStyle.py +26 -12
  7. spire/xls/CellStyleFlag.py +181 -58
  8. spire/xls/CellStyleObject.py +36 -67
  9. spire/xls/CellValueChangedEventArgs.py +3 -9
  10. spire/xls/ColorScale.py +31 -39
  11. spire/xls/CommentsRange.py +185 -84
  12. spire/xls/CommonWrapper.py +23 -8
  13. spire/xls/ConverterSetting.py +19 -36
  14. spire/xls/DBConnection.py +41 -8
  15. spire/xls/DVAspect.py +8 -2
  16. spire/xls/DataBar.py +29 -28
  17. spire/xls/DocumentProperty.py +86 -38
  18. spire/xls/Excel2016Charttype.py +14 -2
  19. spire/xls/ExcelComment.py +1 -2
  20. spire/xls/ExcelCommentObject.py +206 -121
  21. spire/xls/ExcelFont.py +74 -59
  22. spire/xls/ExcelGradient.py +68 -24
  23. spire/xls/ExcelInterior.py +49 -20
  24. spire/xls/ExportTableOptions.py +33 -10
  25. spire/xls/ExternalConnection.py +85 -20
  26. spire/xls/ExternalLink.py +26 -10
  27. spire/xls/FileFormat.py +32 -4
  28. spire/xls/Font.py +95 -42
  29. spire/xls/FontArrayWrapper.py +135 -36
  30. spire/xls/FontWrapper.py +194 -92
  31. spire/xls/Format3D.py +130 -30
  32. spire/xls/GeomertyAdjustValue.py +22 -10
  33. spire/xls/GetText.py +8 -2
  34. spire/xls/GoalSeek.py +44 -14
  35. spire/xls/GoalSeekResult.py +36 -3
  36. spire/xls/GradientArrayWrapper.py +92 -28
  37. spire/xls/GradientStops.py +74 -24
  38. spire/xls/GradientType.py +10 -2
  39. spire/xls/GroupShape.py +1 -2
  40. spire/xls/HPageBreak.py +1 -2
  41. spire/xls/HTMLOptions.py +7 -19
  42. spire/xls/HyperLink.py +1 -2
  43. spire/xls/LOGFONT.py +78 -30
  44. spire/xls/OColor.py +62 -29
  45. spire/xls/OdsPageBackground.py +5 -10
  46. spire/xls/PageColRow.py +21 -10
  47. spire/xls/PageSetup.py +2 -3
  48. spire/xls/PaperSizeEntry.py +6 -0
  49. spire/xls/PicStretch.py +47 -14
  50. spire/xls/PicTile.py +35 -10
  51. spire/xls/QueryTableXls.py +19 -6
  52. spire/xls/RTFCommentArray.py +59 -22
  53. spire/xls/RTFStringArray.py +59 -22
  54. spire/xls/RangeRichTextString.py +20 -8
  55. spire/xls/ReferRangeArea.py +39 -16
  56. spire/xls/RichText.py +10 -8
  57. spire/xls/RichTextObject.py +63 -32
  58. spire/xls/RichTextShape.py +88 -32
  59. spire/xls/RichTextString.py +61 -24
  60. spire/xls/RtfTextWriter.py +68 -22
  61. spire/xls/SaveShapeTypeOption.py +19 -37
  62. spire/xls/ShapeGlow.py +34 -14
  63. spire/xls/ShapeReflection.py +55 -18
  64. spire/xls/StyleArrayWrapper.py +169 -78
  65. spire/xls/TextBoxShapeBase.py +63 -30
  66. spire/xls/TextSaveOptions.py +33 -18
  67. spire/xls/TopBottom.py +18 -6
  68. spire/xls/VPageBreak.py +3 -5
  69. spire/xls/Validation.py +12 -6
  70. spire/xls/WebQueryConnection.py +52 -20
  71. spire/xls/Workbook.py +810 -841
  72. spire/xls/Worksheet.py +444 -409
  73. spire/xls/WriteProtection.py +3 -6
  74. spire/xls/XlsAddInFunction.py +34 -20
  75. spire/xls/XlsArcShape.py +156 -40
  76. spire/xls/XlsBitmapShape.py +141 -43
  77. spire/xls/XlsBorder.py +72 -31
  78. spire/xls/XlsBorderArrayWrapper.py +50 -14
  79. spire/xls/XlsButtonShape.py +58 -16
  80. spire/xls/XlsCheckBoxShape.py +72 -18
  81. spire/xls/XlsComboBoxShape.py +53 -16
  82. spire/xls/XlsComment.py +108 -30
  83. spire/xls/XlsDataValidationTable.py +43 -16
  84. spire/xls/XlsDocumentProperty.py +163 -44
  85. spire/xls/XlsEventArgs.py +33 -24
  86. spire/xls/XlsEventHandler.py +10 -4
  87. spire/xls/XlsFill.py +64 -20
  88. spire/xls/XlsFont.py +182 -52
  89. spire/xls/XlsGradient.py +90 -26
  90. spire/xls/XlsGradientStop.py +57 -12
  91. spire/xls/XlsGroupBoxShape.py +36 -10
  92. spire/xls/XlsHPageBreak.py +47 -24
  93. spire/xls/XlsHyperLink.py +111 -42
  94. spire/xls/XlsLabelShape.py +27 -8
  95. spire/xls/XlsLineShape.py +188 -48
  96. spire/xls/XlsListBoxShape.py +63 -14
  97. spire/xls/XlsName.py +767 -318
  98. spire/xls/XlsObject.py +2 -4
  99. spire/xls/XlsOvalShape.py +78 -20
  100. spire/xls/XlsPageSetup.py +67 -34
  101. spire/xls/XlsPageSetupBase.py +29 -58
  102. spire/xls/XlsPrstGeomShape.py +29 -10
  103. spire/xls/XlsRadioButtonShape.py +94 -22
  104. spire/xls/XlsRange.py +881 -1077
  105. spire/xls/XlsRectangleShape.py +69 -22
  106. spire/xls/XlsScrollBarShape.py +78 -18
  107. spire/xls/XlsShape.py +391 -180
  108. spire/xls/XlsShapeFill.py +398 -92
  109. spire/xls/XlsShapeLineFormat.py +201 -44
  110. spire/xls/XlsSpinnerShape.py +57 -14
  111. spire/xls/XlsStyle.py +51 -20
  112. spire/xls/XlsTextBoxShape.py +263 -60
  113. spire/xls/XlsVPageBreak.py +9 -14
  114. spire/xls/XlsValidation.py +318 -68
  115. spire/xls/XlsValidationWrapper.py +217 -49
  116. spire/xls/XlsWorkbook.py +529 -65
  117. spire/xls/XlsWorksheet.py +1211 -1128
  118. spire/xls/XlsWorksheetBase.py +243 -168
  119. spire/xls/__init__.py +529 -528
  120. spire/xls/autofilter/AutoFitterOptions.py +84 -0
  121. spire/xls/autofilter/ColorFilter.py +61 -0
  122. spire/xls/autofilter/CustomFilter.py +199 -0
  123. spire/xls/autofilter/CustomFilterCollection.py +146 -0
  124. spire/xls/autofilter/DateTimeGroupItem.py +196 -0
  125. spire/xls/autofilter/DynamicFilter.py +89 -0
  126. spire/xls/autofilter/FilterColumn.py +289 -0
  127. spire/xls/autofilter/MultipleFilterCollection.py +218 -0
  128. spire/xls/autofilter/Top10Filter.py +109 -0
  129. spire/xls/autofilter/XlsAutoFiltersCollection.py +145 -0
  130. spire/xls/charts/Chart.py +369 -0
  131. spire/xls/charts/ChartArea.py +57 -0
  132. spire/xls/charts/ChartBackgroundMode.py +17 -0
  133. spire/xls/charts/ChartCategoryAxis.py +88 -0
  134. spire/xls/charts/ChartDataLabels.py +40 -0
  135. spire/xls/charts/ChartDataPoint.py +40 -0
  136. spire/xls/charts/ChartFormat.py +68 -0
  137. spire/xls/charts/ChartGridLine.py +26 -0
  138. spire/xls/charts/ChartLegend.py +40 -0
  139. spire/xls/charts/ChartLegendEntriesColl.py +165 -0
  140. spire/xls/charts/ChartLegendEntry.py +26 -0
  141. spire/xls/charts/ChartPlotArea.py +60 -0
  142. spire/xls/charts/ChartSerie.py +147 -0
  143. spire/xls/charts/ChartSerieDataFormat.py +54 -0
  144. spire/xls/charts/ChartSeriesAxis.py +68 -0
  145. spire/xls/charts/ChartShadow.py +288 -0
  146. spire/xls/charts/ChartSheet.py +269 -0
  147. spire/xls/charts/ChartTextArea.py +898 -0
  148. spire/xls/charts/ChartValueAxis.py +90 -0
  149. spire/xls/charts/HistogramAxisFormat.py +32 -0
  150. spire/xls/charts/XlsChart.py +1667 -0
  151. spire/xls/charts/XlsChartAxis.py +596 -0
  152. spire/xls/charts/XlsChartBorder.py +180 -0
  153. spire/xls/charts/XlsChartCategoryAxis.py +640 -0
  154. spire/xls/charts/XlsChartDataLabelArea.py +368 -0
  155. spire/xls/charts/XlsChartDataLabels.py +702 -0
  156. spire/xls/charts/XlsChartDataPoint.py +105 -0
  157. spire/xls/charts/XlsChartDataTable.py +373 -0
  158. spire/xls/charts/XlsChartDropBar.py +295 -0
  159. spire/xls/charts/XlsChartFill.py +659 -0
  160. spire/xls/charts/XlsChartFormat.py +1229 -0
  161. spire/xls/charts/XlsChartFrameFormat.py +612 -0
  162. spire/xls/charts/XlsChartGridLine.py +167 -0
  163. spire/xls/charts/XlsChartInterior.py +229 -0
  164. spire/xls/charts/XlsChartLegend.py +334 -0
  165. spire/xls/charts/XlsChartLegendArea.py +418 -0
  166. spire/xls/charts/XlsChartLegendEntry.py +152 -0
  167. spire/xls/charts/XlsChartSerie.py +607 -0
  168. spire/xls/charts/XlsChartSerieDataFormat.py +1070 -0
  169. spire/xls/charts/XlsChartSeriesAxis.py +306 -0
  170. spire/xls/charts/XlsChartShape.py +1256 -0
  171. spire/xls/charts/XlsChartTitleArea.py +399 -0
  172. spire/xls/charts/XlsChartValueAxis.py +344 -0
  173. spire/xls/charts/XlsChartWallOrFloor.py +349 -0
  174. spire/xls/charts/__init__.py +0 -0
  175. spire/xls/collection/AddInFunctionsCollection.py +31 -0
  176. spire/xls/collection/ArcShapeCollection.py +94 -0
  177. spire/xls/collection/AutoFiltersCollection.py +538 -0
  178. spire/xls/collection/BordersCollection.py +196 -0
  179. spire/xls/collection/BordersCollectionArrayWrapper.py +129 -0
  180. spire/xls/collection/BuiltInDocumentProperties.py +12 -0
  181. spire/xls/collection/ChartDataPointsCollection.py +72 -0
  182. spire/xls/collection/ChartFormatCollection.py +58 -0
  183. spire/xls/collection/ChartSeries.py +187 -0
  184. spire/xls/collection/ChartsCollection.py +119 -0
  185. spire/xls/collection/CollectionBase.py +201 -0
  186. spire/xls/collection/CollectionExtended.py +96 -0
  187. spire/xls/collection/ComboBoxCollection.py +89 -0
  188. spire/xls/collection/CommentsCollection.py +134 -0
  189. spire/xls/collection/GroupShapeCollection.py +45 -0
  190. spire/xls/collection/HPageBreaksCollection.py +116 -0
  191. spire/xls/collection/HyperLinksCollection.py +72 -0
  192. spire/xls/collection/ListObjectCollection.py +48 -0
  193. spire/xls/collection/OvalShapeCollection.py +89 -0
  194. spire/xls/collection/PicturesCollection.py +574 -0
  195. spire/xls/collection/PrstGeomShapeCollection.py +128 -0
  196. spire/xls/collection/RadioButtonCollection.py +139 -0
  197. spire/xls/collection/RangesCollection.py +555 -0
  198. spire/xls/collection/StylesCollection.py +140 -0
  199. spire/xls/collection/VPageBreaksCollection.py +95 -0
  200. spire/xls/collection/WorksheetsCollection.py +363 -0
  201. spire/xls/collection/XlsAddInFunctionsCollection.py +108 -0
  202. spire/xls/collection/XlsBordersCollection.py +98 -0
  203. spire/xls/collection/XlsBuiltInDocumentProperties.py +611 -0
  204. spire/xls/collection/XlsChartDataPointsCollection.py +119 -0
  205. spire/xls/collection/XlsChartFormatCollection.py +160 -0
  206. spire/xls/collection/XlsCommentsCollection.py +116 -0
  207. spire/xls/collection/XlsDataValidationCollection.py +155 -0
  208. spire/xls/collection/XlsHPageBreaksCollection.py +87 -0
  209. spire/xls/collection/XlsHyperLinksCollection.py +104 -0
  210. spire/xls/collection/XlsRangesCollection.py +1634 -0
  211. spire/xls/collection/XlsStylesCollection.py +74 -0
  212. spire/xls/collection/XlsVPageBreaksCollection.py +81 -0
  213. spire/xls/collection/XlsWorksheetsCollection.py +423 -0
  214. spire/xls/collection/__init__.py +0 -0
  215. spire/xls/collection/pivot_table/PivotConditionalFormatCollection.py +38 -0
  216. spire/xls/collection/pivot_table/PivotTableFields.py +108 -0
  217. spire/xls/collection/pivot_table/XlsPivotCachesCollection.py +123 -0
  218. spire/xls/collection/pivot_table/__init__.py +0 -0
  219. spire/xls/conditional_formatting/ColorConditionValue.py +102 -0
  220. spire/xls/conditional_formatting/CondFormatCollectionWrapper.py +153 -0
  221. spire/xls/conditional_formatting/ConditionValue.py +83 -0
  222. spire/xls/conditional_formatting/ConditionValuePosition.py +16 -0
  223. spire/xls/conditional_formatting/ConditionalFormat.py +13 -0
  224. spire/xls/conditional_formatting/ConditionalFormatScope.py +16 -0
  225. spire/xls/conditional_formatting/ConditionalFormatWrapper.py +1271 -0
  226. spire/xls/conditional_formatting/ConditionalFormats.py +65 -0
  227. spire/xls/conditional_formatting/DataBarBorder.py +51 -0
  228. spire/xls/conditional_formatting/NegativeBarFormat.py +90 -0
  229. spire/xls/conditional_formatting/XlsConditionValue.py +134 -0
  230. spire/xls/conditional_formatting/XlsConditionalFormat.py +1155 -0
  231. spire/xls/conditional_formatting/XlsConditionalFormats.py +679 -0
  232. spire/xls/conditional_formatting/__init__.py +0 -0
  233. spire/xls/enums/AlertStyleType.py +17 -0
  234. spire/xls/enums/AutoFormatOptions.py +22 -0
  235. spire/xls/enums/AutoFormatType.py +31 -0
  236. spire/xls/enums/AverageType.py +24 -0
  237. spire/xls/enums/AxisLineIdentifierType.py +18 -0
  238. spire/xls/enums/AxisTextDirectionType.py +17 -0
  239. spire/xls/enums/AxisType.py +17 -0
  240. spire/xls/enums/BaseFormatType.py +16 -0
  241. spire/xls/enums/BordersLineType.py +22 -0
  242. spire/xls/enums/BubbleSizeType.py +16 -0
  243. spire/xls/enums/BuiltInPropertyType.py +49 -0
  244. spire/xls/enums/BuiltInStyles.py +65 -0
  245. spire/xls/enums/CategoryType.py +17 -0
  246. spire/xls/enums/CellDataType.py +22 -0
  247. spire/xls/enums/CellFormatType.py +20 -0
  248. spire/xls/enums/ChartBaseUnitType.py +17 -0
  249. spire/xls/enums/ChartDisplayUnitType.py +25 -0
  250. spire/xls/enums/ChartLinePatternType.py +23 -0
  251. spire/xls/enums/ChartLineWeightType.py +18 -0
  252. spire/xls/enums/ChartMarkerType.py +26 -0
  253. spire/xls/enums/ChartParagraphType.py +17 -0
  254. spire/xls/enums/ChartPieType.py +17 -0
  255. spire/xls/enums/ChartPlotEmptyType.py +17 -0
  256. spire/xls/enums/CheckState.py +17 -0
  257. spire/xls/enums/ColorType.py +17 -0
  258. spire/xls/enums/CommentHAlignType.py +20 -0
  259. spire/xls/enums/CommentVAlignType.py +19 -0
  260. spire/xls/enums/ComparisonOperatorType.py +23 -0
  261. spire/xls/enums/ConditionalFormatType.py +32 -0
  262. spire/xls/enums/DataLabelPositionType.py +25 -0
  263. spire/xls/enums/DataSourceType.py +18 -0
  264. spire/xls/enums/DropLineStyleType.py +17 -0
  265. spire/xls/enums/ErrorBarIncludeType.py +18 -0
  266. spire/xls/enums/ErrorBarType.py +19 -0
  267. spire/xls/enums/ExcelCalculationMode.py +17 -0
  268. spire/xls/enums/ExcelChartType.py +95 -0
  269. spire/xls/enums/ExcelColors.py +120 -0
  270. spire/xls/enums/ExcelComboType.py +21 -0
  271. spire/xls/enums/ExcelHorizontalAlignment.py +20 -0
  272. spire/xls/enums/ExcelPatternType.py +51 -0
  273. spire/xls/enums/ExcelQuartileCalculation.py +16 -0
  274. spire/xls/enums/ExcelShapeType.py +40 -0
  275. spire/xls/enums/ExcelSheetType.py +19 -0
  276. spire/xls/enums/ExcelTreeMapLabelOption.py +17 -0
  277. spire/xls/enums/ExcelVersion.py +23 -0
  278. spire/xls/enums/ExcelVerticalAlignment.py +20 -0
  279. spire/xls/enums/ExpandCollapseFlags.py +17 -0
  280. spire/xls/enums/FilterConditionType.py +20 -0
  281. spire/xls/enums/FilterDataType.py +21 -0
  282. spire/xls/enums/FontUnderlineType.py +19 -0
  283. spire/xls/enums/FontVertialAlignmentType.py +17 -0
  284. spire/xls/enums/GradientColorType.py +17 -0
  285. spire/xls/enums/GradientPatternType.py +63 -0
  286. spire/xls/enums/GradientPresetType.py +38 -0
  287. spire/xls/enums/GradientStyleType.py +20 -0
  288. spire/xls/enums/GradientTextureType.py +39 -0
  289. spire/xls/enums/GradientVariantsType.py +18 -0
  290. spire/xls/enums/HorizontalAlignType.py +22 -0
  291. spire/xls/enums/HyperLinkType.py +19 -0
  292. spire/xls/enums/IgnoreErrorType.py +23 -0
  293. spire/xls/enums/ImageFormatType.py +17 -0
  294. spire/xls/enums/ImageType.py +16 -0
  295. spire/xls/enums/LegendPositionType.py +20 -0
  296. spire/xls/enums/LegendSpacingType.py +17 -0
  297. spire/xls/enums/LineStyleType.py +28 -0
  298. spire/xls/enums/OleObjectType.py +50 -0
  299. spire/xls/enums/OrderBy.py +18 -0
  300. spire/xls/enums/OrderType.py +16 -0
  301. spire/xls/enums/PageBreakExtentType.py +16 -0
  302. spire/xls/enums/PageBreakType.py +17 -0
  303. spire/xls/enums/PageOrientationType.py +16 -0
  304. spire/xls/enums/PagesOrderType.py +16 -0
  305. spire/xls/enums/PaperSizeType.py +134 -0
  306. spire/xls/enums/PivotGroupByTypes.py +22 -0
  307. spire/xls/enums/PrintCommentType.py +17 -0
  308. spire/xls/enums/PrintErrorsType.py +18 -0
  309. spire/xls/enums/ReadingOrderType.py +17 -0
  310. spire/xls/enums/RectangleStyleType.py +16 -0
  311. spire/xls/enums/ResizeBehaveType.py +17 -0
  312. spire/xls/enums/ShapeArrowLengthType.py +17 -0
  313. spire/xls/enums/ShapeArrowStyleType.py +20 -0
  314. spire/xls/enums/ShapeArrowWidthType.py +17 -0
  315. spire/xls/enums/ShapeDashLineStyleType.py +22 -0
  316. spire/xls/enums/ShapeFillType.py +21 -0
  317. spire/xls/enums/ShapeLayerChangeType.py +18 -0
  318. spire/xls/enums/ShapeLineStyleType.py +19 -0
  319. spire/xls/enums/SheetProtectionType.py +32 -0
  320. spire/xls/enums/SortComparsionType.py +18 -0
  321. spire/xls/enums/SortOrientationType.py +16 -0
  322. spire/xls/enums/SortedWayType.py +17 -0
  323. spire/xls/enums/SparklineType.py +17 -0
  324. spire/xls/enums/SplitType.py +18 -0
  325. spire/xls/enums/TextDirection.py +19 -0
  326. spire/xls/enums/TextRotationType.py +18 -0
  327. spire/xls/enums/ThemeColorType.py +26 -0
  328. spire/xls/enums/TickLabelPositionType.py +18 -0
  329. spire/xls/enums/TickMarkType.py +18 -0
  330. spire/xls/enums/TopBottomType.py +18 -0
  331. spire/xls/enums/TopFormatType.py +17 -0
  332. spire/xls/enums/TrendLineType.py +20 -0
  333. spire/xls/enums/UnknownVariableAction.py +17 -0
  334. spire/xls/enums/ValidationComparisonOperator.py +22 -0
  335. spire/xls/enums/VariableTypeAction.py +17 -0
  336. spire/xls/enums/VerticalAlignType.py +19 -0
  337. spire/xls/enums/ViewMode.py +17 -0
  338. spire/xls/enums/WorksheetVisibility.py +17 -0
  339. spire/xls/enums/XLSXBorderJoinType.py +18 -0
  340. spire/xls/enums/XLSXChartMaterialType.py +31 -0
  341. spire/xls/enums/XLSXChartPrespectiveType.py +20 -0
  342. spire/xls/enums/XLSXChartShadowInnerType.py +24 -0
  343. spire/xls/enums/XLSXChartShadowOuterType.py +24 -0
  344. spire/xls/enums/__init__.py +1 -0
  345. spire/xls/interfaces/IArcShape.py +285 -0
  346. spire/xls/interfaces/IChart.py +1597 -0
  347. spire/xls/interfaces/IChartAxis.py +786 -0
  348. spire/xls/interfaces/IChartBorder.py +203 -0
  349. spire/xls/interfaces/IChartCategoryAxis.py +522 -0
  350. spire/xls/interfaces/IChartDataLabels.py +419 -0
  351. spire/xls/interfaces/IChartDataPoint.py +114 -0
  352. spire/xls/interfaces/IChartDataTable.py +184 -0
  353. spire/xls/interfaces/IChartErrorBars.py +340 -0
  354. spire/xls/interfaces/IChartFillBorder.py +268 -0
  355. spire/xls/interfaces/IChartFormat.py +521 -0
  356. spire/xls/interfaces/IChartFrameFormat.py +85 -0
  357. spire/xls/interfaces/IChartGridLine.py +100 -0
  358. spire/xls/interfaces/IChartInterior.py +259 -0
  359. spire/xls/interfaces/IChartLegend.py +453 -0
  360. spire/xls/interfaces/IChartLegendEntry.py +167 -0
  361. spire/xls/interfaces/IChartPageSetup.py +51 -0
  362. spire/xls/interfaces/IChartSerie.py +727 -0
  363. spire/xls/interfaces/IChartSerieDataFormat.py +519 -0
  364. spire/xls/interfaces/IChartSeriesAxis.py +118 -0
  365. spire/xls/interfaces/IChartShape.py +88 -0
  366. spire/xls/interfaces/IChartTextArea.py +181 -0
  367. spire/xls/interfaces/IChartTrendLine.py +502 -0
  368. spire/xls/interfaces/IChartValueAxis.py +586 -0
  369. spire/xls/interfaces/IChartWallOrFloor.py +40 -0
  370. spire/xls/interfaces/ICheckBox.py +120 -0
  371. spire/xls/interfaces/ICloneParent.py +29 -0
  372. spire/xls/interfaces/IColorConditionValue.py +44 -0
  373. spire/xls/interfaces/IColorScale.py +39 -0
  374. spire/xls/interfaces/ICombinedRange.py +109 -0
  375. spire/xls/interfaces/IComboBoxShape.py +120 -0
  376. spire/xls/interfaces/IComment.py +110 -0
  377. spire/xls/interfaces/ICommentShape.py +20 -0
  378. spire/xls/interfaces/IConditionValue.py +83 -0
  379. spire/xls/interfaces/IConditionalFormat.py +757 -0
  380. spire/xls/interfaces/IConditionalFormats.py +66 -0
  381. spire/xls/interfaces/ICustomDocumentProperties.py +168 -0
  382. spire/xls/interfaces/IDataBar.py +127 -0
  383. spire/xls/interfaces/IDataValidation.py +506 -0
  384. spire/xls/interfaces/IDataValidationTable.py +84 -0
  385. spire/xls/interfaces/IDigitalSignature.py +111 -0
  386. spire/xls/interfaces/IDigitalSignatures.py +33 -0
  387. spire/xls/interfaces/IDocumentProperty.py +276 -0
  388. spire/xls/interfaces/IErrorIndicator.py +38 -0
  389. spire/xls/interfaces/IExtendIndex.py +26 -0
  390. spire/xls/interfaces/IExtendedFormat.py +631 -0
  391. spire/xls/interfaces/IFont.py +313 -0
  392. spire/xls/interfaces/IFormat3D.py +307 -0
  393. spire/xls/interfaces/IGeomPath.py +27 -0
  394. spire/xls/interfaces/IGeomPathInfo.py +141 -0
  395. spire/xls/interfaces/IGeomPathShape.py +40 -0
  396. spire/xls/interfaces/IGlow.py +104 -0
  397. spire/xls/interfaces/IGradient.py +203 -0
  398. spire/xls/interfaces/IGroupBox.py +82 -0
  399. spire/xls/interfaces/IHPageBreak.py +26 -0
  400. spire/xls/interfaces/IHyperLink.py +137 -0
  401. spire/xls/interfaces/IIconSet.py +115 -0
  402. spire/xls/interfaces/IInterior.py +137 -0
  403. spire/xls/interfaces/IInternalAddtionalFormat.py +277 -0
  404. spire/xls/interfaces/IInternalFont.py +38 -0
  405. spire/xls/interfaces/ILabelShape.py +60 -0
  406. spire/xls/interfaces/ILineShape.py +334 -0
  407. spire/xls/interfaces/IListObject.py +443 -0
  408. spire/xls/interfaces/IListObjectColumn.py +196 -0
  409. spire/xls/interfaces/IMarkersDesigner.py +133 -0
  410. spire/xls/interfaces/IMigrantRange.py +28 -0
  411. spire/xls/interfaces/INamedObject.py +27 -0
  412. spire/xls/interfaces/INamedRange.py +246 -0
  413. spire/xls/interfaces/INumberFormat.py +90 -0
  414. spire/xls/interfaces/IOleObject.py +225 -0
  415. spire/xls/interfaces/IOptimizedUpdate.py +35 -0
  416. spire/xls/interfaces/IOvalShape.py +201 -0
  417. spire/xls/interfaces/IPageSetup.py +260 -0
  418. spire/xls/interfaces/IPageSetupBase.py +849 -0
  419. spire/xls/interfaces/IPictureShape.py +118 -0
  420. spire/xls/interfaces/IPropertyData.py +100 -0
  421. spire/xls/interfaces/IPrstGeomShape.py +103 -0
  422. spire/xls/interfaces/IRadioButton.py +159 -0
  423. spire/xls/interfaces/IRectangleShape.py +90 -0
  424. spire/xls/interfaces/IReflectionEffect.py +217 -0
  425. spire/xls/interfaces/IScrollBarShape.py +139 -0
  426. spire/xls/interfaces/IShadow.py +385 -0
  427. spire/xls/interfaces/IShape.py +620 -0
  428. spire/xls/interfaces/IShapeFill.py +767 -0
  429. spire/xls/interfaces/IShapeLineFormat.py +488 -0
  430. spire/xls/interfaces/ISortColumn.py +138 -0
  431. spire/xls/interfaces/ISortColumns.py +106 -0
  432. spire/xls/interfaces/ISortedRule.py +154 -0
  433. spire/xls/interfaces/ISpinnerShape.py +124 -0
  434. spire/xls/interfaces/IStyle.py +60 -0
  435. spire/xls/interfaces/ITabSheet.py +364 -0
  436. spire/xls/interfaces/ITextBox.py +140 -0
  437. spire/xls/interfaces/ITextBoxLinkShape.py +48 -0
  438. spire/xls/interfaces/ITextBoxShape.py +27 -0
  439. spire/xls/interfaces/ITextFrame.py +146 -0
  440. spire/xls/interfaces/IVPageBreak.py +26 -0
  441. spire/xls/interfaces/IWorkbook.py +1736 -0
  442. spire/xls/interfaces/IWorksheet.py +2638 -0
  443. spire/xls/interfaces/IXLSRange.py +2241 -0
  444. spire/xls/interfaces/IXLSRanges.py +40 -0
  445. spire/xls/interfaces/IconSet.py +125 -0
  446. spire/xls/interfaces/ImageLocationTypes.py +17 -0
  447. spire/xls/interfaces/ImportObjectOptions.py +136 -0
  448. spire/xls/interfaces/InsertMoveOption.py +17 -0
  449. spire/xls/interfaces/InteriorArrayWrapper.py +181 -0
  450. spire/xls/interfaces/__init__.py +0 -0
  451. spire/xls/interfaces/collections/IDataValidationCollection.py +128 -0
  452. spire/xls/interfaces/collections/IHPageBreaks.py +37 -0
  453. spire/xls/interfaces/collections/IListObjects.py +34 -0
  454. spire/xls/interfaces/collections/IOleObjects.py +44 -0
  455. spire/xls/interfaces/collections/IPrstGeomShapes.py +87 -0
  456. spire/xls/interfaces/collections/IShapes.py +273 -0
  457. spire/xls/interfaces/collections/ITextBoxes.py +67 -0
  458. spire/xls/interfaces/collections/IVPageBreaks.py +37 -0
  459. spire/xls/interfaces/collections/__init__.py +0 -0
  460. spire/xls/interfaces/pivot_table/IPivotCache.py +50 -0
  461. spire/xls/interfaces/pivot_table/IPivotCaches.py +52 -0
  462. spire/xls/interfaces/pivot_table/IPivotCalculatedFields.py +69 -0
  463. spire/xls/interfaces/pivot_table/IPivotField.py +372 -0
  464. spire/xls/interfaces/pivot_table/IPivotTable.py +509 -0
  465. spire/xls/interfaces/pivot_table/IPivotTableOptions.py +507 -0
  466. spire/xls/interfaces/pivot_table/__init__.py +0 -0
  467. spire/xls/interfaces/sorting/__init__.py +0 -0
  468. spire/xls/lib/Spire.Xls.Base.dll +0 -0
  469. spire/xls/lib/_init_.py +0 -0
  470. spire/xls/license/LicenseProvider.py +107 -0
  471. spire/xls/license/__init__.py +0 -0
  472. spire/xls/pivot_tables/AutoSortScope.py +29 -0
  473. spire/xls/pivot_tables/PivotConditionalFormat.py +71 -0
  474. spire/xls/pivot_tables/PivotDataField.py +163 -0
  475. spire/xls/pivot_tables/PivotItem.py +228 -0
  476. spire/xls/pivot_tables/PivotReportFilter.py +199 -0
  477. spire/xls/pivot_tables/PivotReportFilters.py +95 -0
  478. spire/xls/pivot_tables/PivotStyle.py +104 -0
  479. spire/xls/pivot_tables/PivotTableStyle.py +76 -0
  480. spire/xls/pivot_tables/XlsPivotCache.py +506 -0
  481. spire/xls/pivot_tables/XlsPivotCacheField.py +276 -0
  482. spire/xls/pivot_tables/XlsPivotField.py +975 -0
  483. spire/xls/pivot_tables/XlsPivotTable.py +1189 -0
  484. spire/xls/pivot_tables/__init__.py +0 -0
  485. spire/xls/security/__init__.py +0 -0
  486. spire/xls/sorting/DataSorter.py +152 -0
  487. spire/xls/sorting/SortColumn.py +115 -0
  488. spire/xls/sorting/SortColumns.py +194 -0
  489. spire/xls/sorting/__init__.py +0 -0
  490. spire/xls/sparkline/ISparklines.py +72 -0
  491. spire/xls/sparkline/Sparkline.py +89 -0
  492. spire/xls/sparkline/SparklineCollection.py +107 -0
  493. spire/xls/sparkline/SparklineGroup.py +592 -0
  494. spire/xls/sparkline/SparklineGroupCollection.py +67 -0
  495. spire/xls/sparkline/__init__.py +0 -0
  496. spire/xls/template_markers/MarkerDesigner.py +171 -0
  497. spire/xls/template_markers/__init__.py +0 -0
  498. spire_xls-15.7.1.dist-info/METADATA +197 -0
  499. spire_xls-15.7.1.dist-info/RECORD +720 -0
  500. spire/xls/AddInFunctionsCollection.py +0 -29
  501. spire/xls/AlertStyleType.py +0 -18
  502. spire/xls/ArcShapeCollection.py +0 -70
  503. spire/xls/AutoFiltersCollection.py +0 -527
  504. spire/xls/AutoFitterOptions.py +0 -66
  505. spire/xls/AutoFormatOptions.py +0 -23
  506. spire/xls/AutoFormatType.py +0 -32
  507. spire/xls/AutoSortScope.py +0 -25
  508. spire/xls/AverageType.py +0 -25
  509. spire/xls/AxisLineIdentifierType.py +0 -19
  510. spire/xls/AxisTextDirectionType.py +0 -18
  511. spire/xls/AxisType.py +0 -18
  512. spire/xls/BaseFormatType.py +0 -17
  513. spire/xls/BordersCollection.py +0 -158
  514. spire/xls/BordersCollectionArrayWrapper.py +0 -95
  515. spire/xls/BordersLineType.py +0 -23
  516. spire/xls/BubbleSizeType.py +0 -17
  517. spire/xls/BuiltInDocumentProperties.py +0 -12
  518. spire/xls/BuiltInPropertyType.py +0 -50
  519. spire/xls/BuiltInStyles.py +0 -66
  520. spire/xls/CategoryType.py +0 -18
  521. spire/xls/CellDataType.py +0 -23
  522. spire/xls/CellFormatType.py +0 -21
  523. spire/xls/Chart.py +0 -404
  524. spire/xls/ChartArea.py +0 -61
  525. spire/xls/ChartBackgroundMode.py +0 -18
  526. spire/xls/ChartBaseUnitType.py +0 -18
  527. spire/xls/ChartCategoryAxis.py +0 -93
  528. spire/xls/ChartDataLabels.py +0 -42
  529. spire/xls/ChartDataPoint.py +0 -42
  530. spire/xls/ChartDataPointsCollection.py +0 -75
  531. spire/xls/ChartDisplayUnitType.py +0 -26
  532. spire/xls/ChartFormat.py +0 -72
  533. spire/xls/ChartFormatCollection.py +0 -59
  534. spire/xls/ChartGridLine.py +0 -27
  535. spire/xls/ChartLegend.py +0 -42
  536. spire/xls/ChartLegendEntriesColl.py +0 -128
  537. spire/xls/ChartLegendEntry.py +0 -27
  538. spire/xls/ChartLinePatternType.py +0 -24
  539. spire/xls/ChartLineWeightType.py +0 -19
  540. spire/xls/ChartMarkerType.py +0 -27
  541. spire/xls/ChartParagraphType.py +0 -18
  542. spire/xls/ChartPieType.py +0 -18
  543. spire/xls/ChartPlotArea.py +0 -53
  544. spire/xls/ChartPlotEmptyType.py +0 -18
  545. spire/xls/ChartSerie.py +0 -142
  546. spire/xls/ChartSerieDataFormat.py +0 -56
  547. spire/xls/ChartSeries.py +0 -154
  548. spire/xls/ChartSeriesAxis.py +0 -72
  549. spire/xls/ChartShadow.py +0 -235
  550. spire/xls/ChartSheet.py +0 -285
  551. spire/xls/ChartTextArea.py +0 -782
  552. spire/xls/ChartValueAxis.py +0 -92
  553. spire/xls/ChartsCollection.py +0 -113
  554. spire/xls/CheckState.py +0 -18
  555. spire/xls/CollectionBase.py +0 -184
  556. spire/xls/CollectionExtended.py +0 -92
  557. spire/xls/ColorConditionValue.py +0 -91
  558. spire/xls/ColorFilter.py +0 -45
  559. spire/xls/ColorType.py +0 -18
  560. spire/xls/ComboBoxCollection.py +0 -70
  561. spire/xls/CommentHAlignType.py +0 -21
  562. spire/xls/CommentVAlignType.py +0 -20
  563. spire/xls/CommentsCollection.py +0 -109
  564. spire/xls/ComparisonOperatorType.py +0 -24
  565. spire/xls/CondFormatCollectionWrapper.py +0 -125
  566. spire/xls/ConditionValue.py +0 -82
  567. spire/xls/ConditionValuePosition.py +0 -16
  568. spire/xls/ConditionalFormat.py +0 -14
  569. spire/xls/ConditionalFormatScope.py +0 -16
  570. spire/xls/ConditionalFormatType.py +0 -33
  571. spire/xls/ConditionalFormatWrapper.py +0 -986
  572. spire/xls/ConditionalFormats.py +0 -55
  573. spire/xls/CustomFilter.py +0 -147
  574. spire/xls/CustomFilterCollection.py +0 -113
  575. spire/xls/DataBarBorder.py +0 -47
  576. spire/xls/DataLabelPositionType.py +0 -26
  577. spire/xls/DataSorter.py +0 -154
  578. spire/xls/DataSourceType.py +0 -19
  579. spire/xls/DateTimeGroupItem.py +0 -132
  580. spire/xls/DropLineStyleType.py +0 -18
  581. spire/xls/DynamicFilter.py +0 -71
  582. spire/xls/ErrorBarIncludeType.py +0 -19
  583. spire/xls/ErrorBarType.py +0 -20
  584. spire/xls/ExcelCalculationMode.py +0 -18
  585. spire/xls/ExcelChartType.py +0 -96
  586. spire/xls/ExcelColors.py +0 -121
  587. spire/xls/ExcelComboType.py +0 -22
  588. spire/xls/ExcelHorizontalAlignment.py +0 -21
  589. spire/xls/ExcelPatternType.py +0 -52
  590. spire/xls/ExcelQuartileCalculation.py +0 -17
  591. spire/xls/ExcelShapeType.py +0 -41
  592. spire/xls/ExcelSheetType.py +0 -20
  593. spire/xls/ExcelTreeMapLabelOption.py +0 -18
  594. spire/xls/ExcelVersion.py +0 -24
  595. spire/xls/ExcelVerticalAlignment.py +0 -21
  596. spire/xls/ExpandCollapseFlags.py +0 -18
  597. spire/xls/FilterColumn.py +0 -258
  598. spire/xls/FilterConditionType.py +0 -21
  599. spire/xls/FilterDataType.py +0 -22
  600. spire/xls/FontUnderlineType.py +0 -20
  601. spire/xls/FontVertialAlignmentType.py +0 -20
  602. spire/xls/GradientColorType.py +0 -18
  603. spire/xls/GradientPatternType.py +0 -64
  604. spire/xls/GradientPresetType.py +0 -39
  605. spire/xls/GradientStyleType.py +0 -21
  606. spire/xls/GradientTextureType.py +0 -40
  607. spire/xls/GradientVariantsType.py +0 -19
  608. spire/xls/GroupShapeCollection.py +0 -46
  609. spire/xls/HPageBreaksCollection.py +0 -108
  610. spire/xls/HistogramAxisFormat.py +0 -30
  611. spire/xls/HorizontalAlignType.py +0 -23
  612. spire/xls/HyperLinkType.py +0 -20
  613. spire/xls/HyperLinksCollection.py +0 -72
  614. spire/xls/IArcShape.py +0 -259
  615. spire/xls/IChart.py +0 -1368
  616. spire/xls/IChartAxis.py +0 -722
  617. spire/xls/IChartBorder.py +0 -220
  618. spire/xls/IChartCategoryAxis.py +0 -410
  619. spire/xls/IChartDataLabels.py +0 -457
  620. spire/xls/IChartDataPoint.py +0 -131
  621. spire/xls/IChartDataTable.py +0 -197
  622. spire/xls/IChartErrorBars.py +0 -373
  623. spire/xls/IChartFillBorder.py +0 -303
  624. spire/xls/IChartFormat.py +0 -571
  625. spire/xls/IChartFrameFormat.py +0 -93
  626. spire/xls/IChartGridLine.py +0 -107
  627. spire/xls/IChartInterior.py +0 -278
  628. spire/xls/IChartLegend.py +0 -499
  629. spire/xls/IChartLegendEntry.py +0 -178
  630. spire/xls/IChartPageSetup.py +0 -56
  631. spire/xls/IChartSerie.py +0 -779
  632. spire/xls/IChartSerieDataFormat.py +0 -566
  633. spire/xls/IChartSeriesAxis.py +0 -128
  634. spire/xls/IChartShape.py +0 -92
  635. spire/xls/IChartTextArea.py +0 -197
  636. spire/xls/IChartTrendLine.py +0 -548
  637. spire/xls/IChartValueAxis.py +0 -518
  638. spire/xls/IChartWallOrFloor.py +0 -32
  639. spire/xls/ICheckBox.py +0 -96
  640. spire/xls/ICloneParent.py +0 -28
  641. spire/xls/IColorConditionValue.py +0 -31
  642. spire/xls/IColorScale.py +0 -32
  643. spire/xls/ICombinedRange.py +0 -87
  644. spire/xls/IComboBoxShape.py +0 -95
  645. spire/xls/IComment.py +0 -85
  646. spire/xls/ICommentShape.py +0 -12
  647. spire/xls/IConditionValue.py +0 -68
  648. spire/xls/IConditionalFormat.py +0 -606
  649. spire/xls/IConditionalFormats.py +0 -48
  650. spire/xls/ICustomDocumentProperties.py +0 -128
  651. spire/xls/IDataBar.py +0 -105
  652. spire/xls/IDataValidation.py +0 -421
  653. spire/xls/IDataValidationCollection.py +0 -132
  654. spire/xls/IDataValidationTable.py +0 -68
  655. spire/xls/IDigitalSignature.py +0 -99
  656. spire/xls/IDigitalSignatures.py +0 -29
  657. spire/xls/IDocumentProperty.py +0 -226
  658. spire/xls/IErrorIndicator.py +0 -31
  659. spire/xls/IExtendIndex.py +0 -21
  660. spire/xls/IExtendedFormat.py +0 -530
  661. spire/xls/IFont.py +0 -271
  662. spire/xls/IFormat3D.py +0 -252
  663. spire/xls/IGeomPath.py +0 -23
  664. spire/xls/IGeomPathInfo.py +0 -112
  665. spire/xls/IGeomPathShape.py +0 -30
  666. spire/xls/IGlow.py +0 -85
  667. spire/xls/IGradient.py +0 -174
  668. spire/xls/IGroupBox.py +0 -67
  669. spire/xls/IHPageBreak.py +0 -22
  670. spire/xls/IHPageBreaks.py +0 -31
  671. spire/xls/IHyperLink.py +0 -118
  672. spire/xls/IIconSet.py +0 -96
  673. spire/xls/IInterior.py +0 -117
  674. spire/xls/IInternalAddtionalFormat.py +0 -238
  675. spire/xls/IInternalFont.py +0 -31
  676. spire/xls/ILabelShape.py +0 -49
  677. spire/xls/ILineShape.py +0 -305
  678. spire/xls/IListObject.py +0 -493
  679. spire/xls/IListObjectColumn.py +0 -222
  680. spire/xls/IListObjects.py +0 -31
  681. spire/xls/IMarkersDesigner.py +0 -113
  682. spire/xls/IMigrantRange.py +0 -21
  683. spire/xls/INamedObject.py +0 -22
  684. spire/xls/INamedRange.py +0 -162
  685. spire/xls/INumberFormat.py +0 -77
  686. spire/xls/IOleObject.py +0 -176
  687. spire/xls/IOleObjects.py +0 -32
  688. spire/xls/IOptimizedUpdate.py +0 -28
  689. spire/xls/IOvalShape.py +0 -154
  690. spire/xls/IPageSetup.py +0 -195
  691. spire/xls/IPageSetupBase.py +0 -642
  692. spire/xls/IPictureShape.py +0 -99
  693. spire/xls/IPivotCache.py +0 -41
  694. spire/xls/IPivotCaches.py +0 -39
  695. spire/xls/IPivotCalculatedFields.py +0 -50
  696. spire/xls/IPivotField.py +0 -291
  697. spire/xls/IPivotTable.py +0 -393
  698. spire/xls/IPivotTableOptions.py +0 -428
  699. spire/xls/IPropertyData.py +0 -70
  700. spire/xls/IPrstGeomShape.py +0 -71
  701. spire/xls/IPrstGeomShapes.py +0 -81
  702. spire/xls/IRadioButton.py +0 -105
  703. spire/xls/IRectangleShape.py +0 -60
  704. spire/xls/IReflectionEffect.py +0 -138
  705. spire/xls/IScrollBarShape.py +0 -140
  706. spire/xls/IShadow.py +0 -244
  707. spire/xls/IShape.py +0 -409
  708. spire/xls/IShapeFill.py +0 -522
  709. spire/xls/IShapeLineFormat.py +0 -331
  710. spire/xls/IShapes.py +0 -270
  711. spire/xls/ISortColumn.py +0 -96
  712. spire/xls/ISortColumns.py +0 -70
  713. spire/xls/ISortedRule.py +0 -112
  714. spire/xls/ISparklines.py +0 -72
  715. spire/xls/ISpinnerShape.py +0 -102
  716. spire/xls/IStyle.py +0 -50
  717. spire/xls/ITabSheet.py +0 -302
  718. spire/xls/ITextBox.py +0 -116
  719. spire/xls/ITextBoxLinkShape.py +0 -40
  720. spire/xls/ITextBoxShape.py +0 -22
  721. spire/xls/ITextBoxes.py +0 -61
  722. spire/xls/ITextFrame.py +0 -120
  723. spire/xls/IVPageBreak.py +0 -22
  724. spire/xls/IVPageBreaks.py +0 -31
  725. spire/xls/IWorkbook.py +0 -1806
  726. spire/xls/IWorksheet.py +0 -2694
  727. spire/xls/IXLSRange.py +0 -2479
  728. spire/xls/IXLSRanges.py +0 -35
  729. spire/xls/IconSet.py +0 -103
  730. spire/xls/IgnoreErrorType.py +0 -24
  731. spire/xls/ImageFormatType.py +0 -18
  732. spire/xls/ImageLocationTypes.py +0 -15
  733. spire/xls/ImageType.py +0 -17
  734. spire/xls/ImportObjectOptions.py +0 -89
  735. spire/xls/InsertMoveOption.py +0 -15
  736. spire/xls/InteriorArrayWrapper.py +0 -126
  737. spire/xls/LegendPositionType.py +0 -21
  738. spire/xls/LegendSpacingType.py +0 -18
  739. spire/xls/LineStyleType.py +0 -29
  740. spire/xls/ListObjectCollection.py +0 -45
  741. spire/xls/MarkerDesigner.py +0 -172
  742. spire/xls/MultipleFilterCollection.py +0 -166
  743. spire/xls/NegativeBarFormat.py +0 -82
  744. spire/xls/OleObjectType.py +0 -51
  745. spire/xls/OrderBy.py +0 -19
  746. spire/xls/OrderType.py +0 -17
  747. spire/xls/OvalShapeCollection.py +0 -70
  748. spire/xls/PageBreakExtentType.py +0 -17
  749. spire/xls/PageBreakType.py +0 -18
  750. spire/xls/PageOrientationType.py +0 -17
  751. spire/xls/PagesOrderType.py +0 -17
  752. spire/xls/PaperSizeType.py +0 -135
  753. spire/xls/PicturesCollection.py +0 -532
  754. spire/xls/PivotConditionalFormat.py +0 -54
  755. spire/xls/PivotConditionalFormatCollection.py +0 -38
  756. spire/xls/PivotDataField.py +0 -118
  757. spire/xls/PivotGroupByTypes.py +0 -23
  758. spire/xls/PivotItem.py +0 -161
  759. spire/xls/PivotReportFilter.py +0 -92
  760. spire/xls/PivotReportFilters.py +0 -63
  761. spire/xls/PivotStyle.py +0 -79
  762. spire/xls/PivotTableFields.py +0 -85
  763. spire/xls/PivotTableStyle.py +0 -63
  764. spire/xls/PrintCommentType.py +0 -18
  765. spire/xls/PrintErrorsType.py +0 -19
  766. spire/xls/PrstGeomShapeCollection.py +0 -126
  767. spire/xls/RadioButtonCollection.py +0 -137
  768. spire/xls/RangesCollection.py +0 -537
  769. spire/xls/ReadingOrderType.py +0 -18
  770. spire/xls/RectangleStyleType.py +0 -17
  771. spire/xls/ResizeBehaveType.py +0 -18
  772. spire/xls/ShapeArrowLengthType.py +0 -18
  773. spire/xls/ShapeArrowStyleType.py +0 -21
  774. spire/xls/ShapeArrowWidthType.py +0 -18
  775. spire/xls/ShapeDashLineStyleType.py +0 -23
  776. spire/xls/ShapeFillType.py +0 -22
  777. spire/xls/ShapeLayerChangeType.py +0 -19
  778. spire/xls/ShapeLineStyleType.py +0 -20
  779. spire/xls/SheetProtectionType.py +0 -33
  780. spire/xls/SortColumn.py +0 -120
  781. spire/xls/SortColumns.py +0 -185
  782. spire/xls/SortComparsionType.py +0 -19
  783. spire/xls/SortOrientationType.py +0 -17
  784. spire/xls/SortedWayType.py +0 -18
  785. spire/xls/Sparkline.py +0 -70
  786. spire/xls/SparklineCollection.py +0 -112
  787. spire/xls/SparklineGroup.py +0 -523
  788. spire/xls/SparklineGroupCollection.py +0 -71
  789. spire/xls/SparklineType.py +0 -18
  790. spire/xls/SplitType.py +0 -19
  791. spire/xls/StylesCollection.py +0 -141
  792. spire/xls/TextDirection.py +0 -20
  793. spire/xls/TextRotationType.py +0 -19
  794. spire/xls/ThemeColorType.py +0 -27
  795. spire/xls/TickLabelPositionType.py +0 -19
  796. spire/xls/TickMarkType.py +0 -19
  797. spire/xls/Top10Filter.py +0 -75
  798. spire/xls/TopBottomType.py +0 -19
  799. spire/xls/TopFormatType.py +0 -18
  800. spire/xls/TrendLineType.py +0 -21
  801. spire/xls/UnknownVariableAction.py +0 -18
  802. spire/xls/VPageBreaksCollection.py +0 -96
  803. spire/xls/ValidationComparisonOperator.py +0 -23
  804. spire/xls/VariableTypeAction.py +0 -19
  805. spire/xls/VerticalAlignType.py +0 -20
  806. spire/xls/ViewMode.py +0 -18
  807. spire/xls/WorksheetVisibility.py +0 -18
  808. spire/xls/WorksheetsCollection.py +0 -341
  809. spire/xls/XLSXBorderJoinType.py +0 -19
  810. spire/xls/XLSXChartMaterialType.py +0 -32
  811. spire/xls/XLSXChartPrespectiveType.py +0 -21
  812. spire/xls/XLSXChartShadowInnerType.py +0 -25
  813. spire/xls/XLSXChartShadowOuterType.py +0 -25
  814. spire/xls/XlsAddInFunctionsCollection.py +0 -101
  815. spire/xls/XlsAutoFiltersCollection.py +0 -119
  816. spire/xls/XlsBordersCollection.py +0 -101
  817. spire/xls/XlsBuiltInDocumentProperties.py +0 -639
  818. spire/xls/XlsChart.py +0 -1510
  819. spire/xls/XlsChartAxis.py +0 -564
  820. spire/xls/XlsChartBorder.py +0 -165
  821. spire/xls/XlsChartCategoryAxis.py +0 -656
  822. spire/xls/XlsChartDataLabelArea.py +0 -387
  823. spire/xls/XlsChartDataLabels.py +0 -811
  824. spire/xls/XlsChartDataPoint.py +0 -108
  825. spire/xls/XlsChartDataPointsCollection.py +0 -120
  826. spire/xls/XlsChartDataTable.py +0 -393
  827. spire/xls/XlsChartDropBar.py +0 -301
  828. spire/xls/XlsChartFill.py +0 -571
  829. spire/xls/XlsChartFormat.py +0 -1069
  830. spire/xls/XlsChartFormatCollection.py +0 -162
  831. spire/xls/XlsChartFrameFormat.py +0 -614
  832. spire/xls/XlsChartGridLine.py +0 -171
  833. spire/xls/XlsChartInterior.py +0 -240
  834. spire/xls/XlsChartLegend.py +0 -355
  835. spire/xls/XlsChartLegendArea.py +0 -419
  836. spire/xls/XlsChartLegendEntry.py +0 -156
  837. spire/xls/XlsChartSerie.py +0 -589
  838. spire/xls/XlsChartSerieDataFormat.py +0 -1008
  839. spire/xls/XlsChartSeriesAxis.py +0 -212
  840. spire/xls/XlsChartShape.py +0 -1142
  841. spire/xls/XlsChartTitleArea.py +0 -392
  842. spire/xls/XlsChartValueAxis.py +0 -317
  843. spire/xls/XlsChartWallOrFloor.py +0 -319
  844. spire/xls/XlsCommentsCollection.py +0 -87
  845. spire/xls/XlsConditionValue.py +0 -111
  846. spire/xls/XlsConditionalFormat.py +0 -1119
  847. spire/xls/XlsConditionalFormats.py +0 -590
  848. spire/xls/XlsDataValidationCollection.py +0 -159
  849. spire/xls/XlsHPageBreaksCollection.py +0 -85
  850. spire/xls/XlsHyperLinksCollection.py +0 -102
  851. spire/xls/XlsPivotCache.py +0 -401
  852. spire/xls/XlsPivotCacheField.py +0 -209
  853. spire/xls/XlsPivotCachesCollection.py +0 -124
  854. spire/xls/XlsPivotField.py +0 -885
  855. spire/xls/XlsPivotTable.py +0 -905
  856. spire/xls/XlsRangesCollection.py +0 -1566
  857. spire/xls/XlsStylesCollection.py +0 -73
  858. spire/xls/XlsVPageBreaksCollection.py +0 -84
  859. spire/xls/XlsWorksheetsCollection.py +0 -416
  860. spire_xls-15.5.0.dist-info/METADATA +0 -197
  861. spire_xls-15.5.0.dist-info/RECORD +0 -703
  862. /spire/xls/{lib → autofilter}/__init__.py +0 -0
  863. /spire/xls/{ChartBorder.py → charts/ChartBorder.py} +0 -0
  864. /spire/xls/{ChartDataTable.py → charts/ChartDataTable.py} +0 -0
  865. /spire/xls/{ChartDropBar.py → charts/ChartDropBar.py} +0 -0
  866. /spire/xls/{ChartInterior.py → charts/ChartInterior.py} +0 -0
  867. /spire/xls/{ChartPageSetup.py → charts/ChartPageSetup.py} +0 -0
  868. /spire/xls/{ChartTitle.py → charts/ChartTitle.py} +0 -0
  869. /spire/xls/{ChartWallOrFloor.py → charts/ChartWallOrFloor.py} +0 -0
  870. /spire/xls/{XlsChartPageSetup.py → charts/XlsChartPageSetup.py} +0 -0
  871. /spire/xls/{XlsChartPlotArea.py → charts/XlsChartPlotArea.py} +0 -0
  872. /spire/xls/{ButtonShapeCollection.py → collection/ButtonShapeCollection.py} +0 -0
  873. /spire/xls/{CheckBoxCollection.py → collection/CheckBoxCollection.py} +0 -0
  874. /spire/xls/{CollectionChangeEventArgs.py → collection/CollectionChangeEventArgs.py} +0 -0
  875. /spire/xls/{DataConnections.py → collection/DataConnections.py} +0 -0
  876. /spire/xls/{ExternalLinkCollection.py → collection/ExternalLinkCollection.py} +0 -0
  877. /spire/xls/{FontsCollection.py → collection/FontsCollection.py} +0 -0
  878. /spire/xls/{GeomertyAdjustValuesCollection.py → collection/GeomertyAdjustValuesCollection.py} +0 -0
  879. /spire/xls/{GroupBoxCollection.py → collection/GroupBoxCollection.py} +0 -0
  880. /spire/xls/{LabelShapeCollection.py → collection/LabelShapeCollection.py} +0 -0
  881. /spire/xls/{LineCollection.py → collection/LineCollection.py} +0 -0
  882. /spire/xls/{ListBoxCollection.py → collection/ListBoxCollection.py} +0 -0
  883. /spire/xls/{QueryTableCollection.py → collection/QueryTableCollection.py} +0 -0
  884. /spire/xls/{RectangleCollection.py → collection/RectangleCollection.py} +0 -0
  885. /spire/xls/{ScrollBarCollection.py → collection/ScrollBarCollection.py} +0 -0
  886. /spire/xls/{ShapeCollectionBase.py → collection/ShapeCollectionBase.py} +0 -0
  887. /spire/xls/{SpinnerShapeCollection.py → collection/SpinnerShapeCollection.py} +0 -0
  888. /spire/xls/{TextBoxCollection.py → collection/TextBoxCollection.py} +0 -0
  889. /spire/xls/{WorkbookObjectsCollection.py → collection/WorkbookObjectsCollection.py} +0 -0
  890. /spire/xls/{WorksheetChartsCollection.py → collection/WorksheetChartsCollection.py} +0 -0
  891. /spire/xls/{WorksheetConditionalFormats.py → collection/WorksheetConditionalFormats.py} +0 -0
  892. /spire/xls/{XlsChartSeries.py → collection/XlsChartSeries.py} +0 -0
  893. /spire/xls/{XlsChartsCollection.py → collection/XlsChartsCollection.py} +0 -0
  894. /spire/xls/{XlsFontsCollection.py → collection/XlsFontsCollection.py} +0 -0
  895. /spire/xls/{XlsHeaderFooterShapeCollection.py → collection/XlsHeaderFooterShapeCollection.py} +0 -0
  896. /spire/xls/{XlsPicturesCollection.py → collection/XlsPicturesCollection.py} +0 -0
  897. /spire/xls/{XlsWorkbookObjectsCollection.py → collection/XlsWorkbookObjectsCollection.py} +0 -0
  898. /spire/xls/{XlsWorksheetChartsCollection.py → collection/XlsWorksheetChartsCollection.py} +0 -0
  899. /spire/xls/{XlsWorksheetConditionalFormats.py → collection/XlsWorksheetConditionalFormats.py} +0 -0
  900. /spire/xls/{PivotCachesCollection.py → collection/pivot_table/PivotCachesCollection.py} +0 -0
  901. /spire/xls/{PivotCalculatedFieldsCollection.py → collection/pivot_table/PivotCalculatedFieldsCollection.py} +0 -0
  902. /spire/xls/{PivotDataFields.py → collection/pivot_table/PivotDataFields.py} +0 -0
  903. /spire/xls/{PivotTablesCollection.py → collection/pivot_table/PivotTablesCollection.py} +0 -0
  904. /spire/xls/{XlsPivotTablesCollection.py → collection/pivot_table/XlsPivotTablesCollection.py} +0 -0
  905. /spire/xls/{AxisTypes.py → enums/AxisTypes.py} +0 -0
  906. /spire/xls/{CompoundLineType.py → enums/CompoundLineType.py} +0 -0
  907. /spire/xls/{ConditionValueType.py → enums/ConditionValueType.py} +0 -0
  908. /spire/xls/{ConditionalTopNType.py → enums/ConditionalTopNType.py} +0 -0
  909. /spire/xls/{ConnectionDataSourceType.py → enums/ConnectionDataSourceType.py} +0 -0
  910. /spire/xls/{CopyRangeOptions.py → enums/CopyRangeOptions.py} +0 -0
  911. /spire/xls/{DataBarAxisPosition.py → enums/DataBarAxisPosition.py} +0 -0
  912. /spire/xls/{DataBarBorderType.py → enums/DataBarBorderType.py} +0 -0
  913. /spire/xls/{DataBarFillType.py → enums/DataBarFillType.py} +0 -0
  914. /spire/xls/{DataBarNegativeColorType.py → enums/DataBarNegativeColorType.py} +0 -0
  915. /spire/xls/{DataMarkerDirection.py → enums/DataMarkerDirection.py} +0 -0
  916. /spire/xls/{DateTimeGroupingType.py → enums/DateTimeGroupingType.py} +0 -0
  917. /spire/xls/{DeleteOption.py → enums/DeleteOption.py} +0 -0
  918. /spire/xls/{DynamicFilterType.py → enums/DynamicFilterType.py} +0 -0
  919. /spire/xls/{ExcelClearOptions.py → enums/ExcelClearOptions.py} +0 -0
  920. /spire/xls/{ExcelFindOptions.py → enums/ExcelFindOptions.py} +0 -0
  921. /spire/xls/{ExcelSaveType.py → enums/ExcelSaveType.py} +0 -0
  922. /spire/xls/{ExcelTotalsCalculation.py → enums/ExcelTotalsCalculation.py} +0 -0
  923. /spire/xls/{FillPictureType.py → enums/FillPictureType.py} +0 -0
  924. /spire/xls/{FilterOperatorType.py → enums/FilterOperatorType.py} +0 -0
  925. /spire/xls/{FilterType.py → enums/FilterType.py} +0 -0
  926. /spire/xls/{FindType.py → enums/FindType.py} +0 -0
  927. /spire/xls/{GeomertyAdjustValueFormulaType.py → enums/GeomertyAdjustValueFormulaType.py} +0 -0
  928. /spire/xls/{GroupByType.py → enums/GroupByType.py} +0 -0
  929. /spire/xls/{HttpContentType.py → enums/HttpContentType.py} +0 -0
  930. /spire/xls/{IconSetType.py → enums/IconSetType.py} +0 -0
  931. /spire/xls/{InsertOptionsType.py → enums/InsertOptionsType.py} +0 -0
  932. /spire/xls/{LineShapeType.py → enums/LineShapeType.py} +0 -0
  933. /spire/xls/{MeasureUnits.py → enums/MeasureUnits.py} +0 -0
  934. /spire/xls/{MsoPathType.py → enums/MsoPathType.py} +0 -0
  935. /spire/xls/{OLEDBCommandType.py → enums/OLEDBCommandType.py} +0 -0
  936. /spire/xls/{OdsPageBackgroundImagePositionType.py → enums/OdsPageBackgroundImagePositionType.py} +0 -0
  937. /spire/xls/{OdsPageBackgroundImageType.py → enums/OdsPageBackgroundImageType.py} +0 -0
  938. /spire/xls/{OdsPageBackgroundType.py → enums/OdsPageBackgroundType.py} +0 -0
  939. /spire/xls/{OleLinkType.py → enums/OleLinkType.py} +0 -0
  940. /spire/xls/{PathFillMode.py → enums/PathFillMode.py} +0 -0
  941. /spire/xls/{PdfConformanceLevel.py → enums/PdfConformanceLevel.py} +0 -0
  942. /spire/xls/{PivotAutoFomatTypes.py → enums/PivotAutoFomatTypes.py} +0 -0
  943. /spire/xls/{PivotBuiltInStyles.py → enums/PivotBuiltInStyles.py} +0 -0
  944. /spire/xls/{PivotDataType.py → enums/PivotDataType.py} +0 -0
  945. /spire/xls/{PivotFieldFormatType.py → enums/PivotFieldFormatType.py} +0 -0
  946. /spire/xls/{PivotFieldSortType.py → enums/PivotFieldSortType.py} +0 -0
  947. /spire/xls/{PivotItemType.py → enums/PivotItemType.py} +0 -0
  948. /spire/xls/{PivotLabelFilterType.py → enums/PivotLabelFilterType.py} +0 -0
  949. /spire/xls/{PivotPageAreaFieldsOrderType.py → enums/PivotPageAreaFieldsOrderType.py} +0 -0
  950. /spire/xls/{PivotTableElement.py → enums/PivotTableElement.py} +0 -0
  951. /spire/xls/{PivotTableLayoutType.py → enums/PivotTableLayoutType.py} +0 -0
  952. /spire/xls/{PivotValueFilterType.py → enums/PivotValueFilterType.py} +0 -0
  953. /spire/xls/{PresetTextEffect.py → enums/PresetTextEffect.py} +0 -0
  954. /spire/xls/{PrintingPageType.py → enums/PrintingPageType.py} +0 -0
  955. /spire/xls/{PropertyType.py → enums/PropertyType.py} +0 -0
  956. /spire/xls/{PrstGeomShapeType.py → enums/PrstGeomShapeType.py} +0 -0
  957. /spire/xls/{RectangleShapeType.py → enums/RectangleShapeType.py} +0 -0
  958. /spire/xls/{RelationShip.py → enums/RelationShip.py} +0 -0
  959. /spire/xls/{RenameStrategy.py → enums/RenameStrategy.py} +0 -0
  960. /spire/xls/{RtfTags.py → enums/RtfTags.py} +0 -0
  961. /spire/xls/{SelectionType.py → enums/SelectionType.py} +0 -0
  962. /spire/xls/{SparklineEmptyCells.py → enums/SparklineEmptyCells.py} +0 -0
  963. /spire/xls/{SpartlineVerticalAxisType.py → enums/SpartlineVerticalAxisType.py} +0 -0
  964. /spire/xls/{StrikeThroughStyle.py → enums/StrikeThroughStyle.py} +0 -0
  965. /spire/xls/{StyleDefineType.py → enums/StyleDefineType.py} +0 -0
  966. /spire/xls/{SubtotalTypes.py → enums/SubtotalTypes.py} +0 -0
  967. /spire/xls/{TRangeValueType.py → enums/TRangeValueType.py} +0 -0
  968. /spire/xls/{TableBuiltInStyles.py → enums/TableBuiltInStyles.py} +0 -0
  969. /spire/xls/{TextDirectionType.py → enums/TextDirectionType.py} +0 -0
  970. /spire/xls/{TextVerticalValue.py → enums/TextVerticalValue.py} +0 -0
  971. /spire/xls/{TimePeriodType.py → enums/TimePeriodType.py} +0 -0
  972. /spire/xls/{UnderlineStyle.py → enums/UnderlineStyle.py} +0 -0
  973. /spire/xls/{WorksheetCopyType.py → enums/WorksheetCopyType.py} +0 -0
  974. /spire/xls/{XLSXChartBevelType.py → enums/XLSXChartBevelType.py} +0 -0
  975. /spire/xls/{XLSXChartLightingType.py → enums/XLSXChartLightingType.py} +0 -0
  976. /spire/xls/{XLSXPivotItemType.py → enums/XLSXPivotItemType.py} +0 -0
  977. /spire/xls/{XmlOpenType.py → enums/XmlOpenType.py} +0 -0
  978. /spire/xls/{IAddInFunction.py → interfaces/IAddInFunction.py} +0 -0
  979. /spire/xls/{IAutoFilter.py → interfaces/IAutoFilter.py} +0 -0
  980. /spire/xls/{IAutoFilterCondition.py → interfaces/IAutoFilterCondition.py} +0 -0
  981. /spire/xls/{IAutoFilters.py → interfaces/IAutoFilters.py} +0 -0
  982. /spire/xls/{IBorder.py → interfaces/IBorder.py} +0 -0
  983. /spire/xls/{IBuiltInDocumentProperties.py → interfaces/IBuiltInDocumentProperties.py} +0 -0
  984. /spire/xls/{IButtonShape.py → interfaces/IButtonShape.py} +0 -0
  985. /spire/xls/{IChartDropBar.py → interfaces/IChartDropBar.py} +0 -0
  986. /spire/xls/{IExcelApplication.py → interfaces/IExcelApplication.py} +0 -0
  987. /spire/xls/{IInternalWorksheet.py → interfaces/IInternalWorksheet.py} +0 -0
  988. /spire/xls/{IListBox.py → interfaces/IListBox.py} +0 -0
  989. /spire/xls/{IRichTextString.py → interfaces/IRichTextString.py} +0 -0
  990. /spire/xls/{IAddInFunctions.py → interfaces/collections/IAddInFunctions.py} +0 -0
  991. /spire/xls/{IArcShapes.py → interfaces/collections/IArcShapes.py} +0 -0
  992. /spire/xls/{IBorders.py → interfaces/collections/IBorders.py} +0 -0
  993. /spire/xls/{IButtonShapes.py → interfaces/collections/IButtonShapes.py} +0 -0
  994. /spire/xls/{IChartDataPoints.py → interfaces/collections/IChartDataPoints.py} +0 -0
  995. /spire/xls/{IChartLegendEntries.py → interfaces/collections/IChartLegendEntries.py} +0 -0
  996. /spire/xls/{IChartSeries.py → interfaces/collections/IChartSeries.py} +0 -0
  997. /spire/xls/{IChartShapes.py → interfaces/collections/IChartShapes.py} +0 -0
  998. /spire/xls/{IChartTrendLines.py → interfaces/collections/IChartTrendLines.py} +0 -0
  999. /spire/xls/{ICharts.py → interfaces/collections/ICharts.py} +0 -0
  1000. /spire/xls/{ICheckBoxes.py → interfaces/collections/ICheckBoxes.py} +0 -0
  1001. /spire/xls/{IComboBoxes.py → interfaces/collections/IComboBoxes.py} +0 -0
  1002. /spire/xls/{IComments.py → interfaces/collections/IComments.py} +0 -0
  1003. /spire/xls/{IConditionalFormatsCollection.py → interfaces/collections/IConditionalFormatsCollection.py} +0 -0
  1004. /spire/xls/{IGroupBoxes.py → interfaces/collections/IGroupBoxes.py} +0 -0
  1005. /spire/xls/{IHyperLinks.py → interfaces/collections/IHyperLinks.py} +0 -0
  1006. /spire/xls/{ILabelShapes.py → interfaces/collections/ILabelShapes.py} +0 -0
  1007. /spire/xls/{ILines.py → interfaces/collections/ILines.py} +0 -0
  1008. /spire/xls/{IListBoxes.py → interfaces/collections/IListBoxes.py} +0 -0
  1009. /spire/xls/{INameRanges.py → interfaces/collections/INameRanges.py} +0 -0
  1010. /spire/xls/{IOvalShapes.py → interfaces/collections/IOvalShapes.py} +0 -0
  1011. /spire/xls/{IPictures.py → interfaces/collections/IPictures.py} +0 -0
  1012. /spire/xls/{IRadioButtons.py → interfaces/collections/IRadioButtons.py} +0 -0
  1013. /spire/xls/{IRectangleShapes.py → interfaces/collections/IRectangleShapes.py} +0 -0
  1014. /spire/xls/{IScrollBarShapes.py → interfaces/collections/IScrollBarShapes.py} +0 -0
  1015. /spire/xls/{ISpinnerShapes.py → interfaces/collections/ISpinnerShapes.py} +0 -0
  1016. /spire/xls/{IStyles.py → interfaces/collections/IStyles.py} +0 -0
  1017. /spire/xls/{ITabSheets.py → interfaces/collections/ITabSheets.py} +0 -0
  1018. /spire/xls/{IWorksheetGroup.py → interfaces/collections/IWorksheetGroup.py} +0 -0
  1019. /spire/xls/{IWorksheets.py → interfaces/collections/IWorksheets.py} +0 -0
  1020. /spire/xls/{IPivotDataField.py → interfaces/pivot_table/IPivotDataField.py} +0 -0
  1021. /spire/xls/{IPivotDataFields.py → interfaces/pivot_table/IPivotDataFields.py} +0 -0
  1022. /spire/xls/{IPivotFields.py → interfaces/pivot_table/IPivotFields.py} +0 -0
  1023. /spire/xls/{IPivotTables.py → interfaces/pivot_table/IPivotTables.py} +0 -0
  1024. /spire/xls/{IDataSort.py → interfaces/sorting/IDataSort.py} +0 -0
  1025. /spire/xls/{PivotCache.py → pivot_tables/PivotCache.py} +0 -0
  1026. /spire/xls/{PivotField.py → pivot_tables/PivotField.py} +0 -0
  1027. /spire/xls/{PivotTable.py → pivot_tables/PivotTable.py} +0 -0
  1028. /spire/xls/{EncryptedKeyInfo.py → security/EncryptedKeyInfo.py} +0 -0
  1029. /spire/xls/{ISparkline.py → sparkline/ISparkline.py} +0 -0
  1030. /spire/xls/{ISparklineGroup.py → sparkline/ISparklineGroup.py} +0 -0
  1031. {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/WHEEL +0 -0
  1032. {spire_xls-15.5.0.dist-info → spire_xls-15.7.1.dist-info}/top_level.txt +0 -0
spire/xls/XlsRange.py CHANGED
@@ -3,8 +3,8 @@ from plum import dispatch
3
3
  from typing import TypeVar,Union,Generic,List,Tuple
4
4
  from spire.xls.common import *
5
5
  from spire.xls import *
6
- from spire.xls.XlsBordersCollection import *
7
- from spire.xls.XlsHyperLinksCollection import *
6
+ from spire.xls.collection.XlsBordersCollection import *
7
+ from spire.xls.collection.XlsHyperLinksCollection import *
8
8
  from ctypes import *
9
9
  import abc
10
10
  from spire.xls.Validation import Validation
@@ -16,9 +16,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
16
16
 
17
17
  def GetNamedRange(self)->'INamedRange':
18
18
  """
19
- <summary>
20
19
  Get the named range object of current Range.
21
- </summary>
20
+
22
21
  """
23
22
  from spire.xls.XlsName import XlsName
24
23
  GetDllLibXls().XlsRange_GetNamedRange.argtypes=[c_void_p]
@@ -31,12 +30,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
31
30
 
32
31
  def InsertOrUpdateCellImage(self ,stream:Stream,scale:bool):
33
32
  """
34
- <summary>
35
- Adds CellImage from the specified file stream.
36
- this method only support WPS
37
- </summary>
38
- <param name="stream">Represents image stream to set.</param>
39
- <param name="scale">scale if true scale for cell else clip the image.</param>
33
+ Adds CellImage from the specified file stream. this method only support WPS
34
+
35
+ Args:
36
+ stream: Represents image stream to set.
37
+ scale: scale if true scale for cell else clip the image.
38
+
40
39
  """
41
40
  intPtrstream:c_void_p = stream.Ptr
42
41
 
@@ -47,12 +46,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
47
46
 
48
47
  def InsertOrUpdateCellImage(self ,fileName:str,scale:bool):
49
48
  """
50
- <summary>
51
- Adds CellImage from the specified file.
52
- this method only support WPS
53
- </summary>
54
- <param name="fileName">Represents image path to set.</param>
55
- <param name="scale">scale if true scale for cell else clip the image.</param>
49
+ Adds CellImage from the specified file. this method only support WPS
50
+
51
+ Args:
52
+ fileName: Represents image path to set.
53
+ scale: scale if true scale for cell else clip the image.
54
+
56
55
  """
57
56
 
58
57
  GetDllLibXls().XlsRange_InsertOrUpdateCellImageFS.argtypes=[c_void_p ,c_wchar_p,c_bool]
@@ -60,9 +59,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
60
59
 
61
60
  def RemoveCellImage(self):
62
61
  """
63
- <summary>
64
62
  Remove CellImage.
65
- </summary>
63
+
66
64
  """
67
65
  GetDllLibXls().XlsRange_RemoveCellImage.argtypes=[c_void_p]
68
66
  CallCFunction(GetDllLibXls().XlsRange_RemoveCellImage,self.Ptr)
@@ -71,11 +69,14 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
71
69
 
72
70
  def Merge(self ,range:IXLSRange)->IXLSRange:
73
71
  """
74
- <summary>
75
72
  Creates a merged cell from the specified Range object.
76
- </summary>
77
- <param name="range">The Range to merge with.</param>
78
- <returns>Merged ranges or null if wasn't able to merge ranges.</returns>
73
+
74
+ Args:
75
+ range: The Range to merge with.
76
+
77
+ Returns:
78
+ Merged ranges or null if wasn't able to merge ranges.
79
+
79
80
  """
80
81
  intPtrrange:c_void_p = range.Ptr
81
82
 
@@ -89,23 +90,24 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
89
90
 
90
91
  def Intersect(self ,range:'IXLSRange')->'IXLSRange':
91
92
  """
92
- <summary>
93
- Returns intersection of this range with the specified one.
94
- <example>The following code illustrates how to perform intersectwith in the Range:
95
- <code>
96
- //Create worksheet
97
- Workbook workbook = new Workbook();
98
- Worksheet worksheet = workbook.Worksheets[0];
99
- //Get intersect range
100
- IXLSRange range = worksheet.Range["A16:C16"];
101
- IXLSRange commonRange = worksheet.Range["B16:D16"].Intersect(range);
102
- //Save to file
103
- workbook.SaveToFile("Intersect.xlsx");
104
- </code>
105
- </example>
106
- </summary>
107
- <param name="range">The Range with which to intersect.</param>
108
- <returns>Range intersection. If there is no intersection, NULL is returned.</returns>
93
+ Returns intersection of this range with the specified one.
94
+
95
+ Args:
96
+ range: The Range with which to intersect.
97
+
98
+ Returns:
99
+ Range intersection. If there is no intersection, NULL is returned.
100
+ Example::
101
+
102
+ #Create worksheet
103
+ workbook = Workbook()
104
+ worksheet = workbook.Worksheets[0]
105
+ #Get intersect range
106
+ range = worksheet.Range["A16:C16"]
107
+ commonRange = worksheet.Range["B16:D16"].Intersect(range)
108
+ #Save to file
109
+ workbook.SaveToFile("Intersect.xlsx")
110
+
109
111
  """
110
112
  intPtrrange:c_void_p = range.Ptr
111
113
 
@@ -131,11 +133,14 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
131
133
 
132
134
  def MeasureString(self ,measureString:str)->'SizeF':
133
135
  """
134
- <summary>
135
136
  Measures size of the string.
136
- </summary>
137
- <param name="measureString">String to measure.</param>
138
- <returns>Size of the string.</returns>
137
+
138
+ Args:
139
+ measureString: String to measure.
140
+
141
+ Returns:
142
+ Size of the string.
143
+
139
144
  """
140
145
 
141
146
  GetDllLibXls().XlsRange_MeasureString.argtypes=[c_void_p ,c_void_p]
@@ -148,22 +153,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
148
153
  @dispatch
149
154
  def Merge(self):
150
155
  """
151
- <summary>
152
- Creates a merged cell from the specified Range object.
153
- <example>The following code illustrates how to merge the Range:
154
- <code>
155
- //Create worksheet
156
- Workbook workbook = new Workbook();
157
- Worksheet worksheet = workbook.Worksheets[0];
158
- //Set text
159
- worksheet["A1"].Text = "Merged cell";
160
- //Merge cells
161
- worksheet["A1:B1"].Merge();
162
- //Save to file
163
- workbook.SaveToFile("Merge.xlsx");
164
- </code>
165
- </example>
166
- </summary>
156
+ Creates a merged cell from the specified Range object.
157
+ Example::
158
+
159
+ #Create worksheet
160
+ workbook = Workbook()
161
+ worksheet = workbook.Worksheets[0]
162
+ #Set text
163
+ worksheet["A1"].Text = "Merged cell"
164
+ #Merge cells
165
+ worksheet["A1:B1"].Merge()
166
+ #Save to file
167
+ workbook.SaveToFile("Merge.xlsx")
168
+
167
169
  """
168
170
  GetDllLibXls().XlsRange_Merge1.argtypes=[c_void_p]
169
171
  CallCFunction(GetDllLibXls().XlsRange_Merge1, self.Ptr)
@@ -179,24 +181,23 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
179
181
 
180
182
  def Merge(self ,clearCells:bool):
181
183
  """
182
- <summary>
183
- Creates a merged cell from the specified Range object.
184
- <example>The following code illustrates how to merge the Range with clear option:
185
- <code>
186
- //Create worksheet
187
- Workbook workbook = new Workbook();
188
- Worksheet worksheet = workbook.Worksheets[0];
189
- //Set text
190
- worksheet["A1"].Text = "Merged cell";
191
- worksheet["B1"].Text = "sample";
192
- //Merge cells
193
- worksheet["A1:B1"].Merge(true);
194
- //Save to file
195
- workbook.SaveToFile("Merge.xlsx");
196
- </code>
197
- </example>
198
- </summary>
199
- <param name="clearCells">Indicates whether to clear unnecessary cells.</param>
184
+ Creates a merged cell from the specified Range object.
185
+
186
+ Args:
187
+ clearCells: Indicates whether to clear unnecessary cells.
188
+ Example::
189
+
190
+ #Create worksheet
191
+ workbook = Workbook()
192
+ worksheet = workbook.Worksheets[0]
193
+ #Set text
194
+ worksheet["A1"].Text = "Merged cell"
195
+ worksheet["B1"].Text = "sample"
196
+ #Merge cells
197
+ worksheet["A1:B1"].Merge(true)
198
+ #Save to file
199
+ workbook.SaveToFile("Merge.xlsx")
200
+
200
201
  """
201
202
 
202
203
  GetDllLibXls().XlsRange_MergeC.argtypes=[c_void_p ,c_bool]
@@ -204,9 +205,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
204
205
 
205
206
  def PartialClear(self):
206
207
  """
207
- <summary>
208
208
  Partially clear range.
209
- </summary>
209
+
210
210
  """
211
211
  GetDllLibXls().XlsRange_PartialClear.argtypes=[c_void_p]
212
212
  CallCFunction(GetDllLibXls().XlsRange_PartialClear, self.Ptr)
@@ -214,11 +214,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
214
214
 
215
215
  def TextPartReplace(self ,oldPartValue:str,newPartValue:str):
216
216
  """
217
- <summary>
218
217
  Replaces cell's part text and reserve text's format.
219
- </summary>
220
- <param name="oldPartValue">Part value of cell's text to search for.</param>
221
- <param name="newPartValue">The replacement value.</param>
218
+
219
+ Args:
220
+ oldPartValue: Part value of cell's text to search for.
221
+ newPartValue: The replacement value.
222
+
222
223
  """
223
224
 
224
225
  GetDllLibXls().XlsRange_TextPartReplace.argtypes=[c_void_p ,c_void_p,c_void_p]
@@ -252,10 +253,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
252
253
 
253
254
  def CombinedAddress(self)->str:
254
255
  """
255
- <summary>
256
- Returns the combined range reference in the language.
257
- Read-only String.
258
- </summary>
256
+ Returns the combined range reference in the language. Read-only String.
257
+
259
258
  """
260
259
  GetDllLibXls().XlsRange_get_CombinedAddress.argtypes=[c_void_p]
261
260
  GetDllLibXls().XlsRange_get_CombinedAddress.restype=c_void_p
@@ -265,33 +264,29 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
265
264
 
266
265
  def UnMerge(self):
267
266
  """
268
- <summary>
269
- Separates a merged area into individual cells.
270
- <example>The following code illustrates how to UnMerge the merged cells:
271
- <code>
272
- //Create worksheet
273
- Workbook workbook = new Workbook();
274
- Worksheet worksheet = workbook.Worksheets[0];
275
- //Set text
276
- worksheet["A1"].Text = "Merged cell";
277
- //Merge cells
278
- worksheet["A1:B1"].Merge(true);
279
- //Unmerge cells
280
- worksheet["A1:B1"].UnMerge();
281
- //Save to file
282
- workbook.SaveToFile("UnMerge.xlsx");
283
- </code>
284
- </example>
285
- </summary>
267
+ Separates a merged area into individual cells.
268
+ Example::
269
+
270
+ #Create worksheet
271
+ workbook = Workbook()
272
+ worksheet = workbook.Worksheets[0]
273
+ #Set text
274
+ worksheet["A1"].Text = "Merged cell"
275
+ #Merge cells
276
+ worksheet["A1:B1"].Merge(true)
277
+ #Unmerge cells
278
+ worksheet["A1:B1"].UnMerge()
279
+ #Save to file
280
+ workbook.SaveToFile("UnMerge.xlsx")
281
+
286
282
  """
287
283
  GetDllLibXls().XlsRange_UnMerge.argtypes=[c_void_p]
288
284
  CallCFunction(GetDllLibXls().XlsRange_UnMerge, self.Ptr)
289
285
 
290
286
  def ReparseFormulaString(self):
291
287
  """
292
- <summary>
293
288
  Reparses formula.
294
- </summary>
289
+
295
290
  """
296
291
  GetDllLibXls().XlsRange_ReparseFormulaString.argtypes=[c_void_p]
297
292
  CallCFunction(GetDllLibXls().XlsRange_ReparseFormulaString, self.Ptr)
@@ -360,12 +355,13 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
360
355
 
361
356
  def Replace(self ,oldValue:str,newValues:List[str],isVertical:bool):
362
357
  """
363
- <summary>
364
358
  Replaces cells' values with new data.
365
- </summary>
366
- <param name="oldValue">Value to search for.</param>
367
- <param name="newValues">The replacement value.</param>
368
- <param name="isVertical">Indicates whether to insert values vertically or horizontally.</param>
359
+
360
+ Args:
361
+ oldValue: Value to search for.
362
+ newValues: The replacement value.
363
+ isVertical: Indicates whether to insert values vertically or horizontally.
364
+
369
365
  """
370
366
  #arraynewValues:ArrayTypenewValues = ""
371
367
  countnewValues = len(newValues)
@@ -382,11 +378,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
382
378
 
383
379
  def Replace(self ,oldValue:str,newValue:str):
384
380
  """
385
- <summary>
386
- Replaces cells' values with new data.
387
- </summary>
388
- <param name="oldValue">Value to search for.</param>
389
- <param name="newValue">The replacement value.</param>
381
+ Replaces cells' values with new data.
382
+
383
+ Args:
384
+ oldValue: Value to search for.
385
+ newValue: The replacement value.
386
+
390
387
  """
391
388
 
392
389
  GetDllLibXls().XlsRange_ReplaceON.argtypes=[c_void_p ,c_void_p,c_void_p]
@@ -396,12 +393,13 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
396
393
 
397
394
  def Replace(self ,oldValue:str,newValues:List[float],isVertical:bool):
398
395
  """
399
- <summary>
400
396
  Replaces cells' values with new data.
401
- </summary>
402
- <param name="oldValue">Value to search for.</param>
403
- <param name="newValues">DataColumn to replace.</param>
404
- <param name="isFieldNamesShown">Indicates whether to insert values vertically or horizontally.</param>
397
+
398
+ Args:
399
+ oldValue: Value to search for.
400
+ newValues: DataColumn to replace.
401
+ isFieldNamesShown: Indicates whether to insert values vertically or horizontally.
402
+
405
403
  """
406
404
  #arraynewValues:ArrayTypenewValues = ""
407
405
  countnewValues = len(newValues)
@@ -418,12 +416,13 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
418
416
 
419
417
  def Replace(self ,oldValue:str,newValues:List[int],isVertical:bool):
420
418
  """
421
- <summary>
422
419
  Replaces cells' values with new data.
423
- </summary>
424
- <param name="oldValue">Value to search for.</param>
425
- <param name="newValues">The replacement value.</param>
426
- <param name="isVertical">Indicates whether to insert values vertically or horizontally.</param>
420
+
421
+ Args:
422
+ oldValue: Value to search for.
423
+ newValues: The replacement value.
424
+ isVertical: Indicates whether to insert values vertically or horizontally.
425
+
427
426
  """
428
427
  #arraynewValues:ArrayTypenewValues = ""
429
428
  countnewValues = len(newValues)
@@ -457,11 +456,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
457
456
 
458
457
  def Replace(self ,oldValue:str,newValue:DateTime):
459
458
  """
460
- <summary>
461
- Replaces cells' values with new data.
462
- </summary>
463
- <param name="oldValue">Value to search for.</param>
464
- <param name="newValue">The replacement value.</param>
459
+ Replaces cells' values with new data.
460
+
461
+ Args:
462
+ oldValue: Value to search for.
463
+ newValue: The replacement value.
464
+
465
465
  """
466
466
  intPtrnewValue:c_void_p = newValue.Ptr
467
467
 
@@ -472,11 +472,12 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
472
472
 
473
473
  def Replace(self ,oldValue:str,newValue:float):
474
474
  """
475
- <summary>
476
- Replaces cells' values with new data.
477
- </summary>
478
- <param name="oldValue">Value to search for.</param>
479
- <param name="newValue">The replacement value.</param>
475
+ Replaces cells' values with new data.
476
+
477
+ Args:
478
+ oldValue: Value to search for.
479
+ newValue: The replacement value.
480
+
480
481
  """
481
482
 
482
483
  GetDllLibXls().XlsRange_ReplaceON11.argtypes=[c_void_p ,c_void_p,c_double]
@@ -545,13 +546,14 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
545
546
 
546
547
  def UpdateRange(self ,startRow:int,startColumn:int,endRow:int,endColumn:int):
547
548
  """
548
- <summary>
549
549
  Update region of range
550
- </summary>
551
- <param name="startRow">first Row</param>
552
- <param name="startColumn">first Column</param>
553
- <param name="endRow">last Row</param>
554
- <param name="endColumn">last Column</param>
550
+
551
+ Args:
552
+ startRow: first Row
553
+ startColumn: first Column
554
+ endRow: last Row
555
+ endColumn: last Column
556
+
555
557
  """
556
558
 
557
559
  GetDllLibXls().XlsRange_UpdateRange.argtypes=[c_void_p ,c_int,c_int,c_int,c_int]
@@ -559,9 +561,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
559
561
 
560
562
  def ConvertToNumber(self):
561
563
  """
562
- <summary>
563
564
  Convert number that stored as text to number
564
- </summary>
565
+
565
566
  """
566
567
  GetDllLibXls().XlsRange_ConvertToNumber.argtypes=[c_void_p]
567
568
  CallCFunction(GetDllLibXls().XlsRange_ConvertToNumber, self.Ptr)
@@ -578,11 +579,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
578
579
 
579
580
  def GetConditionFormatsStyle(self)->'CellStyle':
580
581
  """
581
- <summary>
582
- Get the calculated condition format style of current Range.
583
- If style of every cell is not same, return null.
584
- If current range without condition format, return null.
585
- </summary>
582
+ Get the calculated condition format style of current Range. If style of every cell is not same, return null. If current range without condition format, return null.
583
+
586
584
  """
587
585
  GetDllLibXls().XlsRange_GetConditionFormatsStyle.argtypes=[c_void_p]
588
586
  GetDllLibXls().XlsRange_GetConditionFormatsStyle.restype=c_void_p
@@ -595,18 +593,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
595
593
 
596
594
  def RangeR1C1Address(self)->str:
597
595
  """
598
- <summary>
599
- Returns the range reference using R1C1 notation.
600
- <example>The following code illustrates how to access AddressR1C1 property of the Range:
601
- <code>
602
- //Create worksheet
603
- Workbook workbook = new Workbook();
604
- Worksheet worksheet = workbook.Worksheets[0];
605
- //Get RangeR1C1Address
606
- string address = worksheet.Range[3, 4].RangeR1C1Address;
607
- </code>
608
- </example>
609
- </summary>
596
+ Returns the range reference using R1C1 notation.
597
+ Example::
598
+
599
+ #Create worksheet
600
+ workbook = Workbook()
601
+ worksheet = workbook.Worksheets[0]
602
+ #Get RangeR1C1Address
603
+ address = worksheet.Range[3, 4].RangeR1C1Address
604
+
610
605
  """
611
606
  GetDllLibXls().XlsRange_get_RangeR1C1Address.argtypes=[c_void_p]
612
607
  GetDllLibXls().XlsRange_get_RangeR1C1Address.restype=c_void_p
@@ -618,18 +613,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
618
613
 
619
614
  def RangeR1C1AddressLocal(self)->str:
620
615
  """
621
- <summary>
622
- Returns the range reference using R1C1 notation.
623
- <example>The following code illustrates how to access AddressR1C1Local property of the Range:
624
- <code>
625
- //Create worksheet
626
- Workbook workbook = new Workbook();
627
- Worksheet worksheet = workbook.Worksheets[0];
628
- //Get RangeR1C1AddressLocal
629
- string address = worksheet.Range[3, 4].RangeR1C1Address;
630
- </code>
631
- </example>
632
- </summary>
616
+ Returns the range reference using R1C1 notation.
617
+ Example::
618
+
619
+ #Create worksheet
620
+ workbook = Workbook()
621
+ worksheet = workbook.Worksheets[0]
622
+ #Get RangeR1C1AddressLocal
623
+ address = worksheet.Range[3, 4].RangeR1C1Address
624
+
633
625
  """
634
626
  GetDllLibXls().XlsRange_get_RangeR1C1AddressLocal.argtypes=[c_void_p]
635
627
  GetDllLibXls().XlsRange_get_RangeR1C1AddressLocal.restype=c_void_p
@@ -655,9 +647,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
655
647
 
656
648
  def HtmlString(self)->str:
657
649
  """
658
- <summary>
659
650
  Gets and sets the html string which contains data and some formattings in this cell.
660
- </summary>
651
+
661
652
  """
662
653
  GetDllLibXls().XlsRange_get_HtmlString.argtypes=[c_void_p]
663
654
  GetDllLibXls().XlsRange_get_HtmlString.restype=c_void_p
@@ -673,9 +664,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
673
664
  @property
674
665
  def Row(self)->int:
675
666
  """
676
- <summary>
677
667
  Returns the number of the first row of the first area in the range.
678
- </summary>
668
+
679
669
  """
680
670
  GetDllLibXls().XlsRange_get_Row.argtypes=[c_void_p]
681
671
  GetDllLibXls().XlsRange_get_Row.restype=c_int
@@ -685,14 +675,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
685
675
  @property
686
676
  def RowGroupLevel(self)->int:
687
677
  """
688
- <summary>
689
678
  Row group level.
690
- </summary>
691
- <remarks>
692
- -1 - column group is not same.
693
- 0 - Not group
694
- 1 - 7 - group level.
695
- </remarks>
679
+
696
680
  """
697
681
  GetDllLibXls().XlsRange_get_RowGroupLevel.argtypes=[c_void_p]
698
682
  GetDllLibXls().XlsRange_get_RowGroupLevel.restype=c_int
@@ -702,22 +686,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
702
686
  @property
703
687
  def RowHeight(self)->float:
704
688
  """
705
- <summary>
706
- Returns the height of all the rows in the range specified, measured in points.
707
- <example>The following code illustrates how to set row height:
708
- <code>
709
- //Create worksheet
710
- Workbook workbook = new Workbook();
711
- Worksheet worksheet = workbook.Worksheets[0];
712
- //Set text
713
- worksheet["A1"].Text = "Test";
714
- //Set row height
715
- worksheet["A1"].RowHeight = 30;
716
- //Save to file
717
- workbook.SaveToFile("RowHeight.xlsx");
718
- </code>
719
- </example>
720
- </summary>
689
+ Returns the height of all the rows in the range specified, measured in points.
690
+ Example::
691
+
692
+ #Create worksheet
693
+ workbook = Workbook()
694
+ worksheet = workbook.Worksheets[0]
695
+ #Set text
696
+ worksheet["A1"].Text = "Test"
697
+ #Set row height
698
+ worksheet["A1"].RowHeight = 30
699
+ #Save to file
700
+ workbook.SaveToFile("RowHeight.xlsx")
701
+
721
702
  """
722
703
  GetDllLibXls().XlsRange_get_RowHeight.argtypes=[c_void_p]
723
704
  GetDllLibXls().XlsRange_get_RowHeight.restype=c_double
@@ -811,9 +792,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
811
792
 
812
793
  def Text(self)->str:
813
794
  """
814
- <summary>
815
795
  Gets / sets text of range.
816
- </summary>
796
+
817
797
  """
818
798
  GetDllLibXls().XlsRange_get_Text.argtypes=[c_void_p]
819
799
  GetDllLibXls().XlsRange_get_Text.restype=c_void_p
@@ -896,9 +876,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
896
876
 
897
877
  def TimeSpanValue(self)->'TimeSpan':
898
878
  """
899
- <summary>
900
879
  Gets or sets timespan value of cell.
901
- </summary>
880
+
902
881
  """
903
882
  GetDllLibXls().XlsRange_get_TimeSpanValue.argtypes=[c_void_p]
904
883
  GetDllLibXls().XlsRange_get_TimeSpanValue.restype=c_void_p
@@ -916,21 +895,18 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
916
895
 
917
896
  def Value(self)->str:
918
897
  """
919
- <summary>
920
- Returns or sets the value of the specified range.
921
- <example>The following code illustrates how to set Value of the specified range:
922
- <code>
923
- //Create worksheet
924
- Workbook workbook = new Workbook();
925
- Worksheet worksheet = workbook.Worksheets[0];
926
- //Set value of the range
927
- XlsRange range= worksheet.Range[3, 1];
928
- range.Value = "1/1/2015";
929
- //Save to file
930
- workbook.SaveToFile("Value.xlsx");
931
- </code>
932
- </example>
933
- </summary>
898
+ Returns or sets the value of the specified range.
899
+ Example::
900
+
901
+ #Create worksheet
902
+ workbook = Workbook()
903
+ worksheet = workbook.Worksheets[0]
904
+ #Set value of the range
905
+ XlsRange range= worksheet.Range[3, 1]
906
+ range.Value = "1/1/2015"
907
+ #Save to file
908
+ workbook.SaveToFile("Value.xlsx")
909
+
934
910
  """
935
911
  GetDllLibXls().XlsRange_get_Value.argtypes=[c_void_p]
936
912
  GetDllLibXls().XlsRange_get_Value.restype=c_void_p
@@ -946,23 +922,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
946
922
  @property
947
923
  def Value2(self)->'SpireObject':
948
924
  """
949
- <summary>
950
- Returns or sets the cell value.
951
- It's not use for current and datetime types.
952
- <example>The following code illustrates how to access Value2 property of the Range:
953
- <code>
954
- //Create worksheet
955
- Workbook workbook = new Workbook();
956
- Worksheet worksheet = workbook.Worksheets[0];
957
- //Assigning Value2 property of the Range
958
- worksheet["A1"].Value2 = DateTime.Now;
959
- worksheet["A3"].Value2 = false;
960
- //Checking Range types
961
- Console.WriteLine(worksheet["A1"].HasDateTime);
962
- Console.WriteLine(worksheet["A3"].HasBoolean);
963
- </code>
964
- </example>
965
- </summary>
925
+ Returns or sets the cell value. It's not use for current and datetime types.
926
+ Example::
927
+
928
+ #Create worksheet
929
+ workbook = Workbook()
930
+ worksheet = workbook.Worksheets[0]
931
+ #Assigning Value2 property of the Range
932
+ worksheet["A1"].Value2 = DateTime.Now
933
+ worksheet["A3"].Value2 = false
934
+ #Checking Range types
935
+ print(worksheet["A1"].HasDateTime)
936
+ print(worksheet["A3"].HasBoolean)
937
+
966
938
  """
967
939
  GetDllLibXls().XlsRange_get_Value2.argtypes=[c_void_p]
968
940
  GetDllLibXls().XlsRange_get_Value2.restype=c_void_p
@@ -980,22 +952,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
980
952
 
981
953
  def VerticalAlignment(self)->'VerticalAlignType':
982
954
  """
983
- <summary>
984
- Returns or sets the vertical alignment of the specified object.
985
- <example>The following code illustrates how to set vertical alignment type:
986
- <code>
987
- //Create worksheet
988
- Workbook workbook = new Workbook();
989
- Worksheet worksheet = workbook.Worksheets[0];
990
- //Set text
991
- worksheet["A1"].Text = "Test";
992
- //Set alignment
993
- worksheet["A1"].VerticalAlignment = VerticalAlignType.Top;
994
- //Save to file
995
- workbook.SaveToFile("VerticalAlignment.xlsx");
996
- </code>
997
- </example>
998
- </summary>
955
+ Returns or sets the vertical alignment of the specified object.
956
+ Example::
957
+
958
+ #Create worksheet
959
+ workbook = Workbook()
960
+ worksheet = workbook.Worksheets[0]
961
+ #Set text
962
+ worksheet["A1"].Text = "Test"
963
+ #Set alignment
964
+ worksheet["A1"].VerticalAlignment = VerticalAlignType.Top
965
+ #Save to file
966
+ workbook.SaveToFile("VerticalAlignment.xlsx")
967
+
999
968
  """
1000
969
  GetDllLibXls().XlsRange_get_VerticalAlignment.argtypes=[c_void_p]
1001
970
  GetDllLibXls().XlsRange_get_VerticalAlignment.restype=c_int
@@ -1012,10 +981,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1012
981
 
1013
982
  def Worksheet(self)->'IWorksheet':
1014
983
  """
1015
- <summary>
1016
- Returns a worksheet object that represents the worksheet
1017
- containing the specified range.
1018
- </summary>
984
+ Returns a worksheet object that represents the worksheet containing the specified range.
985
+
1019
986
  """
1020
987
  GetDllLibXls().XlsRange_get_Worksheet.argtypes=[c_void_p]
1021
988
  GetDllLibXls().XlsRange_get_Worksheet.restype=c_void_p
@@ -1058,9 +1025,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1058
1025
 
1059
1026
  def ClearConditionalFormats(self):
1060
1027
  """
1061
- <summary>
1062
1028
  Clears conditional formats.
1063
- </summary>
1029
+
1064
1030
  """
1065
1031
  GetDllLibXls().XlsRange_ClearConditionalFormats.argtypes=[c_void_p]
1066
1032
  CallCFunction(GetDllLibXls().XlsRange_ClearConditionalFormats, self.Ptr)
@@ -1068,10 +1034,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1068
1034
 
1069
1035
  def GetRectangles(self)->List['Rectangle']:
1070
1036
  """
1071
- <summary>
1072
1037
  Gets rectangle information of current range.
1073
- </summary>
1074
- <returns>Rectangles information</returns>
1038
+
1039
+ Returns:
1040
+ Rectangles information
1041
+
1075
1042
  """
1076
1043
  GetDllLibXls().XlsRange_GetRectangles.argtypes=[c_void_p]
1077
1044
  GetDllLibXls().XlsRange_GetRectangles.restype=IntPtrArray
@@ -1082,10 +1049,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1082
1049
 
1083
1050
  def GetRectanglesCount(self)->int:
1084
1051
  """
1085
- <summary>
1086
1052
  Returns number of rectangles..
1087
- </summary>
1088
- <returns>Number of rectangles.</returns>
1053
+
1054
+ Returns:
1055
+ Number of rectangles.
1056
+
1089
1057
  """
1090
1058
  GetDllLibXls().XlsRange_GetRectanglesCount.argtypes=[c_void_p]
1091
1059
  GetDllLibXls().XlsRange_GetRectanglesCount.restype=c_int
@@ -1096,9 +1064,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1096
1064
 
1097
1065
  def WorksheetName(self)->str:
1098
1066
  """
1099
- <summary>
1100
1067
  Returns name of the parent worksheet.
1101
- </summary>
1068
+
1102
1069
  """
1103
1070
  GetDllLibXls().XlsRange_get_WorksheetName.argtypes=[c_void_p]
1104
1071
  GetDllLibXls().XlsRange_get_WorksheetName.restype=c_void_p
@@ -1109,9 +1076,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1109
1076
  @property
1110
1077
  def CellsCount(self)->int:
1111
1078
  """
1112
- <summary>
1113
1079
  Gets number of cells.
1114
- </summary>
1080
+
1115
1081
  """
1116
1082
  GetDllLibXls().XlsRange_get_CellsCount.argtypes=[c_void_p]
1117
1083
  GetDllLibXls().XlsRange_get_CellsCount.restype=c_int
@@ -1122,9 +1088,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1122
1088
 
1123
1089
  def RangeGlobalAddress2007(self)->str:
1124
1090
  """
1125
- <summary>
1126
1091
  Gets address global in the format required by Excel 2007.
1127
- </summary>
1092
+
1128
1093
  """
1129
1094
  GetDllLibXls().XlsRange_get_RangeGlobalAddress2007.argtypes=[c_void_p]
1130
1095
  GetDllLibXls().XlsRange_get_RangeGlobalAddress2007.restype=c_void_p
@@ -1134,9 +1099,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1134
1099
 
1135
1100
  def CalculateAllValue(self):
1136
1101
  """
1137
- <summary>
1138
1102
  Caculate all formula for the specified range
1139
- </summary>
1103
+
1140
1104
  """
1141
1105
  GetDllLibXls().XlsRange_CalculateAllValue.argtypes=[c_void_p]
1142
1106
  CallCFunction(GetDllLibXls().XlsRange_CalculateAllValue, self.Ptr)
@@ -1145,23 +1109,23 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1145
1109
 
1146
1110
  def Activate(self ,scroll:bool)->IXLSRange:
1147
1111
  """
1148
- <summary>
1149
- Activates a single cell, scroll to it and activates the corresponding sheet.
1150
- To select a range of cells, use the Select method.
1151
- <example>The following code illustrates how to activate a Range with scroll flag:
1152
- <code>
1153
- //Create worksheet
1154
- Workbook workbook = new Workbook();
1155
- Worksheet worksheet = workbook.Worksheets[0];
1156
- //Activates 'F1' cell.
1157
- worksheet.Range["F1"].Activate(true);
1158
- //Save to file
1159
- workbook.SaveToFile("Activate.xlsx");
1160
- </code>
1161
- </example>
1162
- </summary>
1163
- <param name="scroll">True to scroll to the cell</param>
1164
- <returns>Returns the active cell.</returns>
1112
+ Activates a single cell, scroll to it and activates the corresponding sheet. To select a range of cells, use the Select method.
1113
+
1114
+ Args:
1115
+ scroll: True to scroll to the cell
1116
+
1117
+ Returns:
1118
+ Returns the active cell.
1119
+ Example::
1120
+
1121
+ #Create worksheet
1122
+ workbook = Workbook()
1123
+ worksheet = workbook.Worksheets[0]
1124
+ #Activates 'F1' cell.
1125
+ worksheet.Range["F1"].Activate(true)
1126
+ #Save to file
1127
+ workbook.SaveToFile("Activate.xlsx")
1128
+
1165
1129
  """
1166
1130
 
1167
1131
  GetDllLibXls().XlsRange_Activate.argtypes=[c_void_p ,c_bool]
@@ -1175,10 +1139,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1175
1139
 
1176
1140
  def Activate(self)->IXLSRange:
1177
1141
  """
1178
- <summary>
1179
1142
  Active single cell in the worksheet
1180
- </summary>
1181
- <returns>Returns the active cell.</returns>
1143
+
1144
+ Returns:
1145
+ Returns the active cell.
1146
+
1182
1147
  """
1183
1148
  GetDllLibXls().XlsRange_Activate1.argtypes=[c_void_p]
1184
1149
  GetDllLibXls().XlsRange_Activate1.restype=c_void_p
@@ -1191,10 +1156,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1191
1156
 
1192
1157
  def AddComment(self)->ICommentShape:
1193
1158
  """
1194
- <summary>
1195
1159
  Adds a comment to the range.
1196
- </summary>
1197
- <returns>Created comment or exists one.</returns>
1160
+
1161
+ Returns:
1162
+ Created comment or exists one.
1163
+
1198
1164
  """
1199
1165
  GetDllLibXls().XlsRange_AddComment1.argtypes=[c_void_p]
1200
1166
  GetDllLibXls().XlsRange_AddComment1.restype=c_void_p
@@ -1205,43 +1171,37 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1205
1171
 
1206
1172
  def AutoFitColumns(self):
1207
1173
  """
1208
- <summary>
1209
- Changes the width of the columns in the range in the range to achieve the best fit.
1210
- <example>The following code illustrates how to auto-size column width to its cell content:
1211
- <code>
1212
- //Create worksheet
1213
- Workbook workbook = new Workbook();
1214
- Worksheet worksheet = workbook.Worksheets[0];
1215
- //Auto-fit columns
1216
- worksheet.Range["B4"].Text = "Fit the content to column";
1217
- worksheet.Range["B4"].AutoFitColumns();
1218
- //Save to file
1219
- workbook.SaveToFile("AutoFitRows.xlsx");
1220
- </code>
1221
- </example>
1222
- </summary>
1174
+ Changes the width of the columns in the range in the range to achieve the best fit.
1175
+ Example::
1176
+
1177
+ #Create worksheet
1178
+ workbook = Workbook()
1179
+ worksheet = workbook.Worksheets[0]
1180
+ #Auto-fit columns
1181
+ worksheet.Range["B4"].Text = "Fit the content to column"
1182
+ worksheet.Range["B4"].AutoFitColumns()
1183
+ #Save to file
1184
+ workbook.SaveToFile("AutoFitRows.xlsx")
1185
+
1223
1186
  """
1224
1187
  GetDllLibXls().XlsRange_AutoFitColumns.argtypes=[c_void_p]
1225
1188
  CallCFunction(GetDllLibXls().XlsRange_AutoFitColumns, self.Ptr)
1226
1189
 
1227
1190
  def AutoFitRows(self):
1228
1191
  """
1229
- <summary>
1230
- Changes the width of the height of the rows in the range to achieve the best fit.
1231
- <example>The following code illustrates how to auto-size row height to its cell content:
1232
- <code>
1233
- //Create worksheet
1234
- Workbook workbook = new Workbook();
1235
- Worksheet worksheet = workbook.Worksheets[0];
1236
- //Auto-fit rows
1237
- worksheet.Range["A2"].Text = "Fit the content to row";
1238
- worksheet.Range["A2"].IsWrapText = true;
1239
- worksheet.Range["A2"].AutoFitRows();
1240
- //Save to file
1241
- workbook.SaveToFile("AutoFitRows.xlsx");
1242
- </code>
1243
- </example>
1244
- </summary>
1192
+ Changes the width of the height of the rows in the range to achieve the best fit.
1193
+ Example::
1194
+
1195
+ #Create worksheet
1196
+ workbook = Workbook()
1197
+ worksheet = workbook.Worksheets[0]
1198
+ #Auto-fit rows
1199
+ worksheet.Range["A2"].Text = "Fit the content to row"
1200
+ worksheet.Range["A2"].IsWrapText = true
1201
+ worksheet.Range["A2"].AutoFitRows()
1202
+ #Save to file
1203
+ workbook.SaveToFile("AutoFitRows.xlsx")
1204
+
1245
1205
  """
1246
1206
  GetDllLibXls().XlsRange_AutoFitRows.argtypes=[c_void_p]
1247
1207
  CallCFunction(GetDllLibXls().XlsRange_AutoFitRows, self.Ptr)
@@ -1249,25 +1209,22 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1249
1209
  @dispatch
1250
1210
  def BorderAround(self):
1251
1211
  """
1252
- <summary>
1253
- Sets around border for current range.
1254
- <example>The following code illustrates how to apply border around the Range:
1255
- <code>
1256
- //Create worksheet
1257
- Workbook workbook = new Workbook();
1258
- Worksheet worksheet = workbook.Worksheets[0];
1259
- //Set text
1260
- worksheet["C2"].Text = "Sample";
1261
- worksheet["D2"].Text = "text";
1262
- worksheet["C3"].Text = "in";
1263
- worksheet["D3"].Text = "cell";
1264
- //Set border
1265
- worksheet["C2:D3"].BorderAround();
1266
- //Save to file
1267
- workbook.SaveToFile("BorderAround.xlsx");
1268
- </code>
1269
- </example>
1270
- </summary>
1212
+ Sets around border for current range.
1213
+ Example::
1214
+
1215
+ #Create worksheet
1216
+ workbook = Workbook()
1217
+ worksheet = workbook.Worksheets[0]
1218
+ #Set text
1219
+ worksheet["C2"].Text = "Sample"
1220
+ worksheet["D2"].Text = "text"
1221
+ worksheet["C3"].Text = "in"
1222
+ worksheet["D3"].Text = "cell"
1223
+ #Set border
1224
+ worksheet["C2:D3"].BorderAround()
1225
+ #Save to file
1226
+ workbook.SaveToFile("BorderAround.xlsx")
1227
+
1271
1228
  """
1272
1229
  GetDllLibXls().XlsRange_BorderAround.argtypes=[c_void_p]
1273
1230
  CallCFunction(GetDllLibXls().XlsRange_BorderAround, self.Ptr)
@@ -1276,26 +1233,25 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1276
1233
 
1277
1234
  def BorderAround(self ,borderLine:LineStyleType):
1278
1235
  """
1279
- <summary>
1280
- Sets around border for current range.
1281
- <example>The following code illustrates how to apply border around the Range:
1282
- <code>
1283
- //Create worksheet
1284
- Workbook workbook = new Workbook();
1285
- Worksheet worksheet = workbook.Worksheets[0];
1286
- //Set text
1287
- worksheet["C2"].Text = "Sample";
1288
- worksheet["D2"].Text = "text";
1289
- worksheet["C3"].Text = "in";
1290
- worksheet["D3"].Text = "cell";
1291
- //Set border
1292
- worksheet["C2:D3"].BorderAround(LineStyleType.Thick);
1293
- //Save to file
1294
- workbook.SaveToFile("BorderAround.xlsx");
1295
- </code>
1296
- </example>
1297
- </summary>
1298
- <param name="borderLine">Represents border line.</param>
1236
+ Sets around border for current range.
1237
+
1238
+ Args:
1239
+ borderLine: Represents border line.
1240
+ Example::
1241
+
1242
+ #Create worksheet
1243
+ workbook = Workbook()
1244
+ worksheet = workbook.Worksheets[0]
1245
+ #Set text
1246
+ worksheet["C2"].Text = "Sample"
1247
+ worksheet["D2"].Text = "text"
1248
+ worksheet["C3"].Text = "in"
1249
+ worksheet["D3"].Text = "cell"
1250
+ #Set border
1251
+ worksheet["C2:D3"].BorderAround(LineStyleType.Thick)
1252
+ #Save to file
1253
+ workbook.SaveToFile("BorderAround.xlsx")
1254
+
1299
1255
  """
1300
1256
  enumborderLine:c_int = borderLine.value
1301
1257
 
@@ -1306,27 +1262,26 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1306
1262
 
1307
1263
  def BorderAround(self ,borderLine:LineStyleType,borderColor:Color):
1308
1264
  """
1309
- <summary>
1310
- Sets around border for current range.
1311
- <example>The following code illustrates how to apply border around the Range with color from System.Drawing.Color structure:
1312
- <code>
1313
- //Create worksheet
1314
- Workbook workbook = new Workbook();
1315
- Worksheet worksheet = workbook.Worksheets[0];
1316
- //Set text
1317
- worksheet["C2"].Text = "Sample";
1318
- worksheet["D2"].Text = "text";
1319
- worksheet["C3"].Text = "in";
1320
- worksheet["D3"].Text = "cell";
1321
- //Set border
1322
- worksheet["C2:D3"].BorderAround(LineStyleType.Thick , Color.Red);
1323
- //Save to file
1324
- workbook.SaveToFile("BorderAround.xlsx");
1325
- </code>
1326
- </example>
1327
- </summary>
1328
- <param name="borderLine">Represents border line.</param>
1329
- <param name="borderColor">Represents border color.</param>
1265
+ Sets around border for current range.
1266
+
1267
+ Args:
1268
+ borderLine: Represents border line.
1269
+ borderColor: Represents border color.
1270
+ Example::
1271
+
1272
+ #Create worksheet
1273
+ workbook = Workbook()
1274
+ worksheet = workbook.Worksheets[0]
1275
+ #Set text
1276
+ worksheet["C2"].Text = "Sample"
1277
+ worksheet["D2"].Text = "text"
1278
+ worksheet["C3"].Text = "in"
1279
+ worksheet["D3"].Text = "cell"
1280
+ #Set border
1281
+ worksheet["C2:D3"].BorderAround(LineStyleType.Thick , Color.Red)
1282
+ #Save to file
1283
+ workbook.SaveToFile("BorderAround.xlsx")
1284
+
1330
1285
  """
1331
1286
  enumborderLine:c_int = borderLine.value
1332
1287
  intPtrborderColor:c_void_p = borderColor.Ptr
@@ -1338,27 +1293,26 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1338
1293
 
1339
1294
  def BorderAround(self ,borderLine:LineStyleType,borderColor:ExcelColors):
1340
1295
  """
1341
- <summary>
1342
- Sets around border for current range.
1343
- <example>The following code illustrates how to apply border around the Range with color from Spire.Xls.ExcelColors structure:
1344
- <code>
1345
- //Create worksheet
1346
- Workbook workbook = new Workbook();
1347
- Worksheet worksheet = workbook.Worksheets[0];
1348
- //Set text
1349
- worksheet["C2"].Text = "Sample";
1350
- worksheet["D2"].Text = "text";
1351
- worksheet["C3"].Text = "in";
1352
- worksheet["D3"].Text = "cell";
1353
- //Set border
1354
- worksheet["C2:D3"].BorderAround(LineStyleType.Thick , ExcelColors.Red);
1355
- //Save to file
1356
- workbook.SaveToFile("BorderAround.xlsx");
1357
- </code>
1358
- </example>
1359
- </summary>
1360
- <param name="borderLine">Represents border line.</param>
1361
- <param name="borderColor">Represents border color as ExcelColors.</param>
1296
+ Sets around border for current range.
1297
+
1298
+ Args:
1299
+ borderLine: Represents border line.
1300
+ borderColor: Represents border color as ExcelColors.
1301
+ Example::
1302
+
1303
+ #Create worksheet
1304
+ workbook = Workbook()
1305
+ worksheet = workbook.Worksheets[0]
1306
+ #Set text
1307
+ worksheet["C2"].Text = "Sample"
1308
+ worksheet["D2"].Text = "text"
1309
+ worksheet["C3"].Text = "in"
1310
+ worksheet["D3"].Text = "cell"
1311
+ #Set border
1312
+ worksheet["C2:D3"].BorderAround(LineStyleType.Thick , ExcelColors.Red)
1313
+ #Save to file
1314
+ workbook.SaveToFile("BorderAround.xlsx")
1315
+
1362
1316
  """
1363
1317
  enumborderLine:c_int = borderLine.value
1364
1318
  enumborderColor:c_int = borderColor.value
@@ -1369,25 +1323,22 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1369
1323
  @dispatch
1370
1324
  def BorderInside(self):
1371
1325
  """
1372
- <summary>
1373
- Sets inside border for current range.
1374
- <example>The following code illustrates how to apply border inside the Range:
1375
- <code>
1376
- //Create worksheet
1377
- Workbook workbook = new Workbook();
1378
- Worksheet worksheet = workbook.Worksheets[0];
1379
- //Set text
1380
- worksheet["C2"].Text = "Sample";
1381
- worksheet["D2"].Text = "text";
1382
- worksheet["C3"].Text = "in";
1383
- worksheet["D3"].Text = "cell";
1384
- //Set border
1385
- worksheet["C2:D3"].BorderInside();
1386
- //Save to file
1387
- workbook.SaveToFile("BorderInside.xlsx");
1388
- </code>
1389
- </example>
1390
- </summary>
1326
+ Sets inside border for current range.
1327
+ Example::
1328
+
1329
+ #Create worksheet
1330
+ workbook = Workbook()
1331
+ worksheet = workbook.Worksheets[0]
1332
+ #Set text
1333
+ worksheet["C2"].Text = "Sample"
1334
+ worksheet["D2"].Text = "text"
1335
+ worksheet["C3"].Text = "in"
1336
+ worksheet["D3"].Text = "cell"
1337
+ #Set border
1338
+ worksheet["C2:D3"].BorderInside()
1339
+ #Save to file
1340
+ workbook.SaveToFile("BorderInside.xlsx")
1341
+
1391
1342
  """
1392
1343
  GetDllLibXls().XlsRange_BorderInside.argtypes=[c_void_p]
1393
1344
  CallCFunction(GetDllLibXls().XlsRange_BorderInside, self.Ptr)
@@ -1396,26 +1347,25 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1396
1347
 
1397
1348
  def BorderInside(self ,borderLine:LineStyleType):
1398
1349
  """
1399
- <summary>
1400
- Sets inside border for current range.
1401
- <example>The following code illustrates how to apply border inside the Range:
1402
- <code>
1403
- //Create worksheet
1404
- Workbook workbook = new Workbook();
1405
- Worksheet worksheet = workbook.Worksheets[0];
1406
- //Set text
1407
- worksheet["C2"].Text = "Sample";
1408
- worksheet["D2"].Text = "text";
1409
- worksheet["C3"].Text = "in";
1410
- worksheet["D3"].Text = "cell";
1411
- //Set border
1412
- worksheet["C2:D3"].BorderInside(LineStyleType.Thick);
1413
- //Save to file
1414
- workbook.SaveToFile("BorderInside.xlsx");
1415
- </code>
1416
- </example>
1417
- </summary>
1418
- <param name="borderLine">Represents border line.</param>
1350
+ Sets inside border for current range.
1351
+
1352
+ Args:
1353
+ borderLine: Represents border line.
1354
+ Example::
1355
+
1356
+ #Create worksheet
1357
+ workbook = Workbook()
1358
+ worksheet = workbook.Worksheets[0]
1359
+ #Set text
1360
+ worksheet["C2"].Text = "Sample"
1361
+ worksheet["D2"].Text = "text"
1362
+ worksheet["C3"].Text = "in"
1363
+ worksheet["D3"].Text = "cell"
1364
+ #Set border
1365
+ worksheet["C2:D3"].BorderInside(LineStyleType.Thick)
1366
+ #Save to file
1367
+ workbook.SaveToFile("BorderInside.xlsx")
1368
+
1419
1369
  """
1420
1370
  enumborderLine:c_int = borderLine.value
1421
1371
 
@@ -1426,27 +1376,26 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1426
1376
 
1427
1377
  def BorderInside(self ,borderLine:LineStyleType,borderColor:Color):
1428
1378
  """
1429
- <summary>
1430
- Sets inside border for current range.
1431
- <example>The following code illustrates how to apply border inside the Range with color from System.Drawing.Color structure:
1432
- <code>
1433
- //Create worksheet
1434
- Workbook workbook = new Workbook();
1435
- Worksheet worksheet = workbook.Worksheets[0];
1436
- //Set text
1437
- worksheet["C2"].Text = "Sample";
1438
- worksheet["D2"].Text = "text";
1439
- worksheet["C3"].Text = "in";
1440
- worksheet["D3"].Text = "cell";
1441
- //Set border
1442
- worksheet["C2:D3"].BorderInside(LineStyleType.Thick , Color.Red);
1443
- //Save to file
1444
- workbook.SaveToFile("BorderInside.xlsx");
1445
- </code>
1446
- </example>
1447
- </summary>
1448
- <param name="borderLine">Represents border line.</param>
1449
- <param name="borderColor">Represents border color.</param>
1379
+ Sets inside border for current range.
1380
+
1381
+ Args:
1382
+ borderLine: Represents border line.
1383
+ borderColor: Represents border color.
1384
+ Example::
1385
+
1386
+ #Create worksheet
1387
+ workbook = Workbook()
1388
+ worksheet = workbook.Worksheets[0]
1389
+ #Set text
1390
+ worksheet["C2"].Text = "Sample"
1391
+ worksheet["D2"].Text = "text"
1392
+ worksheet["C3"].Text = "in"
1393
+ worksheet["D3"].Text = "cell"
1394
+ #Set border
1395
+ worksheet["C2:D3"].BorderInside(LineStyleType.Thick , Color.Red)
1396
+ #Save to file
1397
+ workbook.SaveToFile("BorderInside.xlsx")
1398
+
1450
1399
  """
1451
1400
  enumborderLine:c_int = borderLine.value
1452
1401
  intPtrborderColor:c_void_p = borderColor.Ptr
@@ -1458,27 +1407,26 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1458
1407
 
1459
1408
  def BorderInside(self ,borderLine:LineStyleType,borderColor:ExcelColors):
1460
1409
  """
1461
- <summary>
1462
- Sets inside border for current range.
1463
- <example>The following code illustrates how to apply border inside the Range with color from Spire.Xls.ExcelColors structure:
1464
- <code>
1465
- //Create worksheet
1466
- Workbook workbook = new Workbook();
1467
- Worksheet worksheet = workbook.Worksheets[0];
1468
- //Set text
1469
- worksheet["C2"].Text = "Sample";
1470
- worksheet["D2"].Text = "text";
1471
- worksheet["C3"].Text = "in";
1472
- worksheet["D3"].Text = "cell";
1473
- //Set border
1474
- worksheet["C2:D3"].BorderInside(LineStyleType.Thick , ExcelColors.Red);
1475
- //Save to file
1476
- workbook.SaveToFile("BorderInside.xlsx");
1477
- </code>
1478
- </example>
1479
- </summary>
1480
- <param name="borderLine">Represents border line.</param>
1481
- <param name="borderColor">Represents border color as ExcelColors.</param>
1410
+ Sets inside border for current range.
1411
+
1412
+ Args:
1413
+ borderLine: Represents border line.
1414
+ borderColor: Represents border color as ExcelColors.
1415
+ Example::
1416
+
1417
+ #Create worksheet
1418
+ workbook = Workbook()
1419
+ worksheet = workbook.Worksheets[0]
1420
+ #Set text
1421
+ worksheet["C2"].Text = "Sample"
1422
+ worksheet["D2"].Text = "text"
1423
+ worksheet["C3"].Text = "in"
1424
+ worksheet["D3"].Text = "cell"
1425
+ #Set border
1426
+ worksheet["C2:D3"].BorderInside(LineStyleType.Thick , ExcelColors.Red)
1427
+ #Save to file
1428
+ workbook.SaveToFile("BorderInside.xlsx")
1429
+
1482
1430
  """
1483
1431
  enumborderLine:c_int = borderLine.value
1484
1432
  enumborderColor:c_int = borderColor.value
@@ -1488,21 +1436,18 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1488
1436
 
1489
1437
  def BorderNone(self):
1490
1438
  """
1491
- <summary>
1492
- Sets none border for current range.
1493
- <example>The following code illustrates how to remove borders in the Range:
1494
- <code>
1495
- //Create worksheet
1496
- Workbook workbook = new Workbook();
1497
- workbook.LoadFromFile("Sample.xlsx");
1498
- Worksheet worksheet = workbook.Worksheets[0];
1499
- //Remove borders
1500
- worksheet["C2"].BorderNone();
1501
- //Save to file
1502
- workbook.SaveToFile("BorderNone.xlsx");
1503
- </code>
1504
- </example>
1505
- </summary>
1439
+ Sets none border for current range.
1440
+ Example::
1441
+
1442
+ #Create worksheet
1443
+ workbook = Workbook()
1444
+ workbook.LoadFromFile("Sample.xlsx")
1445
+ worksheet = workbook.Worksheets[0]
1446
+ #Remove borders
1447
+ worksheet["C2"].BorderNone()
1448
+ #Save to file
1449
+ workbook.SaveToFile("BorderNone.xlsx")
1450
+
1506
1451
  """
1507
1452
  GetDllLibXls().XlsRange_BorderNone.argtypes=[c_void_p]
1508
1453
  CallCFunction(GetDllLibXls().XlsRange_BorderNone, self.Ptr)
@@ -1510,22 +1455,21 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1510
1455
 
1511
1456
  def Clear(self ,option:'ExcelClearOptions'):
1512
1457
  """
1513
- <summary>
1514
- Clears the cell based on clear options.
1515
- <example>The following code illustrates how to clear the Range with clear options:
1516
- <code>
1517
- //Create worksheet
1518
- Workbook workbook = new Workbook();
1519
- workbook.LoadFromFile("Sample.xlsx");
1520
- Worksheet worksheet = workbook.Worksheets[0];
1521
- //Clears the Range C2 with its clear options
1522
- worksheet.Range["C2"].Clear(ExcelClearOptions.ClearAll);
1523
- //Save to file
1524
- workbook.SaveToFile("ClearContents.xlsx");
1525
- </code>
1526
- </example>
1527
- </summary>
1528
- <param name="option">Represents the clear options.</param>
1458
+ Clears the cell based on clear options.
1459
+
1460
+ Args:
1461
+ option: Represents the clear options.
1462
+ Example::
1463
+
1464
+ #Create worksheet
1465
+ workbook = Workbook()
1466
+ workbook.LoadFromFile("Sample.xlsx")
1467
+ worksheet = workbook.Worksheets[0]
1468
+ #Clears the Range C2 with its clear options
1469
+ worksheet.Range["C2"].Clear(ExcelClearOptions.ClearAll)
1470
+ #Save to file
1471
+ workbook.SaveToFile("ClearContents.xlsx")
1472
+
1529
1473
  """
1530
1474
  enumoption:c_int = option.value
1531
1475
 
@@ -1534,30 +1478,26 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1534
1478
 
1535
1479
  def ClearAll(self):
1536
1480
  """
1537
- <summary>
1538
1481
  Clears the entire object.
1539
- </summary>
1482
+
1540
1483
  """
1541
1484
  GetDllLibXls().XlsRange_ClearAll.argtypes=[c_void_p]
1542
1485
  CallCFunction(GetDllLibXls().XlsRange_ClearAll, self.Ptr)
1543
1486
 
1544
1487
  def ClearContents(self):
1545
1488
  """
1546
- <summary>
1547
- Clear the contents of the Range.
1548
- <example>The following code illustrates how to clear the Range:
1549
- <code>
1550
- //Create worksheet
1551
- Workbook workbook = new Workbook();
1552
- workbook.LoadFromFile("Sample.xlsx");
1553
- Worksheet worksheet = workbook.Worksheets[0];
1554
- //Clears the Range C2
1555
- worksheet.Range["C2"].ClearContents();
1556
- //Save to file
1557
- workbook.SaveToFile("ClearContents.xlsx");
1558
- </code>
1559
- </example>
1560
- </summary>
1489
+ Clear the contents of the Range.
1490
+ Example::
1491
+
1492
+ #Create worksheet
1493
+ workbook = Workbook()
1494
+ workbook.LoadFromFile("Sample.xlsx")
1495
+ worksheet = workbook.Worksheets[0]
1496
+ #Clears the Range C2
1497
+ worksheet.Range["C2"].ClearContents()
1498
+ #Save to file
1499
+ workbook.SaveToFile("ClearContents.xlsx")
1500
+
1561
1501
  """
1562
1502
  GetDllLibXls().XlsRange_ClearContents.argtypes=[c_void_p]
1563
1503
  CallCFunction(GetDllLibXls().XlsRange_ClearContents, self.Ptr)
@@ -1565,11 +1505,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1565
1505
 
1566
1506
  def GroupByColumns(self ,isCollapsed:bool)->'XlsRange':
1567
1507
  """
1568
- <summary>
1569
- Groups columns.
1570
- </summary>
1571
- <param name="isCollapsed">Indicates whether group should be collapsed.</param>
1572
- <returns></returns>
1508
+ Groups columns.
1509
+
1510
+ Args:
1511
+ isCollapsed: Indicates whether group should be collapsed.
1512
+
1573
1513
  """
1574
1514
 
1575
1515
  GetDllLibXls().XlsRange_GroupByColumns.argtypes=[c_void_p ,c_bool]
@@ -1582,11 +1522,11 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1582
1522
 
1583
1523
  def GroupByRows(self ,isCollapsed:bool)->'XlsRange':
1584
1524
  """
1585
- <summary>
1586
- Groups row.
1587
- </summary>
1588
- <param name="isCollapsed">Indicates whether group should be collapsed.</param>
1589
- <returns></returns>
1525
+ Groups row.
1526
+
1527
+ Args:
1528
+ isCollapsed: Indicates whether group should be collapsed.
1529
+
1590
1530
  """
1591
1531
 
1592
1532
  GetDllLibXls().XlsRange_GroupByRows.argtypes=[c_void_p ,c_bool]
@@ -1599,10 +1539,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1599
1539
 
1600
1540
  def UngroupByColumns(self)->'XlsRange':
1601
1541
  """
1602
- <summary>
1603
1542
  Ungroups column.
1604
- </summary>
1605
- <returns></returns>
1543
+
1606
1544
  """
1607
1545
  GetDllLibXls().XlsRange_UngroupByColumns.argtypes=[c_void_p]
1608
1546
  GetDllLibXls().XlsRange_UngroupByColumns.restype=c_void_p
@@ -1614,10 +1552,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1614
1552
 
1615
1553
  def UngroupByRows(self)->'XlsRange':
1616
1554
  """
1617
- <summary>
1618
1555
  Ungroups row.
1619
- </summary>
1620
- <returns></returns>
1556
+
1621
1557
  """
1622
1558
  GetDllLibXls().XlsRange_UngroupByRows.argtypes=[c_void_p]
1623
1559
  GetDllLibXls().XlsRange_UngroupByRows.restype=c_void_p
@@ -1629,24 +1565,21 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1629
1565
 
1630
1566
  def CollapseGroup(self ,groupBy:'GroupByType'):
1631
1567
  """
1632
- <summary>
1633
- Collapses current group.
1634
- <example>The following code illustrates how to remove borders in the Range:
1635
- <code>
1636
- //Create worksheet
1637
- Workbook workbook = new Workbook();
1638
- workbook.LoadFromFile("Sample.xlsx");
1639
- Worksheet worksheet = workbook.Worksheets[0];
1640
- //Collapse group
1641
- worksheet.Range["A5:A15"].CollapseGroup(GroupByType.ByRows);
1642
- //Save to file
1643
- workbook.SaveToFile("CollapseGroup.xlsx");
1644
- </code>
1645
- </example>
1646
- </summary>
1647
- <param name="groupBy">
1648
- This parameter specifies whether the grouping should be performed by rows or by columns.
1649
- </param>
1568
+ Collapses current group.
1569
+
1570
+ Args:
1571
+ groupBy:
1572
+ Example::
1573
+
1574
+ #Create worksheet
1575
+ workbook = Workbook()
1576
+ workbook.LoadFromFile("Sample.xlsx")
1577
+ worksheet = workbook.Worksheets[0]
1578
+ #Collapse group
1579
+ worksheet.Range["A5:A15"].CollapseGroup(GroupByType.ByRows)
1580
+ #Save to file
1581
+ workbook.SaveToFile("CollapseGroup.xlsx")
1582
+
1650
1583
  """
1651
1584
  enumgroupBy:c_int = groupBy.value
1652
1585
 
@@ -1671,24 +1604,21 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1671
1604
 
1672
1605
  def ExpandGroup(self ,groupBy:GroupByType):
1673
1606
  """
1674
- <summary>
1675
- Expands current group.
1676
- <example>The following code illustrates how to expand the group in the Range:
1677
- <code>
1678
- //Create worksheet
1679
- Workbook workbook = new Workbook();
1680
- workbook.LoadFromFile("Sample.xlsx");
1681
- Worksheet worksheet = workbook.Worksheets[0];
1682
- //Expand group with flag set to expand parent
1683
- worksheet.Range["A5:A15"].ExpandGroup(GroupByType.ByRows);
1684
- //Save to file
1685
- workbook.SaveToFile("ExpandGroup.xlsx");
1686
- </code>
1687
- </example>
1688
- </summary>
1689
- <param name="groupBy">
1690
- This parameter specifies whether the grouping should be performed by rows or by columns.
1691
- </param>
1607
+ Expands current group.
1608
+
1609
+ Args:
1610
+ groupBy:
1611
+ Example::
1612
+
1613
+ #Create worksheet
1614
+ workbook = Workbook()
1615
+ workbook.LoadFromFile("Sample.xlsx")
1616
+ worksheet = workbook.Worksheets[0]
1617
+ #Expand group with flag set to expand parent
1618
+ worksheet.Range["A5:A15"].ExpandGroup(GroupByType.ByRows)
1619
+ #Save to file
1620
+ workbook.SaveToFile("ExpandGroup.xlsx")
1621
+
1692
1622
  """
1693
1623
  enumgroupBy:c_int = groupBy.value
1694
1624
 
@@ -1699,25 +1629,22 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1699
1629
 
1700
1630
  def ExpandGroup(self ,groupBy:GroupByType,flags:ExpandCollapseFlags):
1701
1631
  """
1702
- <summary>
1703
- Expands current group.
1704
- <example>The following code illustrates how to perform ExpandGroup in the Range with collapse option:
1705
- <code>
1706
- //Create worksheet
1707
- Workbook workbook = new Workbook();
1708
- workbook.LoadFromFile("Sample.xlsx");
1709
- Worksheet worksheet = workbook.Worksheets[0];
1710
- //Expand group with flag set to expand parent
1711
- worksheet.Range["A5:A15"].ExpandGroup(GroupByType.ByRows, ExpandCollapseFlags.ExpandParent);
1712
- //Save to file
1713
- workbook.SaveToFile("ExpandGroup.xlsx");
1714
- </code>
1715
- </example>
1716
- </summary>
1717
- <param name="groupBy">
1718
- This parameter specifies whether the grouping should be performed by rows or by columns.
1719
- </param>
1720
- <param name="flags">Additional option flags.</param>
1632
+ Expands current group.
1633
+
1634
+ Args:
1635
+ groupBy:
1636
+ flags: Additional option flags.
1637
+ Example::
1638
+
1639
+ #Create worksheet
1640
+ workbook = Workbook()
1641
+ workbook.LoadFromFile("Sample.xlsx")
1642
+ worksheet = workbook.Worksheets[0]
1643
+ #Expand group with flag set to expand parent
1644
+ worksheet.Range["A5:A15"].ExpandGroup(GroupByType.ByRows, ExpandCollapseFlags.ExpandParent)
1645
+ #Save to file
1646
+ workbook.SaveToFile("ExpandGroup.xlsx")
1647
+
1721
1648
  """
1722
1649
  enumgroupBy:c_int = groupBy.value
1723
1650
  enumflags:c_int = flags.value
@@ -1727,20 +1654,17 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1727
1654
 
1728
1655
  def FreezePanes(self):
1729
1656
  """
1730
- <summary>
1731
- Freezes panes at the current range in the worksheet. current range should be single cell range.
1732
- <example>The following code illustrates how to freeze a pane in the Range:
1733
- <code>
1734
- //Create worksheet
1735
- Workbook workbook = new Workbook();
1736
- Worksheet worksheet = workbook.Worksheets[0];
1737
- //Applying Freeze Pane to the sheet by specifying a cell
1738
- worksheet.Range["B2"].FreezePanes();
1739
- //Save to file
1740
- workbook.SaveToFile("FreezePanes.xlsx");
1741
- </code>
1742
- </example>
1743
- </summary>
1657
+ Freezes panes at the current range in the worksheet. current range should be single cell range.
1658
+ Example::
1659
+
1660
+ #Create worksheet
1661
+ workbook = Workbook()
1662
+ worksheet = workbook.Worksheets[0]
1663
+ #Applying Freeze Pane to the sheet by specifying a cell
1664
+ worksheet.Range["B2"].FreezePanes()
1665
+ #Save to file
1666
+ workbook.SaveToFile("FreezePanes.xlsx")
1667
+
1744
1668
  """
1745
1669
  GetDllLibXls().XlsRange_FreezePanes.argtypes=[c_void_p]
1746
1670
  CallCFunction(GetDllLibXls().XlsRange_FreezePanes, self.Ptr)
@@ -1748,19 +1672,16 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1748
1672
  @property
1749
1673
  def BooleanValue(self)->bool:
1750
1674
  """
1751
- <summary>
1752
- Returns or sets the bool value of the specified range.
1753
- <example>The following code illustrates how to access Boolean property of the Range:
1754
- <code>
1755
- //Create worksheet
1756
- Workbook workbook = new Workbook();
1757
- Worksheet worksheet = workbook.Worksheets[0];
1758
- //Set and get BooleanValue
1759
- worksheet.Range[2, 4].BooleanValue = true;
1760
- bool boolean = worksheet.Range[2, 4].BooleanValue;
1761
- </code>
1762
- </example>
1763
- </summary>
1675
+ Returns or sets the bool value of the specified range.
1676
+ Example::
1677
+
1678
+ #Create worksheet
1679
+ workbook = Workbook()
1680
+ worksheet = workbook.Worksheets[0]
1681
+ #Set and get BooleanValue
1682
+ worksheet.Range[2, 4].BooleanValue = true
1683
+ boolean = worksheet.Range[2, 4].BooleanValue
1684
+
1764
1685
  """
1765
1686
  GetDllLibXls().XlsRange_get_BooleanValue.argtypes=[c_void_p]
1766
1687
  GetDllLibXls().XlsRange_get_BooleanValue.restype=c_bool
@@ -1778,7 +1699,7 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1778
1699
  """
1779
1700
 
1780
1701
  """
1781
- from spire.xls.XlsBordersCollection import XlsBordersCollection
1702
+ from spire.xls.collection.XlsBordersCollection import XlsBordersCollection
1782
1703
  GetDllLibXls().XlsRange_get_Borders.argtypes=[c_void_p]
1783
1704
  GetDllLibXls().XlsRange_get_Borders.restype=c_void_p
1784
1705
  intPtr = CallCFunction(GetDllLibXls().XlsRange_get_Borders, self.Ptr)
@@ -1790,22 +1711,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1790
1711
 
1791
1712
  def BuiltInStyle(self)->BuiltInStyles:
1792
1713
  """
1793
- <summary>
1794
- Gets/sets built in style.
1795
- <example>The following code illustrates how to access BuiltInStyle property:
1796
- <code>
1797
- //Create worksheet
1798
- Workbook workbook = new Workbook();
1799
- Worksheet worksheet = workbook.Worksheets[0];
1800
- //Set text
1801
- worksheet["C2"].Text = "Sample";
1802
- //Set built in style
1803
- worksheet["C2"].BuiltInStyle = BuiltInStyles.Accent3;
1804
- //Save to file
1805
- workbook.SaveToFile("BuiltInStyle.xlsx");
1806
- </code>
1807
- </example>
1808
- </summary>
1714
+ Gets/sets built in style.
1715
+ Example::
1716
+
1717
+ #Create worksheet
1718
+ workbook = Workbook()
1719
+ worksheet = workbook.Worksheets[0]
1720
+ #Set text
1721
+ worksheet["C2"].Text = "Sample"
1722
+ #Set built in style
1723
+ worksheet["C2"].BuiltInStyle = BuiltInStyles.Accent3
1724
+ #Save to file
1725
+ workbook.SaveToFile("BuiltInStyle.xlsx")
1726
+
1809
1727
  """
1810
1728
  GetDllLibXls().XlsRange_get_BuiltInStyle.argtypes=[c_void_p]
1811
1729
  GetDllLibXls().XlsRange_get_BuiltInStyle.restype=c_int
@@ -1852,21 +1770,18 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1852
1770
 
1853
1771
  def CellStyleName(self)->str:
1854
1772
  """
1855
- <summary>
1856
- Gets/sets name of the style for the current range.
1857
- <example>The following code illustrates how to access CellStyleName of the specified range:
1858
- <code>
1859
- //Create worksheet
1860
- Workbook workbook = new Workbook();
1861
- Worksheet worksheet = workbook.Worksheets[0];
1862
- //Add and set style
1863
- CellStyle style = workbook.Styles.Add("CustomStyle");
1864
- worksheet["C2"].Style = style;
1865
- //Check Style name
1866
- Console.Write(worksheet["C2"].CellStyleName);
1867
- </code>
1868
- </example>
1869
- </summary>
1773
+ Gets/sets name of the style for the current range.
1774
+ Example::
1775
+
1776
+ #Create worksheet
1777
+ workbook = Workbook()
1778
+ worksheet = workbook.Worksheets[0]
1779
+ #Add and set style
1780
+ style = workbook.Styles.Add("CustomStyle")
1781
+ worksheet["C2"].Style = style
1782
+ #Check Style name
1783
+ Console.Write(worksheet["C2"].CellStyleName)
1784
+
1870
1785
  """
1871
1786
  GetDllLibXls().XlsRange_get_CellStyleName.argtypes=[c_void_p]
1872
1787
  GetDllLibXls().XlsRange_get_CellStyleName.restype=c_void_p
@@ -1882,18 +1797,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1882
1797
  @property
1883
1798
  def Column(self)->int:
1884
1799
  """
1885
- <summary>
1886
1800
  Returns the number of the first column in the first area in the specified range.
1887
- <example>The following code illustrates how to access Column property of the Range:
1888
- <code>
1889
- //Create worksheet
1890
- Workbook workbook = new Workbook();
1891
- Worksheet worksheet = workbook.Worksheets[0];
1892
- //Get specified column
1893
- int firstColumn = worksheet["E1:R3"].Column;
1894
- </code>
1895
- </example>
1896
- </summary>
1801
+ Example::
1802
+
1803
+ #Create worksheet
1804
+ workbook = Workbook()
1805
+ worksheet = workbook.Worksheets[0]
1806
+ #Get specified column
1807
+ firstColumn = worksheet["E1:R3"].Column
1808
+
1897
1809
  """
1898
1810
  GetDllLibXls().XlsRange_get_Column.argtypes=[c_void_p]
1899
1811
  GetDllLibXls().XlsRange_get_Column.restype=c_int
@@ -1903,14 +1815,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1903
1815
  @property
1904
1816
  def ColumnGroupLevel(self)->int:
1905
1817
  """
1906
- <summary>
1907
1818
  Column group level.
1908
- </summary>
1909
- <remarks>
1910
- -1 - column group is not same.
1911
- 0 - Not group
1912
- 1 - 7 - group level.
1913
- </remarks>
1819
+
1914
1820
  """
1915
1821
  GetDllLibXls().XlsRange_get_ColumnGroupLevel.argtypes=[c_void_p]
1916
1822
  GetDllLibXls().XlsRange_get_ColumnGroupLevel.restype=c_int
@@ -1933,21 +1839,18 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1933
1839
  @property
1934
1840
  def ColumnWidth(self)->float:
1935
1841
  """
1936
- <summary>
1937
- Returns or sets the width of all columns in the specified range.
1938
- <example>The following code illustrates how to set the width of all columns in the specified range:
1939
- <code>
1940
- //Create worksheet
1941
- Workbook workbook = new Workbook();
1942
- Worksheet worksheet = workbook.Worksheets[0];
1943
- //Set the ColumnWidth
1944
- worksheet["A1"].Text = "This cell contains sample text";
1945
- worksheet["A1"].ColumnWidth = 25;
1946
- //Save to file
1947
- workbook.SaveToFile("ColumnWidth.xlsx");
1948
- </code>
1949
- </example>
1950
- </summary>
1842
+ Returns or sets the width of all columns in the specified range.
1843
+ Example::
1844
+
1845
+ #Create worksheet
1846
+ workbook = Workbook()
1847
+ worksheet = workbook.Worksheets[0]
1848
+ #Set the ColumnWidth
1849
+ worksheet["A1"].Text = "This cell contains sample text"
1850
+ worksheet["A1"].ColumnWidth = 25
1851
+ #Save to file
1852
+ workbook.SaveToFile("ColumnWidth.xlsx")
1853
+
1951
1854
  """
1952
1855
  GetDllLibXls().XlsRange_get_ColumnWidth.argtypes=[c_void_p]
1953
1856
  GetDllLibXls().XlsRange_get_ColumnWidth.restype=c_double
@@ -1963,9 +1866,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1963
1866
 
1964
1867
  def Comment(self)->'ICommentShape':
1965
1868
  """
1966
- <summary>
1967
1869
  Returns a Comment object that represents the comment associated with the cell in the upper-left corner of the range.
1968
- </summary>
1870
+
1969
1871
  """
1970
1872
  GetDllLibXls().XlsRange_get_Comment.argtypes=[c_void_p]
1971
1873
  GetDllLibXls().XlsRange_get_Comment.restype=c_void_p
@@ -1990,9 +1892,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
1990
1892
  @property
1991
1893
  def Count(self)->int:
1992
1894
  """
1993
- <summary>
1994
1895
  Returns the number of objects in the collection.
1995
- </summary>
1896
+
1996
1897
  """
1997
1898
  GetDllLibXls().XlsRange_get_Count.argtypes=[c_void_p]
1998
1899
  GetDllLibXls().XlsRange_get_Count.restype=c_int
@@ -2003,9 +1904,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2003
1904
 
2004
1905
  def CurrentRegion(self)->'IXLSRange':
2005
1906
  """
2006
- <summary>
2007
1907
  Get the range associated with a range.
2008
- </summary>
1908
+
2009
1909
  """
2010
1910
  GetDllLibXls().XlsRange_get_CurrentRegion.argtypes=[c_void_p]
2011
1911
  GetDllLibXls().XlsRange_get_CurrentRegion.restype=c_void_p
@@ -2018,25 +1918,22 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2018
1918
 
2019
1919
  def DataValidation(self)->'Validation':
2020
1920
  """
2021
- <summary>
2022
- Get dataValidation of the sheet. Read Only.
2023
- <example>The following code illustrates how to access DataValidation property of the Range:
2024
- <code>
2025
- //Create worksheet
2026
- Workbook workbook = new Workbook();
2027
- Worksheet worksheet = workbook.Worksheets[0];
2028
- //Data validation for number
2029
- IDataValidation validation = worksheet.Range["A3"].DataValidation;
2030
- validation.AllowType = CellDataType.Integer;
2031
- //Value between 0 to 10
2032
- validation.CompareOperator = ValidationComparisonOperator.Between;
2033
- validation.Formula1 = "0";
2034
- validation.Formula2 = "10";
2035
- //Save to file
2036
- workbook.SaveToFile("DataValidation.xlsx");
2037
- </code>
2038
- </example>
2039
- </summary>
1921
+ Get dataValidation of the sheet. Read Only.
1922
+ Example::
1923
+
1924
+ #Create worksheet
1925
+ workbook = Workbook()
1926
+ worksheet = workbook.Worksheets[0]
1927
+ #Data validation for number
1928
+ validation = worksheet.Range["A3"].DataValidation
1929
+ validation.AllowType = CellDataType.Integer
1930
+ #Value between 0 to 10
1931
+ validation.CompareOperator = ValidationComparisonOperator.Between
1932
+ validation.Formula1 = "0"
1933
+ validation.Formula2 = "10"
1934
+ #Save to file
1935
+ workbook.SaveToFile("DataValidation.xlsx")
1936
+
2040
1937
  """
2041
1938
  GetDllLibXls().XlsRange_get_DataValidation.argtypes=[c_void_p]
2042
1939
  GetDllLibXls().XlsRange_get_DataValidation.restype=c_void_p
@@ -2049,21 +1946,18 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2049
1946
 
2050
1947
  def DateTimeValue(self)->'DateTime':
2051
1948
  """
2052
- <summary>
2053
1949
  Gets/sets DateTime value of the range.
2054
- <example>The following code illustrates how to set and access DateTimeValue property of the Range:
2055
- <code>
2056
- //Create worksheet
2057
- Workbook workbook = new Workbook();
2058
- Worksheet worksheet = workbook.Worksheets[0];
2059
- //Set and get the DateTimeValue of specified range
2060
- worksheet.Range[2, 4].DateTimeValue = DateTime.Now;
2061
- DateTime dateTime = worksheet.Range[2, 4].DateTimeValue;
2062
- //Save to file
2063
- workbook.SaveToFile("DateTimeValue.xlsx");
2064
- </code>
2065
- </example>
2066
- </summary>
1950
+ Example::
1951
+
1952
+ #Create worksheet
1953
+ workbook = Workbook()
1954
+ worksheet = workbook.Worksheets[0]
1955
+ #Set and get the DateTimeValue of specified range
1956
+ worksheet.Range[2, 4].DateTimeValue = DateTime.Now
1957
+ dateTime = worksheet.Range[2, 4].DateTimeValue
1958
+ #Save to file
1959
+ workbook.SaveToFile("DateTimeValue.xlsx")
1960
+
2067
1961
  """
2068
1962
  GetDllLibXls().XlsRange_get_DateTimeValue.argtypes=[c_void_p]
2069
1963
  GetDllLibXls().XlsRange_get_DateTimeValue.restype=c_void_p
@@ -2107,10 +2001,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2107
2001
 
2108
2002
  def EntireRow(self)->'IXLSRange':
2109
2003
  """
2110
- <summary>
2111
- Returns a Range object that represents the entire row (or
2112
- rows) that contains the specified range. Read-only.
2113
- </summary>
2004
+ Returns a Range object that represents the entire row (or rows) that contains the specified range. Read-only.
2005
+
2114
2006
  """
2115
2007
  GetDllLibXls().XlsRange_get_EntireRow.argtypes=[c_void_p]
2116
2008
  GetDllLibXls().XlsRange_get_EntireRow.restype=c_void_p
@@ -2123,20 +2015,17 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2123
2015
 
2124
2016
  def EnvalutedValue(self)->str:
2125
2017
  """
2126
- <summary>
2127
- Returns the calculated value of a formula.
2128
- <example>The following code illustrates how to access a calculated value:
2129
- <code>
2130
- //Create worksheet
2131
- Workbook workbook = new Workbook();
2132
- workbook.LoadFromFile("Sample.xlsx");
2133
- Worksheet worksheet = workbook.Worksheets[0];
2134
- //Returns the calculated value of a formula using the most current inputs
2135
- string calculatedValue = worksheet["C1"].EnvalutedValue;
2136
- Console.WriteLine(calculatedValue);
2137
- </code>
2138
- </example>
2139
- </summary>
2018
+ Returns the calculated value of a formula.
2019
+ Example::
2020
+
2021
+ #Create worksheet
2022
+ workbook = Workbook()
2023
+ workbook.LoadFromFile("Sample.xlsx")
2024
+ worksheet = workbook.Worksheets[0]
2025
+ #Returns the calculated value of a formula using the most current inputs
2026
+ calculatedValue = worksheet["C1"].EnvalutedValue
2027
+ print(calculatedValue)
2028
+
2140
2029
  """
2141
2030
  GetDllLibXls().XlsRange_get_EnvalutedValue.argtypes=[c_void_p]
2142
2031
  GetDllLibXls().XlsRange_get_EnvalutedValue.restype=c_void_p
@@ -2148,9 +2037,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2148
2037
 
2149
2038
  def ErrorValue(self)->str:
2150
2039
  """
2151
- <summary>
2152
2040
  Gets or sets error value of this range.
2153
- </summary>
2041
+
2154
2042
  """
2155
2043
  GetDllLibXls().XlsRange_get_ErrorValue.argtypes=[c_void_p]
2156
2044
  GetDllLibXls().XlsRange_get_ErrorValue.restype=c_void_p
@@ -2167,10 +2055,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2167
2055
 
2168
2056
  def Formula(self)->str:
2169
2057
  """
2170
- <summary>
2171
- Returns or sets the object's formula in A1-style notation and in
2172
- the language of the macro.
2173
- </summary>
2058
+ Returns or sets the object's formula in A1-style notation and in the language of the macro.
2059
+
2174
2060
  """
2175
2061
  GetDllLibXls().XlsRange_get_Formula.argtypes=[c_void_p]
2176
2062
  GetDllLibXls().XlsRange_get_Formula.restype=c_void_p
@@ -2187,24 +2073,21 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2187
2073
 
2188
2074
  def FormulaArray(self)->str:
2189
2075
  """
2190
- <summary>
2191
- Returns or sets the array formula of a range.
2192
- <example>The following code illustrates how to set and access FormulaArray property of the range:
2193
- <code>
2194
- //Create worksheet
2195
- Workbook workbook = new Workbook();
2196
- Worksheet worksheet = workbook.Worksheets[0];
2197
- //Assign array formula
2198
- worksheet.Range["A1:D1"].FormulaArray = "{1,2,3,4}";
2199
- //Adding a named range for the range A1 to D1
2200
- worksheet.Names.Add("ArrayRange", worksheet.Range["A1:D1"]);
2201
- //Assign formula array with named range
2202
- worksheet.Range["A2:D2"].FormulaArray = "ArrayRange+100";
2203
- //Save to file
2204
- workbook.SaveToFile("FormulaArray.xlsx");
2205
- </code>
2206
- </example>
2207
- </summary>
2076
+ Returns or sets the array formula of a range.
2077
+ Example::
2078
+
2079
+ #Create worksheet
2080
+ workbook = Workbook()
2081
+ worksheet = workbook.Worksheets[0]
2082
+ #Assign array formula
2083
+ worksheet.Range["A1:D1"].FormulaArray = "{1,2,3,4}"
2084
+ #Adding a named range for the range A1 to D1
2085
+ worksheet.Names.Add("ArrayRange", worksheet.Range["A1:D1"])
2086
+ #Assign formula array with named range
2087
+ worksheet.Range["A2:D2"].FormulaArray = "ArrayRange+100"
2088
+ #Save to file
2089
+ workbook.SaveToFile("FormulaArray.xlsx")
2090
+
2208
2091
  """
2209
2092
  GetDllLibXls().XlsRange_get_FormulaArray.argtypes=[c_void_p]
2210
2093
  GetDllLibXls().XlsRange_get_FormulaArray.restype=c_void_p
@@ -2221,9 +2104,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2221
2104
 
2222
2105
  def FormulaArrayR1C1(self)->str:
2223
2106
  """
2224
- <summary>
2225
2107
  Returns or sets the formula for the object, using R1C1-style notation in the language of the macro
2226
- </summary>
2108
+
2227
2109
  """
2228
2110
  GetDllLibXls().XlsRange_get_FormulaArrayR1C1.argtypes=[c_void_p]
2229
2111
  GetDllLibXls().XlsRange_get_FormulaArrayR1C1.restype=c_void_p
@@ -2255,9 +2137,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2255
2137
 
2256
2138
  def FormulaDateTime(self)->'DateTime':
2257
2139
  """
2258
- <summary>
2259
2140
  Gets or sets bool value of the formula.
2260
- </summary>
2141
+
2261
2142
  """
2262
2143
  GetDllLibXls().XlsRange_get_FormulaDateTime.argtypes=[c_void_p]
2263
2144
  GetDllLibXls().XlsRange_get_FormulaDateTime.restype=c_void_p
@@ -2275,9 +2156,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2275
2156
 
2276
2157
  def FormulaErrorValue(self)->str:
2277
2158
  """
2278
- <summary>
2279
2159
  Gets or sets error value of the formula.
2280
- </summary>
2160
+
2281
2161
  """
2282
2162
  GetDllLibXls().XlsRange_get_FormulaErrorValue.argtypes=[c_void_p]
2283
2163
  GetDllLibXls().XlsRange_get_FormulaErrorValue.restype=c_void_p
@@ -2293,9 +2173,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2293
2173
  @property
2294
2174
  def FormulaNumberValue(self)->float:
2295
2175
  """
2296
- <summary>
2297
2176
  Gets or sets double value of the formula.
2298
- </summary>
2177
+
2299
2178
  """
2300
2179
  GetDllLibXls().XlsRange_get_FormulaNumberValue.argtypes=[c_void_p]
2301
2180
  GetDllLibXls().XlsRange_get_FormulaNumberValue.restype=c_double
@@ -2311,9 +2190,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2311
2190
 
2312
2191
  def FormulaR1C1(self)->str:
2313
2192
  """
2314
- <summary>
2315
2193
  Returns or sets the formula for the object, using R1C1-style notation in the language of the macro
2316
- </summary>
2194
+
2317
2195
  """
2318
2196
  GetDllLibXls().XlsRange_get_FormulaR1C1.argtypes=[c_void_p]
2319
2197
  GetDllLibXls().XlsRange_get_FormulaR1C1.restype=c_void_p
@@ -2330,9 +2208,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2330
2208
 
2331
2209
  def FormulaStringValue(self)->str:
2332
2210
  """
2333
- <summary>
2334
2211
  Gets or sets string value of the range.
2335
- </summary>
2212
+
2336
2213
  """
2337
2214
  GetDllLibXls().XlsRange_get_FormulaStringValue.argtypes=[c_void_p]
2338
2215
  GetDllLibXls().XlsRange_get_FormulaStringValue.restype=c_void_p
@@ -2349,9 +2226,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2349
2226
 
2350
2227
  def FormulaValue(self)->'str':
2351
2228
  """
2352
- <summary>
2353
2229
  Gets formula value.
2354
- </summary>
2230
+
2355
2231
  """
2356
2232
  GetDllLibXls().XlsRange_get_FormulaValue.argtypes=[c_void_p]
2357
2233
  GetDllLibXls().XlsRange_get_FormulaValue.restype=c_void_p
@@ -2363,22 +2239,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2363
2239
  @property
2364
2240
  def HasBoolean(self)->bool:
2365
2241
  """
2366
- <summary>
2367
- Indicates whether range contains bool value.
2368
- <example>The following code illustrates how to set and access HasBoolean property of the Range:
2369
- <code>
2370
- //Create worksheet
2371
- Workbook workbook = new Workbook();
2372
- Worksheet worksheet = workbook.Worksheets[0];
2373
- //Assigning Value2 property of the Range
2374
- worksheet["A3"].Value2 = false;
2375
- //Checking Range types
2376
- bool isboolean = worksheet["A3"].HasBoolean;
2377
- //Save to file
2378
- workbook.SaveToFile("HasBoolean.xlsx");
2379
- </code>
2380
- </example>
2381
- </summary>
2242
+ Indicates whether range contains bool value.
2243
+ Example::
2244
+
2245
+ #Create worksheet
2246
+ workbook = Workbook()
2247
+ worksheet = workbook.Worksheets[0]
2248
+ #Assigning Value2 property of the Range
2249
+ worksheet["A3"].Value2 = false
2250
+ #Checking Range types
2251
+ isboolean = worksheet["A3"].HasBoolean
2252
+ #Save to file
2253
+ workbook.SaveToFile("HasBoolean.xlsx")
2254
+
2382
2255
  """
2383
2256
  GetDllLibXls().XlsRange_get_HasBoolean.argtypes=[c_void_p]
2384
2257
  GetDllLibXls().XlsRange_get_HasBoolean.restype=c_bool
@@ -2398,9 +2271,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2398
2271
  @property
2399
2272
  def ColumnCount(self)->int:
2400
2273
  """
2401
- <summary>
2402
2274
  Gets number of columns.
2403
- </summary>
2275
+
2404
2276
  """
2405
2277
  GetDllLibXls().XlsRange_get_ColumnCount.argtypes=[c_void_p]
2406
2278
  GetDllLibXls().XlsRange_get_ColumnCount.restype=c_int
@@ -2410,9 +2282,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2410
2282
  @property
2411
2283
  def RowCount(self)->int:
2412
2284
  """
2413
- <summary>
2414
2285
  Gets number of rows.
2415
- </summary>
2286
+
2416
2287
  """
2417
2288
  GetDllLibXls().XlsRange_get_RowCount.argtypes=[c_void_p]
2418
2289
  GetDllLibXls().XlsRange_get_RowCount.restype=c_int
@@ -2422,10 +2293,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2422
2293
  @property
2423
2294
  def HasDataValidation(self)->bool:
2424
2295
  """
2425
- <summary>
2426
- Indicates whether specified range object has data validation.
2427
- If Range is not single cell, then returns true only if all cells have data validation. Read-only.
2428
- </summary>
2296
+ Indicates whether specified range object has data validation. If Range is not single cell, then returns true only if all cells have data validation. Read-only.
2297
+
2429
2298
  """
2430
2299
  GetDllLibXls().XlsRange_get_HasDataValidation.argtypes=[c_void_p]
2431
2300
  GetDllLibXls().XlsRange_get_HasDataValidation.restype=c_bool
@@ -2435,22 +2304,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2435
2304
  @property
2436
2305
  def HasDateTime(self)->bool:
2437
2306
  """
2438
- <summary>
2439
- Determines if all cells in the range contain datetime.
2440
- <example>The following code illustrates how to set and access HasDateTime property of the Range:
2441
- <code>
2442
- //Create worksheet
2443
- Workbook workbook = new Workbook();
2444
- Worksheet worksheet = workbook.Worksheets[0];
2445
- //Assigning Value2 property of the Range
2446
- worksheet["A1"].Value2 = DateTime.Now;
2447
- //Checking Range types
2448
- bool isDateTime = worksheet["A1"].HasDateTime;
2449
- //Save to file
2450
- workbook.SaveToFile("HasDateTime.xlsx");
2451
- </code>
2452
- </example>
2453
- </summary>
2307
+ Determines if all cells in the range contain datetime.
2308
+ Example::
2309
+
2310
+ #Create worksheet
2311
+ workbook = Workbook()
2312
+ worksheet = workbook.Worksheets[0]
2313
+ #Assigning Value2 property of the Range
2314
+ worksheet["A1"].Value2 = DateTime.Now
2315
+ #Checking Range types
2316
+ isDateTime = worksheet["A1"].HasDateTime
2317
+ #Save to file
2318
+ workbook.SaveToFile("HasDateTime.xlsx")
2319
+
2454
2320
  """
2455
2321
  GetDllLibXls().XlsRange_get_HasDateTime.argtypes=[c_void_p]
2456
2322
  GetDllLibXls().XlsRange_get_HasDateTime.restype=c_bool
@@ -2460,9 +2326,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2460
2326
  @property
2461
2327
  def HasError(self)->bool:
2462
2328
  """
2463
- <summary>
2464
2329
  Indicates whether range contains error value.
2465
- </summary>
2330
+
2466
2331
  """
2467
2332
  GetDllLibXls().XlsRange_get_HasError.argtypes=[c_void_p]
2468
2333
  GetDllLibXls().XlsRange_get_HasError.restype=c_bool
@@ -2472,9 +2337,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2472
2337
  @property
2473
2338
  def HasExternalFormula(self)->bool:
2474
2339
  """
2475
- <summary>
2476
2340
  Check if the formula in the range has external links. Read-only.
2477
- </summary>
2341
+
2478
2342
  """
2479
2343
  GetDllLibXls().XlsRange_get_HasExternalFormula.argtypes=[c_void_p]
2480
2344
  GetDllLibXls().XlsRange_get_HasExternalFormula.restype=c_bool
@@ -2484,9 +2348,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2484
2348
  @property
2485
2349
  def HasFormula(self)->bool:
2486
2350
  """
2487
- <summary>
2488
- True if all cells in the range contain formulas;
2489
- </summary>
2351
+ True if all cells in the range contain formulas;
2352
+
2490
2353
  """
2491
2354
  GetDllLibXls().XlsRange_get_HasFormula.argtypes=[c_void_p]
2492
2355
  GetDllLibXls().XlsRange_get_HasFormula.restype=c_bool
@@ -2496,9 +2359,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2496
2359
  @property
2497
2360
  def HasFormulaArray(self)->bool:
2498
2361
  """
2499
- <summary>
2500
2362
  Determines if all cells in the range contain array-entered formula.
2501
- </summary>
2363
+
2502
2364
  """
2503
2365
  GetDllLibXls().XlsRange_get_HasFormulaArray.argtypes=[c_void_p]
2504
2366
  GetDllLibXls().XlsRange_get_HasFormulaArray.restype=c_bool
@@ -2508,9 +2370,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2508
2370
  @property
2509
2371
  def HasFormulaBoolValue(self)->bool:
2510
2372
  """
2511
- <summary>
2512
2373
  Determines if all cells in the range contain formula bool value..
2513
- </summary>
2374
+
2514
2375
  """
2515
2376
  GetDllLibXls().XlsRange_get_HasFormulaBoolValue.argtypes=[c_void_p]
2516
2377
  GetDllLibXls().XlsRange_get_HasFormulaBoolValue.restype=c_bool
@@ -2520,9 +2381,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2520
2381
  @property
2521
2382
  def HasFormulaDateTime(self)->bool:
2522
2383
  """
2523
- <summary>
2524
2384
  Indicates if current range has formula value formatted as DateTime. Read-only.
2525
- </summary>
2385
+
2526
2386
  """
2527
2387
  GetDllLibXls().XlsRange_get_HasFormulaDateTime.argtypes=[c_void_p]
2528
2388
  GetDllLibXls().XlsRange_get_HasFormulaDateTime.restype=c_bool
@@ -2532,9 +2392,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2532
2392
  @property
2533
2393
  def HasFormulaErrorValue(self)->bool:
2534
2394
  """
2535
- <summary>
2536
2395
  Determines if all cells in the range contain error value.
2537
- </summary>
2396
+
2538
2397
  """
2539
2398
  GetDllLibXls().XlsRange_get_HasFormulaErrorValue.argtypes=[c_void_p]
2540
2399
  GetDllLibXls().XlsRange_get_HasFormulaErrorValue.restype=c_bool
@@ -2544,9 +2403,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2544
2403
  @property
2545
2404
  def HasFormulaNumberValue(self)->bool:
2546
2405
  """
2547
- <summary>
2548
2406
  Indicates whether current range has formula number value.
2549
- </summary>
2407
+
2550
2408
  """
2551
2409
  GetDllLibXls().XlsRange_get_HasFormulaNumberValue.argtypes=[c_void_p]
2552
2410
  GetDllLibXls().XlsRange_get_HasFormulaNumberValue.restype=c_bool
@@ -2566,22 +2424,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2566
2424
  @property
2567
2425
  def HasMerged(self)->bool:
2568
2426
  """
2569
- <summary>
2570
- Indicates whether this range is part of merged range.
2571
- <example>The following code illustrates how to access HasMerged property:
2572
- <code>
2573
- //Create worksheet
2574
- Workbook workbook = new Workbook();
2575
- Worksheet worksheet = workbook.Worksheets[0];
2576
- //Set text
2577
- worksheet["A1"].Text = "Sample text in cell";
2578
- //Set merge
2579
- worksheet["A1:B1"].Merge();
2580
- //Check merge
2581
- Console.Write(worksheet["A1:B1"].HasMerged);
2582
- </code>
2583
- </example>
2584
- </summary>
2427
+ Indicates whether this range is part of merged range.
2428
+ Example::
2429
+
2430
+ #Create worksheet
2431
+ workbook = Workbook()
2432
+ worksheet = workbook.Worksheets[0]
2433
+ #Set text
2434
+ worksheet["A1"].Text = "Sample text in cell"
2435
+ #Set merge
2436
+ worksheet["A1:B1"].Merge()
2437
+ #Check merge
2438
+ Console.Write(worksheet["A1:B1"].HasMerged)
2439
+
2585
2440
  """
2586
2441
  GetDllLibXls().XlsRange_get_HasMerged.argtypes=[c_void_p]
2587
2442
  GetDllLibXls().XlsRange_get_HasMerged.restype=c_bool
@@ -2591,22 +2446,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2591
2446
  @property
2592
2447
  def HasNumber(self)->bool:
2593
2448
  """
2594
- <summary>
2595
- Determines if any one cell in the range contain number.
2596
- <example>The following code illustrates how to set and access Value2 property of the Range:
2597
- <code>
2598
- //Create worksheet
2599
- Workbook workbook = new Workbook();
2600
- Worksheet worksheet = workbook.Worksheets[0];
2601
- //Assigning Value2 property of the Range
2602
- worksheet["A2"].Value2 = 45;
2603
- //Checking Range types
2604
- bool isNumber = worksheet["A2"].HasNumber;
2605
- //Save to file
2606
- workbook.SaveToFile("HasNumber.xlsx");
2607
- </code>
2608
- </example>
2609
- </summary>
2449
+ Determines if any one cell in the range contain number.
2450
+ Example::
2451
+
2452
+ #Create worksheet
2453
+ workbook = Workbook()
2454
+ worksheet = workbook.Worksheets[0]
2455
+ #Assigning Value2 property of the Range
2456
+ worksheet["A2"].Value2 = 45
2457
+ #Checking Range types
2458
+ isNumber = worksheet["A2"].HasNumber
2459
+ #Save to file
2460
+ workbook.SaveToFile("HasNumber.xlsx")
2461
+
2610
2462
  """
2611
2463
  GetDllLibXls().XlsRange_get_HasNumber.argtypes=[c_void_p]
2612
2464
  GetDllLibXls().XlsRange_get_HasNumber.restype=c_bool
@@ -2616,9 +2468,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2616
2468
  @property
2617
2469
  def HasPictures(self)->bool:
2618
2470
  """
2619
- <summary>
2620
2471
  Indicates whether the range is blank.
2621
- </summary>
2472
+
2622
2473
  """
2623
2474
  GetDllLibXls().XlsRange_get_HasPictures.argtypes=[c_void_p]
2624
2475
  GetDllLibXls().XlsRange_get_HasPictures.restype=c_bool
@@ -2628,28 +2479,25 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2628
2479
  @property
2629
2480
  def HasRichText(self)->bool:
2630
2481
  """
2631
- <summary>
2632
- Determines if all cells in the range contain rich text string.
2633
- <example>The following code illustrates how to access HasRichText property:
2634
- <code>
2635
- //Create worksheet
2636
- Workbook workbook = new Workbook();
2637
- Worksheet worksheet = workbook.Worksheets[0];
2638
- //Create style
2639
- IStyle style = workbook.Styles.Add("CustomStyle");
2640
- //Set rich text
2641
- IRichTextString richText = worksheet["C2"].RichText;
2642
- richText.Text = "Sample";
2643
- IFont font = style.Font;
2644
- font.Color = Color.Red;
2645
- richText.SetFont(0, 5, font);
2646
- //Check HasRichText
2647
- Console.Write(worksheet["C2"].HasRichText);
2648
- //Save to file
2649
- workbook.SaveToFile("HasRichText.xlsx");
2650
- </code>
2651
- </example>
2652
- </summary>
2482
+ Determines if all cells in the range contain rich text string.
2483
+ Example::
2484
+
2485
+ #Create worksheet
2486
+ workbook = Workbook()
2487
+ worksheet = workbook.Worksheets[0]
2488
+ #Create style
2489
+ style = workbook.Styles.Add("CustomStyle")
2490
+ #Set rich text
2491
+ richText = worksheet["C2"].RichText
2492
+ richText.Text = "Sample"
2493
+ font = style.Font
2494
+ font.Color = Color.Red
2495
+ richText.SetFont(0, 5, font)
2496
+ #Check HasRichText
2497
+ Console.Write(worksheet["C2"].HasRichText)
2498
+ #Save to file
2499
+ workbook.SaveToFile("HasRichText.xlsx")
2500
+
2653
2501
  """
2654
2502
  GetDllLibXls().XlsRange_get_HasRichText.argtypes=[c_void_p]
2655
2503
  GetDllLibXls().XlsRange_get_HasRichText.restype=c_bool
@@ -2659,9 +2507,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2659
2507
  @property
2660
2508
  def HasString(self)->bool:
2661
2509
  """
2662
- <summary>
2663
2510
  Determines if all cells in the range contain string.
2664
- </summary>
2511
+
2665
2512
  """
2666
2513
  GetDllLibXls().XlsRange_get_HasString.argtypes=[c_void_p]
2667
2514
  GetDllLibXls().XlsRange_get_HasString.restype=c_bool
@@ -2671,25 +2518,22 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2671
2518
  @property
2672
2519
  def HasStyle(self)->bool:
2673
2520
  """
2674
- <summary>
2675
- Determines if all cells in the range contain differs from default style.
2676
- <example>The following code illustrates how to access HasStyle property:
2677
- <code>
2678
- //Create worksheet
2679
- Workbook workbook = new Workbook();
2680
- Worksheet worksheet = workbook.Worksheets[0];
2681
- //Add style
2682
- CellStyle style = workbook.Styles.Add("CustomStyle");
2683
- //Set color and style
2684
- style.Color = Color.Red;
2685
- worksheet["C2"].Style = style;
2686
- //Check HasStyle
2687
- Console.Write(worksheet["C2"].HasStyle);
2688
- //Save to file
2689
- workbook.SaveToFile("HasStyle.xlsx");
2690
- </code>
2691
- </example>
2692
- </summary>
2521
+ Determines if all cells in the range contain differs from default style.
2522
+ Example::
2523
+
2524
+ #Create worksheet
2525
+ workbook = Workbook()
2526
+ worksheet = workbook.Worksheets[0]
2527
+ #Add style
2528
+ style = workbook.Styles.Add("CustomStyle")
2529
+ #Set color and style
2530
+ style.Color = Color.Red
2531
+ worksheet["C2"].Style = style
2532
+ #Check HasStyle
2533
+ Console.Write(worksheet["C2"].HasStyle)
2534
+ #Save to file
2535
+ workbook.SaveToFile("HasStyle.xlsx")
2536
+
2693
2537
  """
2694
2538
  GetDllLibXls().XlsRange_get_HasStyle.argtypes=[c_void_p]
2695
2539
  GetDllLibXls().XlsRange_get_HasStyle.restype=c_bool
@@ -2700,22 +2544,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2700
2544
 
2701
2545
  def HorizontalAlignment(self)->'HorizontalAlignType':
2702
2546
  """
2703
- <summary>
2704
- Returns or sets the horizontal alignment for the specified object.
2705
- <example>The following code illustrates how to set and access HasStyle property:
2706
- <code>
2707
- //Create worksheet
2708
- Workbook workbook = new Workbook();
2709
- Worksheet worksheet = workbook.Worksheets[0];
2710
- //Set text
2711
- worksheet["A1"].Text = "Test";
2712
- //Set alignment
2713
- worksheet["A1"].HorizontalAlignment = HorizontalAlignType.Right;
2714
- //Save to file
2715
- workbook.SaveToFile("HorizontalAlignment.xlsx");
2716
- </code>
2717
- </example>
2718
- </summary>
2547
+ Returns or sets the horizontal alignment for the specified object.
2548
+ Example::
2549
+
2550
+ #Create worksheet
2551
+ workbook = Workbook()
2552
+ worksheet = workbook.Worksheets[0]
2553
+ #Set text
2554
+ worksheet["A1"].Text = "Test"
2555
+ #Set alignment
2556
+ worksheet["A1"].HorizontalAlignment = HorizontalAlignType.Right
2557
+ #Save to file
2558
+ workbook.SaveToFile("HorizontalAlignment.xlsx")
2559
+
2719
2560
  """
2720
2561
  GetDllLibXls().XlsRange_get_HorizontalAlignment.argtypes=[c_void_p]
2721
2562
  GetDllLibXls().XlsRange_get_HorizontalAlignment.restype=c_int
@@ -2732,9 +2573,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2732
2573
 
2733
2574
  def Hyperlinks(self)->'IHyperLinks':
2734
2575
  """
2735
- <summary>
2736
2576
  Returns hyperlinks for this range.
2737
- </summary>
2577
+
2738
2578
  """
2739
2579
  GetDllLibXls().XlsRange_get_Hyperlinks.argtypes=[c_void_p]
2740
2580
  GetDllLibXls().XlsRange_get_Hyperlinks.restype=c_void_p
@@ -2747,9 +2587,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2747
2587
 
2748
2588
  def IgnoreErrorOptions(self)->'IgnoreErrorType':
2749
2589
  """
2750
- <summary>
2751
2590
  Represents ignore error options. If not single cell returs concatenateed flags.
2752
- </summary>
2591
+
2753
2592
  """
2754
2593
  GetDllLibXls().XlsRange_get_IgnoreErrorOptions.argtypes=[c_void_p]
2755
2594
  GetDllLibXls().XlsRange_get_IgnoreErrorOptions.restype=c_int
@@ -2765,22 +2604,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2765
2604
  @property
2766
2605
  def IndentLevel(self)->int:
2767
2606
  """
2768
- <summary>
2769
- Returns or sets the indent level for the cell or range. value should be 0 between 15.
2770
- <example>The following code illustrates how to set indent level for a cell:
2771
- <code>
2772
- //Create worksheet
2773
- Workbook workbook = new Workbook();
2774
- Worksheet worksheet = workbook.Worksheets[0];
2775
- //Set text
2776
- worksheet["C2"].Text = "Sample";
2777
- //Set indent level
2778
- worksheet["C2"].IndentLevel = 2;
2779
- //Save to file
2780
- workbook.SaveToFile("IndentLevel.xlsx");
2781
- </code>
2782
- </example>
2783
- </summary>
2607
+ Returns or sets the indent level for the cell or range. value should be 0 between 15.
2608
+ Example::
2609
+
2610
+ #Create worksheet
2611
+ workbook = Workbook()
2612
+ worksheet = workbook.Worksheets[0]
2613
+ #Set text
2614
+ worksheet["C2"].Text = "Sample"
2615
+ #Set indent level
2616
+ worksheet["C2"].IndentLevel = 2
2617
+ #Save to file
2618
+ workbook.SaveToFile("IndentLevel.xlsx")
2619
+
2784
2620
  """
2785
2621
  GetDllLibXls().XlsRange_get_IndentLevel.argtypes=[c_void_p]
2786
2622
  GetDllLibXls().XlsRange_get_IndentLevel.restype=c_int
@@ -2795,9 +2631,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2795
2631
  @property
2796
2632
  def IsAllNumber(self)->bool:
2797
2633
  """
2798
- <summary>
2799
2634
  Determines if all cells in the range contain number.
2800
- </summary>
2635
+
2801
2636
  """
2802
2637
  GetDllLibXls().XlsRange_get_IsAllNumber.argtypes=[c_void_p]
2803
2638
  GetDllLibXls().XlsRange_get_IsAllNumber.restype=c_bool
@@ -2807,9 +2642,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2807
2642
  @property
2808
2643
  def IsBlank(self)->bool:
2809
2644
  """
2810
- <summary>
2811
2645
  Indicates whether the range is blank.
2812
- </summary>
2646
+
2813
2647
  """
2814
2648
  GetDllLibXls().XlsRange_get_IsBlank.argtypes=[c_void_p]
2815
2649
  GetDllLibXls().XlsRange_get_IsBlank.restype=c_bool
@@ -2819,9 +2653,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2819
2653
  @property
2820
2654
  def IsFormulaHidden(self)->bool:
2821
2655
  """
2822
- <summary>
2823
2656
  Determines if the formula will be hidden when the worksheet is protected.
2824
- </summary>
2657
+
2825
2658
  """
2826
2659
  GetDllLibXls().XlsRange_get_IsFormulaHidden.argtypes=[c_void_p]
2827
2660
  GetDllLibXls().XlsRange_get_IsFormulaHidden.restype=c_bool
@@ -2836,9 +2669,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2836
2669
  @property
2837
2670
  def IsGroupedByColumn(self)->bool:
2838
2671
  """
2839
- <summary>
2840
2672
  Indicates whether this range is grouped by column.
2841
- </summary>
2673
+
2842
2674
  """
2843
2675
  GetDllLibXls().XlsRange_get_IsGroupedByColumn.argtypes=[c_void_p]
2844
2676
  GetDllLibXls().XlsRange_get_IsGroupedByColumn.restype=c_bool
@@ -2848,9 +2680,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2848
2680
  @property
2849
2681
  def IsGroupedByRow(self)->bool:
2850
2682
  """
2851
- <summary>
2852
2683
  Indicates whether this range is grouped by row.
2853
- </summary>
2684
+
2854
2685
  """
2855
2686
  GetDllLibXls().XlsRange_get_IsGroupedByRow.argtypes=[c_void_p]
2856
2687
  GetDllLibXls().XlsRange_get_IsGroupedByRow.restype=c_bool
@@ -2860,9 +2691,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2860
2691
  @property
2861
2692
  def IsInitialized(self)->bool:
2862
2693
  """
2863
- <summary>
2864
2694
  Indicates whether range has been initialized.
2865
- </summary>
2695
+
2866
2696
  """
2867
2697
  GetDllLibXls().XlsRange_get_IsInitialized.argtypes=[c_void_p]
2868
2698
  GetDllLibXls().XlsRange_get_IsInitialized.restype=c_bool
@@ -2873,9 +2703,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2873
2703
 
2874
2704
  def IsStringsPreserved(self)->bool:
2875
2705
  """
2876
- <summary>
2877
2706
  Indicates whether all values in the range are preserved as strings.
2878
- </summary>
2707
+
2879
2708
  """
2880
2709
  GetDllLibXls().XlsRange_get_IsStringsPreserved.argtypes=[c_void_p]
2881
2710
  GetDllLibXls().XlsRange_get_IsStringsPreserved.restype=c_bool
@@ -2892,22 +2721,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2892
2721
  @property
2893
2722
  def IsWrapText(self)->bool:
2894
2723
  """
2895
- <summary>
2896
- Determines if Microsoft Excel wraps the text in the object.
2897
- <example>The following code illustrates how to access WrapText property:
2898
- <code>
2899
- //Create worksheet
2900
- Workbook workbook = new Workbook();
2901
- Worksheet worksheet = workbook.Worksheets[0];
2902
- //Set text
2903
- worksheet["A1"].Text = "This cell contains sample text";
2904
- //Set wrap text
2905
- worksheet["A1"].IsWrapText = true;
2906
- //Save to file
2907
- workbook.SaveToFile("IsWrapText.xlsx");
2908
- </code>
2909
- </example>
2910
- </summary>
2724
+ Determines if Microsoft Excel wraps the text in the object.
2725
+ Example::
2726
+
2727
+ #Create worksheet
2728
+ workbook = Workbook()
2729
+ worksheet = workbook.Worksheets[0]
2730
+ #Set text
2731
+ worksheet["A1"].Text = "This cell contains sample text"
2732
+ #Set wrap text
2733
+ worksheet["A1"].IsWrapText = true
2734
+ #Save to file
2735
+ workbook.SaveToFile("IsWrapText.xlsx")
2736
+
2911
2737
  """
2912
2738
  GetDllLibXls().XlsRange_get_IsWrapText.argtypes=[c_void_p]
2913
2739
  GetDllLibXls().XlsRange_get_IsWrapText.restype=c_bool
@@ -2922,9 +2748,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2922
2748
  @property
2923
2749
  def LastColumn(self)->int:
2924
2750
  """
2925
- <summary>
2926
2751
  Gets or sets last column of the range.
2927
- </summary>
2752
+
2928
2753
  """
2929
2754
  GetDllLibXls().XlsRange_get_LastColumn.argtypes=[c_void_p]
2930
2755
  GetDllLibXls().XlsRange_get_LastColumn.restype=c_int
@@ -2939,9 +2764,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2939
2764
  @property
2940
2765
  def LastRow(self)->int:
2941
2766
  """
2942
- <summary>
2943
2767
  Gets or sets last row of the range.
2944
- </summary>
2768
+
2945
2769
  """
2946
2770
  GetDllLibXls().XlsRange_get_LastRow.argtypes=[c_void_p]
2947
2771
  GetDllLibXls().XlsRange_get_LastRow.restype=c_int
@@ -2970,9 +2794,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2970
2794
 
2971
2795
  def DisplayedText(self)->str:
2972
2796
  """
2973
- <summary>
2974
2797
  Gets cell displayed text.
2975
- </summary>
2798
+
2976
2799
  """
2977
2800
  GetDllLibXls().XlsRange_get_DisplayedText.argtypes=[c_void_p]
2978
2801
  GetDllLibXls().XlsRange_get_DisplayedText.restype=c_void_p
@@ -2983,9 +2806,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2983
2806
  @property
2984
2807
  def HasConditionFormats(self)->bool:
2985
2808
  """
2986
- <summary>
2987
- Indicates whether each cell of the range has some conditional formatting.
2988
- </summary>
2809
+ Indicates whether each cell of the range has some conditional formatting.
2810
+
2989
2811
  """
2990
2812
  GetDllLibXls().XlsRange_get_HasConditionFormats.argtypes=[c_void_p]
2991
2813
  GetDllLibXls().XlsRange_get_HasConditionFormats.restype=c_bool
@@ -2996,22 +2818,19 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
2996
2818
 
2997
2819
  def NumberFormat(self)->str:
2998
2820
  """
2999
- <summary>
3000
- Returns or sets the format code for the object.
3001
- <example>The following code illustrates how to set NumberFormat property:
3002
- <code>
3003
- //Create worksheet
3004
- Workbook workbook = new Workbook();
3005
- Worksheet worksheet = workbook.Worksheets[0];
3006
- //Set data
3007
- worksheet["C2"].Value = "3100.23";
3008
- //Set number format
3009
- worksheet["C2"].NumberFormat = "#,##1.##";
3010
- //Save to file
3011
- workbook.SaveToFile("NumberFormat.xlsx");
3012
- </code>
3013
- </example>
3014
- </summary>
2821
+ Returns or sets the format code for the object.
2822
+ Example::
2823
+
2824
+ #Create worksheet
2825
+ workbook = Workbook()
2826
+ worksheet = workbook.Worksheets[0]
2827
+ #Set data
2828
+ worksheet["C2"].Value = "3100.23"
2829
+ #Set number format
2830
+ worksheet["C2"].NumberFormat = "#,#1.#"
2831
+ #Save to file
2832
+ workbook.SaveToFile("NumberFormat.xlsx")
2833
+
3015
2834
  """
3016
2835
  GetDllLibXls().XlsRange_get_NumberFormat.argtypes=[c_void_p]
3017
2836
  GetDllLibXls().XlsRange_get_NumberFormat.restype=c_void_p
@@ -3028,23 +2847,20 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3028
2847
 
3029
2848
  def NumberText(self)->str:
3030
2849
  """
3031
- <summary>
3032
2850
  Returns cell text for number format.
3033
- <example>The following code illustrates how to access NumberText property of the Range:
3034
- <code>
3035
- //Create worksheet
3036
- Workbook workbook = new Workbook();
3037
- Worksheet worksheet = workbook.Worksheets[0];
3038
- //Gets cell value with its number format
3039
- XlsRange range= worksheet.Range[3, 1];
3040
- range.Value = "1/1/2015";
3041
- range.NumberFormat = "dd-MMM-yyyy";
3042
- string numberText = range.NumberText;
3043
- //Save to file
3044
- workbook.SaveToFile("NumberText.xlsx");
3045
- </code>
3046
- </example>
3047
- </summary>
2851
+ Example::
2852
+
2853
+ #Create worksheet
2854
+ workbook = Workbook()
2855
+ worksheet = workbook.Worksheets[0]
2856
+ #Gets cell value with its number format
2857
+ XlsRange range= worksheet.Range[3, 1]
2858
+ range.Value = "1/1/2015"
2859
+ range.NumberFormat = "dd-MMM-yyyy"
2860
+ numberText = range.NumberText
2861
+ #Save to file
2862
+ workbook.SaveToFile("NumberText.xlsx")
2863
+
3048
2864
  """
3049
2865
  GetDllLibXls().XlsRange_get_NumberText.argtypes=[c_void_p]
3050
2866
  GetDllLibXls().XlsRange_get_NumberText.restype=c_void_p
@@ -3055,9 +2871,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3055
2871
  @property
3056
2872
  def NumberValue(self)->float:
3057
2873
  """
3058
- <summary>
3059
2874
  Gets or sets number value of the range.
3060
- </summary>
2875
+
3061
2876
  """
3062
2877
  GetDllLibXls().XlsRange_get_NumberValue.argtypes=[c_void_p]
3063
2878
  GetDllLibXls().XlsRange_get_NumberValue.restype=c_double
@@ -3086,19 +2901,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3086
2901
 
3087
2902
  def RangeAddress(self)->str:
3088
2903
  """
3089
- <summary>
3090
- Returns the range reference in the language of the macro.
3091
- Read-only String.
3092
- <example>The following code illustrates how to access Address property of the Range:
3093
- <code>
3094
- //Create worksheet
3095
- Workbook workbook = new Workbook();
3096
- Worksheet worksheet = workbook.Worksheets[0];
3097
- //Get RangeAddress
3098
- string address = worksheet.Range[3, 4].RangeAddress;
3099
- </code>
3100
- </example>
3101
- </summary>
2904
+ Returns the range reference in the language of the macro. Read-only String.
2905
+ Example::
2906
+
2907
+ #Create worksheet
2908
+ workbook = Workbook()
2909
+ worksheet = workbook.Worksheets[0]
2910
+ #Get RangeAddress
2911
+ address = worksheet.Range[3, 4].RangeAddress
2912
+
3102
2913
  """
3103
2914
  GetDllLibXls().XlsRange_get_RangeAddress.argtypes=[c_void_p]
3104
2915
  GetDllLibXls().XlsRange_get_RangeAddress.restype=c_void_p
@@ -3110,18 +2921,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3110
2921
 
3111
2922
  def RangeAddressLocal(self)->str:
3112
2923
  """
3113
- <summary>
3114
- Returns the range reference for the specified range in the language of the user.
3115
- <example>The following code illustrates how to access AddressLocal property of the Range:
3116
- <code>
3117
- //Create worksheet
3118
- Workbook workbook = new Workbook();
3119
- Worksheet worksheet = workbook.Worksheets[0];
3120
- //Get RangeAddressLocal
3121
- string address = worksheet.Range[3, 4].RangeAddressLocal;
3122
- </code>
3123
- </example>
3124
- </summary>
2924
+ Returns the range reference for the specified range in the language of the user.
2925
+ Example::
2926
+
2927
+ #Create worksheet
2928
+ workbook = Workbook()
2929
+ worksheet = workbook.Worksheets[0]
2930
+ #Get RangeAddressLocal
2931
+ address = worksheet.Range[3, 4].RangeAddressLocal
2932
+
3125
2933
  """
3126
2934
  GetDllLibXls().XlsRange_get_RangeAddressLocal.argtypes=[c_void_p]
3127
2935
  GetDllLibXls().XlsRange_get_RangeAddressLocal.restype=c_void_p
@@ -3133,9 +2941,8 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3133
2941
 
3134
2942
  def RangeGlobalAddressWithoutSheetName(self)->str:
3135
2943
  """
3136
- <summary>
3137
2944
  Return global address without worksheet name.
3138
- </summary>
2945
+
3139
2946
  """
3140
2947
  GetDllLibXls().XlsRange_get_RangeGlobalAddressWithoutSheetName.argtypes=[c_void_p]
3141
2948
  GetDllLibXls().XlsRange_get_RangeGlobalAddressWithoutSheetName.restype=c_void_p
@@ -3147,18 +2954,15 @@ class XlsRange ( XlsObject, ICombinedRange,IEnumerable[IXLSRange]) :
3147
2954
 
3148
2955
  def RangeGlobalAddress(self)->str:
3149
2956
  """
3150
- <summary>
3151
- Returns the range reference in the language of the macro.
3152
- <example>The following code illustrates how to access AddressGlobal property of the Range:
3153
- <code>
3154
- //Create worksheet
3155
- Workbook workbook = new Workbook();
3156
- Worksheet worksheet = workbook.Worksheets[0];
3157
- //Get RangeAddress
3158
- string address = worksheet.Range[3, 4].RangeGlobalAddress;
3159
- </code>
3160
- </example>
3161
- </summary>
2957
+ Returns the range reference in the language of the macro.
2958
+ Example::
2959
+
2960
+ #Create worksheet
2961
+ workbook = Workbook()
2962
+ worksheet = workbook.Worksheets[0]
2963
+ #Get RangeAddress
2964
+ address = worksheet.Range[3, 4].RangeGlobalAddress
2965
+
3162
2966
  """
3163
2967
  GetDllLibXls().XlsRange_get_RangeGlobalAddress.argtypes=[c_void_p]
3164
2968
  GetDllLibXls().XlsRange_get_RangeGlobalAddress.restype=c_void_p