spire-xls 15.5.0__py3-none-macosx_10_7_universal.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. spire/__init__.py +0 -0
  2. spire/xls/AddInFunctionsCollection.py +29 -0
  3. spire/xls/AddtionalFormatWrapper.py +976 -0
  4. spire/xls/AlertStyleType.py +18 -0
  5. spire/xls/ArcShapeCollection.py +70 -0
  6. spire/xls/AutoFiltersCollection.py +527 -0
  7. spire/xls/AutoFitterOptions.py +66 -0
  8. spire/xls/AutoFormatOptions.py +23 -0
  9. spire/xls/AutoFormatType.py +32 -0
  10. spire/xls/AutoSortScope.py +25 -0
  11. spire/xls/Average.py +29 -0
  12. spire/xls/AverageType.py +25 -0
  13. spire/xls/AxisLineIdentifierType.py +19 -0
  14. spire/xls/AxisTextDirectionType.py +18 -0
  15. spire/xls/AxisType.py +18 -0
  16. spire/xls/AxisTypes.py +18 -0
  17. spire/xls/BaseFormatType.py +17 -0
  18. spire/xls/BordersCollection.py +158 -0
  19. spire/xls/BordersCollectionArrayWrapper.py +95 -0
  20. spire/xls/BordersLineType.py +23 -0
  21. spire/xls/BubbleSizeType.py +17 -0
  22. spire/xls/BuiltInDocumentProperties.py +12 -0
  23. spire/xls/BuiltInPropertyType.py +50 -0
  24. spire/xls/BuiltInStyles.py +66 -0
  25. spire/xls/ButtonShapeCollection.py +70 -0
  26. spire/xls/CategoryType.py +18 -0
  27. spire/xls/CellBaseStyle.py +26 -0
  28. spire/xls/CellBorder.py +154 -0
  29. spire/xls/CellDataType.py +23 -0
  30. spire/xls/CellFormatType.py +21 -0
  31. spire/xls/CellRange.py +915 -0
  32. spire/xls/CellStyle.py +85 -0
  33. spire/xls/CellStyleFlag.py +432 -0
  34. spire/xls/CellStyleObject.py +617 -0
  35. spire/xls/CellValueChangedEventArgs.py +75 -0
  36. spire/xls/CellValueChangedEventHandler.py +52 -0
  37. spire/xls/Chart.py +404 -0
  38. spire/xls/ChartArea.py +61 -0
  39. spire/xls/ChartBackgroundMode.py +18 -0
  40. spire/xls/ChartBaseUnitType.py +18 -0
  41. spire/xls/ChartBorder.py +12 -0
  42. spire/xls/ChartCategoryAxis.py +93 -0
  43. spire/xls/ChartDataLabels.py +42 -0
  44. spire/xls/ChartDataPoint.py +42 -0
  45. spire/xls/ChartDataPointsCollection.py +75 -0
  46. spire/xls/ChartDataTable.py +12 -0
  47. spire/xls/ChartDisplayUnitType.py +26 -0
  48. spire/xls/ChartDropBar.py +12 -0
  49. spire/xls/ChartFormat.py +72 -0
  50. spire/xls/ChartFormatCollection.py +59 -0
  51. spire/xls/ChartGridLine.py +27 -0
  52. spire/xls/ChartInterior.py +12 -0
  53. spire/xls/ChartLegend.py +42 -0
  54. spire/xls/ChartLegendEntriesColl.py +128 -0
  55. spire/xls/ChartLegendEntry.py +27 -0
  56. spire/xls/ChartLinePatternType.py +24 -0
  57. spire/xls/ChartLineWeightType.py +19 -0
  58. spire/xls/ChartMarkerType.py +27 -0
  59. spire/xls/ChartPageSetup.py +12 -0
  60. spire/xls/ChartParagraphType.py +18 -0
  61. spire/xls/ChartPieType.py +18 -0
  62. spire/xls/ChartPlotArea.py +53 -0
  63. spire/xls/ChartPlotEmptyType.py +18 -0
  64. spire/xls/ChartSerie.py +142 -0
  65. spire/xls/ChartSerieDataFormat.py +56 -0
  66. spire/xls/ChartSeries.py +154 -0
  67. spire/xls/ChartSeriesAxis.py +72 -0
  68. spire/xls/ChartShadow.py +235 -0
  69. spire/xls/ChartSheet.py +285 -0
  70. spire/xls/ChartTextArea.py +782 -0
  71. spire/xls/ChartTitle.py +12 -0
  72. spire/xls/ChartValueAxis.py +92 -0
  73. spire/xls/ChartWallOrFloor.py +12 -0
  74. spire/xls/ChartsCollection.py +113 -0
  75. spire/xls/CheckBoxCollection.py +70 -0
  76. spire/xls/CheckState.py +18 -0
  77. spire/xls/CollectionBase.py +184 -0
  78. spire/xls/CollectionChangeEventArgs.py +36 -0
  79. spire/xls/CollectionExtended.py +92 -0
  80. spire/xls/ColorConditionValue.py +91 -0
  81. spire/xls/ColorFilter.py +45 -0
  82. spire/xls/ColorScale.py +172 -0
  83. spire/xls/ColorType.py +18 -0
  84. spire/xls/ComboBoxCollection.py +70 -0
  85. spire/xls/CommentHAlignType.py +21 -0
  86. spire/xls/CommentVAlignType.py +20 -0
  87. spire/xls/CommentsCollection.py +109 -0
  88. spire/xls/CommentsRange.py +578 -0
  89. spire/xls/CommonWrapper.py +40 -0
  90. spire/xls/ComparisonOperatorType.py +24 -0
  91. spire/xls/CompoundLineType.py +18 -0
  92. spire/xls/CondFormatCollectionWrapper.py +125 -0
  93. spire/xls/ConditionValue.py +82 -0
  94. spire/xls/ConditionValuePosition.py +16 -0
  95. spire/xls/ConditionValueType.py +20 -0
  96. spire/xls/ConditionalFormat.py +14 -0
  97. spire/xls/ConditionalFormatScope.py +16 -0
  98. spire/xls/ConditionalFormatType.py +33 -0
  99. spire/xls/ConditionalFormatWrapper.py +986 -0
  100. spire/xls/ConditionalFormats.py +55 -0
  101. spire/xls/ConditionalTopNType.py +17 -0
  102. spire/xls/ConnectionDataSourceType.py +26 -0
  103. spire/xls/ConverterSetting.py +347 -0
  104. spire/xls/CopyRangeOptions.py +23 -0
  105. spire/xls/CustomFilter.py +147 -0
  106. spire/xls/CustomFilterCollection.py +113 -0
  107. spire/xls/DBConnection.py +198 -0
  108. spire/xls/DVAspect.py +15 -0
  109. spire/xls/DataBar.py +220 -0
  110. spire/xls/DataBarAxisPosition.py +16 -0
  111. spire/xls/DataBarBorder.py +47 -0
  112. spire/xls/DataBarBorderType.py +15 -0
  113. spire/xls/DataBarFillType.py +15 -0
  114. spire/xls/DataBarNegativeColorType.py +15 -0
  115. spire/xls/DataConnections.py +25 -0
  116. spire/xls/DataLabelPositionType.py +26 -0
  117. spire/xls/DataMarkerDirection.py +17 -0
  118. spire/xls/DataSorter.py +154 -0
  119. spire/xls/DataSourceType.py +19 -0
  120. spire/xls/DateTimeGroupItem.py +132 -0
  121. spire/xls/DateTimeGroupingType.py +19 -0
  122. spire/xls/DeleteOption.py +15 -0
  123. spire/xls/DocumentProperty.py +304 -0
  124. spire/xls/DropLineStyleType.py +18 -0
  125. spire/xls/DynamicFilter.py +71 -0
  126. spire/xls/DynamicFilterType.py +48 -0
  127. spire/xls/EncryptedKeyInfo.py +12 -0
  128. spire/xls/ErrorBarIncludeType.py +19 -0
  129. spire/xls/ErrorBarType.py +20 -0
  130. spire/xls/Excel2016Charttype.py +20 -0
  131. spire/xls/ExcelAddInFunction.py +12 -0
  132. spire/xls/ExcelCalculationMode.py +18 -0
  133. spire/xls/ExcelChartType.py +96 -0
  134. spire/xls/ExcelClearOptions.py +18 -0
  135. spire/xls/ExcelColors.py +121 -0
  136. spire/xls/ExcelComboType.py +22 -0
  137. spire/xls/ExcelComment.py +27 -0
  138. spire/xls/ExcelCommentObject.py +618 -0
  139. spire/xls/ExcelFindOptions.py +16 -0
  140. spire/xls/ExcelFont.py +310 -0
  141. spire/xls/ExcelGradient.py +174 -0
  142. spire/xls/ExcelHorizontalAlignment.py +21 -0
  143. spire/xls/ExcelInterior.py +128 -0
  144. spire/xls/ExcelPatternType.py +52 -0
  145. spire/xls/ExcelPicture.py +12 -0
  146. spire/xls/ExcelQuartileCalculation.py +17 -0
  147. spire/xls/ExcelSaveType.py +15 -0
  148. spire/xls/ExcelShapeType.py +41 -0
  149. spire/xls/ExcelSheetType.py +20 -0
  150. spire/xls/ExcelTotalsCalculation.py +23 -0
  151. spire/xls/ExcelTreeMapLabelOption.py +18 -0
  152. spire/xls/ExcelVersion.py +24 -0
  153. spire/xls/ExcelVerticalAlignment.py +21 -0
  154. spire/xls/ExpandCollapseFlags.py +18 -0
  155. spire/xls/ExportTableOptions.py +74 -0
  156. spire/xls/ExternalConnection.py +147 -0
  157. spire/xls/ExternalLink.py +58 -0
  158. spire/xls/ExternalLinkCollection.py +25 -0
  159. spire/xls/FileFormat.py +40 -0
  160. spire/xls/FillPictureType.py +16 -0
  161. spire/xls/FilterColumn.py +258 -0
  162. spire/xls/FilterConditionType.py +21 -0
  163. spire/xls/FilterDataType.py +22 -0
  164. spire/xls/FilterOperatorType.py +20 -0
  165. spire/xls/FilterType.py +20 -0
  166. spire/xls/FindType.py +19 -0
  167. spire/xls/Font.py +376 -0
  168. spire/xls/FontArrayWrapper.py +265 -0
  169. spire/xls/FontUnderlineType.py +20 -0
  170. spire/xls/FontVertialAlignmentType.py +20 -0
  171. spire/xls/FontWrapper.py +450 -0
  172. spire/xls/FontsCollection.py +87 -0
  173. spire/xls/Format3D.py +235 -0
  174. spire/xls/GeomertyAdjustValue.py +63 -0
  175. spire/xls/GeomertyAdjustValueFormulaType.py +30 -0
  176. spire/xls/GeomertyAdjustValuesCollection.py +39 -0
  177. spire/xls/GetText.py +15 -0
  178. spire/xls/GoalSeek.py +65 -0
  179. spire/xls/GoalSeekResult.py +57 -0
  180. spire/xls/GradientArrayWrapper.py +188 -0
  181. spire/xls/GradientColorType.py +18 -0
  182. spire/xls/GradientPatternType.py +64 -0
  183. spire/xls/GradientPresetType.py +39 -0
  184. spire/xls/GradientStops.py +146 -0
  185. spire/xls/GradientStyleType.py +21 -0
  186. spire/xls/GradientTextureType.py +40 -0
  187. spire/xls/GradientType.py +17 -0
  188. spire/xls/GradientVariantsType.py +19 -0
  189. spire/xls/GroupBoxCollection.py +70 -0
  190. spire/xls/GroupByType.py +15 -0
  191. spire/xls/GroupShape.py +21 -0
  192. spire/xls/GroupShapeCollection.py +46 -0
  193. spire/xls/HPageBreak.py +32 -0
  194. spire/xls/HPageBreaksCollection.py +108 -0
  195. spire/xls/HTMLOptions.py +144 -0
  196. spire/xls/HistogramAxisFormat.py +30 -0
  197. spire/xls/HorizontalAlignType.py +23 -0
  198. spire/xls/HttpContentType.py +18 -0
  199. spire/xls/HyperLink.py +32 -0
  200. spire/xls/HyperLinkType.py +20 -0
  201. spire/xls/HyperLinksCollection.py +72 -0
  202. spire/xls/IAddInFunction.py +22 -0
  203. spire/xls/IAddInFunctions.py +50 -0
  204. spire/xls/IArcShape.py +259 -0
  205. spire/xls/IArcShapes.py +50 -0
  206. spire/xls/IAutoFilter.py +167 -0
  207. spire/xls/IAutoFilterCondition.py +123 -0
  208. spire/xls/IAutoFilters.py +49 -0
  209. spire/xls/IBorder.py +116 -0
  210. spire/xls/IBorders.py +106 -0
  211. spire/xls/IBuiltInDocumentProperties.py +579 -0
  212. spire/xls/IButtonShape.py +12 -0
  213. spire/xls/IButtonShapes.py +50 -0
  214. spire/xls/IChart.py +1368 -0
  215. spire/xls/IChartAxis.py +722 -0
  216. spire/xls/IChartBorder.py +220 -0
  217. spire/xls/IChartCategoryAxis.py +410 -0
  218. spire/xls/IChartDataLabels.py +457 -0
  219. spire/xls/IChartDataPoint.py +131 -0
  220. spire/xls/IChartDataPoints.py +31 -0
  221. spire/xls/IChartDataTable.py +197 -0
  222. spire/xls/IChartDropBar.py +12 -0
  223. spire/xls/IChartErrorBars.py +373 -0
  224. spire/xls/IChartFillBorder.py +303 -0
  225. spire/xls/IChartFormat.py +571 -0
  226. spire/xls/IChartFrameFormat.py +93 -0
  227. spire/xls/IChartGridLine.py +107 -0
  228. spire/xls/IChartInterior.py +278 -0
  229. spire/xls/IChartLegend.py +499 -0
  230. spire/xls/IChartLegendEntries.py +30 -0
  231. spire/xls/IChartLegendEntry.py +178 -0
  232. spire/xls/IChartPageSetup.py +56 -0
  233. spire/xls/IChartSerie.py +779 -0
  234. spire/xls/IChartSerieDataFormat.py +566 -0
  235. spire/xls/IChartSeries.py +39 -0
  236. spire/xls/IChartSeriesAxis.py +128 -0
  237. spire/xls/IChartShape.py +92 -0
  238. spire/xls/IChartShapes.py +39 -0
  239. spire/xls/IChartTextArea.py +197 -0
  240. spire/xls/IChartTrendLine.py +548 -0
  241. spire/xls/IChartTrendLines.py +79 -0
  242. spire/xls/IChartValueAxis.py +518 -0
  243. spire/xls/IChartWallOrFloor.py +32 -0
  244. spire/xls/ICharts.py +70 -0
  245. spire/xls/ICheckBox.py +96 -0
  246. spire/xls/ICheckBoxes.py +50 -0
  247. spire/xls/ICloneParent.py +28 -0
  248. spire/xls/IColorConditionValue.py +31 -0
  249. spire/xls/IColorScale.py +32 -0
  250. spire/xls/ICombinedRange.py +87 -0
  251. spire/xls/IComboBoxShape.py +95 -0
  252. spire/xls/IComboBoxes.py +50 -0
  253. spire/xls/IComment.py +85 -0
  254. spire/xls/ICommentShape.py +12 -0
  255. spire/xls/IComments.py +50 -0
  256. spire/xls/IConditionValue.py +68 -0
  257. spire/xls/IConditionalFormat.py +606 -0
  258. spire/xls/IConditionalFormats.py +48 -0
  259. spire/xls/IConditionalFormatsCollection.py +134 -0
  260. spire/xls/ICustomDocumentProperties.py +128 -0
  261. spire/xls/IDataBar.py +105 -0
  262. spire/xls/IDataSort.py +95 -0
  263. spire/xls/IDataValidation.py +421 -0
  264. spire/xls/IDataValidationCollection.py +132 -0
  265. spire/xls/IDataValidationTable.py +68 -0
  266. spire/xls/IDigitalSignature.py +99 -0
  267. spire/xls/IDigitalSignatures.py +29 -0
  268. spire/xls/IDocumentProperty.py +226 -0
  269. spire/xls/IErrorIndicator.py +31 -0
  270. spire/xls/IExcelApplication.py +22 -0
  271. spire/xls/IExtendIndex.py +21 -0
  272. spire/xls/IExtendedFormat.py +530 -0
  273. spire/xls/IFont.py +271 -0
  274. spire/xls/IFormat3D.py +252 -0
  275. spire/xls/IGeomPath.py +23 -0
  276. spire/xls/IGeomPathInfo.py +112 -0
  277. spire/xls/IGeomPathShape.py +30 -0
  278. spire/xls/IGlow.py +85 -0
  279. spire/xls/IGradient.py +174 -0
  280. spire/xls/IGroupBox.py +67 -0
  281. spire/xls/IGroupBoxes.py +50 -0
  282. spire/xls/IHPageBreak.py +22 -0
  283. spire/xls/IHPageBreaks.py +31 -0
  284. spire/xls/IHyperLink.py +118 -0
  285. spire/xls/IHyperLinks.py +48 -0
  286. spire/xls/IIconSet.py +96 -0
  287. spire/xls/IInterior.py +117 -0
  288. spire/xls/IInternalAddtionalFormat.py +238 -0
  289. spire/xls/IInternalFont.py +31 -0
  290. spire/xls/IInternalWorksheet.py +132 -0
  291. spire/xls/ILabelShape.py +49 -0
  292. spire/xls/ILabelShapes.py +50 -0
  293. spire/xls/ILineShape.py +305 -0
  294. spire/xls/ILines.py +50 -0
  295. spire/xls/IListBox.py +86 -0
  296. spire/xls/IListBoxes.py +50 -0
  297. spire/xls/IListObject.py +493 -0
  298. spire/xls/IListObjectColumn.py +222 -0
  299. spire/xls/IListObjects.py +31 -0
  300. spire/xls/IMarkersDesigner.py +113 -0
  301. spire/xls/IMigrantRange.py +21 -0
  302. spire/xls/INameRanges.py +162 -0
  303. spire/xls/INamedObject.py +22 -0
  304. spire/xls/INamedRange.py +162 -0
  305. spire/xls/INumberFormat.py +77 -0
  306. spire/xls/IOleObject.py +176 -0
  307. spire/xls/IOleObjects.py +32 -0
  308. spire/xls/IOptimizedUpdate.py +28 -0
  309. spire/xls/IOvalShape.py +154 -0
  310. spire/xls/IOvalShapes.py +50 -0
  311. spire/xls/IPageSetup.py +195 -0
  312. spire/xls/IPageSetupBase.py +642 -0
  313. spire/xls/IPictureShape.py +99 -0
  314. spire/xls/IPictures.py +250 -0
  315. spire/xls/IPivotCache.py +41 -0
  316. spire/xls/IPivotCaches.py +39 -0
  317. spire/xls/IPivotCalculatedFields.py +50 -0
  318. spire/xls/IPivotDataField.py +68 -0
  319. spire/xls/IPivotDataFields.py +50 -0
  320. spire/xls/IPivotField.py +291 -0
  321. spire/xls/IPivotFields.py +41 -0
  322. spire/xls/IPivotTable.py +393 -0
  323. spire/xls/IPivotTableOptions.py +428 -0
  324. spire/xls/IPivotTables.py +68 -0
  325. spire/xls/IPropertyData.py +70 -0
  326. spire/xls/IPrstGeomShape.py +71 -0
  327. spire/xls/IPrstGeomShapes.py +81 -0
  328. spire/xls/IRadioButton.py +105 -0
  329. spire/xls/IRadioButtons.py +71 -0
  330. spire/xls/IRectangleShape.py +60 -0
  331. spire/xls/IRectangleShapes.py +50 -0
  332. spire/xls/IReflectionEffect.py +138 -0
  333. spire/xls/IRichTextString.py +93 -0
  334. spire/xls/IScrollBarShape.py +140 -0
  335. spire/xls/IScrollBarShapes.py +50 -0
  336. spire/xls/IShadow.py +244 -0
  337. spire/xls/IShape.py +409 -0
  338. spire/xls/IShapeFill.py +522 -0
  339. spire/xls/IShapeLineFormat.py +331 -0
  340. spire/xls/IShapes.py +270 -0
  341. spire/xls/ISortColumn.py +96 -0
  342. spire/xls/ISortColumns.py +70 -0
  343. spire/xls/ISortedRule.py +112 -0
  344. spire/xls/ISparkline.py +68 -0
  345. spire/xls/ISparklineGroup.py +428 -0
  346. spire/xls/ISparklines.py +72 -0
  347. spire/xls/ISpinnerShape.py +102 -0
  348. spire/xls/ISpinnerShapes.py +50 -0
  349. spire/xls/IStyle.py +50 -0
  350. spire/xls/IStyles.py +69 -0
  351. spire/xls/ITabSheet.py +302 -0
  352. spire/xls/ITabSheets.py +57 -0
  353. spire/xls/ITextBox.py +116 -0
  354. spire/xls/ITextBoxLinkShape.py +40 -0
  355. spire/xls/ITextBoxShape.py +22 -0
  356. spire/xls/ITextBoxes.py +61 -0
  357. spire/xls/ITextFrame.py +120 -0
  358. spire/xls/IVPageBreak.py +22 -0
  359. spire/xls/IVPageBreaks.py +31 -0
  360. spire/xls/IWorkbook.py +1806 -0
  361. spire/xls/IWorksheet.py +2694 -0
  362. spire/xls/IWorksheetGroup.py +48 -0
  363. spire/xls/IWorksheets.py +159 -0
  364. spire/xls/IXLSRange.py +2479 -0
  365. spire/xls/IXLSRanges.py +35 -0
  366. spire/xls/IconSet.py +103 -0
  367. spire/xls/IconSetType.py +35 -0
  368. spire/xls/IgnoreErrorType.py +24 -0
  369. spire/xls/ImageFormatType.py +18 -0
  370. spire/xls/ImageLocationTypes.py +15 -0
  371. spire/xls/ImageType.py +17 -0
  372. spire/xls/ImportObjectOptions.py +89 -0
  373. spire/xls/InsertMoveOption.py +15 -0
  374. spire/xls/InsertOptionsType.py +16 -0
  375. spire/xls/InteriorArrayWrapper.py +126 -0
  376. spire/xls/LOGFONT.py +140 -0
  377. spire/xls/LabelShapeCollection.py +71 -0
  378. spire/xls/LegendPositionType.py +21 -0
  379. spire/xls/LegendSpacingType.py +18 -0
  380. spire/xls/LineCollection.py +85 -0
  381. spire/xls/LineShapeType.py +17 -0
  382. spire/xls/LineStyleType.py +29 -0
  383. spire/xls/ListBoxCollection.py +71 -0
  384. spire/xls/ListObjectCollection.py +45 -0
  385. spire/xls/MarkerDesigner.py +172 -0
  386. spire/xls/MeasureUnits.py +21 -0
  387. spire/xls/MsoPathInfo.py +38 -0
  388. spire/xls/MsoPathType.py +21 -0
  389. spire/xls/MultipleFilterCollection.py +166 -0
  390. spire/xls/NegativeBarFormat.py +82 -0
  391. spire/xls/OColor.py +165 -0
  392. spire/xls/OLEDBCommandType.py +19 -0
  393. spire/xls/OdsPageBackground.py +129 -0
  394. spire/xls/OdsPageBackgroundImagePositionType.py +22 -0
  395. spire/xls/OdsPageBackgroundImageType.py +16 -0
  396. spire/xls/OdsPageBackgroundType.py +16 -0
  397. spire/xls/OleLinkType.py +15 -0
  398. spire/xls/OleObjectType.py +51 -0
  399. spire/xls/OrderBy.py +19 -0
  400. spire/xls/OrderType.py +17 -0
  401. spire/xls/OvalShapeCollection.py +70 -0
  402. spire/xls/PageBreakExtentType.py +17 -0
  403. spire/xls/PageBreakType.py +18 -0
  404. spire/xls/PageColRow.py +48 -0
  405. spire/xls/PageOrientationType.py +17 -0
  406. spire/xls/PageSetup.py +14 -0
  407. spire/xls/PagesOrderType.py +17 -0
  408. spire/xls/PaperSizeEntry.py +30 -0
  409. spire/xls/PaperSizeType.py +135 -0
  410. spire/xls/PathFillMode.py +19 -0
  411. spire/xls/PdfConformanceLevel.py +20 -0
  412. spire/xls/PicStretch.py +104 -0
  413. spire/xls/PicTile.py +72 -0
  414. spire/xls/PicturesCollection.py +532 -0
  415. spire/xls/PivotAutoFomatTypes.py +35 -0
  416. spire/xls/PivotBuiltInStyles.py +97 -0
  417. spire/xls/PivotCache.py +12 -0
  418. spire/xls/PivotCachesCollection.py +12 -0
  419. spire/xls/PivotCalculatedFieldsCollection.py +38 -0
  420. spire/xls/PivotConditionalFormat.py +54 -0
  421. spire/xls/PivotConditionalFormatCollection.py +38 -0
  422. spire/xls/PivotDataField.py +118 -0
  423. spire/xls/PivotDataFields.py +104 -0
  424. spire/xls/PivotDataType.py +21 -0
  425. spire/xls/PivotField.py +12 -0
  426. spire/xls/PivotFieldFormatType.py +28 -0
  427. spire/xls/PivotFieldSortType.py +16 -0
  428. spire/xls/PivotGroupByTypes.py +23 -0
  429. spire/xls/PivotItem.py +161 -0
  430. spire/xls/PivotItemType.py +28 -0
  431. spire/xls/PivotLabelFilterType.py +27 -0
  432. spire/xls/PivotPageAreaFieldsOrderType.py +15 -0
  433. spire/xls/PivotReportFilter.py +92 -0
  434. spire/xls/PivotReportFilters.py +63 -0
  435. spire/xls/PivotStyle.py +79 -0
  436. spire/xls/PivotTable.py +12 -0
  437. spire/xls/PivotTableElement.py +38 -0
  438. spire/xls/PivotTableFields.py +85 -0
  439. spire/xls/PivotTableLayoutType.py +16 -0
  440. spire/xls/PivotTableStyle.py +63 -0
  441. spire/xls/PivotTablesCollection.py +12 -0
  442. spire/xls/PivotValueFilterType.py +21 -0
  443. spire/xls/PresetTextEffect.py +43 -0
  444. spire/xls/PrintCommentType.py +18 -0
  445. spire/xls/PrintErrorsType.py +19 -0
  446. spire/xls/PrintingPageType.py +16 -0
  447. spire/xls/PropertyType.py +31 -0
  448. spire/xls/PrstGeomShapeCollection.py +126 -0
  449. spire/xls/PrstGeomShapeType.py +201 -0
  450. spire/xls/QueryTableCollection.py +25 -0
  451. spire/xls/QueryTableXls.py +42 -0
  452. spire/xls/RTFCommentArray.py +112 -0
  453. spire/xls/RTFStringArray.py +112 -0
  454. spire/xls/RadioButtonCollection.py +137 -0
  455. spire/xls/RangeRichTextString.py +42 -0
  456. spire/xls/RangesCollection.py +537 -0
  457. spire/xls/ReadingOrderType.py +18 -0
  458. spire/xls/RectangleCollection.py +71 -0
  459. spire/xls/RectangleShapeType.py +22 -0
  460. spire/xls/RectangleStyleType.py +17 -0
  461. spire/xls/ReferRangeArea.py +88 -0
  462. spire/xls/RelationShip.py +15 -0
  463. spire/xls/RenameStrategy.py +16 -0
  464. spire/xls/ResizeBehaveType.py +18 -0
  465. spire/xls/RichText.py +49 -0
  466. spire/xls/RichTextObject.py +133 -0
  467. spire/xls/RichTextShape.py +168 -0
  468. spire/xls/RichTextString.py +126 -0
  469. spire/xls/RtfTags.py +30 -0
  470. spire/xls/RtfTextWriter.py +629 -0
  471. spire/xls/SaveShapeTypeOption.py +310 -0
  472. spire/xls/ScrollBarCollection.py +71 -0
  473. spire/xls/SelectionType.py +16 -0
  474. spire/xls/ShapeArrowLengthType.py +18 -0
  475. spire/xls/ShapeArrowStyleType.py +21 -0
  476. spire/xls/ShapeArrowWidthType.py +18 -0
  477. spire/xls/ShapeCollectionBase.py +87 -0
  478. spire/xls/ShapeDashLineStyleType.py +23 -0
  479. spire/xls/ShapeFillType.py +22 -0
  480. spire/xls/ShapeGeomPath.py +26 -0
  481. spire/xls/ShapeGlow.py +91 -0
  482. spire/xls/ShapeLayerChangeType.py +19 -0
  483. spire/xls/ShapeLineStyleType.py +20 -0
  484. spire/xls/ShapeReflection.py +131 -0
  485. spire/xls/ShapeSegmentPath.py +26 -0
  486. spire/xls/SheetProtectionType.py +33 -0
  487. spire/xls/SortColumn.py +120 -0
  488. spire/xls/SortColumns.py +185 -0
  489. spire/xls/SortComparsionType.py +19 -0
  490. spire/xls/SortOrientationType.py +17 -0
  491. spire/xls/SortedWayType.py +18 -0
  492. spire/xls/Sparkline.py +70 -0
  493. spire/xls/SparklineCollection.py +112 -0
  494. spire/xls/SparklineEmptyCells.py +16 -0
  495. spire/xls/SparklineGroup.py +523 -0
  496. spire/xls/SparklineGroupCollection.py +71 -0
  497. spire/xls/SparklineType.py +18 -0
  498. spire/xls/SpartlineVerticalAxisType.py +16 -0
  499. spire/xls/SpinnerShapeCollection.py +70 -0
  500. spire/xls/SplitType.py +19 -0
  501. spire/xls/StrikeThroughStyle.py +17 -0
  502. spire/xls/StringUtil.py +12 -0
  503. spire/xls/StyleArrayWrapper.py +621 -0
  504. spire/xls/StyleDefineType.py +15 -0
  505. spire/xls/StylesCollection.py +141 -0
  506. spire/xls/SubtotalTypes.py +26 -0
  507. spire/xls/TRangeValueType.py +19 -0
  508. spire/xls/TableBuiltInStyles.py +75 -0
  509. spire/xls/TextBoxCollection.py +70 -0
  510. spire/xls/TextBoxShapeBase.py +140 -0
  511. spire/xls/TextDirection.py +20 -0
  512. spire/xls/TextDirectionType.py +16 -0
  513. spire/xls/TextRotationType.py +19 -0
  514. spire/xls/TextSaveOptions.py +85 -0
  515. spire/xls/TextVerticalValue.py +19 -0
  516. spire/xls/ThemeColorType.py +27 -0
  517. spire/xls/TickLabelPositionType.py +19 -0
  518. spire/xls/TickMarkType.py +19 -0
  519. spire/xls/TimePeriodType.py +23 -0
  520. spire/xls/Top10Filter.py +75 -0
  521. spire/xls/TopBottom.py +44 -0
  522. spire/xls/TopBottomType.py +19 -0
  523. spire/xls/TopFormatType.py +18 -0
  524. spire/xls/TrendLineType.py +21 -0
  525. spire/xls/UnderlineStyle.py +32 -0
  526. spire/xls/UnknownVariableAction.py +18 -0
  527. spire/xls/UtilityMethods.py +55 -0
  528. spire/xls/VPageBreak.py +34 -0
  529. spire/xls/VPageBreaksCollection.py +96 -0
  530. spire/xls/Validation.py +33 -0
  531. spire/xls/ValidationComparisonOperator.py +23 -0
  532. spire/xls/VariableTypeAction.py +19 -0
  533. spire/xls/VerticalAlignType.py +20 -0
  534. spire/xls/ViewMode.py +18 -0
  535. spire/xls/WebQueryConnection.py +224 -0
  536. spire/xls/Workbook.py +3152 -0
  537. spire/xls/WorkbookObjectsCollection.py +25 -0
  538. spire/xls/Worksheet.py +1319 -0
  539. spire/xls/WorksheetChartsCollection.py +83 -0
  540. spire/xls/WorksheetConditionalFormats.py +12 -0
  541. spire/xls/WorksheetCopyType.py +31 -0
  542. spire/xls/WorksheetVisibility.py +18 -0
  543. spire/xls/WorksheetsCollection.py +341 -0
  544. spire/xls/WriteProtection.py +64 -0
  545. spire/xls/XLSXBorderJoinType.py +19 -0
  546. spire/xls/XLSXChartBevelType.py +26 -0
  547. spire/xls/XLSXChartLightingType.py +40 -0
  548. spire/xls/XLSXChartMaterialType.py +32 -0
  549. spire/xls/XLSXChartPrespectiveType.py +21 -0
  550. spire/xls/XLSXChartShadowInnerType.py +25 -0
  551. spire/xls/XLSXChartShadowOuterType.py +25 -0
  552. spire/xls/XLSXPivotItemType.py +28 -0
  553. spire/xls/XlsAddInFunction.py +78 -0
  554. spire/xls/XlsAddInFunctionsCollection.py +101 -0
  555. spire/xls/XlsArcShape.py +331 -0
  556. spire/xls/XlsAutoFiltersCollection.py +119 -0
  557. spire/xls/XlsBitmapShape.py +297 -0
  558. spire/xls/XlsBorder.py +172 -0
  559. spire/xls/XlsBorderArrayWrapper.py +116 -0
  560. spire/xls/XlsBordersCollection.py +101 -0
  561. spire/xls/XlsBuiltInDocumentProperties.py +639 -0
  562. spire/xls/XlsButtonShape.py +137 -0
  563. spire/xls/XlsChart.py +1510 -0
  564. spire/xls/XlsChartAxis.py +564 -0
  565. spire/xls/XlsChartBorder.py +165 -0
  566. spire/xls/XlsChartCategoryAxis.py +656 -0
  567. spire/xls/XlsChartDataLabelArea.py +387 -0
  568. spire/xls/XlsChartDataLabels.py +811 -0
  569. spire/xls/XlsChartDataPoint.py +108 -0
  570. spire/xls/XlsChartDataPointsCollection.py +120 -0
  571. spire/xls/XlsChartDataTable.py +393 -0
  572. spire/xls/XlsChartDropBar.py +301 -0
  573. spire/xls/XlsChartFill.py +571 -0
  574. spire/xls/XlsChartFormat.py +1069 -0
  575. spire/xls/XlsChartFormatCollection.py +162 -0
  576. spire/xls/XlsChartFrameFormat.py +614 -0
  577. spire/xls/XlsChartGridLine.py +171 -0
  578. spire/xls/XlsChartInterior.py +240 -0
  579. spire/xls/XlsChartLegend.py +355 -0
  580. spire/xls/XlsChartLegendArea.py +419 -0
  581. spire/xls/XlsChartLegendEntry.py +156 -0
  582. spire/xls/XlsChartPageSetup.py +56 -0
  583. spire/xls/XlsChartPlotArea.py +12 -0
  584. spire/xls/XlsChartSerie.py +589 -0
  585. spire/xls/XlsChartSerieDataFormat.py +1008 -0
  586. spire/xls/XlsChartSeries.py +111 -0
  587. spire/xls/XlsChartSeriesAxis.py +212 -0
  588. spire/xls/XlsChartShape.py +1142 -0
  589. spire/xls/XlsChartTitleArea.py +392 -0
  590. spire/xls/XlsChartValueAxis.py +317 -0
  591. spire/xls/XlsChartWallOrFloor.py +319 -0
  592. spire/xls/XlsChartsCollection.py +89 -0
  593. spire/xls/XlsCheckBoxShape.py +156 -0
  594. spire/xls/XlsComboBoxShape.py +128 -0
  595. spire/xls/XlsComment.py +234 -0
  596. spire/xls/XlsCommentsCollection.py +87 -0
  597. spire/xls/XlsConditionValue.py +111 -0
  598. spire/xls/XlsConditionalFormat.py +1119 -0
  599. spire/xls/XlsConditionalFormats.py +590 -0
  600. spire/xls/XlsDataValidationCollection.py +159 -0
  601. spire/xls/XlsDataValidationTable.py +105 -0
  602. spire/xls/XlsDocumentProperty.py +370 -0
  603. spire/xls/XlsEventArgs.py +93 -0
  604. spire/xls/XlsEventHandler.py +52 -0
  605. spire/xls/XlsFill.py +139 -0
  606. spire/xls/XlsFont.py +364 -0
  607. spire/xls/XlsFontStyle.py +12 -0
  608. spire/xls/XlsFontsCollection.py +51 -0
  609. spire/xls/XlsGradient.py +185 -0
  610. spire/xls/XlsGradientStop.py +85 -0
  611. spire/xls/XlsGroupBoxShape.py +88 -0
  612. spire/xls/XlsHPageBreak.py +105 -0
  613. spire/xls/XlsHPageBreaksCollection.py +85 -0
  614. spire/xls/XlsHeaderFooterShapeCollection.py +57 -0
  615. spire/xls/XlsHyperLink.py +229 -0
  616. spire/xls/XlsHyperLinksCollection.py +102 -0
  617. spire/xls/XlsLabelShape.py +73 -0
  618. spire/xls/XlsLineShape.py +367 -0
  619. spire/xls/XlsListBoxShape.py +124 -0
  620. spire/xls/XlsName.py +1871 -0
  621. spire/xls/XlsObject.py +36 -0
  622. spire/xls/XlsOvalShape.py +176 -0
  623. spire/xls/XlsPageSetup.py +220 -0
  624. spire/xls/XlsPageSetupBase.py +1354 -0
  625. spire/xls/XlsPicturesCollection.py +365 -0
  626. spire/xls/XlsPivotCache.py +401 -0
  627. spire/xls/XlsPivotCacheField.py +209 -0
  628. spire/xls/XlsPivotCachesCollection.py +124 -0
  629. spire/xls/XlsPivotField.py +885 -0
  630. spire/xls/XlsPivotTable.py +905 -0
  631. spire/xls/XlsPivotTablesCollection.py +131 -0
  632. spire/xls/XlsPrstGeomShape.py +97 -0
  633. spire/xls/XlsRadioButtonShape.py +188 -0
  634. spire/xls/XlsRange.py +3193 -0
  635. spire/xls/XlsRangesCollection.py +1566 -0
  636. spire/xls/XlsRectangleShape.py +174 -0
  637. spire/xls/XlsScrollBarShape.py +146 -0
  638. spire/xls/XlsShape.py +967 -0
  639. spire/xls/XlsShapeFill.py +627 -0
  640. spire/xls/XlsShapeLineFormat.py +341 -0
  641. spire/xls/XlsSpinnerShape.py +116 -0
  642. spire/xls/XlsStyle.py +106 -0
  643. spire/xls/XlsStylesCollection.py +73 -0
  644. spire/xls/XlsTextBoxShape.py +480 -0
  645. spire/xls/XlsVPageBreak.py +98 -0
  646. spire/xls/XlsVPageBreaksCollection.py +84 -0
  647. spire/xls/XlsValidation.py +520 -0
  648. spire/xls/XlsValidationWrapper.py +397 -0
  649. spire/xls/XlsWorkbook.py +1947 -0
  650. spire/xls/XlsWorkbookObjectsCollection.py +94 -0
  651. spire/xls/XlsWorksheet.py +4352 -0
  652. spire/xls/XlsWorksheetBase.py +1273 -0
  653. spire/xls/XlsWorksheetChartsCollection.py +25 -0
  654. spire/xls/XlsWorksheetConditionalFormats.py +215 -0
  655. spire/xls/XlsWorksheetsCollection.py +416 -0
  656. spire/xls/XmlOpenType.py +14 -0
  657. spire/xls/__init__.py +723 -0
  658. spire/xls/common/Boolean.py +192 -0
  659. spire/xls/common/Byte.py +256 -0
  660. spire/xls/common/Char.py +740 -0
  661. spire/xls/common/Color.py +2187 -0
  662. spire/xls/common/Common.py +150 -0
  663. spire/xls/common/CultureInfo.py +565 -0
  664. spire/xls/common/DateTime.py +1147 -0
  665. spire/xls/common/Double.py +438 -0
  666. spire/xls/common/EmfType.py +23 -0
  667. spire/xls/common/Encoding.py +928 -0
  668. spire/xls/common/FontStyle.py +25 -0
  669. spire/xls/common/GraphicsUnit.py +27 -0
  670. spire/xls/common/ICollection.py +70 -0
  671. spire/xls/common/IDictionary.py +122 -0
  672. spire/xls/common/IEnumerable.py +41 -0
  673. spire/xls/common/IEnumerator.py +60 -0
  674. spire/xls/common/IList.py +145 -0
  675. spire/xls/common/Int16.py +272 -0
  676. spire/xls/common/Int32.py +280 -0
  677. spire/xls/common/Int64.py +256 -0
  678. spire/xls/common/License.py +175 -0
  679. spire/xls/common/PixelFormat.py +43 -0
  680. spire/xls/common/Point.py +298 -0
  681. spire/xls/common/PointF.py +274 -0
  682. spire/xls/common/Rectangle.py +449 -0
  683. spire/xls/common/RectangleF.py +436 -0
  684. spire/xls/common/Regex.py +962 -0
  685. spire/xls/common/RegexOptions.py +29 -0
  686. spire/xls/common/Single.py +416 -0
  687. spire/xls/common/Size.py +271 -0
  688. spire/xls/common/SizeF.py +259 -0
  689. spire/xls/common/SpireObject.py +79 -0
  690. spire/xls/common/Stream.py +550 -0
  691. spire/xls/common/String.py +1878 -0
  692. spire/xls/common/TimeSpan.py +872 -0
  693. spire/xls/common/UInt16.py +272 -0
  694. spire/xls/common/UInt32.py +272 -0
  695. spire/xls/common/UInt64.py +272 -0
  696. spire/xls/common/__init__.py +316 -0
  697. spire/xls/lib/Spire.Xls.Base.dylib +0 -0
  698. spire/xls/lib/__init__.py +0 -0
  699. spire/xls/lib/libSkiaSharp.dylib +0 -0
  700. spire_xls-15.5.0.dist-info/METADATA +197 -0
  701. spire_xls-15.5.0.dist-info/RECORD +703 -0
  702. spire_xls-15.5.0.dist-info/WHEEL +5 -0
  703. spire_xls-15.5.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,885 @@
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 XlsPivotField ( SpireObject, IPivotField, ICloneParent) :
10
+ """
11
+
12
+ """
13
+
14
+ def AddLabelFilter(self ,type:'PivotLabelFilterType',value1:'SpireObject',value2:'SpireObject'):
15
+ """
16
+ <summary>
17
+ Add label filter for pivot field, only for row and column field.
18
+ </summary>
19
+ <param name="type">Filter type.</param>
20
+ <param name="value1">First filter value.</param>
21
+ <param name="value2">Second filter value, only for Between and NotBetween type.</param>
22
+ """
23
+ enumtype:c_int = type.value
24
+ intPtrvalue1:c_void_p = value1.Ptr
25
+ intPtrvalue2:c_void_p = None if value2==None else value2.Ptr
26
+
27
+ GetDllLibXls().XlsPivotField_AddLabelFilter.argtypes=[c_void_p ,c_int,c_void_p,c_void_p]
28
+ CallCFunction(GetDllLibXls().XlsPivotField_AddLabelFilter,self.Ptr, enumtype,intPtrvalue1,intPtrvalue2)
29
+
30
+
31
+ def AddValueFilter(self ,type:'PivotValueFilterType',dataField:'IPivotDataField',value1:'SpireObject',value2:'SpireObject'):
32
+ """
33
+ <summary>
34
+ Add value filter for pivot field, only for row and column field.
35
+ </summary>
36
+ <param name="type">Filter type.</param>
37
+ <param name="dataField">Filter data field.</param>
38
+ <param name="value1">First filter value.</param>
39
+ <param name="value2">Second filter value, only for Between and NotBetween type.</param>
40
+ """
41
+ enumtype:c_int = type.value
42
+ intPtrdataField:c_void_p = dataField.Ptr
43
+ intPtrvalue1:c_void_p = value1.Ptr
44
+ intPtrvalue2:c_void_p = None if value2==None else value2.Ptr
45
+
46
+ GetDllLibXls().XlsPivotField_AddValueFilter.argtypes=[c_void_p ,c_int,c_void_p,c_void_p,c_void_p]
47
+ CallCFunction(GetDllLibXls().XlsPivotField_AddValueFilter,self.Ptr, enumtype,intPtrdataField,intPtrvalue1,intPtrvalue2)
48
+
49
+
50
+
51
+ @dispatch
52
+
53
+ def CreateGroup(self ,start:DateTime,end:DateTime,groupByArray:List[PivotGroupByTypes]):
54
+ """
55
+ <summary>
56
+ Create group for current field.
57
+ </summary>
58
+ <param name="start">The start date time</param>
59
+ <param name="end">The end date time</param>
60
+ <param name="groupByArray">The array of group by types</param>
61
+ """
62
+ intPtrstart:c_void_p = start.Ptr
63
+ intPtrend:c_void_p = end.Ptr
64
+ #arraygroupByArray:ArrayTypegroupByArray = ""
65
+ countgroupByArray = len(groupByArray)
66
+ ArrayTypegroupByArray = c_int * countgroupByArray
67
+ arraygroupByArray = ArrayTypegroupByArray()
68
+ for i in range(0, countgroupByArray):
69
+ arraygroupByArray[i] = groupByArray[i].value
70
+
71
+
72
+ GetDllLibXls().XlsPivotField_CreateGroup.argtypes=[c_void_p ,c_void_p,c_void_p,ArrayTypegroupByArray,c_int]
73
+ CallCFunction(GetDllLibXls().XlsPivotField_CreateGroup,self.Ptr, intPtrstart,intPtrend,arraygroupByArray,countgroupByArray)
74
+
75
+
76
+ @dispatch
77
+
78
+ def CreateGroup(self ,start:DateTime,end:DateTime,groupByArray:List[PivotGroupByTypes],days:int):
79
+ """
80
+ <summary>
81
+ Create group for current field.
82
+ </summary>
83
+ <param name="start">The start date time</param>
84
+ <param name="end">The end date time</param>
85
+ <param name="groupByArray">The array of group by types</param>
86
+ <param name="days">The days</param>
87
+ """
88
+ intPtrstart:c_void_p = start.Ptr
89
+ intPtrend:c_void_p = end.Ptr
90
+ #arraygroupByArray:ArrayTypegroupByArray = ""
91
+ countgroupByArray = len(groupByArray)
92
+ ArrayTypegroupByArray = c_int * countgroupByArray
93
+ arraygroupByArray = ArrayTypegroupByArray()
94
+ for i in range(0, countgroupByArray):
95
+ arraygroupByArray[i] = groupByArray[i].value
96
+
97
+
98
+ GetDllLibXls().XlsPivotField_CreateGroupSEGD.argtypes=[c_void_p ,c_void_p,c_void_p,ArrayTypegroupByArray,c_int,c_int]
99
+ CallCFunction(GetDllLibXls().XlsPivotField_CreateGroupSEGD,self.Ptr, intPtrstart,intPtrend,arraygroupByArray,countgroupByArray,days)
100
+
101
+ @dispatch
102
+
103
+ def CreateGroup(self ,startValue:float,endValue:float,intervalValue:float):
104
+ """
105
+ <summary>
106
+ Create group for current field.
107
+ </summary>
108
+ <param name="startValue">The start number value</param>
109
+ <param name="endValue">The end number value</param>
110
+ <param name="intervalValue">The interval number value</param>
111
+ """
112
+
113
+ GetDllLibXls().XlsPivotField_CreateGroupSEI.argtypes=[c_void_p ,c_double,c_double,c_double]
114
+ CallCFunction(GetDllLibXls().XlsPivotField_CreateGroupSEI,self.Ptr, startValue,endValue,intervalValue)
115
+
116
+ @property
117
+ def CustomName(self)->str:
118
+ """
119
+
120
+ """
121
+ GetDllLibXls().XlsPivotField_get_CustomName.argtypes=[c_void_p]
122
+ GetDllLibXls().XlsPivotField_get_CustomName.restype=c_void_p
123
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_CustomName, self.Ptr))
124
+ return ret
125
+
126
+ @CustomName.setter
127
+ def CustomName(self, value:str):
128
+ GetDllLibXls().XlsPivotField_set_CustomName.argtypes=[c_void_p, c_void_p]
129
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CustomName, self.Ptr, value)
130
+
131
+ @property
132
+
133
+ def Parent(self)->'PivotTableFields':
134
+ """
135
+
136
+ """
137
+ GetDllLibXls().XlsPivotField_get_Parent.argtypes=[c_void_p]
138
+ GetDllLibXls().XlsPivotField_get_Parent.restype=c_void_p
139
+ intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_Parent, self.Ptr)
140
+ ret = None if intPtr==None else PivotTableFields(intPtr)
141
+ return ret
142
+
143
+
144
+ @property
145
+
146
+ def Name(self)->str:
147
+ """
148
+
149
+ """
150
+ GetDllLibXls().XlsPivotField_get_Name.argtypes=[c_void_p]
151
+ GetDllLibXls().XlsPivotField_get_Name.restype=c_void_p
152
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Name, self.Ptr))
153
+ return ret
154
+
155
+
156
+ @property
157
+
158
+ def Axis(self)->'AxisTypes':
159
+ """
160
+
161
+ """
162
+ GetDllLibXls().XlsPivotField_get_Axis.argtypes=[c_void_p]
163
+ GetDllLibXls().XlsPivotField_get_Axis.restype=c_int
164
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Axis, self.Ptr)
165
+ objwraped = AxisTypes(ret)
166
+ return objwraped
167
+
168
+ @Axis.setter
169
+ def Axis(self, value:'AxisTypes'):
170
+ GetDllLibXls().XlsPivotField_set_Axis.argtypes=[c_void_p, c_int]
171
+ CallCFunction(GetDllLibXls().XlsPivotField_set_Axis, self.Ptr, value.value)
172
+
173
+ @property
174
+
175
+ def NumberFormat(self)->str:
176
+ """
177
+
178
+ """
179
+ GetDllLibXls().XlsPivotField_get_NumberFormat.argtypes=[c_void_p]
180
+ GetDllLibXls().XlsPivotField_get_NumberFormat.restype=c_void_p
181
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_NumberFormat, self.Ptr))
182
+ return ret
183
+
184
+
185
+ @NumberFormat.setter
186
+ def NumberFormat(self, value:str):
187
+ GetDllLibXls().XlsPivotField_set_NumberFormat.argtypes=[c_void_p, c_wchar_p]
188
+ CallCFunction(GetDllLibXls().XlsPivotField_set_NumberFormat, self.Ptr, value)
189
+
190
+ @property
191
+
192
+ def Subtotals(self)->'SubtotalTypes':
193
+ """
194
+
195
+ """
196
+ GetDllLibXls().XlsPivotField_get_Subtotals.argtypes=[c_void_p]
197
+ GetDllLibXls().XlsPivotField_get_Subtotals.restype=c_int
198
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Subtotals, self.Ptr)
199
+ objwraped = SubtotalTypes(ret)
200
+ return objwraped
201
+
202
+ @Subtotals.setter
203
+ def Subtotals(self, value:'SubtotalTypes'):
204
+ GetDllLibXls().XlsPivotField_set_Subtotals.argtypes=[c_void_p, c_int]
205
+ CallCFunction(GetDllLibXls().XlsPivotField_set_Subtotals, self.Ptr, value.value)
206
+
207
+ @property
208
+ def CanDragToRow(self)->bool:
209
+ """
210
+
211
+ """
212
+ GetDllLibXls().XlsPivotField_get_CanDragToRow.argtypes=[c_void_p]
213
+ GetDllLibXls().XlsPivotField_get_CanDragToRow.restype=c_bool
214
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToRow, self.Ptr)
215
+ return ret
216
+
217
+ @CanDragToRow.setter
218
+ def CanDragToRow(self, value:bool):
219
+ GetDllLibXls().XlsPivotField_set_CanDragToRow.argtypes=[c_void_p, c_bool]
220
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToRow, self.Ptr, value)
221
+
222
+ @property
223
+ def CanDragToColumn(self)->bool:
224
+ """
225
+
226
+ """
227
+ GetDllLibXls().XlsPivotField_get_CanDragToColumn.argtypes=[c_void_p]
228
+ GetDllLibXls().XlsPivotField_get_CanDragToColumn.restype=c_bool
229
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToColumn, self.Ptr)
230
+ return ret
231
+
232
+ @CanDragToColumn.setter
233
+ def CanDragToColumn(self, value:bool):
234
+ GetDllLibXls().XlsPivotField_set_CanDragToColumn.argtypes=[c_void_p, c_bool]
235
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToColumn, self.Ptr, value)
236
+
237
+ @property
238
+ def CanDragToPage(self)->bool:
239
+ """
240
+
241
+ """
242
+ GetDllLibXls().XlsPivotField_get_CanDragToPage.argtypes=[c_void_p]
243
+ GetDllLibXls().XlsPivotField_get_CanDragToPage.restype=c_bool
244
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToPage, self.Ptr)
245
+ return ret
246
+
247
+ @CanDragToPage.setter
248
+ def CanDragToPage(self, value:bool):
249
+ GetDllLibXls().XlsPivotField_set_CanDragToPage.argtypes=[c_void_p, c_bool]
250
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToPage, self.Ptr, value)
251
+
252
+ @property
253
+ def CanDragOff(self)->bool:
254
+ """
255
+
256
+ """
257
+ GetDllLibXls().XlsPivotField_get_CanDragOff.argtypes=[c_void_p]
258
+ GetDllLibXls().XlsPivotField_get_CanDragOff.restype=c_bool
259
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragOff, self.Ptr)
260
+ return ret
261
+
262
+ @CanDragOff.setter
263
+ def CanDragOff(self, value:bool):
264
+ GetDllLibXls().XlsPivotField_set_CanDragOff.argtypes=[c_void_p, c_bool]
265
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragOff, self.Ptr, value)
266
+
267
+ @property
268
+ def CanDragToData(self)->bool:
269
+ """
270
+
271
+ """
272
+ GetDllLibXls().XlsPivotField_get_CanDragToData.argtypes=[c_void_p]
273
+ GetDllLibXls().XlsPivotField_get_CanDragToData.restype=c_bool
274
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_CanDragToData, self.Ptr)
275
+ return ret
276
+
277
+ @CanDragToData.setter
278
+ def CanDragToData(self, value:bool):
279
+ GetDllLibXls().XlsPivotField_set_CanDragToData.argtypes=[c_void_p, c_bool]
280
+ CallCFunction(GetDllLibXls().XlsPivotField_set_CanDragToData, self.Ptr, value)
281
+
282
+ @property
283
+ def DataField(self)->bool:
284
+ """
285
+
286
+ """
287
+ GetDllLibXls().XlsPivotField_get_DataField.argtypes=[c_void_p]
288
+ GetDllLibXls().XlsPivotField_get_DataField.restype=c_bool
289
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_DataField, self.Ptr)
290
+ return ret
291
+
292
+ @DataField.setter
293
+ def DataField(self, value:bool):
294
+ GetDllLibXls().XlsPivotField_set_DataField.argtypes=[c_void_p, c_bool]
295
+ CallCFunction(GetDllLibXls().XlsPivotField_set_DataField, self.Ptr, value)
296
+
297
+ @property
298
+ def IsDataField(self)->bool:
299
+ """
300
+
301
+ """
302
+ GetDllLibXls().XlsPivotField_get_IsDataField.argtypes=[c_void_p]
303
+ GetDllLibXls().XlsPivotField_get_IsDataField.restype=c_bool
304
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsDataField, self.Ptr)
305
+ return ret
306
+
307
+ @property
308
+ def NumberFormatIndex(self)->int:
309
+ """
310
+
311
+ """
312
+ GetDllLibXls().XlsPivotField_get_NumberFormatIndex.argtypes=[c_void_p]
313
+ GetDllLibXls().XlsPivotField_get_NumberFormatIndex.restype=c_int
314
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_NumberFormatIndex, self.Ptr)
315
+ return ret
316
+
317
+ @NumberFormatIndex.setter
318
+ def NumberFormatIndex(self, value:int):
319
+ GetDllLibXls().XlsPivotField_set_NumberFormatIndex.argtypes=[c_void_p, c_int]
320
+ CallCFunction(GetDllLibXls().XlsPivotField_set_NumberFormatIndex, self.Ptr, value)
321
+
322
+ @property
323
+
324
+ def SubtotalCaption(self)->str:
325
+ """
326
+ <summary>
327
+ Specifies the custom text that is displayed for the subtotals caption.
328
+ </summary>
329
+ """
330
+ GetDllLibXls().XlsPivotField_get_SubtotalCaption.argtypes=[c_void_p]
331
+ GetDllLibXls().XlsPivotField_get_SubtotalCaption.restype=c_void_p
332
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_SubtotalCaption, self.Ptr))
333
+ return ret
334
+
335
+
336
+ @SubtotalCaption.setter
337
+ def SubtotalCaption(self, value:str):
338
+ GetDllLibXls().XlsPivotField_set_SubtotalCaption.argtypes=[c_void_p, c_wchar_p]
339
+ CallCFunction(GetDllLibXls().XlsPivotField_set_SubtotalCaption, self.Ptr, value)
340
+
341
+ @property
342
+ def SubtotalTop(self)->bool:
343
+ """
344
+ <summary>
345
+ Get or set whether show
346
+ </summary>
347
+ """
348
+ GetDllLibXls().XlsPivotField_get_SubtotalTop.argtypes=[c_void_p]
349
+ GetDllLibXls().XlsPivotField_get_SubtotalTop.restype=c_bool
350
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_SubtotalTop, self.Ptr)
351
+ return ret
352
+
353
+ @SubtotalTop.setter
354
+ def SubtotalTop(self, value:bool):
355
+ GetDllLibXls().XlsPivotField_set_SubtotalTop.argtypes=[c_void_p, c_bool]
356
+ CallCFunction(GetDllLibXls().XlsPivotField_set_SubtotalTop, self.Ptr, value)
357
+
358
+ @property
359
+ def IsAutoShow(self)->bool:
360
+ """
361
+ <summary>
362
+ Autoshow is enabled.
363
+ </summary>
364
+ """
365
+ GetDllLibXls().XlsPivotField_get_IsAutoShow.argtypes=[c_void_p]
366
+ GetDllLibXls().XlsPivotField_get_IsAutoShow.restype=c_bool
367
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsAutoShow, self.Ptr)
368
+ return ret
369
+
370
+ @IsAutoShow.setter
371
+ def IsAutoShow(self, value:bool):
372
+ GetDllLibXls().XlsPivotField_set_IsAutoShow.argtypes=[c_void_p, c_bool]
373
+ CallCFunction(GetDllLibXls().XlsPivotField_set_IsAutoShow, self.Ptr, value)
374
+
375
+ @property
376
+ def IsDragToHide(self)->bool:
377
+ """
378
+ <summary>
379
+ User can remove field from fiew.
380
+ </summary>
381
+ """
382
+ GetDllLibXls().XlsPivotField_get_IsDragToHide.argtypes=[c_void_p]
383
+ GetDllLibXls().XlsPivotField_get_IsDragToHide.restype=c_bool
384
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsDragToHide, self.Ptr)
385
+ return ret
386
+
387
+ @IsDragToHide.setter
388
+ def IsDragToHide(self, value:bool):
389
+ GetDllLibXls().XlsPivotField_set_IsDragToHide.argtypes=[c_void_p, c_bool]
390
+ CallCFunction(GetDllLibXls().XlsPivotField_set_IsDragToHide, self.Ptr, value)
391
+
392
+ @property
393
+ def ShowNewItemsInFilter(self)->bool:
394
+ """
395
+ <summary>
396
+ Specifies a boolean value that indicates whether manual filter is in inclusive mode.
397
+ </summary>
398
+ """
399
+ GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter.argtypes=[c_void_p]
400
+ GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter.restype=c_bool
401
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowNewItemsInFilter, self.Ptr)
402
+ return ret
403
+
404
+ @ShowNewItemsInFilter.setter
405
+ def ShowNewItemsInFilter(self, value:bool):
406
+ GetDllLibXls().XlsPivotField_set_ShowNewItemsInFilter.argtypes=[c_void_p, c_bool]
407
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowNewItemsInFilter, self.Ptr, value)
408
+
409
+ @property
410
+ def ShowNewItemsOnRefresh(self)->bool:
411
+ """
412
+ <summary>
413
+ Specifies a boolean value that indicates whether new items that appear after a refresh
414
+ should be hidden by default.
415
+ </summary>
416
+ """
417
+ GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh.argtypes=[c_void_p]
418
+ GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh.restype=c_bool
419
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowNewItemsOnRefresh, self.Ptr)
420
+ return ret
421
+
422
+ @ShowNewItemsOnRefresh.setter
423
+ def ShowNewItemsOnRefresh(self, value:bool):
424
+ GetDllLibXls().XlsPivotField_set_ShowNewItemsOnRefresh.argtypes=[c_void_p, c_bool]
425
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowNewItemsOnRefresh, self.Ptr, value)
426
+
427
+ @property
428
+ def ShowBlankRow(self)->bool:
429
+ """
430
+ <summary>
431
+ True if a blank row is inserted after the specified row field in a PivotTable report.
432
+ </summary>
433
+ """
434
+ GetDllLibXls().XlsPivotField_get_ShowBlankRow.argtypes=[c_void_p]
435
+ GetDllLibXls().XlsPivotField_get_ShowBlankRow.restype=c_bool
436
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowBlankRow, self.Ptr)
437
+ return ret
438
+
439
+ @ShowBlankRow.setter
440
+ def ShowBlankRow(self, value:bool):
441
+ GetDllLibXls().XlsPivotField_set_ShowBlankRow.argtypes=[c_void_p, c_bool]
442
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowBlankRow, self.Ptr, value)
443
+
444
+ @property
445
+ def ShowPageBreak(self)->bool:
446
+ """
447
+ <summary>
448
+ True if a page break is inserted after each field.
449
+ </summary>
450
+ """
451
+ GetDllLibXls().XlsPivotField_get_ShowPageBreak.argtypes=[c_void_p]
452
+ GetDllLibXls().XlsPivotField_get_ShowPageBreak.restype=c_bool
453
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowPageBreak, self.Ptr)
454
+ return ret
455
+
456
+ @ShowPageBreak.setter
457
+ def ShowPageBreak(self, value:bool):
458
+ GetDllLibXls().XlsPivotField_set_ShowPageBreak.argtypes=[c_void_p, c_bool]
459
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowPageBreak, self.Ptr, value)
460
+
461
+ @property
462
+ def ItemsPerPage(self)->int:
463
+ """
464
+ <summary>
465
+ Specifies the number of items showed per page in the PivotTable.
466
+ </summary>
467
+ """
468
+ GetDllLibXls().XlsPivotField_get_ItemsPerPage.argtypes=[c_void_p]
469
+ GetDllLibXls().XlsPivotField_get_ItemsPerPage.restype=c_int
470
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ItemsPerPage, self.Ptr)
471
+ return ret
472
+
473
+ @ItemsPerPage.setter
474
+ def ItemsPerPage(self, value:int):
475
+ GetDllLibXls().XlsPivotField_set_ItemsPerPage.argtypes=[c_void_p, c_int]
476
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ItemsPerPage, self.Ptr, value)
477
+
478
+ @property
479
+ def IsMultiSelected(self)->bool:
480
+ """
481
+ <summary>
482
+ Specifies a boolean value that indicates whether the field can have multiple items
483
+ selected in the page field.
484
+ </summary>
485
+ """
486
+ GetDllLibXls().XlsPivotField_get_IsMultiSelected.argtypes=[c_void_p]
487
+ GetDllLibXls().XlsPivotField_get_IsMultiSelected.restype=c_bool
488
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsMultiSelected, self.Ptr)
489
+ return ret
490
+
491
+ @IsMultiSelected.setter
492
+ def IsMultiSelected(self, value:bool):
493
+ GetDllLibXls().XlsPivotField_set_IsMultiSelected.argtypes=[c_void_p, c_bool]
494
+ CallCFunction(GetDllLibXls().XlsPivotField_set_IsMultiSelected, self.Ptr, value)
495
+
496
+ @property
497
+ def IsShowAllItems(self)->bool:
498
+ """
499
+ <summary>
500
+ Show all items for this field.
501
+ </summary>
502
+ """
503
+ GetDllLibXls().XlsPivotField_get_IsShowAllItems.argtypes=[c_void_p]
504
+ GetDllLibXls().XlsPivotField_get_IsShowAllItems.restype=c_bool
505
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsShowAllItems, self.Ptr)
506
+ return ret
507
+
508
+ @IsShowAllItems.setter
509
+ def IsShowAllItems(self, value:bool):
510
+ GetDllLibXls().XlsPivotField_set_IsShowAllItems.argtypes=[c_void_p, c_bool]
511
+ CallCFunction(GetDllLibXls().XlsPivotField_set_IsShowAllItems, self.Ptr, value)
512
+
513
+ @property
514
+ def ShowOutline(self)->bool:
515
+ """
516
+ <summary>
517
+ Specifies a boolean value that indicates whether the items in this field should be shown
518
+ in Outline form.
519
+ If the parameter is true, the field layout is "Show item labels in outline form".
520
+ If the parameter is false, the field layout is "Show item labels in tabular form".
521
+ </summary>
522
+ """
523
+ GetDllLibXls().XlsPivotField_get_ShowOutline.argtypes=[c_void_p]
524
+ GetDllLibXls().XlsPivotField_get_ShowOutline.restype=c_bool
525
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowOutline, self.Ptr)
526
+ return ret
527
+
528
+ @ShowOutline.setter
529
+ def ShowOutline(self, value:bool):
530
+ GetDllLibXls().XlsPivotField_set_ShowOutline.argtypes=[c_void_p, c_bool]
531
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowOutline, self.Ptr, value)
532
+
533
+ @property
534
+ def ShowDropDown(self)->bool:
535
+ """
536
+ <summary>
537
+ True if the flag for the specified PivotTable field or PivotTable item is set to "drilled" (expanded, or visible).
538
+ </summary>
539
+ """
540
+ GetDllLibXls().XlsPivotField_get_ShowDropDown.argtypes=[c_void_p]
541
+ GetDllLibXls().XlsPivotField_get_ShowDropDown.restype=c_bool
542
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowDropDown, self.Ptr)
543
+ return ret
544
+
545
+ @ShowDropDown.setter
546
+ def ShowDropDown(self, value:bool):
547
+ GetDllLibXls().XlsPivotField_set_ShowDropDown.argtypes=[c_void_p, c_bool]
548
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowDropDown, self.Ptr, value)
549
+
550
+ @property
551
+ def ShowPropAsCaption(self)->bool:
552
+ """
553
+ <summary>
554
+ Specifies a boolean value that indicates whether to show the property as a member
555
+ caption.
556
+ </summary>
557
+ """
558
+ GetDllLibXls().XlsPivotField_get_ShowPropAsCaption.argtypes=[c_void_p]
559
+ GetDllLibXls().XlsPivotField_get_ShowPropAsCaption.restype=c_bool
560
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowPropAsCaption, self.Ptr)
561
+ return ret
562
+
563
+ @ShowPropAsCaption.setter
564
+ def ShowPropAsCaption(self, value:bool):
565
+ GetDllLibXls().XlsPivotField_set_ShowPropAsCaption.argtypes=[c_void_p, c_bool]
566
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowPropAsCaption, self.Ptr, value)
567
+
568
+ @property
569
+ def ShowToolTip(self)->bool:
570
+ """
571
+ <summary>
572
+ Specifies a boolean value that indicates whether to show the member property value in a
573
+ tooltip on the appropriate PivotTable cells.
574
+ </summary>
575
+ """
576
+ GetDllLibXls().XlsPivotField_get_ShowToolTip.argtypes=[c_void_p]
577
+ GetDllLibXls().XlsPivotField_get_ShowToolTip.restype=c_bool
578
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowToolTip, self.Ptr)
579
+ return ret
580
+
581
+ @ShowToolTip.setter
582
+ def ShowToolTip(self, value:bool):
583
+ GetDllLibXls().XlsPivotField_set_ShowToolTip.argtypes=[c_void_p, c_bool]
584
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowToolTip, self.Ptr, value)
585
+
586
+ @property
587
+
588
+ def SortType(self)->PivotFieldSortType:
589
+ """
590
+ <summary>
591
+ Specifies the type of sort that is applied to this field.
592
+ </summary>
593
+ """
594
+ GetDllLibXls().XlsPivotField_get_SortType.argtypes=[c_void_p]
595
+ GetDllLibXls().XlsPivotField_get_SortType.restype=c_int
596
+ intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_SortType, self.Ptr)
597
+ ret = None if intPtr==None else PivotFieldSortType(intPtr)
598
+ return ret
599
+
600
+
601
+
602
+ @SortType.setter
603
+ def SortType(self, value:PivotFieldSortType):
604
+ GetDllLibXls().XlsPivotField_set_SortType.argtypes=[c_void_p, c_int]
605
+ CallCFunction(GetDllLibXls().XlsPivotField_set_SortType, self.Ptr, value.value)
606
+
607
+
608
+ @property
609
+
610
+ def Caption(self)->str:
611
+ """
612
+ <summary>
613
+ Specifies the unique name of the member property to be used as a caption for the field
614
+ and field items.
615
+ </summary>
616
+ """
617
+ GetDllLibXls().XlsPivotField_get_Caption.argtypes=[c_void_p]
618
+ GetDllLibXls().XlsPivotField_get_Caption.restype=c_void_p
619
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Caption, self.Ptr))
620
+ return ret
621
+
622
+
623
+ @Caption.setter
624
+ def Caption(self, value:str):
625
+ GetDllLibXls().XlsPivotField_set_Caption.argtypes=[c_void_p, c_wchar_p]
626
+ CallCFunction(GetDllLibXls().XlsPivotField_set_Caption, self.Ptr, value)
627
+
628
+ @property
629
+ def Compact(self)->bool:
630
+ """
631
+ <summary>
632
+ Specifies a boolean value that indicates whether the application will display fields
633
+ compactly in the sheet on which this PivotTable resides
634
+ </summary>
635
+ """
636
+ GetDllLibXls().XlsPivotField_get_Compact.argtypes=[c_void_p]
637
+ GetDllLibXls().XlsPivotField_get_Compact.restype=c_bool
638
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_Compact, self.Ptr)
639
+ return ret
640
+
641
+ @Compact.setter
642
+ def Compact(self, value:bool):
643
+ GetDllLibXls().XlsPivotField_set_Compact.argtypes=[c_void_p, c_bool]
644
+ CallCFunction(GetDllLibXls().XlsPivotField_set_Compact, self.Ptr, value)
645
+
646
+ @property
647
+
648
+ def Formula(self)->str:
649
+ """
650
+ <summary>
651
+ Specifies the formula for the calculated field
652
+ </summary>
653
+ """
654
+ GetDllLibXls().XlsPivotField_get_Formula.argtypes=[c_void_p]
655
+ GetDllLibXls().XlsPivotField_get_Formula.restype=c_void_p
656
+ ret = PtrToStr(CallCFunction(GetDllLibXls().XlsPivotField_get_Formula, self.Ptr))
657
+ return ret
658
+
659
+
660
+ @Formula.setter
661
+ def Formula(self, value:str):
662
+ GetDllLibXls().XlsPivotField_set_Formula.argtypes=[c_void_p, c_wchar_p]
663
+ CallCFunction(GetDllLibXls().XlsPivotField_set_Formula, self.Ptr, value)
664
+
665
+ @property
666
+ def IsFormulaField(self)->bool:
667
+ """
668
+ <summary>
669
+ Indicates whether this field is formula field
670
+ </summary>
671
+ """
672
+ GetDllLibXls().XlsPivotField_get_IsFormulaField.argtypes=[c_void_p]
673
+ GetDllLibXls().XlsPivotField_get_IsFormulaField.restype=c_bool
674
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_IsFormulaField, self.Ptr)
675
+ return ret
676
+
677
+ @property
678
+ def RepeatItemLabels(self)->bool:
679
+ """
680
+ <summary>
681
+ True if the field repeat item labels.
682
+ </summary>
683
+ """
684
+ GetDllLibXls().XlsPivotField_get_RepeatItemLabels.argtypes=[c_void_p]
685
+ GetDllLibXls().XlsPivotField_get_RepeatItemLabels.restype=c_bool
686
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_RepeatItemLabels, self.Ptr)
687
+ return ret
688
+
689
+ @RepeatItemLabels.setter
690
+ def RepeatItemLabels(self, value:bool):
691
+ GetDllLibXls().XlsPivotField_set_RepeatItemLabels.argtypes=[c_void_p, c_bool]
692
+ CallCFunction(GetDllLibXls().XlsPivotField_set_RepeatItemLabels, self.Ptr, value)
693
+
694
+ @property
695
+
696
+ def AutoSort(self)->'AutoSortScope':
697
+ """
698
+ <summary>
699
+ Preserves the sorting elements of the field
700
+ </summary>
701
+ """
702
+ GetDllLibXls().XlsPivotField_get_AutoSort.argtypes=[c_void_p]
703
+ GetDllLibXls().XlsPivotField_get_AutoSort.restype=c_void_p
704
+ intPtr = CallCFunction(GetDllLibXls().XlsPivotField_get_AutoSort, self.Ptr)
705
+ ret = None if intPtr==None else AutoSortScope(intPtr)
706
+ return ret
707
+
708
+
709
+ @AutoSort.setter
710
+ def AutoSort(self, value:'AutoSortScope'):
711
+ GetDllLibXls().XlsPivotField_set_AutoSort.argtypes=[c_void_p, c_void_p]
712
+ CallCFunction(GetDllLibXls().XlsPivotField_set_AutoSort, self.Ptr, value.Ptr)
713
+
714
+ @property
715
+
716
+ def ShowDataAs(self)->'PivotFieldFormatType':
717
+ """
718
+
719
+ """
720
+ GetDllLibXls().XlsPivotField_get_ShowDataAs.argtypes=[c_void_p]
721
+ GetDllLibXls().XlsPivotField_get_ShowDataAs.restype=c_int
722
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_get_ShowDataAs, self.Ptr)
723
+ objwraped = PivotFieldFormatType(ret)
724
+ return objwraped
725
+
726
+ @ShowDataAs.setter
727
+ def ShowDataAs(self, value:'PivotFieldFormatType'):
728
+ GetDllLibXls().XlsPivotField_set_ShowDataAs.argtypes=[c_void_p, c_int]
729
+ CallCFunction(GetDllLibXls().XlsPivotField_set_ShowDataAs, self.Ptr, value.value)
730
+
731
+
732
+ def AddItemOption(self ,index:int):
733
+ """
734
+ <summary>
735
+ Represents the index of item and itemoptions key pairs
736
+ </summary>
737
+ """
738
+
739
+ GetDllLibXls().XlsPivotField_AddItemOption.argtypes=[c_void_p ,c_int]
740
+ CallCFunction(GetDllLibXls().XlsPivotField_AddItemOption, self.Ptr, index)
741
+
742
+
743
+ def IsHiddenItemDetail(self ,index:int)->bool:
744
+ """
745
+ <summary>
746
+ Indicates whether the specific PivotItem is hidden detail.
747
+ Must call after pivottable CalculateData function.
748
+ </summary>
749
+ <param name="index">the index of the pivotItem in the pivotField.</param>
750
+ <returns>whether the specific PivotItem is hidden detail</returns>
751
+ """
752
+
753
+ GetDllLibXls().XlsPivotField_IsHiddenItemDetail.argtypes=[c_void_p ,c_int]
754
+ GetDllLibXls().XlsPivotField_IsHiddenItemDetail.restype=c_bool
755
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_IsHiddenItemDetail, self.Ptr, index)
756
+ return ret
757
+
758
+ @dispatch
759
+
760
+ def HideItemDetail(self ,index:int,isHiddenDetail:bool):
761
+ """
762
+ <summary>
763
+ Sets whether the specific PivotItem in a pivot field is hidden detail.
764
+ Must call after pivottable CalculateData function.
765
+ </summary>
766
+ <param name="index">the index of the pivotItem in the pivotField.</param>
767
+ <param name="isHiddenDetail">whether the specific PivotItem is hidden</param>
768
+ """
769
+
770
+ GetDllLibXls().XlsPivotField_HideItemDetail.argtypes=[c_void_p ,c_int,c_bool]
771
+ CallCFunction(GetDllLibXls().XlsPivotField_HideItemDetail, self.Ptr, index,isHiddenDetail)
772
+
773
+ @dispatch
774
+
775
+ def HideItemDetail(self ,itemValue:str,isHiddenDetail:bool):
776
+ """
777
+ <summary>
778
+ Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
779
+ Must call after pivottable CalculateData function.
780
+ </summary>
781
+ <param name="itemValue">the value of the pivotItem in the pivotField.</param>
782
+ <param name="isHiddenDetail">whether the specific PivotItem is hidden</param>
783
+ """
784
+
785
+ GetDllLibXls().XlsPivotField_HideItemDetailII.argtypes=[c_void_p ,c_void_p,c_bool]
786
+ CallCFunction(GetDllLibXls().XlsPivotField_HideItemDetailII, self.Ptr, itemValue,isHiddenDetail)
787
+
788
+
789
+ def HideDetail(self ,isHiddenDetail:bool):
790
+ """
791
+ <summary>
792
+ Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field.
793
+ Must call after pivottable CalculateData function.
794
+ </summary>
795
+ <param name="isHiddenDetail">whether DetailItems is hidden</param>
796
+ """
797
+
798
+ GetDllLibXls().XlsPivotField_HideDetail.argtypes=[c_void_p ,c_bool]
799
+ CallCFunction(GetDllLibXls().XlsPivotField_HideDetail, self.Ptr, isHiddenDetail)
800
+
801
+
802
+ def IsHiddenItem(self ,index:int)->bool:
803
+ """
804
+ <summary>
805
+ Indicates whether the specific PivotItem is hidden.
806
+ Must call after pivottable CalculateData function.
807
+ </summary>
808
+ <param name="index">the index of the pivotItem in the pivotField.</param>
809
+ <returns>whether the specific PivotItem is hidden</returns>
810
+ """
811
+
812
+ GetDllLibXls().XlsPivotField_IsHiddenItem.argtypes=[c_void_p ,c_int]
813
+ GetDllLibXls().XlsPivotField_IsHiddenItem.restype=c_bool
814
+ ret = CallCFunction(GetDllLibXls().XlsPivotField_IsHiddenItem, self.Ptr, index)
815
+ return ret
816
+
817
+ @dispatch
818
+
819
+ def HideItem(self ,index:int,isHidden:bool):
820
+ """
821
+ <summary>
822
+ Sets whether the specific PivotItem in a data field is hidden.
823
+ Must call after pivottable CalculateData function.
824
+ </summary>
825
+ <param name="index">the index of the pivotItem in the pivotField.</param>
826
+ <param name="isHidden">whether the specific PivotItem is hidden</param>
827
+ """
828
+
829
+ GetDllLibXls().XlsPivotField_HideItem.argtypes=[c_void_p ,c_int,c_bool]
830
+ CallCFunction(GetDllLibXls().XlsPivotField_HideItem, self.Ptr, index,isHidden)
831
+
832
+
833
+ def HideAllItem(self ,isHidden:bool):
834
+ """
835
+ <summary>
836
+ Sets whether the all PivotItem in a data field is hidden.
837
+ Must call after pivottable CalculateData function.
838
+ </summary>
839
+ <param name="isHidden">whether the specific PivotItem is hidden</param>
840
+ """
841
+
842
+ GetDllLibXls().XlsPivotField_HideAllItem.argtypes=[c_void_p ,c_bool]
843
+ CallCFunction(GetDllLibXls().XlsPivotField_HideAllItem, self.Ptr, isHidden)
844
+
845
+ @dispatch
846
+
847
+ def HideItem(self ,itemValue:str,isHidden:bool):
848
+ """
849
+ <summary>
850
+ Sets whether the specific PivotItem in a data field is hidden.
851
+ Must call after pivottable CalculateData function.
852
+ </summary>
853
+ <param name="itemValue">the value of the pivotItem in the pivotField.</param>
854
+ <param name="isHidden">whether the specific PivotItem is hidden</param>
855
+ """
856
+
857
+ GetDllLibXls().XlsPivotField_HideItemII.argtypes=[c_void_p ,c_void_p,c_bool]
858
+ CallCFunction(GetDllLibXls().XlsPivotField_HideItemII, self.Ptr, itemValue,isHidden)
859
+
860
+
861
+ def Sort(self ,isAscendSort:bool,sortByField:'PivotDataField'):
862
+ """
863
+ <summary>
864
+ Sort row fildes or col fields by data field.
865
+ </summary>
866
+ """
867
+ intPtrsortByField:c_void_p = sortByField.Ptr
868
+
869
+ GetDllLibXls().XlsPivotField_Sort.argtypes=[c_void_p ,c_bool,c_void_p]
870
+ CallCFunction(GetDllLibXls().XlsPivotField_Sort, self.Ptr, isAscendSort,intPtrsortByField)
871
+
872
+
873
+ def Clone(self ,parent:'SpireObject')->'SpireObject':
874
+ """
875
+
876
+ """
877
+ intPtrparent:c_void_p = parent.Ptr
878
+
879
+ GetDllLibXls().XlsPivotField_Clone.argtypes=[c_void_p ,c_void_p]
880
+ GetDllLibXls().XlsPivotField_Clone.restype=c_void_p
881
+ intPtr = CallCFunction(GetDllLibXls().XlsPivotField_Clone, self.Ptr, intPtrparent)
882
+ ret = None if intPtr==None else SpireObject(intPtr)
883
+ return ret
884
+
885
+