spire-xls 15.5.0__py3-none-manylinux2014_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. spire/__init__.py +0 -0
  2. spire/xls/AddInFunctionsCollection.py +29 -0
  3. spire/xls/AddtionalFormatWrapper.py +976 -0
  4. spire/xls/AlertStyleType.py +18 -0
  5. spire/xls/ArcShapeCollection.py +70 -0
  6. spire/xls/AutoFiltersCollection.py +527 -0
  7. spire/xls/AutoFitterOptions.py +66 -0
  8. spire/xls/AutoFormatOptions.py +23 -0
  9. spire/xls/AutoFormatType.py +32 -0
  10. spire/xls/AutoSortScope.py +25 -0
  11. spire/xls/Average.py +29 -0
  12. spire/xls/AverageType.py +25 -0
  13. spire/xls/AxisLineIdentifierType.py +19 -0
  14. spire/xls/AxisTextDirectionType.py +18 -0
  15. spire/xls/AxisType.py +18 -0
  16. spire/xls/AxisTypes.py +18 -0
  17. spire/xls/BaseFormatType.py +17 -0
  18. spire/xls/BordersCollection.py +158 -0
  19. spire/xls/BordersCollectionArrayWrapper.py +95 -0
  20. spire/xls/BordersLineType.py +23 -0
  21. spire/xls/BubbleSizeType.py +17 -0
  22. spire/xls/BuiltInDocumentProperties.py +12 -0
  23. spire/xls/BuiltInPropertyType.py +50 -0
  24. spire/xls/BuiltInStyles.py +66 -0
  25. spire/xls/ButtonShapeCollection.py +70 -0
  26. spire/xls/CategoryType.py +18 -0
  27. spire/xls/CellBaseStyle.py +26 -0
  28. spire/xls/CellBorder.py +154 -0
  29. spire/xls/CellDataType.py +23 -0
  30. spire/xls/CellFormatType.py +21 -0
  31. spire/xls/CellRange.py +915 -0
  32. spire/xls/CellStyle.py +85 -0
  33. spire/xls/CellStyleFlag.py +432 -0
  34. spire/xls/CellStyleObject.py +617 -0
  35. spire/xls/CellValueChangedEventArgs.py +75 -0
  36. spire/xls/CellValueChangedEventHandler.py +52 -0
  37. spire/xls/Chart.py +404 -0
  38. spire/xls/ChartArea.py +61 -0
  39. spire/xls/ChartBackgroundMode.py +18 -0
  40. spire/xls/ChartBaseUnitType.py +18 -0
  41. spire/xls/ChartBorder.py +12 -0
  42. spire/xls/ChartCategoryAxis.py +93 -0
  43. spire/xls/ChartDataLabels.py +42 -0
  44. spire/xls/ChartDataPoint.py +42 -0
  45. spire/xls/ChartDataPointsCollection.py +75 -0
  46. spire/xls/ChartDataTable.py +12 -0
  47. spire/xls/ChartDisplayUnitType.py +26 -0
  48. spire/xls/ChartDropBar.py +12 -0
  49. spire/xls/ChartFormat.py +72 -0
  50. spire/xls/ChartFormatCollection.py +59 -0
  51. spire/xls/ChartGridLine.py +27 -0
  52. spire/xls/ChartInterior.py +12 -0
  53. spire/xls/ChartLegend.py +42 -0
  54. spire/xls/ChartLegendEntriesColl.py +128 -0
  55. spire/xls/ChartLegendEntry.py +27 -0
  56. spire/xls/ChartLinePatternType.py +24 -0
  57. spire/xls/ChartLineWeightType.py +19 -0
  58. spire/xls/ChartMarkerType.py +27 -0
  59. spire/xls/ChartPageSetup.py +12 -0
  60. spire/xls/ChartParagraphType.py +18 -0
  61. spire/xls/ChartPieType.py +18 -0
  62. spire/xls/ChartPlotArea.py +53 -0
  63. spire/xls/ChartPlotEmptyType.py +18 -0
  64. spire/xls/ChartSerie.py +142 -0
  65. spire/xls/ChartSerieDataFormat.py +56 -0
  66. spire/xls/ChartSeries.py +154 -0
  67. spire/xls/ChartSeriesAxis.py +72 -0
  68. spire/xls/ChartShadow.py +235 -0
  69. spire/xls/ChartSheet.py +285 -0
  70. spire/xls/ChartTextArea.py +782 -0
  71. spire/xls/ChartTitle.py +12 -0
  72. spire/xls/ChartValueAxis.py +92 -0
  73. spire/xls/ChartWallOrFloor.py +12 -0
  74. spire/xls/ChartsCollection.py +113 -0
  75. spire/xls/CheckBoxCollection.py +70 -0
  76. spire/xls/CheckState.py +18 -0
  77. spire/xls/CollectionBase.py +184 -0
  78. spire/xls/CollectionChangeEventArgs.py +36 -0
  79. spire/xls/CollectionExtended.py +92 -0
  80. spire/xls/ColorConditionValue.py +91 -0
  81. spire/xls/ColorFilter.py +45 -0
  82. spire/xls/ColorScale.py +172 -0
  83. spire/xls/ColorType.py +18 -0
  84. spire/xls/ComboBoxCollection.py +70 -0
  85. spire/xls/CommentHAlignType.py +21 -0
  86. spire/xls/CommentVAlignType.py +20 -0
  87. spire/xls/CommentsCollection.py +109 -0
  88. spire/xls/CommentsRange.py +578 -0
  89. spire/xls/CommonWrapper.py +40 -0
  90. spire/xls/ComparisonOperatorType.py +24 -0
  91. spire/xls/CompoundLineType.py +18 -0
  92. spire/xls/CondFormatCollectionWrapper.py +125 -0
  93. spire/xls/ConditionValue.py +82 -0
  94. spire/xls/ConditionValuePosition.py +16 -0
  95. spire/xls/ConditionValueType.py +20 -0
  96. spire/xls/ConditionalFormat.py +14 -0
  97. spire/xls/ConditionalFormatScope.py +16 -0
  98. spire/xls/ConditionalFormatType.py +33 -0
  99. spire/xls/ConditionalFormatWrapper.py +986 -0
  100. spire/xls/ConditionalFormats.py +55 -0
  101. spire/xls/ConditionalTopNType.py +17 -0
  102. spire/xls/ConnectionDataSourceType.py +26 -0
  103. spire/xls/ConverterSetting.py +347 -0
  104. spire/xls/CopyRangeOptions.py +23 -0
  105. spire/xls/CustomFilter.py +147 -0
  106. spire/xls/CustomFilterCollection.py +113 -0
  107. spire/xls/DBConnection.py +198 -0
  108. spire/xls/DVAspect.py +15 -0
  109. spire/xls/DataBar.py +220 -0
  110. spire/xls/DataBarAxisPosition.py +16 -0
  111. spire/xls/DataBarBorder.py +47 -0
  112. spire/xls/DataBarBorderType.py +15 -0
  113. spire/xls/DataBarFillType.py +15 -0
  114. spire/xls/DataBarNegativeColorType.py +15 -0
  115. spire/xls/DataConnections.py +25 -0
  116. spire/xls/DataLabelPositionType.py +26 -0
  117. spire/xls/DataMarkerDirection.py +17 -0
  118. spire/xls/DataSorter.py +154 -0
  119. spire/xls/DataSourceType.py +19 -0
  120. spire/xls/DateTimeGroupItem.py +132 -0
  121. spire/xls/DateTimeGroupingType.py +19 -0
  122. spire/xls/DeleteOption.py +15 -0
  123. spire/xls/DocumentProperty.py +304 -0
  124. spire/xls/DropLineStyleType.py +18 -0
  125. spire/xls/DynamicFilter.py +71 -0
  126. spire/xls/DynamicFilterType.py +48 -0
  127. spire/xls/EncryptedKeyInfo.py +12 -0
  128. spire/xls/ErrorBarIncludeType.py +19 -0
  129. spire/xls/ErrorBarType.py +20 -0
  130. spire/xls/Excel2016Charttype.py +20 -0
  131. spire/xls/ExcelAddInFunction.py +12 -0
  132. spire/xls/ExcelCalculationMode.py +18 -0
  133. spire/xls/ExcelChartType.py +96 -0
  134. spire/xls/ExcelClearOptions.py +18 -0
  135. spire/xls/ExcelColors.py +121 -0
  136. spire/xls/ExcelComboType.py +22 -0
  137. spire/xls/ExcelComment.py +27 -0
  138. spire/xls/ExcelCommentObject.py +618 -0
  139. spire/xls/ExcelFindOptions.py +16 -0
  140. spire/xls/ExcelFont.py +310 -0
  141. spire/xls/ExcelGradient.py +174 -0
  142. spire/xls/ExcelHorizontalAlignment.py +21 -0
  143. spire/xls/ExcelInterior.py +128 -0
  144. spire/xls/ExcelPatternType.py +52 -0
  145. spire/xls/ExcelPicture.py +12 -0
  146. spire/xls/ExcelQuartileCalculation.py +17 -0
  147. spire/xls/ExcelSaveType.py +15 -0
  148. spire/xls/ExcelShapeType.py +41 -0
  149. spire/xls/ExcelSheetType.py +20 -0
  150. spire/xls/ExcelTotalsCalculation.py +23 -0
  151. spire/xls/ExcelTreeMapLabelOption.py +18 -0
  152. spire/xls/ExcelVersion.py +24 -0
  153. spire/xls/ExcelVerticalAlignment.py +21 -0
  154. spire/xls/ExpandCollapseFlags.py +18 -0
  155. spire/xls/ExportTableOptions.py +74 -0
  156. spire/xls/ExternalConnection.py +147 -0
  157. spire/xls/ExternalLink.py +58 -0
  158. spire/xls/ExternalLinkCollection.py +25 -0
  159. spire/xls/FileFormat.py +40 -0
  160. spire/xls/FillPictureType.py +16 -0
  161. spire/xls/FilterColumn.py +258 -0
  162. spire/xls/FilterConditionType.py +21 -0
  163. spire/xls/FilterDataType.py +22 -0
  164. spire/xls/FilterOperatorType.py +20 -0
  165. spire/xls/FilterType.py +20 -0
  166. spire/xls/FindType.py +19 -0
  167. spire/xls/Font.py +376 -0
  168. spire/xls/FontArrayWrapper.py +265 -0
  169. spire/xls/FontUnderlineType.py +20 -0
  170. spire/xls/FontVertialAlignmentType.py +20 -0
  171. spire/xls/FontWrapper.py +450 -0
  172. spire/xls/FontsCollection.py +87 -0
  173. spire/xls/Format3D.py +235 -0
  174. spire/xls/GeomertyAdjustValue.py +63 -0
  175. spire/xls/GeomertyAdjustValueFormulaType.py +30 -0
  176. spire/xls/GeomertyAdjustValuesCollection.py +39 -0
  177. spire/xls/GetText.py +15 -0
  178. spire/xls/GoalSeek.py +65 -0
  179. spire/xls/GoalSeekResult.py +57 -0
  180. spire/xls/GradientArrayWrapper.py +188 -0
  181. spire/xls/GradientColorType.py +18 -0
  182. spire/xls/GradientPatternType.py +64 -0
  183. spire/xls/GradientPresetType.py +39 -0
  184. spire/xls/GradientStops.py +146 -0
  185. spire/xls/GradientStyleType.py +21 -0
  186. spire/xls/GradientTextureType.py +40 -0
  187. spire/xls/GradientType.py +17 -0
  188. spire/xls/GradientVariantsType.py +19 -0
  189. spire/xls/GroupBoxCollection.py +70 -0
  190. spire/xls/GroupByType.py +15 -0
  191. spire/xls/GroupShape.py +21 -0
  192. spire/xls/GroupShapeCollection.py +46 -0
  193. spire/xls/HPageBreak.py +32 -0
  194. spire/xls/HPageBreaksCollection.py +108 -0
  195. spire/xls/HTMLOptions.py +144 -0
  196. spire/xls/HistogramAxisFormat.py +30 -0
  197. spire/xls/HorizontalAlignType.py +23 -0
  198. spire/xls/HttpContentType.py +18 -0
  199. spire/xls/HyperLink.py +32 -0
  200. spire/xls/HyperLinkType.py +20 -0
  201. spire/xls/HyperLinksCollection.py +72 -0
  202. spire/xls/IAddInFunction.py +22 -0
  203. spire/xls/IAddInFunctions.py +50 -0
  204. spire/xls/IArcShape.py +259 -0
  205. spire/xls/IArcShapes.py +50 -0
  206. spire/xls/IAutoFilter.py +167 -0
  207. spire/xls/IAutoFilterCondition.py +123 -0
  208. spire/xls/IAutoFilters.py +49 -0
  209. spire/xls/IBorder.py +116 -0
  210. spire/xls/IBorders.py +106 -0
  211. spire/xls/IBuiltInDocumentProperties.py +579 -0
  212. spire/xls/IButtonShape.py +12 -0
  213. spire/xls/IButtonShapes.py +50 -0
  214. spire/xls/IChart.py +1368 -0
  215. spire/xls/IChartAxis.py +722 -0
  216. spire/xls/IChartBorder.py +220 -0
  217. spire/xls/IChartCategoryAxis.py +410 -0
  218. spire/xls/IChartDataLabels.py +457 -0
  219. spire/xls/IChartDataPoint.py +131 -0
  220. spire/xls/IChartDataPoints.py +31 -0
  221. spire/xls/IChartDataTable.py +197 -0
  222. spire/xls/IChartDropBar.py +12 -0
  223. spire/xls/IChartErrorBars.py +373 -0
  224. spire/xls/IChartFillBorder.py +303 -0
  225. spire/xls/IChartFormat.py +571 -0
  226. spire/xls/IChartFrameFormat.py +93 -0
  227. spire/xls/IChartGridLine.py +107 -0
  228. spire/xls/IChartInterior.py +278 -0
  229. spire/xls/IChartLegend.py +499 -0
  230. spire/xls/IChartLegendEntries.py +30 -0
  231. spire/xls/IChartLegendEntry.py +178 -0
  232. spire/xls/IChartPageSetup.py +56 -0
  233. spire/xls/IChartSerie.py +779 -0
  234. spire/xls/IChartSerieDataFormat.py +566 -0
  235. spire/xls/IChartSeries.py +39 -0
  236. spire/xls/IChartSeriesAxis.py +128 -0
  237. spire/xls/IChartShape.py +92 -0
  238. spire/xls/IChartShapes.py +39 -0
  239. spire/xls/IChartTextArea.py +197 -0
  240. spire/xls/IChartTrendLine.py +548 -0
  241. spire/xls/IChartTrendLines.py +79 -0
  242. spire/xls/IChartValueAxis.py +518 -0
  243. spire/xls/IChartWallOrFloor.py +32 -0
  244. spire/xls/ICharts.py +70 -0
  245. spire/xls/ICheckBox.py +96 -0
  246. spire/xls/ICheckBoxes.py +50 -0
  247. spire/xls/ICloneParent.py +28 -0
  248. spire/xls/IColorConditionValue.py +31 -0
  249. spire/xls/IColorScale.py +32 -0
  250. spire/xls/ICombinedRange.py +87 -0
  251. spire/xls/IComboBoxShape.py +95 -0
  252. spire/xls/IComboBoxes.py +50 -0
  253. spire/xls/IComment.py +85 -0
  254. spire/xls/ICommentShape.py +12 -0
  255. spire/xls/IComments.py +50 -0
  256. spire/xls/IConditionValue.py +68 -0
  257. spire/xls/IConditionalFormat.py +606 -0
  258. spire/xls/IConditionalFormats.py +48 -0
  259. spire/xls/IConditionalFormatsCollection.py +134 -0
  260. spire/xls/ICustomDocumentProperties.py +128 -0
  261. spire/xls/IDataBar.py +105 -0
  262. spire/xls/IDataSort.py +95 -0
  263. spire/xls/IDataValidation.py +421 -0
  264. spire/xls/IDataValidationCollection.py +132 -0
  265. spire/xls/IDataValidationTable.py +68 -0
  266. spire/xls/IDigitalSignature.py +99 -0
  267. spire/xls/IDigitalSignatures.py +29 -0
  268. spire/xls/IDocumentProperty.py +226 -0
  269. spire/xls/IErrorIndicator.py +31 -0
  270. spire/xls/IExcelApplication.py +22 -0
  271. spire/xls/IExtendIndex.py +21 -0
  272. spire/xls/IExtendedFormat.py +530 -0
  273. spire/xls/IFont.py +271 -0
  274. spire/xls/IFormat3D.py +252 -0
  275. spire/xls/IGeomPath.py +23 -0
  276. spire/xls/IGeomPathInfo.py +112 -0
  277. spire/xls/IGeomPathShape.py +30 -0
  278. spire/xls/IGlow.py +85 -0
  279. spire/xls/IGradient.py +174 -0
  280. spire/xls/IGroupBox.py +67 -0
  281. spire/xls/IGroupBoxes.py +50 -0
  282. spire/xls/IHPageBreak.py +22 -0
  283. spire/xls/IHPageBreaks.py +31 -0
  284. spire/xls/IHyperLink.py +118 -0
  285. spire/xls/IHyperLinks.py +48 -0
  286. spire/xls/IIconSet.py +96 -0
  287. spire/xls/IInterior.py +117 -0
  288. spire/xls/IInternalAddtionalFormat.py +238 -0
  289. spire/xls/IInternalFont.py +31 -0
  290. spire/xls/IInternalWorksheet.py +132 -0
  291. spire/xls/ILabelShape.py +49 -0
  292. spire/xls/ILabelShapes.py +50 -0
  293. spire/xls/ILineShape.py +305 -0
  294. spire/xls/ILines.py +50 -0
  295. spire/xls/IListBox.py +86 -0
  296. spire/xls/IListBoxes.py +50 -0
  297. spire/xls/IListObject.py +493 -0
  298. spire/xls/IListObjectColumn.py +222 -0
  299. spire/xls/IListObjects.py +31 -0
  300. spire/xls/IMarkersDesigner.py +113 -0
  301. spire/xls/IMigrantRange.py +21 -0
  302. spire/xls/INameRanges.py +162 -0
  303. spire/xls/INamedObject.py +22 -0
  304. spire/xls/INamedRange.py +162 -0
  305. spire/xls/INumberFormat.py +77 -0
  306. spire/xls/IOleObject.py +176 -0
  307. spire/xls/IOleObjects.py +32 -0
  308. spire/xls/IOptimizedUpdate.py +28 -0
  309. spire/xls/IOvalShape.py +154 -0
  310. spire/xls/IOvalShapes.py +50 -0
  311. spire/xls/IPageSetup.py +195 -0
  312. spire/xls/IPageSetupBase.py +642 -0
  313. spire/xls/IPictureShape.py +99 -0
  314. spire/xls/IPictures.py +250 -0
  315. spire/xls/IPivotCache.py +41 -0
  316. spire/xls/IPivotCaches.py +39 -0
  317. spire/xls/IPivotCalculatedFields.py +50 -0
  318. spire/xls/IPivotDataField.py +68 -0
  319. spire/xls/IPivotDataFields.py +50 -0
  320. spire/xls/IPivotField.py +291 -0
  321. spire/xls/IPivotFields.py +41 -0
  322. spire/xls/IPivotTable.py +393 -0
  323. spire/xls/IPivotTableOptions.py +428 -0
  324. spire/xls/IPivotTables.py +68 -0
  325. spire/xls/IPropertyData.py +70 -0
  326. spire/xls/IPrstGeomShape.py +71 -0
  327. spire/xls/IPrstGeomShapes.py +81 -0
  328. spire/xls/IRadioButton.py +105 -0
  329. spire/xls/IRadioButtons.py +71 -0
  330. spire/xls/IRectangleShape.py +60 -0
  331. spire/xls/IRectangleShapes.py +50 -0
  332. spire/xls/IReflectionEffect.py +138 -0
  333. spire/xls/IRichTextString.py +93 -0
  334. spire/xls/IScrollBarShape.py +140 -0
  335. spire/xls/IScrollBarShapes.py +50 -0
  336. spire/xls/IShadow.py +244 -0
  337. spire/xls/IShape.py +409 -0
  338. spire/xls/IShapeFill.py +522 -0
  339. spire/xls/IShapeLineFormat.py +331 -0
  340. spire/xls/IShapes.py +270 -0
  341. spire/xls/ISortColumn.py +96 -0
  342. spire/xls/ISortColumns.py +70 -0
  343. spire/xls/ISortedRule.py +112 -0
  344. spire/xls/ISparkline.py +68 -0
  345. spire/xls/ISparklineGroup.py +428 -0
  346. spire/xls/ISparklines.py +72 -0
  347. spire/xls/ISpinnerShape.py +102 -0
  348. spire/xls/ISpinnerShapes.py +50 -0
  349. spire/xls/IStyle.py +50 -0
  350. spire/xls/IStyles.py +69 -0
  351. spire/xls/ITabSheet.py +302 -0
  352. spire/xls/ITabSheets.py +57 -0
  353. spire/xls/ITextBox.py +116 -0
  354. spire/xls/ITextBoxLinkShape.py +40 -0
  355. spire/xls/ITextBoxShape.py +22 -0
  356. spire/xls/ITextBoxes.py +61 -0
  357. spire/xls/ITextFrame.py +120 -0
  358. spire/xls/IVPageBreak.py +22 -0
  359. spire/xls/IVPageBreaks.py +31 -0
  360. spire/xls/IWorkbook.py +1806 -0
  361. spire/xls/IWorksheet.py +2694 -0
  362. spire/xls/IWorksheetGroup.py +48 -0
  363. spire/xls/IWorksheets.py +159 -0
  364. spire/xls/IXLSRange.py +2479 -0
  365. spire/xls/IXLSRanges.py +35 -0
  366. spire/xls/IconSet.py +103 -0
  367. spire/xls/IconSetType.py +35 -0
  368. spire/xls/IgnoreErrorType.py +24 -0
  369. spire/xls/ImageFormatType.py +18 -0
  370. spire/xls/ImageLocationTypes.py +15 -0
  371. spire/xls/ImageType.py +17 -0
  372. spire/xls/ImportObjectOptions.py +89 -0
  373. spire/xls/InsertMoveOption.py +15 -0
  374. spire/xls/InsertOptionsType.py +16 -0
  375. spire/xls/InteriorArrayWrapper.py +126 -0
  376. spire/xls/LOGFONT.py +140 -0
  377. spire/xls/LabelShapeCollection.py +71 -0
  378. spire/xls/LegendPositionType.py +21 -0
  379. spire/xls/LegendSpacingType.py +18 -0
  380. spire/xls/LineCollection.py +85 -0
  381. spire/xls/LineShapeType.py +17 -0
  382. spire/xls/LineStyleType.py +29 -0
  383. spire/xls/ListBoxCollection.py +71 -0
  384. spire/xls/ListObjectCollection.py +45 -0
  385. spire/xls/MarkerDesigner.py +172 -0
  386. spire/xls/MeasureUnits.py +21 -0
  387. spire/xls/MsoPathInfo.py +38 -0
  388. spire/xls/MsoPathType.py +21 -0
  389. spire/xls/MultipleFilterCollection.py +166 -0
  390. spire/xls/NegativeBarFormat.py +82 -0
  391. spire/xls/OColor.py +165 -0
  392. spire/xls/OLEDBCommandType.py +19 -0
  393. spire/xls/OdsPageBackground.py +129 -0
  394. spire/xls/OdsPageBackgroundImagePositionType.py +22 -0
  395. spire/xls/OdsPageBackgroundImageType.py +16 -0
  396. spire/xls/OdsPageBackgroundType.py +16 -0
  397. spire/xls/OleLinkType.py +15 -0
  398. spire/xls/OleObjectType.py +51 -0
  399. spire/xls/OrderBy.py +19 -0
  400. spire/xls/OrderType.py +17 -0
  401. spire/xls/OvalShapeCollection.py +70 -0
  402. spire/xls/PageBreakExtentType.py +17 -0
  403. spire/xls/PageBreakType.py +18 -0
  404. spire/xls/PageColRow.py +48 -0
  405. spire/xls/PageOrientationType.py +17 -0
  406. spire/xls/PageSetup.py +14 -0
  407. spire/xls/PagesOrderType.py +17 -0
  408. spire/xls/PaperSizeEntry.py +30 -0
  409. spire/xls/PaperSizeType.py +135 -0
  410. spire/xls/PathFillMode.py +19 -0
  411. spire/xls/PdfConformanceLevel.py +20 -0
  412. spire/xls/PicStretch.py +104 -0
  413. spire/xls/PicTile.py +72 -0
  414. spire/xls/PicturesCollection.py +532 -0
  415. spire/xls/PivotAutoFomatTypes.py +35 -0
  416. spire/xls/PivotBuiltInStyles.py +97 -0
  417. spire/xls/PivotCache.py +12 -0
  418. spire/xls/PivotCachesCollection.py +12 -0
  419. spire/xls/PivotCalculatedFieldsCollection.py +38 -0
  420. spire/xls/PivotConditionalFormat.py +54 -0
  421. spire/xls/PivotConditionalFormatCollection.py +38 -0
  422. spire/xls/PivotDataField.py +118 -0
  423. spire/xls/PivotDataFields.py +104 -0
  424. spire/xls/PivotDataType.py +21 -0
  425. spire/xls/PivotField.py +12 -0
  426. spire/xls/PivotFieldFormatType.py +28 -0
  427. spire/xls/PivotFieldSortType.py +16 -0
  428. spire/xls/PivotGroupByTypes.py +23 -0
  429. spire/xls/PivotItem.py +161 -0
  430. spire/xls/PivotItemType.py +28 -0
  431. spire/xls/PivotLabelFilterType.py +27 -0
  432. spire/xls/PivotPageAreaFieldsOrderType.py +15 -0
  433. spire/xls/PivotReportFilter.py +92 -0
  434. spire/xls/PivotReportFilters.py +63 -0
  435. spire/xls/PivotStyle.py +79 -0
  436. spire/xls/PivotTable.py +12 -0
  437. spire/xls/PivotTableElement.py +38 -0
  438. spire/xls/PivotTableFields.py +85 -0
  439. spire/xls/PivotTableLayoutType.py +16 -0
  440. spire/xls/PivotTableStyle.py +63 -0
  441. spire/xls/PivotTablesCollection.py +12 -0
  442. spire/xls/PivotValueFilterType.py +21 -0
  443. spire/xls/PresetTextEffect.py +43 -0
  444. spire/xls/PrintCommentType.py +18 -0
  445. spire/xls/PrintErrorsType.py +19 -0
  446. spire/xls/PrintingPageType.py +16 -0
  447. spire/xls/PropertyType.py +31 -0
  448. spire/xls/PrstGeomShapeCollection.py +126 -0
  449. spire/xls/PrstGeomShapeType.py +201 -0
  450. spire/xls/QueryTableCollection.py +25 -0
  451. spire/xls/QueryTableXls.py +42 -0
  452. spire/xls/RTFCommentArray.py +112 -0
  453. spire/xls/RTFStringArray.py +112 -0
  454. spire/xls/RadioButtonCollection.py +137 -0
  455. spire/xls/RangeRichTextString.py +42 -0
  456. spire/xls/RangesCollection.py +537 -0
  457. spire/xls/ReadingOrderType.py +18 -0
  458. spire/xls/RectangleCollection.py +71 -0
  459. spire/xls/RectangleShapeType.py +22 -0
  460. spire/xls/RectangleStyleType.py +17 -0
  461. spire/xls/ReferRangeArea.py +88 -0
  462. spire/xls/RelationShip.py +15 -0
  463. spire/xls/RenameStrategy.py +16 -0
  464. spire/xls/ResizeBehaveType.py +18 -0
  465. spire/xls/RichText.py +49 -0
  466. spire/xls/RichTextObject.py +133 -0
  467. spire/xls/RichTextShape.py +168 -0
  468. spire/xls/RichTextString.py +126 -0
  469. spire/xls/RtfTags.py +30 -0
  470. spire/xls/RtfTextWriter.py +629 -0
  471. spire/xls/SaveShapeTypeOption.py +310 -0
  472. spire/xls/ScrollBarCollection.py +71 -0
  473. spire/xls/SelectionType.py +16 -0
  474. spire/xls/ShapeArrowLengthType.py +18 -0
  475. spire/xls/ShapeArrowStyleType.py +21 -0
  476. spire/xls/ShapeArrowWidthType.py +18 -0
  477. spire/xls/ShapeCollectionBase.py +87 -0
  478. spire/xls/ShapeDashLineStyleType.py +23 -0
  479. spire/xls/ShapeFillType.py +22 -0
  480. spire/xls/ShapeGeomPath.py +26 -0
  481. spire/xls/ShapeGlow.py +91 -0
  482. spire/xls/ShapeLayerChangeType.py +19 -0
  483. spire/xls/ShapeLineStyleType.py +20 -0
  484. spire/xls/ShapeReflection.py +131 -0
  485. spire/xls/ShapeSegmentPath.py +26 -0
  486. spire/xls/SheetProtectionType.py +33 -0
  487. spire/xls/SortColumn.py +120 -0
  488. spire/xls/SortColumns.py +185 -0
  489. spire/xls/SortComparsionType.py +19 -0
  490. spire/xls/SortOrientationType.py +17 -0
  491. spire/xls/SortedWayType.py +18 -0
  492. spire/xls/Sparkline.py +70 -0
  493. spire/xls/SparklineCollection.py +112 -0
  494. spire/xls/SparklineEmptyCells.py +16 -0
  495. spire/xls/SparklineGroup.py +523 -0
  496. spire/xls/SparklineGroupCollection.py +71 -0
  497. spire/xls/SparklineType.py +18 -0
  498. spire/xls/SpartlineVerticalAxisType.py +16 -0
  499. spire/xls/SpinnerShapeCollection.py +70 -0
  500. spire/xls/SplitType.py +19 -0
  501. spire/xls/StrikeThroughStyle.py +17 -0
  502. spire/xls/StringUtil.py +12 -0
  503. spire/xls/StyleArrayWrapper.py +621 -0
  504. spire/xls/StyleDefineType.py +15 -0
  505. spire/xls/StylesCollection.py +141 -0
  506. spire/xls/SubtotalTypes.py +26 -0
  507. spire/xls/TRangeValueType.py +19 -0
  508. spire/xls/TableBuiltInStyles.py +75 -0
  509. spire/xls/TextBoxCollection.py +70 -0
  510. spire/xls/TextBoxShapeBase.py +140 -0
  511. spire/xls/TextDirection.py +20 -0
  512. spire/xls/TextDirectionType.py +16 -0
  513. spire/xls/TextRotationType.py +19 -0
  514. spire/xls/TextSaveOptions.py +85 -0
  515. spire/xls/TextVerticalValue.py +19 -0
  516. spire/xls/ThemeColorType.py +27 -0
  517. spire/xls/TickLabelPositionType.py +19 -0
  518. spire/xls/TickMarkType.py +19 -0
  519. spire/xls/TimePeriodType.py +23 -0
  520. spire/xls/Top10Filter.py +75 -0
  521. spire/xls/TopBottom.py +44 -0
  522. spire/xls/TopBottomType.py +19 -0
  523. spire/xls/TopFormatType.py +18 -0
  524. spire/xls/TrendLineType.py +21 -0
  525. spire/xls/UnderlineStyle.py +32 -0
  526. spire/xls/UnknownVariableAction.py +18 -0
  527. spire/xls/UtilityMethods.py +55 -0
  528. spire/xls/VPageBreak.py +34 -0
  529. spire/xls/VPageBreaksCollection.py +96 -0
  530. spire/xls/Validation.py +33 -0
  531. spire/xls/ValidationComparisonOperator.py +23 -0
  532. spire/xls/VariableTypeAction.py +19 -0
  533. spire/xls/VerticalAlignType.py +20 -0
  534. spire/xls/ViewMode.py +18 -0
  535. spire/xls/WebQueryConnection.py +224 -0
  536. spire/xls/Workbook.py +3152 -0
  537. spire/xls/WorkbookObjectsCollection.py +25 -0
  538. spire/xls/Worksheet.py +1319 -0
  539. spire/xls/WorksheetChartsCollection.py +83 -0
  540. spire/xls/WorksheetConditionalFormats.py +12 -0
  541. spire/xls/WorksheetCopyType.py +31 -0
  542. spire/xls/WorksheetVisibility.py +18 -0
  543. spire/xls/WorksheetsCollection.py +341 -0
  544. spire/xls/WriteProtection.py +64 -0
  545. spire/xls/XLSXBorderJoinType.py +19 -0
  546. spire/xls/XLSXChartBevelType.py +26 -0
  547. spire/xls/XLSXChartLightingType.py +40 -0
  548. spire/xls/XLSXChartMaterialType.py +32 -0
  549. spire/xls/XLSXChartPrespectiveType.py +21 -0
  550. spire/xls/XLSXChartShadowInnerType.py +25 -0
  551. spire/xls/XLSXChartShadowOuterType.py +25 -0
  552. spire/xls/XLSXPivotItemType.py +28 -0
  553. spire/xls/XlsAddInFunction.py +78 -0
  554. spire/xls/XlsAddInFunctionsCollection.py +101 -0
  555. spire/xls/XlsArcShape.py +331 -0
  556. spire/xls/XlsAutoFiltersCollection.py +119 -0
  557. spire/xls/XlsBitmapShape.py +297 -0
  558. spire/xls/XlsBorder.py +172 -0
  559. spire/xls/XlsBorderArrayWrapper.py +116 -0
  560. spire/xls/XlsBordersCollection.py +101 -0
  561. spire/xls/XlsBuiltInDocumentProperties.py +639 -0
  562. spire/xls/XlsButtonShape.py +137 -0
  563. spire/xls/XlsChart.py +1510 -0
  564. spire/xls/XlsChartAxis.py +564 -0
  565. spire/xls/XlsChartBorder.py +165 -0
  566. spire/xls/XlsChartCategoryAxis.py +656 -0
  567. spire/xls/XlsChartDataLabelArea.py +387 -0
  568. spire/xls/XlsChartDataLabels.py +811 -0
  569. spire/xls/XlsChartDataPoint.py +108 -0
  570. spire/xls/XlsChartDataPointsCollection.py +120 -0
  571. spire/xls/XlsChartDataTable.py +393 -0
  572. spire/xls/XlsChartDropBar.py +301 -0
  573. spire/xls/XlsChartFill.py +571 -0
  574. spire/xls/XlsChartFormat.py +1069 -0
  575. spire/xls/XlsChartFormatCollection.py +162 -0
  576. spire/xls/XlsChartFrameFormat.py +614 -0
  577. spire/xls/XlsChartGridLine.py +171 -0
  578. spire/xls/XlsChartInterior.py +240 -0
  579. spire/xls/XlsChartLegend.py +355 -0
  580. spire/xls/XlsChartLegendArea.py +419 -0
  581. spire/xls/XlsChartLegendEntry.py +156 -0
  582. spire/xls/XlsChartPageSetup.py +56 -0
  583. spire/xls/XlsChartPlotArea.py +12 -0
  584. spire/xls/XlsChartSerie.py +589 -0
  585. spire/xls/XlsChartSerieDataFormat.py +1008 -0
  586. spire/xls/XlsChartSeries.py +111 -0
  587. spire/xls/XlsChartSeriesAxis.py +212 -0
  588. spire/xls/XlsChartShape.py +1142 -0
  589. spire/xls/XlsChartTitleArea.py +392 -0
  590. spire/xls/XlsChartValueAxis.py +317 -0
  591. spire/xls/XlsChartWallOrFloor.py +319 -0
  592. spire/xls/XlsChartsCollection.py +89 -0
  593. spire/xls/XlsCheckBoxShape.py +156 -0
  594. spire/xls/XlsComboBoxShape.py +128 -0
  595. spire/xls/XlsComment.py +234 -0
  596. spire/xls/XlsCommentsCollection.py +87 -0
  597. spire/xls/XlsConditionValue.py +111 -0
  598. spire/xls/XlsConditionalFormat.py +1119 -0
  599. spire/xls/XlsConditionalFormats.py +590 -0
  600. spire/xls/XlsDataValidationCollection.py +159 -0
  601. spire/xls/XlsDataValidationTable.py +105 -0
  602. spire/xls/XlsDocumentProperty.py +370 -0
  603. spire/xls/XlsEventArgs.py +93 -0
  604. spire/xls/XlsEventHandler.py +52 -0
  605. spire/xls/XlsFill.py +139 -0
  606. spire/xls/XlsFont.py +364 -0
  607. spire/xls/XlsFontStyle.py +12 -0
  608. spire/xls/XlsFontsCollection.py +51 -0
  609. spire/xls/XlsGradient.py +185 -0
  610. spire/xls/XlsGradientStop.py +85 -0
  611. spire/xls/XlsGroupBoxShape.py +88 -0
  612. spire/xls/XlsHPageBreak.py +105 -0
  613. spire/xls/XlsHPageBreaksCollection.py +85 -0
  614. spire/xls/XlsHeaderFooterShapeCollection.py +57 -0
  615. spire/xls/XlsHyperLink.py +229 -0
  616. spire/xls/XlsHyperLinksCollection.py +102 -0
  617. spire/xls/XlsLabelShape.py +73 -0
  618. spire/xls/XlsLineShape.py +367 -0
  619. spire/xls/XlsListBoxShape.py +124 -0
  620. spire/xls/XlsName.py +1871 -0
  621. spire/xls/XlsObject.py +36 -0
  622. spire/xls/XlsOvalShape.py +176 -0
  623. spire/xls/XlsPageSetup.py +220 -0
  624. spire/xls/XlsPageSetupBase.py +1354 -0
  625. spire/xls/XlsPicturesCollection.py +365 -0
  626. spire/xls/XlsPivotCache.py +401 -0
  627. spire/xls/XlsPivotCacheField.py +209 -0
  628. spire/xls/XlsPivotCachesCollection.py +124 -0
  629. spire/xls/XlsPivotField.py +885 -0
  630. spire/xls/XlsPivotTable.py +905 -0
  631. spire/xls/XlsPivotTablesCollection.py +131 -0
  632. spire/xls/XlsPrstGeomShape.py +97 -0
  633. spire/xls/XlsRadioButtonShape.py +188 -0
  634. spire/xls/XlsRange.py +3193 -0
  635. spire/xls/XlsRangesCollection.py +1566 -0
  636. spire/xls/XlsRectangleShape.py +174 -0
  637. spire/xls/XlsScrollBarShape.py +146 -0
  638. spire/xls/XlsShape.py +967 -0
  639. spire/xls/XlsShapeFill.py +627 -0
  640. spire/xls/XlsShapeLineFormat.py +341 -0
  641. spire/xls/XlsSpinnerShape.py +116 -0
  642. spire/xls/XlsStyle.py +106 -0
  643. spire/xls/XlsStylesCollection.py +73 -0
  644. spire/xls/XlsTextBoxShape.py +480 -0
  645. spire/xls/XlsVPageBreak.py +98 -0
  646. spire/xls/XlsVPageBreaksCollection.py +84 -0
  647. spire/xls/XlsValidation.py +520 -0
  648. spire/xls/XlsValidationWrapper.py +397 -0
  649. spire/xls/XlsWorkbook.py +1947 -0
  650. spire/xls/XlsWorkbookObjectsCollection.py +94 -0
  651. spire/xls/XlsWorksheet.py +4352 -0
  652. spire/xls/XlsWorksheetBase.py +1273 -0
  653. spire/xls/XlsWorksheetChartsCollection.py +25 -0
  654. spire/xls/XlsWorksheetConditionalFormats.py +215 -0
  655. spire/xls/XlsWorksheetsCollection.py +416 -0
  656. spire/xls/XmlOpenType.py +14 -0
  657. spire/xls/__init__.py +723 -0
  658. spire/xls/common/Boolean.py +192 -0
  659. spire/xls/common/Byte.py +256 -0
  660. spire/xls/common/Char.py +740 -0
  661. spire/xls/common/Color.py +2187 -0
  662. spire/xls/common/Common.py +150 -0
  663. spire/xls/common/CultureInfo.py +565 -0
  664. spire/xls/common/DateTime.py +1147 -0
  665. spire/xls/common/Double.py +438 -0
  666. spire/xls/common/EmfType.py +23 -0
  667. spire/xls/common/Encoding.py +928 -0
  668. spire/xls/common/FontStyle.py +25 -0
  669. spire/xls/common/GraphicsUnit.py +27 -0
  670. spire/xls/common/ICollection.py +70 -0
  671. spire/xls/common/IDictionary.py +122 -0
  672. spire/xls/common/IEnumerable.py +41 -0
  673. spire/xls/common/IEnumerator.py +60 -0
  674. spire/xls/common/IList.py +145 -0
  675. spire/xls/common/Int16.py +272 -0
  676. spire/xls/common/Int32.py +280 -0
  677. spire/xls/common/Int64.py +256 -0
  678. spire/xls/common/License.py +175 -0
  679. spire/xls/common/PixelFormat.py +43 -0
  680. spire/xls/common/Point.py +298 -0
  681. spire/xls/common/PointF.py +274 -0
  682. spire/xls/common/Rectangle.py +449 -0
  683. spire/xls/common/RectangleF.py +436 -0
  684. spire/xls/common/Regex.py +962 -0
  685. spire/xls/common/RegexOptions.py +29 -0
  686. spire/xls/common/Single.py +416 -0
  687. spire/xls/common/Size.py +271 -0
  688. spire/xls/common/SizeF.py +259 -0
  689. spire/xls/common/SpireObject.py +79 -0
  690. spire/xls/common/Stream.py +550 -0
  691. spire/xls/common/String.py +1878 -0
  692. spire/xls/common/TimeSpan.py +872 -0
  693. spire/xls/common/UInt16.py +272 -0
  694. spire/xls/common/UInt32.py +272 -0
  695. spire/xls/common/UInt64.py +272 -0
  696. spire/xls/common/__init__.py +316 -0
  697. spire/xls/lib/Spire.Xls.Base.so +0 -0
  698. spire/xls/lib/__init__.py +0 -0
  699. spire/xls/lib/libSkiaSharp.so +0 -0
  700. spire_xls-15.5.0.dist-info/METADATA +197 -0
  701. spire_xls-15.5.0.dist-info/RECORD +703 -0
  702. spire_xls-15.5.0.dist-info/WHEEL +5 -0
  703. spire_xls-15.5.0.dist-info/top_level.txt +1 -0
spire/xls/CellRange.py ADDED
@@ -0,0 +1,915 @@
1
+ from enum import Enum
2
+ from plum import dispatch
3
+ from typing import TypeVar,Union,Generic,List,Tuple
4
+ from spire.xls.common import *
5
+ from spire.xls import *
6
+ from ctypes import *
7
+ import abc
8
+
9
+ class CellRange ( XlsRange) :
10
+ """
11
+
12
+ """
13
+
14
+ def Activate(self)->'CellRange':
15
+ """
16
+ <summary>
17
+ Active single cell in the worksheet
18
+ </summary>
19
+ <returns></returns>
20
+ """
21
+ GetDllLibXls().CellRange_Activate.argtypes=[c_void_p]
22
+ GetDllLibXls().CellRange_Activate.restype=c_void_p
23
+ intPtr = CallCFunction(GetDllLibXls().CellRange_Activate, self.Ptr)
24
+ ret = None if intPtr==None else CellRange(intPtr)
25
+ return ret
26
+
27
+
28
+ @dispatch
29
+
30
+ def AddComment(self ,comment:ExcelComment):
31
+ """
32
+ <summary>
33
+ Adds a comment to the range.
34
+ </summary>
35
+ <param name="comment">Comment to add</param>
36
+ """
37
+ intPtrcomment:c_void_p = comment.Ptr
38
+
39
+ GetDllLibXls().CellRange_AddComment.argtypes=[c_void_p ,c_void_p]
40
+ CallCFunction(GetDllLibXls().CellRange_AddComment, self.Ptr, intPtrcomment)
41
+
42
+ @dispatch
43
+
44
+ def AddComment(self)->ExcelComment:
45
+ """
46
+ <summary>
47
+ Adds a comment to the range.
48
+ <example>The following code illustrates how to insert Comments in the Range:
49
+ <code>
50
+ //Create worksheet
51
+ Workbook workbook = new Workbook();
52
+ Worksheet worksheet = workbook.Worksheets[0];
53
+ //Adding comments to a cell
54
+ ICommentShape comment = worksheet.Range["A1"].AddComment();
55
+ comment.Text= "Comments";
56
+ //Save to file
57
+ workbook.SaveToFile("AddComment.xlsx");
58
+ </code>
59
+ </example>
60
+ </summary>
61
+ <returns>Created comment or exists one.</returns>
62
+ """
63
+ GetDllLibXls().CellRange_AddComment1.argtypes=[c_void_p]
64
+ GetDllLibXls().CellRange_AddComment1.restype=c_void_p
65
+ intPtr = CallCFunction(GetDllLibXls().CellRange_AddComment1, self.Ptr)
66
+ ret = None if intPtr==None else ExcelComment(intPtr)
67
+ return ret
68
+
69
+
70
+ #
71
+ # def Clone(self ,parent:'SpireObject',rangeNames:'Dictionary2',book:'Workbook')->'CellRange':
72
+ # """
73
+ # <summary>
74
+ # Clones current IXLSRange.
75
+ # </summary>
76
+ # <param name="parent">Parent object.</param>
77
+ # <param name="rangeNames">new names.</param>
78
+ # <param name="book">Parent workbook.</param>
79
+ # <returns>Cloned instance.</returns>
80
+ # """
81
+ # intPtrparent:c_void_p = parent.Ptr
82
+ # intPtrrangeNames:c_void_p = rangeNames.Ptr
83
+ # intPtrbook:c_void_p = book.Ptr
84
+ #
85
+ # GetDllLibXls().CellRange_Clone.argtypes=[c_void_p ,c_void_p,c_void_p,c_void_p]
86
+ # GetDllLibXls().CellRange_Clone.restype=c_void_p
87
+ # intPtr = CallCFunction(GetDllLibXls().CellRange_Clone, self.Ptr, intPtrparent,intPtrrangeNames,intPtrbook)
88
+ # ret = None if intPtr==None else CellRange(intPtr)
89
+ # return ret
90
+ #
91
+
92
+
93
+ @dispatch
94
+
95
+ def Move(self ,destRange:'CellRange'):
96
+ """
97
+ <summary>
98
+ Moves the cells to the specified Range.
99
+ </summary>
100
+ <param name="destination">Destnation Range.</param>
101
+ """
102
+ intPtrdestRange:c_void_p = destRange.Ptr
103
+
104
+ GetDllLibXls().CellRange_Move.argtypes=[c_void_p ,c_void_p]
105
+ CallCFunction(GetDllLibXls().CellRange_Move, self.Ptr, intPtrdestRange)
106
+
107
+ @dispatch
108
+
109
+ def Move(self ,destRange:'CellRange',copyStyle:bool,updateReference:bool):
110
+ """
111
+ <summary>
112
+ Moves the cells to the specified Range.
113
+ </summary>
114
+ <param name="destination">Destination Range.</param>
115
+ <param name="updateReference">Indicates whether to update reference range.</param>
116
+ """
117
+ intPtrdestRange:c_void_p = destRange.Ptr
118
+
119
+ GetDllLibXls().CellRange_MoveDCU.argtypes=[c_void_p ,c_void_p,c_bool,c_bool]
120
+ CallCFunction(GetDllLibXls().CellRange_MoveDCU, self.Ptr, intPtrdestRange,copyStyle,updateReference)
121
+
122
+ @dispatch
123
+
124
+ def Copy(self ,destRange:'CellRange')->'CellRange':
125
+ """
126
+ <summary>
127
+ Copies the range to the specified range.
128
+ </summary>
129
+ <param name="destRange">Destination range</param>
130
+ <returns>Destination range</returns>
131
+ """
132
+ intPtrdestRange:c_void_p = destRange.Ptr
133
+
134
+ GetDllLibXls().CellRange_Copy.argtypes=[c_void_p ,c_void_p]
135
+ GetDllLibXls().CellRange_Copy.restype=c_void_p
136
+ intPtr = CallCFunction(GetDllLibXls().CellRange_Copy, self.Ptr, intPtrdestRange)
137
+ ret = None if intPtr==None else CellRange(intPtr)
138
+ return ret
139
+
140
+
141
+ @dispatch
142
+
143
+ def Copy(self ,destRange:'CellRange',updateReference:bool)->'CellRange':
144
+ """
145
+ <summary>
146
+ Copies the range to the specified range.
147
+ </summary>
148
+ <param name="destination">Destination range.</param>
149
+ <param name="updateReference">Indicates whether to update reference cells.</param>
150
+ """
151
+ intPtrdestRange:c_void_p = destRange.Ptr
152
+
153
+ GetDllLibXls().CellRange_CopyDU.argtypes=[c_void_p ,c_void_p,c_bool]
154
+ GetDllLibXls().CellRange_CopyDU.restype=c_void_p
155
+ intPtr = CallCFunction(GetDllLibXls().CellRange_CopyDU, self.Ptr, intPtrdestRange,updateReference)
156
+ ret = None if intPtr==None else CellRange(intPtr)
157
+ return ret
158
+
159
+
160
+ @dispatch
161
+
162
+ def Copy(self ,destRange:'CellRange',updateReference:bool,copyStyles:bool)->'CellRange':
163
+ """
164
+ <summary>
165
+ Copies the range to the specified range.
166
+ </summary>
167
+ <param name="destRange">Destination range.</param>
168
+ <param name="updateReference">Indicates whether to update reference cells.</param>
169
+ <param name="copyStyles">Indicates whether to copy styles.</param>
170
+ <returns>Destination range</returns>
171
+ """
172
+ intPtrdestRange:c_void_p = destRange.Ptr
173
+
174
+ GetDllLibXls().CellRange_CopyDUC.argtypes=[c_void_p ,c_void_p,c_bool,c_bool]
175
+ GetDllLibXls().CellRange_CopyDUC.restype=c_void_p
176
+ intPtr = CallCFunction(GetDllLibXls().CellRange_CopyDUC, self.Ptr, intPtrdestRange,updateReference,copyStyles)
177
+ ret = None if intPtr==None else CellRange(intPtr)
178
+ return ret
179
+
180
+
181
+ @dispatch
182
+
183
+ def Copy(self ,destRange:'CellRange',copyOptions:CopyRangeOptions)->'CellRange':
184
+ """
185
+ <summary>
186
+ Copies the range to the specified range.
187
+ </summary>
188
+ <param name="destRange">Destination range.</param>
189
+ <param name="copyOptions">Copy options.</param>
190
+ """
191
+ intPtrdestRange:c_void_p = destRange.Ptr
192
+ enumcopyOptions:c_int = copyOptions.value
193
+
194
+ GetDllLibXls().CellRange_CopyDC.argtypes=[c_void_p ,c_void_p,c_int]
195
+ GetDllLibXls().CellRange_CopyDC.restype=c_void_p
196
+ intPtr = CallCFunction(GetDllLibXls().CellRange_CopyDC, self.Ptr, intPtrdestRange,enumcopyOptions)
197
+ ret = None if intPtr==None else CellRange(intPtr)
198
+ return ret
199
+
200
+
201
+ def FindAllNumber(self ,doubleValue:float,formulaValue:bool)->'ListCellRanges':
202
+ """
203
+ <summary>
204
+ Finds the cell with the input double.
205
+ </summary>
206
+ <param name="doubleValue">Double value to search for</param>
207
+ <param name="formulaValue">Indicates whether to find formula value</param>
208
+ <returns>Found ranges</returns>
209
+ """
210
+
211
+ GetDllLibXls().CellRange_FindAllNumber.argtypes=[c_void_p ,c_double,c_bool]
212
+ GetDllLibXls().CellRange_FindAllNumber.restype=c_void_p
213
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAllNumber, self.Ptr, doubleValue,formulaValue)
214
+ ret = None if intPtr==None else ListCellRanges(intPtr)
215
+ return ret
216
+
217
+
218
+
219
+ def FindAllString(self ,stringValue:str,formula:bool,formulaValue:bool)->'ListCellRanges':
220
+ """
221
+ <summary>
222
+ Finds the cell with the input string.
223
+ </summary>
224
+ <param name="stringValue">String value to search for</param>
225
+ <param name="formula">Indicates whether include formula</param>
226
+ <param name="formulaValue">Indicates whether include formula value</param>
227
+ <returns>Found ranges</returns>
228
+ """
229
+
230
+ GetDllLibXls().CellRange_FindAllString.argtypes=[c_void_p ,c_void_p,c_bool,c_bool]
231
+ GetDllLibXls().CellRange_FindAllString.restype=c_void_p
232
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAllString, self.Ptr, stringValue,formula,formulaValue)
233
+ ret = None if intPtr==None else ListCellRanges(intPtr)
234
+ return ret
235
+
236
+
237
+
238
+ def FindAllDateTime(self ,dateTimeValue:'DateTime')->'ListCellRanges':
239
+ """
240
+ <summary>
241
+ Finds the cell with the input datetime.
242
+ </summary>
243
+ <param name="dateTimeValue">DateTime value to search for</param>
244
+ <returns>Found ranges</returns>
245
+ """
246
+ intPtrdateTimeValue:c_void_p = dateTimeValue.Ptr
247
+
248
+ GetDllLibXls().CellRange_FindAllDateTime.argtypes=[c_void_p ,c_void_p]
249
+ GetDllLibXls().CellRange_FindAllDateTime.restype=c_void_p
250
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAllDateTime, self.Ptr, intPtrdateTimeValue)
251
+ ret = None if intPtr==None else ListCellRanges(intPtr)
252
+ return ret
253
+
254
+
255
+
256
+ def FindAllTimeSpan(self ,timeSpanValue:'TimeSpan')->'ListCellRanges':
257
+ """
258
+ <summary>
259
+ Finds the cell with input timespan
260
+ </summary>
261
+ <param name="timeSpanValue">time span value to search for</param>
262
+ <returns>Found ranges</returns>
263
+ """
264
+ intPtrtimeSpanValue:c_void_p = timeSpanValue.Ptr
265
+
266
+ GetDllLibXls().CellRange_FindAllTimeSpan.argtypes=[c_void_p ,c_void_p]
267
+ GetDllLibXls().CellRange_FindAllTimeSpan.restype=c_void_p
268
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAllTimeSpan, self.Ptr, intPtrtimeSpanValue)
269
+ ret = None if intPtr==None else ListCellRanges(intPtr)
270
+ return ret
271
+
272
+
273
+
274
+ def FindAllBool(self ,boolValue:bool)->'ListCellRanges':
275
+ """
276
+ <summary>
277
+ Finds the cell with the input bool.
278
+ </summary>
279
+ <param name="boolValue">Bool value to search for</param>
280
+ <returns>Found ranges</returns>
281
+ """
282
+
283
+ GetDllLibXls().CellRange_FindAllBool.argtypes=[c_void_p ,c_bool]
284
+ GetDllLibXls().CellRange_FindAllBool.restype=c_void_p
285
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAllBool, self.Ptr, boolValue)
286
+ ret = None if intPtr==None else ListCellRanges(intPtr)
287
+ return ret
288
+
289
+
290
+
291
+ def FindBool(self ,boolValue:bool)->'CellRange':
292
+ """
293
+ <summary>
294
+ Finds the cell with the input bool.
295
+ </summary>
296
+ <param name="boolValue">Bool value to search for</param>
297
+ <returns>Found range</returns>
298
+ """
299
+
300
+ GetDllLibXls().CellRange_FindBool.argtypes=[c_void_p ,c_bool]
301
+ GetDllLibXls().CellRange_FindBool.restype=c_void_p
302
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindBool, self.Ptr, boolValue)
303
+ ret = None if intPtr==None else CellRange(intPtr)
304
+ return ret
305
+
306
+
307
+
308
+ def FindNumber(self ,doubleValue:float,formulaValue:bool)->'CellRange':
309
+ """
310
+ <summary>
311
+ Finds the cell with the input double.
312
+ </summary>
313
+ <param name="doubleValue">Double value to search for</param>
314
+ <param name="formulaValue">Indicates whether includes formula value to search for</param>
315
+ <returns>Found range</returns>
316
+ """
317
+
318
+ GetDllLibXls().CellRange_FindNumber.argtypes=[c_void_p ,c_double,c_bool]
319
+ GetDllLibXls().CellRange_FindNumber.restype=c_void_p
320
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindNumber, self.Ptr, doubleValue,formulaValue)
321
+ ret = None if intPtr==None else CellRange(intPtr)
322
+ return ret
323
+
324
+
325
+
326
+ def FindString(self ,stringValue:str,formula:bool,formulaValue:bool)->'CellRange':
327
+ """
328
+ <summary>
329
+ Finds the cell with the input string.
330
+ </summary>
331
+ <param name="stringValue">String value to search for</param>
332
+ <param name="formula">Indicates whether includes formula to search for</param>
333
+ <param name="formulaValue">Indicates whether includes formula value to search for</param>
334
+ <returns>Found range</returns>
335
+ """
336
+
337
+ GetDllLibXls().CellRange_FindString.argtypes=[c_void_p ,c_void_p,c_bool,c_bool]
338
+ GetDllLibXls().CellRange_FindString.restype=c_void_p
339
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindString, self.Ptr, stringValue,formula,formulaValue)
340
+ ret = None if intPtr==None else CellRange(intPtr)
341
+ return ret
342
+
343
+
344
+
345
+ def FindDateTime(self ,dateTimeValue:'DateTime')->'CellRange':
346
+ """
347
+ <summary>
348
+ Finds the cell with the input datetime.
349
+ </summary>
350
+ <param name="dateTimeValue">Datetime value to search for</param>
351
+ <returns>Found range</returns>
352
+ """
353
+ intPtrdateTimeValue:c_void_p = dateTimeValue.Ptr
354
+
355
+ GetDllLibXls().CellRange_FindDateTime.argtypes=[c_void_p ,c_void_p]
356
+ GetDllLibXls().CellRange_FindDateTime.restype=c_void_p
357
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindDateTime, self.Ptr, intPtrdateTimeValue)
358
+ ret = None if intPtr==None else CellRange(intPtr)
359
+ return ret
360
+
361
+
362
+
363
+ def FindTimeSpan(self ,timeSpanValue:'TimeSpan')->'CellRange':
364
+ """
365
+ <summary>
366
+ Finds the cell with the input time span.
367
+ </summary>
368
+ <param name="timeSpanValue">Time span value to search for.</param>
369
+ <returns>Found range.</returns>
370
+ """
371
+ intPtrtimeSpanValue:c_void_p = timeSpanValue.Ptr
372
+
373
+ GetDllLibXls().CellRange_FindTimeSpan.argtypes=[c_void_p ,c_void_p]
374
+ GetDllLibXls().CellRange_FindTimeSpan.restype=c_void_p
375
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindTimeSpan, self.Ptr, intPtrtimeSpanValue)
376
+ ret = None if intPtr==None else CellRange(intPtr)
377
+ return ret
378
+
379
+
380
+ def FindAll(self ,findValue:str,flags:'FindType',findOptions:'ExcelFindOptions')->'ListCellRanges':
381
+ """
382
+ <summary>
383
+ Finds the all cells with specified string value.
384
+ </summary>
385
+ <param name="findValue">Value to search.</param>
386
+ <param name="flags">Type of value to search.</param>
387
+ <param name="findOptions">Way to search.</param>
388
+ <returns>All found cells, or Null if value was not found.</returns>
389
+ """
390
+ enumflags:c_int = flags.value
391
+ enumfindOptions:c_int = findOptions.value
392
+
393
+ GetDllLibXls().CellRange_FindAll.argtypes=[c_void_p ,c_void_p,c_int,c_int]
394
+ GetDllLibXls().CellRange_FindAll.restype=c_void_p
395
+ intPtr = CallCFunction(GetDllLibXls().CellRange_FindAll, self.Ptr, findValue,enumflags,enumfindOptions)
396
+ ret = None if intPtr==None else ListCellRanges(intPtr)
397
+ return ret
398
+
399
+
400
+ def Intersect(self ,range:'CellRange')->'CellRange':
401
+ """
402
+ <summary>
403
+ Get intersection range with the specified range.
404
+ </summary>
405
+ <param name="range">Range which to intersect.</param>
406
+ <returns>Range intersection.</returns>
407
+ """
408
+ intPtrrange:c_void_p = range.Ptr
409
+
410
+ GetDllLibXls().CellRange_Intersect.argtypes=[c_void_p ,c_void_p]
411
+ GetDllLibXls().CellRange_Intersect.restype=c_void_p
412
+ intPtr = CallCFunction(GetDllLibXls().CellRange_Intersect, self.Ptr, intPtrrange)
413
+ ret = None if intPtr==None else CellRange(intPtr)
414
+ return ret
415
+
416
+
417
+
418
+ @dispatch
419
+ def Merge(self ,range:'CellRange')->'CellRange':
420
+ """
421
+ <summary>
422
+ Creates a merged cell from the specified Range object.
423
+ <example>The following code illustrates how to check whether two ranges are mergable or not:
424
+ <code>
425
+ //Create worksheet
426
+ Workbook workbook = new Workbook();
427
+ Worksheet worksheet = workbook.Worksheets[0];
428
+ //Merge range
429
+ worksheet["A2:B2"].Merge();
430
+ //Get mergable range
431
+ IXLSRange mergableRange = worksheet["A2"].MergeArea.Merge(worksheet["C2"]);
432
+ //Check mergable Area
433
+ Console.Write(mergableRange.RangeAddressLocal);
434
+ //Save to file
435
+ workbook.SaveToFile("Intersect.xlsx");
436
+ </code>
437
+ </example>
438
+ </summary>
439
+ <param name="range">The Range to merge with.</param>
440
+ <returns>Merged ranges.</returns>
441
+ """
442
+ intPtrrange:c_void_p = range.Ptr
443
+
444
+ GetDllLibXls().CellRange_Merge.argtypes=[c_void_p ,c_void_p]
445
+ GetDllLibXls().CellRange_Merge.restype=c_void_p
446
+ intPtr = CallCFunction(GetDllLibXls().CellRange_Merge, self.Ptr, intPtrrange)
447
+ ret = None if intPtr==None else CellRange(intPtr)
448
+ return ret
449
+
450
+
451
+
452
+ def SetDataValidation(self ,dataValidation:'Validation'):
453
+ """
454
+ <summary>
455
+ Sets data validation for the range.
456
+ </summary>
457
+ <param name="dv">Data validation to set.</param>
458
+ """
459
+ intPtrdataValidation:c_void_p = dataValidation.Ptr
460
+
461
+ GetDllLibXls().CellRange_SetDataValidation.argtypes=[c_void_p ,c_void_p]
462
+ CallCFunction(GetDllLibXls().CellRange_SetDataValidation, self.Ptr, intPtrdataValidation)
463
+
464
+ @property
465
+
466
+ def Borders(self)->'BordersCollection':
467
+ """
468
+ <summary>
469
+ Returns a Borders collection that represents the borders of a style or a range of cells (including a range defined as part of a conditional format).
470
+ <example>The following code illustrates how to access Borders property of the Range:
471
+ <code>
472
+ //Create worksheet
473
+ Workbook workbook = new Workbook();
474
+ Worksheet worksheet = workbook.Worksheets[0];
475
+ //Set text
476
+ worksheet["C2"].Text = "Sample";
477
+ //Set borders
478
+ IBorders borders = worksheet["C2"].Borders;
479
+ //Set line style
480
+ borders[BordersLineType.EdgeTop].LineStyle = LineStyleType.Thin;
481
+ borders[BordersLineType.EdgeBottom].LineStyle = LineStyleType.Thin;
482
+ //Set border color
483
+ borders[BordersLineType.EdgeTop].Color = Color.Red;
484
+ borders[BordersLineType.EdgeBottom].Color = Color.Red;
485
+ //Save to file
486
+ workbook.SaveToFile("CellFormats.xlsx");
487
+ </code>
488
+ </example>
489
+ </summary>
490
+ """
491
+ GetDllLibXls().CellRange_get_Borders.argtypes=[c_void_p]
492
+ GetDllLibXls().CellRange_get_Borders.restype=c_void_p
493
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_Borders, self.Ptr)
494
+ ret = None if intPtr==None else BordersCollection(intPtr)
495
+ return ret
496
+
497
+
498
+ @property
499
+
500
+ def Style(self)->'CellStyle':
501
+ """
502
+ <summary>
503
+ Returns a Style object that represents the style of the specified range.
504
+ <example>The following code illustrates how to the style of the specified range:
505
+ <code>
506
+ //Create worksheet
507
+ Workbook workbook = new Workbook();
508
+ Worksheet worksheet = workbook.Worksheets[0];
509
+ //Set text
510
+ worksheet["C2"].Text = "Sample";
511
+ //Add and set style
512
+ CellStyle style = workbook.Styles.Add("BorderStyle");
513
+ style.Color = Color.Red;
514
+ worksheet["C2"].Style = style;
515
+ //Save to file
516
+ workbook.SaveToFile("Style.xlsx");
517
+ </code>
518
+ </example>
519
+ </summary>
520
+ """
521
+ GetDllLibXls().CellRange_get_Style.argtypes=[c_void_p]
522
+ GetDllLibXls().CellRange_get_Style.restype=c_void_p
523
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_Style, self.Ptr)
524
+ ret = None if intPtr==None else CellStyle(intPtr)
525
+ return ret
526
+
527
+
528
+ @Style.setter
529
+ def Style(self, value:'CellStyle'):
530
+ GetDllLibXls().CellRange_set_Style.argtypes=[c_void_p, c_void_p]
531
+ CallCFunction(GetDllLibXls().CellRange_set_Style, self.Ptr, value.Ptr)
532
+
533
+ # @property
534
+ #
535
+ # def Cells(self)->'ListCellRanges':
536
+ # """
537
+ # <summary>
538
+ # Returns a Range object that represents the cells in the specified range.
539
+ # </summary>
540
+ # """
541
+ # GetDllLibXls().CellRange_get_Cells.argtypes=[c_void_p]
542
+ # GetDllLibXls().CellRange_get_Cells.restype=c_void_p
543
+ # intPtr = CallCFunction(GetDllLibXls().CellRange_get_Cells, self.Ptr)
544
+ # ret = None if intPtr==None else ListCellRanges(intPtr)
545
+ # return ret
546
+
547
+
548
+ # @property
549
+ #
550
+ # def CellList(self)->'List1':
551
+ # """
552
+ # <summary>
553
+ # Returns a Range object that represents the cells in the specified range.
554
+ # <example>The following code illustrates how to access CellList property of the Range:
555
+ # <code>
556
+ # //Create worksheet
557
+ # Workbook workbook = new Workbook();
558
+ # Worksheet worksheet = workbook.Worksheets[0];
559
+ # //Set text. The content contained by ![CDATA] will be expressed as plain text
560
+ # ListCellRange cells = worksheet["A1:E8"].CellList;
561
+ # //Do some manipulations
562
+ # foreach (CellRange Range in cells)
563
+ # Range.Text = Range.RangeAddressLocal;
564
+ # //Save to file
565
+ # workbook.SaveToFile("CellList.xlsx");
566
+ # </code>
567
+ # </example>
568
+ # </summary>
569
+ # """
570
+ # GetDllLibXls().CellRange_get_CellList.argtypes=[c_void_p]
571
+ # GetDllLibXls().CellRange_get_CellList.restype=c_void_p
572
+ # intPtr = CallCFunction(GetDllLibXls().CellRange_get_CellList, self.Ptr)
573
+ # ret = None if intPtr==None else List1(intPtr)
574
+ # return ret
575
+ #
576
+
577
+
578
+ # @property
579
+ #
580
+ # def Columns(self)->'ListCellRanges':
581
+ # """
582
+ # <summary>
583
+ # Returns a Range object that represents the columns in the specified range.
584
+ # <example>The following code illustrates how to access columns:
585
+ # <code>
586
+ # //Create worksheet
587
+ # Workbook workbook = new Workbook();
588
+ # Worksheet worksheet = workbook.Worksheets[0];
589
+ # //Set columns
590
+ # IXLSRange[] columns = worksheet["A1:E8"].Columns;
591
+ # //Do some manipulations
592
+ # foreach (IXLSRange column in columns)
593
+ # column.Text = column.RangeAddressLocal;
594
+ # //Save to file
595
+ # workbook.SaveToFile("Columns.xlsx");
596
+ # </code>
597
+ # </example>
598
+ # </summary>
599
+ # """
600
+ # GetDllLibXls().CellRange_get_Columns.argtypes=[c_void_p]
601
+ # GetDllLibXls().CellRange_get_Columns.restype=c_void_p
602
+ # intPtr = CallCFunction(GetDllLibXls().CellRange_get_Columns, self.Ptr)
603
+ # ret = None if intPtr==None else ListCellRanges(intPtr)
604
+ # return ret
605
+
606
+
607
+ # @property
608
+ #
609
+ # def Rows(self)->'ListCellRanges':
610
+ # """
611
+ # <summary>
612
+ # Returns the number of the first row of the first area in the range.
613
+ # <example>The following code illustrates how to access rows:
614
+ # <code>
615
+ # //Create worksheet
616
+ # Workbook workbook = new Workbook();
617
+ # Worksheet worksheet = workbook.Worksheets[0];
618
+ # //Set rows
619
+ # IXLSRange[] rows = worksheet["A1:E8"].Rows;
620
+ # //Do some manipulations
621
+ # foreach (IXLSRange row in rows)
622
+ # row.Text = row.RangeAddressLocal;
623
+ # //Save to file
624
+ # workbook.SaveToFile("Rows.xlsx");
625
+ # </code>
626
+ # </example>
627
+ # </summary>
628
+ # """
629
+ # GetDllLibXls().CellRange_get_Rows.argtypes=[c_void_p]
630
+ # GetDllLibXls().CellRange_get_Rows.restype=c_void_p
631
+ # intPtr = CallCFunction(GetDllLibXls().CellRange_get_Rows, self.Ptr)
632
+ # ret = None if intPtr==None else ListCellRanges(intPtr)
633
+ # return ret
634
+
635
+
636
+ @dispatch
637
+
638
+ def get_Item(self ,row:int,column:int)->'CellRange':
639
+ """
640
+ <summary>
641
+ Gets cell range. Row and column indexes are one-based.
642
+ </summary>
643
+ <param name="row"></param>
644
+ <param name="column"></param>
645
+ <returns></returns>
646
+ """
647
+
648
+ GetDllLibXls().CellRange_get_Item.argtypes=[c_void_p ,c_int,c_int]
649
+ GetDllLibXls().CellRange_get_Item.restype=c_void_p
650
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_Item, self.Ptr, row,column)
651
+ ret = None if intPtr==None else CellRange(intPtr)
652
+ return ret
653
+
654
+
655
+
656
+ def set_Item(self ,row:int,column:int,value:'CellRange'):
657
+ """
658
+
659
+ """
660
+ intPtrvalue:c_void_p = value.Ptr
661
+
662
+ GetDllLibXls().CellRange_set_Item.argtypes=[c_void_p ,c_int,c_int,c_void_p]
663
+ CallCFunction(GetDllLibXls().CellRange_set_Item, self.Ptr, row,column,intPtrvalue)
664
+
665
+ @dispatch
666
+
667
+ def get_Item(self ,row:int,column:int,lastRow:int,lastColumn:int)->'CellRange':
668
+ """
669
+ <summary>
670
+ Gets cell range. Row and column indexes are one-based.
671
+ </summary>
672
+ <param name="row"></param>
673
+ <param name="column"></param>
674
+ <param name="lastRow"></param>
675
+ <param name="lastColumn"></param>
676
+ <returns></returns>
677
+ """
678
+
679
+ GetDllLibXls().CellRange_get_ItemRCLL.argtypes=[c_void_p ,c_int,c_int,c_int,c_int]
680
+ GetDllLibXls().CellRange_get_ItemRCLL.restype=c_void_p
681
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_ItemRCLL, self.Ptr, row,column,lastRow,lastColumn)
682
+ ret = None if intPtr==None else CellRange(intPtr)
683
+ return ret
684
+
685
+
686
+ @dispatch
687
+
688
+ def get_Item(self ,name:str)->'CellRange':
689
+ """
690
+ <summary>
691
+ Gets cell range.
692
+ </summary>
693
+ <param name="name"></param>
694
+ <returns></returns>
695
+ """
696
+
697
+ GetDllLibXls().CellRange_get_ItemN.argtypes=[c_void_p ,c_wchar_p]
698
+ GetDllLibXls().CellRange_get_ItemN.restype=c_void_p
699
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_ItemN, self.Ptr, name)
700
+ ret = None if intPtr==None else CellRange(intPtr)
701
+ return ret
702
+
703
+
704
+ @dispatch
705
+
706
+ def get_Item(self ,name:str,IsR1C1Notation:bool)->'CellRange':
707
+ """
708
+ <summary>
709
+ Gets cell range
710
+ </summary>
711
+ <param name="name"></param>
712
+ <param name="IsR1C1Notation"></param>
713
+ <returns></returns>
714
+ """
715
+
716
+ GetDllLibXls().CellRange_get_ItemNI.argtypes=[c_void_p ,c_void_p,c_bool]
717
+ GetDllLibXls().CellRange_get_ItemNI.restype=c_void_p
718
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_ItemNI, self.Ptr, name,IsR1C1Notation)
719
+ ret = None if intPtr==None else CellRange(intPtr)
720
+ return ret
721
+
722
+
723
+ @property
724
+
725
+ def Comment(self)->'ExcelComment':
726
+ """
727
+ <summary>
728
+ Returns a Comment object that represents the comment associated with the cell in the upper-left corner of the range.
729
+ <example>The following code illustrates how to access Comments property of the Range:
730
+ <code>
731
+ //Create worksheet
732
+ Workbook workbook = new Workbook();
733
+ Worksheet worksheet = workbook.Worksheets[0];
734
+ //Adding comments to a cell
735
+ worksheet.Range["A1"].AddComment().Text = "Comments";
736
+ //Add Rich Text Comments
737
+ CellRange range = worksheet.Range["A6"];
738
+ range.AddComment().RichText.Text = "RichText";
739
+ IRichTextString rtf = range.Comment.RichText;
740
+ //Formatting first 4 characters
741
+ IFont redFont = workbook.CreateFont();
742
+ redFont.IsBold = true;
743
+ redFont.Color = Color.Red;
744
+ rtf.SetFont(0, 3, redFont);
745
+ //Save to file
746
+ workbook.SaveToFile("DataValidation.xlsx");
747
+ </code>
748
+ </example>
749
+ </summary>
750
+ """
751
+ GetDllLibXls().CellRange_get_Comment.argtypes=[c_void_p]
752
+ GetDllLibXls().CellRange_get_Comment.restype=c_void_p
753
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_Comment, self.Ptr)
754
+ ret = None if intPtr==None else ExcelComment(intPtr)
755
+ return ret
756
+
757
+
758
+ @property
759
+
760
+ def Worksheet(self)->'Worksheet':
761
+ """
762
+ <summary>
763
+ Returns a worksheet object that represents the worksheet
764
+ containing the specified range.
765
+ </summary>
766
+ """
767
+ GetDllLibXls().CellRange_get_Worksheet.argtypes=[c_void_p]
768
+ GetDllLibXls().CellRange_get_Worksheet.restype=c_void_p
769
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_Worksheet, self.Ptr)
770
+ ret = None if intPtr==None else Worksheet(intPtr)
771
+ return ret
772
+
773
+
774
+ @property
775
+
776
+ def RichText(self)->'RichText':
777
+ """
778
+ <summary>
779
+ Returns a RichTextString object that represents the rich text style.
780
+ <example>The following code illustrates how to set rich text formatting in the range:
781
+ <code>
782
+ //Create worksheet
783
+ Workbook workbook = new Workbook();
784
+ Worksheet worksheet = workbook.Worksheets[0];
785
+ //Create style
786
+ IStyle style = workbook.Styles.Add("CustomStyle");
787
+ //Set rich text
788
+ IRichTextString richText = worksheet["C2"].RichText;
789
+ richText.Text = "Sample text";
790
+ //Set rich text font
791
+ IFont font = style.Font;
792
+ font.IsBold = true;
793
+ richText.SetFont(0, 5, font);
794
+ //Save to file
795
+ workbook.SaveToFile("RichText.xlsx");
796
+ </code>
797
+ </example>
798
+ </summary>
799
+ """
800
+ GetDllLibXls().CellRange_get_RichText.argtypes=[c_void_p]
801
+ GetDllLibXls().CellRange_get_RichText.restype=c_void_p
802
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_RichText, self.Ptr)
803
+ ret = None if intPtr==None else RichText(intPtr)
804
+ return ret
805
+
806
+
807
+ @property
808
+
809
+ def EntireColumn(self)->'CellRange':
810
+ """
811
+ <summary>
812
+ Returns a Range object that represents the entire column (or
813
+ columns) that contains the specified range.
814
+ </summary>
815
+ """
816
+ GetDllLibXls().CellRange_get_EntireColumn.argtypes=[c_void_p]
817
+ GetDllLibXls().CellRange_get_EntireColumn.restype=c_void_p
818
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_EntireColumn, self.Ptr)
819
+ ret = None if intPtr==None else CellRange(intPtr)
820
+ return ret
821
+
822
+
823
+ @property
824
+
825
+ def EndCell(self)->'CellRange':
826
+ """
827
+ <summary>
828
+ Returns a Range object that represents the cell at the end of the
829
+ region that contains the source range.
830
+ </summary>
831
+ """
832
+ GetDllLibXls().CellRange_get_EndCell.argtypes=[c_void_p]
833
+ GetDllLibXls().CellRange_get_EndCell.restype=c_void_p
834
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_EndCell, self.Ptr)
835
+ ret = None if intPtr==None else CellRange(intPtr)
836
+ return ret
837
+
838
+
839
+ @property
840
+
841
+ def MergeArea(self)->'CellRange':
842
+ """
843
+ <summary>
844
+ Returns a Range object that represents the merged range containing the specified cell.
845
+ <example>The following code illustrates how to access MergeArea property:
846
+ <code>
847
+ //Create worksheet
848
+ Workbook workbook = new Workbook();
849
+ Worksheet worksheet = workbook.Worksheets[0];
850
+ //Set text
851
+ worksheet["C2"].Text = "Sample text in cell";
852
+ //Set merge
853
+ worksheet["C2:D3"].Merge();
854
+ //Check merge area
855
+ Console.Write(worksheet["C2"].MergeArea.AddressLocal);
856
+ </code>
857
+ </example>
858
+ </summary>
859
+ """
860
+ GetDllLibXls().CellRange_get_MergeArea.argtypes=[c_void_p]
861
+ GetDllLibXls().CellRange_get_MergeArea.restype=c_void_p
862
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_MergeArea, self.Ptr)
863
+ ret = None if intPtr==None else CellRange(intPtr)
864
+ return ret
865
+
866
+
867
+ @property
868
+
869
+ def EntireRow(self)->'CellRange':
870
+ """
871
+ <summary>
872
+ Returns a Range object that represents the entire row (or rows) that contains the specified range.
873
+ </summary>
874
+ """
875
+ GetDllLibXls().CellRange_get_EntireRow.argtypes=[c_void_p]
876
+ GetDllLibXls().CellRange_get_EntireRow.restype=c_void_p
877
+ intPtr = CallCFunction(GetDllLibXls().CellRange_get_EntireRow, self.Ptr)
878
+ ret = None if intPtr==None else CellRange(intPtr)
879
+ return ret
880
+
881
+
882
+
883
+ def GetDependentRanges(self ,isAll:bool)->'ListCellRanges':
884
+ """
885
+
886
+ """
887
+
888
+ GetDllLibXls().CellRange_GetDependentRanges.argtypes=[c_void_p ,c_bool]
889
+ GetDllLibXls().CellRange_GetDependentRanges.restype=c_void_p
890
+ intPtr = CallCFunction(GetDllLibXls().CellRange_GetDependentRanges, self.Ptr, isAll)
891
+ ret = None if intPtr==None else ListCellRanges(intPtr)
892
+ return ret
893
+
894
+
895
+
896
+ def GetReferRanges(self)->'ListReferRangeAreas':
897
+ """
898
+
899
+ """
900
+ GetDllLibXls().CellRange_GetReferRanges.argtypes=[c_void_p]
901
+ GetDllLibXls().CellRange_GetReferRanges.restype=c_void_p
902
+ intPtr = CallCFunction(GetDllLibXls().CellRange_GetReferRanges, self.Ptr)
903
+ ret = None if intPtr==None else ListReferRangeAreas(intPtr)
904
+ return ret
905
+
906
+
907
+ class ListCellRanges (IList[CellRange]):
908
+ def GetEnumerator(self)->'IEnumerator':
909
+ """
910
+
911
+ """
912
+ ret = super(ListCellRanges, self).GetEnumerator()
913
+ ret._gtype = XlsRange
914
+ #ret = None if enumerator==None else EnumeratorXlsRange(enumerator.Ptr)
915
+ return ret