spire-presentation 10.6.4__py3-none-win_amd64.whl → 10.8.1__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. spire/presentation/ActiveSlide.py +52 -44
  2. spire/presentation/AppException.py +3 -3
  3. spire/presentation/AudioCD.py +7 -12
  4. spire/presentation/AudioPlayMode.py +7 -3
  5. spire/presentation/AudioVolumeType.py +8 -3
  6. spire/presentation/BaseShapeLocking.py +7 -6
  7. spire/presentation/Camera.py +44 -21
  8. spire/presentation/ClickHyperlink.py +127 -91
  9. spire/presentation/Comment.py +75 -36
  10. spire/presentation/ConnectorLocking.py +3 -3
  11. spire/presentation/DefaultTextRangeProperties.py +58 -99
  12. spire/presentation/Direction.py +5 -3
  13. spire/presentation/Field.py +18 -8
  14. spire/presentation/FieldType.py +45 -47
  15. spire/presentation/FileFormat.py +23 -3
  16. spire/presentation/FontAlignmentType.py +9 -3
  17. spire/presentation/FontCollectionIndex.py +6 -3
  18. spire/presentation/FontScheme.py +12 -13
  19. spire/presentation/FormatAndVersion.py +32 -3
  20. spire/presentation/GroupShape.py +11 -13
  21. spire/presentation/GroupShapeLocking.py +6 -17
  22. spire/presentation/HyperlinkActionType.py +19 -3
  23. spire/presentation/IActivePresentation.py +5 -3
  24. spire/presentation/IActiveSlide.py +4 -4
  25. spire/presentation/IAudio.py +51 -116
  26. spire/presentation/IAudioData.py +11 -33
  27. spire/presentation/IAutoShape.py +186 -124
  28. spire/presentation/ICommentAuthor.py +20 -8
  29. spire/presentation/IDigitalSignature.py +13 -34
  30. spire/presentation/IDigitalSignatures.py +2 -3
  31. spire/presentation/IDocumentProperty.py +41 -86
  32. spire/presentation/IEmbedImage.py +167 -114
  33. spire/presentation/ILayout.py +40 -17
  34. spire/presentation/IMasterSlide.py +67 -58
  35. spire/presentation/INoteMasterSlide.py +25 -41
  36. spire/presentation/IOleObject.py +216 -141
  37. spire/presentation/IShape.py +185 -146
  38. spire/presentation/ISlide.py +212 -153
  39. spire/presentation/ITextFrameProperties.py +203 -96
  40. spire/presentation/IVideo.py +280 -153
  41. spire/presentation/ImportDataFormat.py +6 -3
  42. spire/presentation/KnownColors.py +2 -3
  43. spire/presentation/LightRig.py +40 -23
  44. spire/presentation/LightingDirectionType.py +3 -3
  45. spire/presentation/LineCapStyle.py +7 -3
  46. spire/presentation/LineDashStyleType.py +16 -3
  47. spire/presentation/LineEndLength.py +7 -3
  48. spire/presentation/LineEndType.py +10 -3
  49. spire/presentation/LineEndWidth.py +7 -3
  50. spire/presentation/LineFillFormat.py +38 -19
  51. spire/presentation/LineJoinType.py +7 -3
  52. spire/presentation/LinearGradientFill.py +22 -8
  53. spire/presentation/LocaleFonts.py +40 -16
  54. spire/presentation/MasterTheme.py +24 -23
  55. spire/presentation/MetaCharacterType.py +9 -3
  56. spire/presentation/NotesSlide.py +16 -14
  57. spire/presentation/NumberedBulletStyle.py +2 -3
  58. spire/presentation/OleObject.py +39 -27
  59. spire/presentation/Order.py +2 -3
  60. spire/presentation/PageSlideCount.py +2 -3
  61. spire/presentation/ParagraphProperties.py +210 -110
  62. spire/presentation/PictureShape.py +41 -20
  63. spire/presentation/Placeholder.py +34 -20
  64. spire/presentation/PlaceholderSize.py +7 -3
  65. spire/presentation/PlaceholderType.py +20 -3
  66. spire/presentation/PptObject.py +10 -7
  67. spire/presentation/Presentation.py +310 -209
  68. spire/presentation/PresetCameraType.py +1 -3
  69. spire/presentation/PresetLightRigType.py +21 -3
  70. spire/presentation/PresetMaterialType.py +19 -3
  71. spire/presentation/PresetShadowValue.py +4 -3
  72. spire/presentation/RectangleAlignment.py +3 -3
  73. spire/presentation/RelativeRectangle.py +56 -11
  74. spire/presentation/Section.py +50 -36
  75. spire/presentation/SectionList.py +69 -59
  76. spire/presentation/Shape.py +152 -137
  77. spire/presentation/ShapeAdjust.py +17 -10
  78. spire/presentation/ShapeAlignment.py +14 -3
  79. spire/presentation/ShapeArrange.py +10 -3
  80. spire/presentation/ShapeBevelStyle.py +34 -12
  81. spire/presentation/ShapeCollection.py +16 -11
  82. spire/presentation/ShapeElementFillSource.py +10 -3
  83. spire/presentation/ShapeElementStrokeSource.py +6 -3
  84. spire/presentation/ShapeLocking.py +18 -6
  85. spire/presentation/ShapeNode.py +21 -0
  86. spire/presentation/ShapeStyle.py +58 -39
  87. spire/presentation/ShapeThreeD.py +58 -36
  88. spire/presentation/ShapeType.py +1 -3
  89. spire/presentation/SimpleShapeBaseLocking.py +72 -31
  90. spire/presentation/SlideBackground.py +31 -36
  91. spire/presentation/SlideColorScheme.py +15 -10
  92. spire/presentation/SlideLayoutType.py +39 -3
  93. spire/presentation/SlideList.py +110 -55
  94. spire/presentation/SlideOrienation.py +5 -3
  95. spire/presentation/SlidePicture.py +22 -19
  96. spire/presentation/SlidePictureLocking.py +14 -6
  97. spire/presentation/SlideShowType.py +6 -1
  98. spire/presentation/SlideSize.py +43 -18
  99. spire/presentation/SlideSizeType.py +20 -3
  100. spire/presentation/SystemColorType.py +3 -3
  101. spire/presentation/TabAlignmentType.py +3 -3
  102. spire/presentation/TabData.py +18 -18
  103. spire/presentation/TabStop.py +33 -16
  104. spire/presentation/TextAlignmentType.py +9 -3
  105. spire/presentation/TextAnchorType.py +11 -3
  106. spire/presentation/TextAutofitType.py +7 -3
  107. spire/presentation/TextBulletType.py +8 -3
  108. spire/presentation/TextCapType.py +7 -3
  109. spire/presentation/TextCharacterProperties.py +145 -130
  110. spire/presentation/TextFont.py +35 -21
  111. spire/presentation/TextHighLightingOptions.py +37 -6
  112. spire/presentation/TextHorizontalOverflowType.py +6 -3
  113. spire/presentation/TextLineFormat.py +75 -90
  114. spire/presentation/TextLineStyle.py +9 -3
  115. spire/presentation/TextParagraph.py +53 -24
  116. spire/presentation/TextParagraphProperties.py +124 -103
  117. spire/presentation/TextRange.py +40 -12
  118. spire/presentation/TextShapeType.py +46 -3
  119. spire/presentation/TextStrikethroughType.py +7 -3
  120. spire/presentation/TextStyle.py +29 -19
  121. spire/presentation/TextUnderlineType.py +22 -3
  122. spire/presentation/TextVerticalOverflowType.py +7 -3
  123. spire/presentation/Theme.py +31 -23
  124. spire/presentation/TileFlipMode.py +8 -3
  125. spire/presentation/TriState.py +2 -3
  126. spire/presentation/VerticalTextType.py +11 -3
  127. spire/presentation/VideoData.py +17 -18
  128. spire/presentation/VideoPlayMode.py +7 -3
  129. spire/presentation/_Presentation.py +40 -9
  130. spire/presentation/__init__.py +253 -358
  131. spire/presentation/animation/AnimateType.py +24 -0
  132. spire/presentation/{AnimationCalculationMode.py → animation/AnimationCalculationMode.py} +7 -3
  133. spire/presentation/{AnimationColorBehavior.py → animation/AnimationColorBehavior.py} +52 -23
  134. spire/presentation/{AnimationColorDirection.py → animation/AnimationColorDirection.py} +6 -3
  135. spire/presentation/{AnimationColorTransform.py → animation/AnimationColorTransform.py} +33 -15
  136. spire/presentation/{AnimationColorspace.py → animation/AnimationColorspace.py} +6 -3
  137. spire/presentation/{AnimationCommandBehavior.py → animation/AnimationCommandBehavior.py} +26 -15
  138. spire/presentation/{AnimationCommandType.py → animation/AnimationCommandType.py} +7 -3
  139. spire/presentation/{AnimationEffect.py → animation/AnimationEffect.py} +115 -53
  140. spire/presentation/{AnimationEffectCollection.py → animation/AnimationEffectCollection.py} +64 -38
  141. spire/presentation/animation/AnimationEffectSubtype.py +164 -0
  142. spire/presentation/animation/AnimationEffectType.py +466 -0
  143. spire/presentation/{AnimationFilterEffect.py → animation/AnimationFilterEffect.py} +33 -15
  144. spire/presentation/{AnimationMotion.py → animation/AnimationMotion.py} +38 -10
  145. spire/presentation/{AnimationMotionOrigin.py → animation/AnimationMotionOrigin.py} +6 -3
  146. spire/presentation/{AnimationMotionPathEditMode.py → animation/AnimationMotionPathEditMode.py} +6 -3
  147. spire/presentation/{AnimationProperty.py → animation/AnimationProperty.py} +63 -28
  148. spire/presentation/{AnimationRepeatType.py → animation/AnimationRepeatType.py} +6 -3
  149. spire/presentation/{AnimationRestartType.py → animation/AnimationRestartType.py} +7 -3
  150. spire/presentation/{AnimationRotation.py → animation/AnimationRotation.py} +7 -15
  151. spire/presentation/{AnimationScale.py → animation/AnimationScale.py} +43 -18
  152. spire/presentation/{AnimationSet.py → animation/AnimationSet.py} +7 -7
  153. spire/presentation/{AnimationTriggerType.py → animation/AnimationTriggerType.py} +8 -3
  154. spire/presentation/{BehaviorAccumulateType.py → animation/BehaviorAccumulateType.py} +6 -3
  155. spire/presentation/animation/BehaviorAdditiveType.py +27 -0
  156. spire/presentation/{CommonBehavior.py → animation/CommonBehavior.py} +41 -18
  157. spire/presentation/{CommonBehaviorCollection.py → animation/CommonBehaviorCollection.py} +76 -47
  158. spire/presentation/animation/FilterEffectSubtype.py +70 -0
  159. spire/presentation/animation/FilterEffectType.py +71 -0
  160. spire/presentation/animation/FilterEffectsType.py +21 -0
  161. spire/presentation/{FilterRevealType.py → animation/FilterRevealType.py} +7 -3
  162. spire/presentation/{GraphicAnimation.py → animation/GraphicAnimation.py} +10 -6
  163. spire/presentation/{GraphicAnimationCollection.py → animation/GraphicAnimationCollection.py} +20 -17
  164. spire/presentation/animation/GraphicBuildType.py +25 -0
  165. spire/presentation/{MotionCmdPath.py → animation/MotionCmdPath.py} +35 -7
  166. spire/presentation/animation/MotionCommandPathType.py +25 -0
  167. spire/presentation/{MotionPath.py → animation/MotionPath.py} +43 -21
  168. spire/presentation/animation/MotionPathPointsType.py +33 -0
  169. spire/presentation/animation/ParagraphBuildType.py +31 -0
  170. spire/presentation/animation/PropertyValueType.py +23 -0
  171. spire/presentation/{SequenceCollection.py → animation/SequenceCollection.py} +32 -30
  172. spire/presentation/{TextAnimation.py → animation/TextAnimation.py} +14 -11
  173. spire/presentation/{TextAnimationCollection.py → animation/TextAnimationCollection.py} +41 -20
  174. spire/presentation/{TimeAnimationValue.py → animation/TimeAnimationValue.py} +14 -14
  175. spire/presentation/{TimeAnimationValueCollection.py → animation/TimeAnimationValueCollection.py} +11 -15
  176. spire/presentation/{TimeLine.py → animation/TimeLine.py} +20 -11
  177. spire/presentation/{TimeNode.py → animation/TimeNode.py} +16 -4
  178. spire/presentation/{TimeNodeAudio.py → animation/TimeNodeAudio.py} +31 -19
  179. spire/presentation/{TimeNodeMedia.py → animation/TimeNodeMedia.py} +9 -3
  180. spire/presentation/animation/TimeNodePresetClassType.py +29 -0
  181. spire/presentation/{TimeNodes.py → animation/TimeNodes.py} +32 -8
  182. spire/presentation/{Timing.py → animation/Timing.py} +67 -47
  183. spire/presentation/animation/__init__.py +0 -0
  184. spire/presentation/{AxisPositionType.py → charts/AxisPositionType.py} +7 -3
  185. spire/presentation/{AxisType.py → charts/AxisType.py} +6 -3
  186. spire/presentation/{CellRange.py → charts/CellRange.py} +54 -51
  187. spire/presentation/{CellRanges.py → charts/CellRanges.py} +43 -27
  188. spire/presentation/{ChartAxis.py → charts/ChartAxis.py} +109 -124
  189. spire/presentation/{ChartBaseUnitType.py → charts/ChartBaseUnitType.py} +2 -3
  190. spire/presentation/{ChartCategory.py → charts/ChartCategory.py} +12 -6
  191. spire/presentation/{ChartCategoryCollection.py → charts/ChartCategoryCollection.py} +65 -44
  192. spire/presentation/{ChartCrossesType.py → charts/ChartCrossesType.py} +6 -3
  193. spire/presentation/{ChartData.py → charts/ChartData.py} +111 -62
  194. spire/presentation/{ChartDataLabel.py → charts/ChartDataLabel.py} +95 -89
  195. spire/presentation/{ChartDataLabelCollection.py → charts/ChartDataLabelCollection.py} +105 -82
  196. spire/presentation/charts/ChartDataLabelPosition.py +35 -0
  197. spire/presentation/{ChartDataPoint.py → charts/ChartDataPoint.py} +62 -48
  198. spire/presentation/{ChartDataPointCollection.py → charts/ChartDataPointCollection.py} +21 -18
  199. spire/presentation/{ChartDataTable.py → charts/ChartDataTable.py} +37 -34
  200. spire/presentation/charts/ChartDisplayUnitType.py +37 -0
  201. spire/presentation/{ChartEffectFormat.py → charts/ChartEffectFormat.py} +13 -14
  202. spire/presentation/{ChartLegend.py → charts/ChartLegend.py} +63 -59
  203. spire/presentation/{ChartLegendPositionType.py → charts/ChartLegendPositionType.py} +9 -3
  204. spire/presentation/charts/ChartMarkerType.py +39 -0
  205. spire/presentation/{ChartPlotArea.py → charts/ChartPlotArea.py} +35 -34
  206. spire/presentation/{ChartRotationThreeD.py → charts/ChartRotationThreeD.py} +4 -18
  207. spire/presentation/{ChartSeriesDataFormat.py → charts/ChartSeriesDataFormat.py} +52 -130
  208. spire/presentation/{ChartSeriesFormatCollection.py → charts/ChartSeriesFormatCollection.py} +69 -43
  209. spire/presentation/{ChartShapeType.py → charts/ChartShapeType.py} +10 -3
  210. spire/presentation/{ChartStyle.py → charts/ChartStyle.py} +1 -3
  211. spire/presentation/{ChartTextArea.py → charts/ChartTextArea.py} +14 -38
  212. spire/presentation/{ChartType.py → charts/ChartType.py} +2 -3
  213. spire/presentation/{ChartWallsOrFloor.py → charts/ChartWallsOrFloor.py} +25 -24
  214. spire/presentation/{CrossBetweenType.py → charts/CrossBetweenType.py} +4 -0
  215. spire/presentation/{DataLabelShapeType.py → charts/DataLabelShapeType.py} +1 -3
  216. spire/presentation/{DisplayBlanksAsType.py → charts/DisplayBlanksAsType.py} +2 -3
  217. spire/presentation/{ErrorBarSimpleType.py → charts/ErrorBarSimpleType.py} +6 -1
  218. spire/presentation/charts/ErrorValueType.py +25 -0
  219. spire/presentation/{HistogramAxisFormat.py → charts/HistogramAxisFormat.py} +3 -7
  220. spire/presentation/{IChart.py → charts/IChart.py} +69 -174
  221. spire/presentation/{IChartAxis.py → charts/IChartAxis.py} +95 -133
  222. spire/presentation/{IChartEffectFormat.py → charts/IChartEffectFormat.py} +9 -21
  223. spire/presentation/{IChartGridLine.py → charts/IChartGridLine.py} +23 -57
  224. spire/presentation/{IErrorBarsFormat.py → charts/IErrorBarsFormat.py} +9 -21
  225. spire/presentation/{ITrendlineLabel.py → charts/ITrendlineLabel.py} +23 -16
  226. spire/presentation/{ITrendlines.py → charts/ITrendlines.py} +107 -49
  227. spire/presentation/{InteriorColorPattern.py → charts/InteriorColorPattern.py} +1 -1
  228. spire/presentation/{LayoutProperty.py → charts/LayoutProperty.py} +26 -25
  229. spire/presentation/{LegendEntry.py → charts/LegendEntry.py} +7 -6
  230. spire/presentation/{LegendEntryCollection.py → charts/LegendEntryCollection.py} +17 -7
  231. spire/presentation/{PictureType.py → charts/PictureType.py} +7 -3
  232. spire/presentation/charts/ProjectionType.py +22 -0
  233. spire/presentation/{QuartileCalculation.py → charts/QuartileCalculation.py} +3 -3
  234. spire/presentation/{TickLabelPositionType.py → charts/TickLabelPositionType.py} +7 -3
  235. spire/presentation/{TickMarkType.py → charts/TickMarkType.py} +7 -3
  236. spire/presentation/{TreeMapLabelOption.py → charts/TreeMapLabelOption.py} +6 -3
  237. spire/presentation/charts/TrendlinesType.py +27 -0
  238. spire/presentation/charts/__init__.py +0 -0
  239. spire/presentation/{CommentAuthorCollection.py → collections/CommentAuthorCollection.py} +13 -10
  240. spire/presentation/{CommentAuthorList.py → collections/CommentAuthorList.py} +49 -18
  241. spire/presentation/{CommentCollection.py → collections/CommentCollection.py} +11 -24
  242. spire/presentation/{CommentList.py → collections/CommentList.py} +60 -73
  243. spire/presentation/{EffectDataCollection.py → collections/EffectDataCollection.py} +22 -23
  244. spire/presentation/{EffectStyleCollection.py → collections/EffectStyleCollection.py} +14 -10
  245. spire/presentation/{EffectStyleList.py → collections/EffectStyleList.py} +15 -17
  246. spire/presentation/{EmbedImageList.py → collections/EmbedImageList.py} +28 -24
  247. spire/presentation/{FillFormatCollection.py → collections/FillFormatCollection.py} +12 -24
  248. spire/presentation/{FillFormatList.py → collections/FillFormatList.py} +2 -3
  249. spire/presentation/{FillListBase.py → collections/FillListBase.py} +25 -16
  250. spire/presentation/{FillStyleCollection.py → collections/FillStyleCollection.py} +18 -11
  251. spire/presentation/{FillStyleList.py → collections/FillStyleList.py} +10 -4
  252. spire/presentation/{GradientStopCollection.py → collections/GradientStopCollection.py} +4 -21
  253. spire/presentation/{GradientStopDataCollection.py → collections/GradientStopDataCollection.py} +7 -31
  254. spire/presentation/{GradientStopList.py → collections/GradientStopList.py} +41 -53
  255. spire/presentation/{IMasterLayouts.py → collections/IMasterLayouts.py} +25 -7
  256. spire/presentation/{ImageCollection.py → collections/ImageCollection.py} +4 -22
  257. spire/presentation/{ImageTransformEffectCollection.py → collections/ImageTransformEffectCollection.py} +4 -22
  258. spire/presentation/{LineStyleCollection.py → collections/LineStyleCollection.py} +18 -25
  259. spire/presentation/{LineStyleList.py → collections/LineStyleList.py} +25 -15
  260. spire/presentation/{MasterSlideCollection.py → collections/MasterSlideCollection.py} +9 -26
  261. spire/presentation/{MasterSlideList.py → collections/MasterSlideList.py} +47 -33
  262. spire/presentation/{OleObjectCollection.py → collections/OleObjectCollection.py} +34 -48
  263. spire/presentation/{OleObjectProperties.py → collections/OleObjectProperties.py} +45 -56
  264. spire/presentation/{ParagraphCollection.py → collections/ParagraphCollection.py} +16 -26
  265. spire/presentation/{ParagraphList.py → collections/ParagraphList.py} +68 -45
  266. spire/presentation/{ShapeAdjustCollection.py → collections/ShapeAdjustCollection.py} +13 -27
  267. spire/presentation/{ShapeAdjustmentList.py → collections/ShapeAdjustmentList.py} +11 -12
  268. spire/presentation/{ShapeList.py → collections/ShapeList.py} +384 -323
  269. spire/presentation/{SlideCollection.py → collections/SlideCollection.py} +9 -10
  270. spire/presentation/{SlideColorSchemeCollection.py → collections/SlideColorSchemeCollection.py} +31 -23
  271. spire/presentation/{TabStopCollection.py → collections/TabStopCollection.py} +10 -10
  272. spire/presentation/{TabStopList.py → collections/TabStopList.py} +37 -33
  273. spire/presentation/{TagCollection.py → collections/TagCollection.py} +12 -25
  274. spire/presentation/{TagList.py → collections/TagList.py} +55 -51
  275. spire/presentation/{TextLineFormatCollection.py → collections/TextLineFormatCollection.py} +10 -24
  276. spire/presentation/{TextLineFormatList.py → collections/TextLineFormatList.py} +17 -13
  277. spire/presentation/{TextRangeCollection.py → collections/TextRangeCollection.py} +17 -26
  278. spire/presentation/{TextRangeList.py → collections/TextRangeList.py} +49 -33
  279. spire/presentation/{VideoCollection.py → collections/VideoCollection.py} +26 -20
  280. spire/presentation/{WavAudioCollection.py → collections/WavAudioCollection.py} +27 -23
  281. spire/presentation/collections/__init__.py +0 -0
  282. spire/presentation/{ISmartArt.py → diagrams/ISmartArt.py} +42 -14
  283. spire/presentation/{ISmartArtNode.py → diagrams/ISmartArtNode.py} +119 -10
  284. spire/presentation/{ISmartArtNodeCollection.py → diagrams/ISmartArtNodeCollection.py} +57 -5
  285. spire/presentation/{SmartArtColorType.py → diagrams/SmartArtColorType.py} +1 -1
  286. spire/presentation/{SmartArtLayoutType.py → diagrams/SmartArtLayoutType.py} +1 -1
  287. spire/presentation/diagrams/SmartArtStyleType.py +43 -0
  288. spire/presentation/diagrams/__init__.py +0 -0
  289. spire/presentation/{Backdrop.py → drawing/Backdrop.py} +16 -19
  290. spire/presentation/{BackgroundType.py → drawing/BackgroundType.py} +6 -3
  291. spire/presentation/{BevelColorType.py → drawing/BevelColorType.py} +5 -3
  292. spire/presentation/drawing/BevelPresetType.py +41 -0
  293. spire/presentation/drawing/BlackWhiteMode.py +39 -0
  294. spire/presentation/{BlendEffect.py → drawing/BlendEffect.py} +11 -14
  295. spire/presentation/drawing/BlendMode.py +27 -0
  296. spire/presentation/{BlurNode.py → drawing/BlurNode.py} +4 -16
  297. spire/presentation/{ColorFormat.py → drawing/ColorFormat.py} +114 -61
  298. spire/presentation/{ColorScheme.py → drawing/ColorScheme.py} +59 -49
  299. spire/presentation/{ColorSchemeIndex.py → drawing/ColorSchemeIndex.py} +1 -3
  300. spire/presentation/drawing/ColorType.py +27 -0
  301. spire/presentation/{EffectDag.py → drawing/EffectDag.py} +41 -27
  302. spire/presentation/drawing/EffectFillType.py +25 -0
  303. spire/presentation/{EffectNode.py → drawing/EffectNode.py} +2 -3
  304. spire/presentation/{EffectStyle.py → drawing/EffectStyle.py} +14 -12
  305. spire/presentation/{ExtensionList.py → drawing/ExtensionList.py} +4 -1
  306. spire/presentation/{FillFormat.py → drawing/FillFormat.py} +61 -39
  307. spire/presentation/drawing/FillFormatType.py +29 -0
  308. spire/presentation/{FillOverlayEffect.py → drawing/FillOverlayEffect.py} +30 -11
  309. spire/presentation/{FormatScheme.py → drawing/FormatScheme.py} +9 -23
  310. spire/presentation/{FormatThreeD.py → drawing/FormatThreeD.py} +23 -13
  311. spire/presentation/{GlowEffect.py → drawing/GlowEffect.py} +15 -13
  312. spire/presentation/{GlowNode.py → drawing/GlowNode.py} +4 -10
  313. spire/presentation/{GradientFillFormat.py → drawing/GradientFillFormat.py} +12 -27
  314. spire/presentation/drawing/GradientShapeType.py +25 -0
  315. spire/presentation/{GradientStop.py → drawing/GradientStop.py} +1 -9
  316. spire/presentation/{GradientStopData.py → drawing/GradientStopData.py} +2 -9
  317. spire/presentation/drawing/GradientStyle.py +26 -0
  318. spire/presentation/{GraphicFrame.py → drawing/GraphicFrame.py} +41 -73
  319. spire/presentation/{GraphicalNodeLocking.py → drawing/GraphicalNodeLocking.py} +26 -21
  320. spire/presentation/{IImageData.py → drawing/IImageData.py} +6 -24
  321. spire/presentation/{ImageTransform.py → drawing/ImageTransform.py} +42 -36
  322. spire/presentation/{ImageTransformBase.py → drawing/ImageTransformBase.py} +2 -3
  323. spire/presentation/{InnerShadowEffect.py → drawing/InnerShadowEffect.py} +15 -18
  324. spire/presentation/{InnerShadowNode.py → drawing/InnerShadowNode.py} +5 -15
  325. spire/presentation/{OuterShadowEffect.py → drawing/OuterShadowEffect.py} +60 -35
  326. spire/presentation/{OuterShadowNode.py → drawing/OuterShadowNode.py} +51 -33
  327. spire/presentation/{PatternFillFormat.py → drawing/PatternFillFormat.py} +6 -15
  328. spire/presentation/drawing/PatternFillType.py +127 -0
  329. spire/presentation/{PenAlignmentType.py → drawing/PenAlignmentType.py} +6 -3
  330. spire/presentation/{PictureData.py → drawing/PictureData.py} +15 -15
  331. spire/presentation/{PictureFillFormat.py → drawing/PictureFillFormat.py} +37 -31
  332. spire/presentation/{PictureFillType.py → drawing/PictureFillType.py} +5 -3
  333. spire/presentation/{PresetShadow.py → drawing/PresetShadow.py} +33 -18
  334. spire/presentation/{PresetShadowNode.py → drawing/PresetShadowNode.py} +20 -15
  335. spire/presentation/{ReflectionEffect.py → drawing/ReflectionEffect.py} +65 -45
  336. spire/presentation/{ReflectionNode.py → drawing/ReflectionNode.py} +58 -45
  337. spire/presentation/{SchemeColor.py → drawing/SchemeColor.py} +2 -3
  338. spire/presentation/{SoftEdgeEffect.py → drawing/SoftEdgeEffect.py} +11 -7
  339. spire/presentation/{SoftEdgeNode.py → drawing/SoftEdgeNode.py} +5 -7
  340. spire/presentation/drawing/__init__.py +0 -0
  341. spire/presentation/export/PdfConformanceLevel.py +30 -0
  342. spire/presentation/{SaveToHtmlOption.py → export/SaveToHtmlOption.py} +12 -6
  343. spire/presentation/{SaveToPdfOption.py → export/SaveToPdfOption.py} +18 -11
  344. spire/presentation/{SaveToPptxOption.py → export/SaveToPptxOption.py} +12 -6
  345. spire/presentation/export/__init__.py +0 -0
  346. spire/presentation/lib/Spire.Presentation.Base.dll +0 -0
  347. spire/presentation/license/__init__.py +0 -0
  348. spire/presentation/{Cell.py → table/Cell.py} +56 -107
  349. spire/presentation/{CellCollection.py → table/CellCollection.py} +45 -31
  350. spire/presentation/{ColumnCollection.py → table/ColumnCollection.py} +10 -25
  351. spire/presentation/{ColumnList.py → table/ColumnList.py} +39 -28
  352. spire/presentation/{ITable.py → table/ITable.py} +117 -137
  353. spire/presentation/{RowList.py → table/RowList.py} +45 -27
  354. spire/presentation/table/TableBorderType.py +39 -0
  355. spire/presentation/{TableColumn.py → table/TableColumn.py} +14 -7
  356. spire/presentation/{TableRow.py → table/TableRow.py} +14 -7
  357. spire/presentation/{TableRowCollection.py → table/TableRowCollection.py} +12 -24
  358. spire/presentation/{TableStylePreset.py → table/TableStylePreset.py} +1 -3
  359. spire/presentation/table/__init__.py +0 -0
  360. spire/presentation/{BlindsSlideTransition.py → transition/BlindsSlideTransition.py} +9 -5
  361. spire/presentation/{CoverSlideTransition.py → transition/CoverSlideTransition.py} +20 -7
  362. spire/presentation/{FlythroughTransition.py → transition/FlythroughTransition.py} +12 -2
  363. spire/presentation/{GlitterTransition.py → transition/GlitterTransition.py} +10 -2
  364. spire/presentation/transition/GlitterTransitionDirection.py +31 -0
  365. spire/presentation/{InvXTransition.py → transition/InvXTransition.py} +10 -2
  366. spire/presentation/{LRTransition.py → transition/LRTransition.py} +12 -6
  367. spire/presentation/{OptionalBlackTransition.py → transition/OptionalBlackTransition.py} +16 -8
  368. spire/presentation/{RevealTransition.py → transition/RevealTransition.py} +11 -1
  369. spire/presentation/{ShredTransition.py → transition/ShredTransition.py} +14 -3
  370. spire/presentation/{SideDirectionTransition.py → transition/SideDirectionTransition.py} +12 -7
  371. spire/presentation/{SlideShowTransition.py → transition/SlideShowTransition.py} +50 -67
  372. spire/presentation/{SplitSlideTransition.py → transition/SplitSlideTransition.py} +14 -7
  373. spire/presentation/{StripsSlideTransition.py → transition/StripsSlideTransition.py} +14 -3
  374. spire/presentation/{Transition.py → transition/Transition.py} +10 -3
  375. spire/presentation/transition/TransitionCornerDirection.py +25 -0
  376. spire/presentation/{TransitionDirection.py → transition/TransitionDirection.py} +6 -3
  377. spire/presentation/transition/TransitionEightDirection.py +33 -0
  378. spire/presentation/{TransitionFlythroughInOutDirection.py → transition/TransitionFlythroughInOutDirection.py} +7 -3
  379. spire/presentation/{TransitionInOutDirection.py → transition/TransitionInOutDirection.py} +6 -3
  380. spire/presentation/transition/TransitionRevealLRDirection.py +23 -0
  381. spire/presentation/transition/TransitionShredInOutDirection.py +23 -0
  382. spire/presentation/{TransitionSideDirectionType.py → transition/TransitionSideDirectionType.py} +7 -3
  383. spire/presentation/{TransitionSoundMode.py → transition/TransitionSoundMode.py} +6 -3
  384. spire/presentation/{TransitionSpeed.py → transition/TransitionSpeed.py} +7 -3
  385. spire/presentation/{TransitionSplitDirection.py → transition/TransitionSplitDirection.py} +7 -3
  386. spire/presentation/{TransitionTwoDirection.py → transition/TransitionTwoDirection.py} +5 -3
  387. spire/presentation/transition/TransitionType.py +127 -0
  388. spire/presentation/{WheelSlideTransition.py → transition/WheelSlideTransition.py} +11 -6
  389. spire/presentation/{ZoomSlideTransition.py → transition/ZoomSlideTransition.py} +11 -7
  390. spire/presentation/transition/__init__.py +0 -0
  391. {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/METADATA +1 -1
  392. spire_presentation-10.8.1.dist-info/RECORD +440 -0
  393. spire/presentation/AnimateType.py +0 -16
  394. spire/presentation/AnimationEffectSubtype.py +0 -65
  395. spire/presentation/AnimationEffectType.py +0 -166
  396. spire/presentation/BehaviorAdditiveType.py +0 -21
  397. spire/presentation/BevelPresetType.py +0 -28
  398. spire/presentation/BlackWhiteMode.py +0 -27
  399. spire/presentation/BlendMode.py +0 -21
  400. spire/presentation/ChartDataLabelPosition.py +0 -25
  401. spire/presentation/ChartDisplayUnitType.py +0 -26
  402. spire/presentation/ChartMarkerType.py +0 -27
  403. spire/presentation/ColorType.py +0 -19
  404. spire/presentation/DocumentEditException.py +0 -14
  405. spire/presentation/DocumentReadException.py +0 -14
  406. spire/presentation/DocumentUnkownFormatException.py +0 -14
  407. spire/presentation/EffectFillType.py +0 -20
  408. spire/presentation/ErrorValueType.py +0 -18
  409. spire/presentation/FillFormatType.py +0 -22
  410. spire/presentation/FilterEffectSubtype.py +0 -42
  411. spire/presentation/FilterEffectType.py +0 -34
  412. spire/presentation/FilterEffectsType.py +0 -16
  413. spire/presentation/GlitterTransitionDirection.py +0 -23
  414. spire/presentation/GradientShapeType.py +0 -20
  415. spire/presentation/GradientStyle.py +0 -21
  416. spire/presentation/GraphicBuildType.py +0 -20
  417. spire/presentation/HeaderType.py +0 -20
  418. spire/presentation/MotionCommandPathType.py +0 -20
  419. spire/presentation/MotionPathPointsType.py +0 -24
  420. spire/presentation/ParagraphBuildType.py +0 -23
  421. spire/presentation/PatternFillType.py +0 -71
  422. spire/presentation/PdfConformanceLevel.py +0 -22
  423. spire/presentation/PresentationTranslator.py +0 -31
  424. spire/presentation/ProjectionType.py +0 -16
  425. spire/presentation/PropertyValueType.py +0 -19
  426. spire/presentation/SmartArtStyleType.py +0 -27
  427. spire/presentation/TableBorderType.py +0 -27
  428. spire/presentation/TimeNodePresetClassType.py +0 -22
  429. spire/presentation/TransitionCornerDirection.py +0 -20
  430. spire/presentation/TransitionEightDirection.py +0 -24
  431. spire/presentation/TransitionRevealLRDirection.py +0 -19
  432. spire/presentation/TransitionShredInOutDirection.py +0 -19
  433. spire/presentation/TransitionType.py +0 -71
  434. spire/presentation/TrendlinesType.py +0 -19
  435. spire/presentation/UOPReader.py +0 -24
  436. spire/presentation/UOPWriter.py +0 -24
  437. spire_presentation-10.6.4.dist-info/RECORD +0 -438
  438. /spire/presentation/{Geography.py → charts/Geography.py} +0 -0
  439. /spire/presentation/{LicenseProvider.py → license/LicenseProvider.py} +0 -0
  440. {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/WHEEL +0 -0
  441. {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/top_level.txt +0 -0
@@ -8,18 +8,17 @@ import abc
8
8
 
9
9
  class ChartDataLabelCollection ( SpireObject ) :
10
10
  """
11
- <summary>
12
- Represents a series labels.
13
- </summary>
11
+ Represents a collection of data labels for a chart series.
12
+ Provides properties and methods to manage the appearance, formatting, and behavior of data labels in a chart.
14
13
  """
15
14
  @property
16
15
 
17
16
  def NumberFormat(self)->str:
18
17
  """
19
- <summary>
20
- Represents the format string for the DataLabels object.
21
- Read/write <see cref="T:System.String" />.
22
- </summary>
18
+ Gets or sets the number formatting string for data label values.
19
+
20
+ Returns:
21
+ str: The current number format string
23
22
  """
24
23
  GetDllLibPpt().ChartDataLabelCollection_get_NumberFormat.argtypes=[c_void_p]
25
24
  GetDllLibPpt().ChartDataLabelCollection_get_NumberFormat.restype=c_void_p
@@ -36,9 +35,10 @@ class ChartDataLabelCollection ( SpireObject ) :
36
35
  @property
37
36
  def HasDataSource(self)->bool:
38
37
  """
39
- <summary>
40
38
  Gets and sets a reference to the worksheet
41
- </summary>
39
+
40
+ Returns:
41
+ bool: whethere use worksheet data.
42
42
  """
43
43
  GetDllLibPpt().ChartDataLabelCollection_get_HasDataSource.argtypes=[c_void_p]
44
44
  GetDllLibPpt().ChartDataLabelCollection_get_HasDataSource.restype=c_bool
@@ -53,9 +53,10 @@ class ChartDataLabelCollection ( SpireObject ) :
53
53
  @property
54
54
  def IsDelete(self)->bool:
55
55
  """
56
- <summary>
57
56
  Gets or sets delete flag.
58
- </summary>
57
+
58
+ Returns:
59
+ bool: whethere delete the data label.
59
60
  """
60
61
  GetDllLibPpt().ChartDataLabelCollection_get_IsDelete.argtypes=[c_void_p]
61
62
  GetDllLibPpt().ChartDataLabelCollection_get_IsDelete.restype=c_bool
@@ -71,10 +72,10 @@ class ChartDataLabelCollection ( SpireObject ) :
71
72
 
72
73
  def TextProperties(self)->'ITextFrameProperties':
73
74
  """
74
- <summary>
75
- Gets a text properties of this data labels
76
- Readonly <see cref="T:Spire.Presentation.TextFrameProperties" />.
77
- </summary>
75
+ Gets a text properties of this data labels.
76
+
77
+ Returns:
78
+ ITextFrameProperties: text properties of this data labels.
78
79
  """
79
80
  GetDllLibPpt().ChartDataLabelCollection_get_TextProperties.argtypes=[c_void_p]
80
81
  GetDllLibPpt().ChartDataLabelCollection_get_TextProperties.restype=c_void_p
@@ -87,10 +88,10 @@ class ChartDataLabelCollection ( SpireObject ) :
87
88
 
88
89
  def Fill(self)->'FillFormat':
89
90
  """
90
- <summary>
91
- Gets fill style properties of a chart.
92
- Read-only <see cref="T:Spire.Presentation.Drawing.FillFormat" />.
93
- </summary>
91
+ Gets fill style properties of a data label.
92
+
93
+ Returns:
94
+ FillFormat: fill style properties of a data label.
94
95
  """
95
96
  GetDllLibPpt().ChartDataLabelCollection_get_Fill.argtypes=[c_void_p]
96
97
  GetDllLibPpt().ChartDataLabelCollection_get_Fill.restype=c_void_p
@@ -103,9 +104,10 @@ class ChartDataLabelCollection ( SpireObject ) :
103
104
 
104
105
  def Line(self)->'IChartGridLine':
105
106
  """
106
- <summary>
107
- Gets line style properties of a chart.
108
- </summary>
107
+ Gets line style properties of data labels.
108
+
109
+ Returns:
110
+ IChartGridLine: line style properties of data labels.
109
111
  """
110
112
  GetDllLibPpt().ChartDataLabelCollection_get_Line.argtypes=[c_void_p]
111
113
  GetDllLibPpt().ChartDataLabelCollection_get_Line.restype=c_void_p
@@ -118,10 +120,10 @@ class ChartDataLabelCollection ( SpireObject ) :
118
120
 
119
121
  def Effect(self)->'EffectDag':
120
122
  """
121
- <summary>
122
- Gets effects used for a chart.
123
- Read-only <see cref="T:Spire.Presentation.Drawing.EffectDag" />.
124
- </summary>
123
+ Gets effects used for data labels.
124
+
125
+ Returns:
126
+ EffectDag: effects style of data labels.
125
127
  """
126
128
  GetDllLibPpt().ChartDataLabelCollection_get_Effect.argtypes=[c_void_p]
127
129
  GetDllLibPpt().ChartDataLabelCollection_get_Effect.restype=c_void_p
@@ -134,10 +136,10 @@ class ChartDataLabelCollection ( SpireObject ) :
134
136
 
135
137
  def Effect3D(self)->'FormatThreeD':
136
138
  """
137
- <summary>
138
- Gets 3D format of a chart.
139
- Read-only <see cref="T:Spire.Presentation.Drawing.FormatThreeD" />.
140
- </summary>
139
+ Gets 3D format of data labels.
140
+
141
+ Returns:
142
+ FormatThreeD: 3D format of data labels.
141
143
  """
142
144
  GetDllLibPpt().ChartDataLabelCollection_get_Effect3D.argtypes=[c_void_p]
143
145
  GetDllLibPpt().ChartDataLabelCollection_get_Effect3D.restype=c_void_p
@@ -150,10 +152,10 @@ class ChartDataLabelCollection ( SpireObject ) :
150
152
 
151
153
  def Position(self)->'ChartDataLabelPosition':
152
154
  """
153
- <summary>
154
155
  Represents the position of the data lable.
155
- Read/write <see cref="T:Spire.Presentation.Charts.DataLabelPosition" />.
156
- </summary>
156
+
157
+ Returns:
158
+ ChartDataLabelPosition: the position of the data lable.
157
159
  """
158
160
  GetDllLibPpt().ChartDataLabelCollection_get_Position.argtypes=[c_void_p]
159
161
  GetDllLibPpt().ChartDataLabelCollection_get_Position.restype=c_int
@@ -169,10 +171,10 @@ class ChartDataLabelCollection ( SpireObject ) :
169
171
  @property
170
172
  def LegendKeyVisible(self)->bool:
171
173
  """
172
- <summary>
173
174
  Indicates chart's data label legend key display behavior.
174
- Read/write <see cref="T:System.Boolean" />.
175
- </summary>
175
+
176
+ Returns:
177
+ bool: whethere chart's data label legend key display.
176
178
  """
177
179
  GetDllLibPpt().ChartDataLabelCollection_get_LegendKeyVisible.argtypes=[c_void_p]
178
180
  GetDllLibPpt().ChartDataLabelCollection_get_LegendKeyVisible.restype=c_bool
@@ -187,10 +189,10 @@ class ChartDataLabelCollection ( SpireObject ) :
187
189
  @property
188
190
  def LeaderLinesVisible(self)->bool:
189
191
  """
190
- <summary>
191
192
  Indicates chart's data label leader line display behavior.
192
- Read/write <see cref="T:System.Boolean" />.
193
- </summary>
193
+
194
+ Returns:
195
+ bool: whethere chart's data label leader line display.
194
196
  """
195
197
  GetDllLibPpt().ChartDataLabelCollection_get_LeaderLinesVisible.argtypes=[c_void_p]
196
198
  GetDllLibPpt().ChartDataLabelCollection_get_LeaderLinesVisible.restype=c_bool
@@ -205,10 +207,10 @@ class ChartDataLabelCollection ( SpireObject ) :
205
207
  @property
206
208
  def CategoryNameVisible(self)->bool:
207
209
  """
208
- <summary>
209
210
  Indicates chart's data label category name display behavior.
210
- Read/write <see cref="T:System.Boolean" />.
211
- </summary>
211
+
212
+ Returns:
213
+ bool: whethere chart's data label category name display.
212
214
  """
213
215
  GetDllLibPpt().ChartDataLabelCollection_get_CategoryNameVisible.argtypes=[c_void_p]
214
216
  GetDllLibPpt().ChartDataLabelCollection_get_CategoryNameVisible.restype=c_bool
@@ -223,10 +225,10 @@ class ChartDataLabelCollection ( SpireObject ) :
223
225
  @property
224
226
  def LabelValueVisible(self)->bool:
225
227
  """
226
- <summary>
227
228
  Indicates chart's data label value display behavior.
228
- Read/write <see cref="T:System.Boolean" />.
229
- </summary>
229
+
230
+ Returns:
231
+ bool: whethere chart's data label value display.
230
232
  """
231
233
  GetDllLibPpt().ChartDataLabelCollection_get_LabelValueVisible.argtypes=[c_void_p]
232
234
  GetDllLibPpt().ChartDataLabelCollection_get_LabelValueVisible.restype=c_bool
@@ -241,10 +243,10 @@ class ChartDataLabelCollection ( SpireObject ) :
241
243
  @property
242
244
  def PercentValueVisible(self)->bool:
243
245
  """
244
- <summary>
245
246
  Indicates chart's data label percentage value display behavior.
246
- Read/write <see cref="T:System.Boolean" />.
247
- </summary>
247
+
248
+ Returns:
249
+ bool: whethere chart's data label percentage value display.
248
250
  """
249
251
  GetDllLibPpt().ChartDataLabelCollection_get_PercentValueVisible.argtypes=[c_void_p]
250
252
  GetDllLibPpt().ChartDataLabelCollection_get_PercentValueVisible.restype=c_bool
@@ -259,10 +261,10 @@ class ChartDataLabelCollection ( SpireObject ) :
259
261
  @property
260
262
  def SeriesNameVisible(self)->bool:
261
263
  """
262
- <summary>
263
- Gets or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
264
- Read/write <see cref="T:System.Boolean" />.
265
- </summary>
264
+ Gets or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
265
+
266
+ Returns:
267
+ bool: whethere the series name display.
266
268
  """
267
269
  GetDllLibPpt().ChartDataLabelCollection_get_SeriesNameVisible.argtypes=[c_void_p]
268
270
  GetDllLibPpt().ChartDataLabelCollection_get_SeriesNameVisible.restype=c_bool
@@ -277,10 +279,10 @@ class ChartDataLabelCollection ( SpireObject ) :
277
279
  @property
278
280
  def BubbleSizeVisible(self)->bool:
279
281
  """
280
- <summary>
281
282
  Indicates chart's data label bubble size value display behavior.
282
- Read/write <see cref="T:System.Boolean" />.
283
- </summary>
283
+
284
+ Returns:
285
+ bool: whethere data label bubble size value display.
284
286
  """
285
287
  GetDllLibPpt().ChartDataLabelCollection_get_BubbleSizeVisible.argtypes=[c_void_p]
286
288
  GetDllLibPpt().ChartDataLabelCollection_get_BubbleSizeVisible.restype=c_bool
@@ -296,10 +298,10 @@ class ChartDataLabelCollection ( SpireObject ) :
296
298
 
297
299
  def Separator(self)->str:
298
300
  """
299
- <summary>
300
301
  Sets or returns a Variant representing the separator used for the data labels on a chart.
301
- Read/write <see cref="T:System.String" />.
302
- </summary>
302
+
303
+ Returns:
304
+ str: the separator used for the data labels on a chart.
303
305
  """
304
306
  GetDllLibPpt().ChartDataLabelCollection_get_Separator.argtypes=[c_void_p]
305
307
  GetDllLibPpt().ChartDataLabelCollection_get_Separator.restype=c_void_p
@@ -316,10 +318,10 @@ class ChartDataLabelCollection ( SpireObject ) :
316
318
  @property
317
319
  def Count(self)->int:
318
320
  """
319
- <summary>
320
321
  Gets the number of elements actually contained in the collection.
321
- Read-only <see cref="T:System.Int32" />.
322
- </summary>
322
+
323
+ Returns:
324
+ int: the number of elements actually contained in the collection.
323
325
  """
324
326
  GetDllLibPpt().ChartDataLabelCollection_get_Count.argtypes=[c_void_p]
325
327
  GetDllLibPpt().ChartDataLabelCollection_get_Count.restype=c_int
@@ -330,10 +332,10 @@ class ChartDataLabelCollection ( SpireObject ) :
330
332
 
331
333
  def DataLabelShapeType(self)->'DataLabelShapeType':
332
334
  """
333
- <summary>
334
335
  Gets or sets shape type of data labels.
335
- Read/write <see cref="P:Spire.Presentation.Collections.ChartDataLabelCollection.DataLabelShapeType" />.
336
- </summary>
336
+
337
+ Returns:
338
+ DataLabelShapeType: DataLabel shape type.
337
339
  """
338
340
  GetDllLibPpt().ChartDataLabelCollection_get_DataLabelShapeType.argtypes=[c_void_p]
339
341
  GetDllLibPpt().ChartDataLabelCollection_get_DataLabelShapeType.restype=c_int
@@ -349,7 +351,10 @@ class ChartDataLabelCollection ( SpireObject ) :
349
351
 
350
352
  def Add(self)->'ChartDataLabel':
351
353
  """
352
-
354
+ Add ChartDataLabel.
355
+
356
+ Returns:
357
+ ChartDataLabel: chart datalabel.
353
358
  """
354
359
  GetDllLibPpt().ChartDataLabelCollection_Add.argtypes=[c_void_p]
355
360
  GetDllLibPpt().ChartDataLabelCollection_Add.restype=c_void_p
@@ -361,10 +366,10 @@ class ChartDataLabelCollection ( SpireObject ) :
361
366
 
362
367
  def Remove(self ,value:'ChartDataLabel'):
363
368
  """
364
- <summary>
365
- Removes the first occurrence of a specific object from the collection.
366
- </summary>
367
- <param name="value">The DataLabel to remove from the collection.</param>
369
+ Add ChartDataLabel.
370
+
371
+ Args:
372
+ value: chart datalabel which will be removed..
368
373
  """
369
374
  intPtrvalue:c_void_p = value.Ptr
370
375
 
@@ -374,11 +379,13 @@ class ChartDataLabelCollection ( SpireObject ) :
374
379
 
375
380
  def IndexOf(self ,value:'ChartDataLabel')->int:
376
381
  """
377
- <summary>
378
- Gets an index of the specified DataLabel in the collection.
379
- </summary>
380
- <param name="value">DataLabel to find.</param>
381
- <returns>Index of a DataLabel or -1 if DataLabel not from this collection.</returns>
382
+ Gets the index of a specific data label.
383
+
384
+ Args:
385
+ value (ChartDataLabel): The data label to locate
386
+
387
+ Returns:
388
+ int: The zero-based index if found; otherwise, -1
382
389
  """
383
390
  intPtrvalue:c_void_p = value.Ptr
384
391
 
@@ -389,6 +396,15 @@ class ChartDataLabelCollection ( SpireObject ) :
389
396
 
390
397
  @dispatch
391
398
  def __getitem__(self, index):
399
+ """
400
+ Gets the data label at the specified index.
401
+
402
+ Args:
403
+ index: The zero-based index of the label to retrieve
404
+
405
+ Returns:
406
+ ChartDataLabel: The data label at the specified position
407
+ """
392
408
  if index >= self.Count:
393
409
  raise StopIteration
394
410
  GetDllLibPpt().ChartDataLabelCollection_get_Item.argtypes=[c_void_p ,c_int]
@@ -399,10 +415,13 @@ class ChartDataLabelCollection ( SpireObject ) :
399
415
 
400
416
  def get_Item(self ,index:int)->'ChartDataLabel':
401
417
  """
402
- <summary>
403
- Gets the element at the specified index.
404
- Read-only <see cref="T:Spire.Presentation.Charts.ChartDataLabel" />.
405
- </summary>
418
+ Gets the data label at the specified index.
419
+
420
+ Args:
421
+ index: The zero-based index of the label to retrieve
422
+
423
+ Returns:
424
+ ChartDataLabel: The data label at the specified position
406
425
  """
407
426
 
408
427
  GetDllLibPpt().ChartDataLabelCollection_get_Item.argtypes=[c_void_p ,c_int]
@@ -416,7 +435,10 @@ class ChartDataLabelCollection ( SpireObject ) :
416
435
 
417
436
  def LeaderLines(self)->'IChartGridLine':
418
437
  """
419
-
438
+ Gets the formatting for leader lines connecting labels to data points.
439
+
440
+ Returns:
441
+ IChartGridLine: The leader lines formatting object
420
442
  """
421
443
  GetDllLibPpt().ChartDataLabelCollection_get_LeaderLines.argtypes=[c_void_p]
422
444
  GetDllLibPpt().ChartDataLabelCollection_get_LeaderLines.restype=c_void_p
@@ -428,9 +450,10 @@ class ChartDataLabelCollection ( SpireObject ) :
428
450
 
429
451
  def GetEnumerator(self)->'IEnumerator':
430
452
  """
431
- <summary>
432
- Gets an enumerator for the entire collection.
433
- </summary>
453
+ Gets an enumerator to iterate through the data label collection.
454
+
455
+ Returns:
456
+ IEnumerator: An enumerator for the collection
434
457
  """
435
458
  GetDllLibPpt().ChartDataLabelCollection_GetEnumerator.argtypes=[c_void_p]
436
459
  GetDllLibPpt().ChartDataLabelCollection_GetEnumerator.restype=c_void_p
@@ -0,0 +1,35 @@
1
+ from enum import Enum
2
+ from plum import dispatch
3
+ from typing import TypeVar,Union,Generic,List,Tuple
4
+ from spire.presentation.common import *
5
+ from spire.presentation import *
6
+ from ctypes import *
7
+ import abc
8
+
9
+ class ChartDataLabelPosition(Enum):
10
+ """
11
+ Indicates position options for data labels.
12
+
13
+ Attributes:
14
+ Bottom:Positioned at bottom
15
+ BestFit:Automatically determine best position
16
+ Center:Positioned at center
17
+ InsideBase:Positioned inside base
18
+ InsideEnd:Positioned inside end
19
+ Left:Positioned at left
20
+ OutsideEnd:Positioned outside end
21
+ Right:Positioned at right
22
+ Top:Positioned at top
23
+ none:No specific position
24
+ """
25
+ Bottom = 0
26
+ BestFit = 1
27
+ Center = 2
28
+ InsideBase = 3
29
+ InsideEnd = 4
30
+ Left = 5
31
+ OutsideEnd = 6
32
+ Right = 7
33
+ Top = 8
34
+ none = 9
35
+
@@ -6,15 +6,28 @@ from spire.presentation import *
6
6
  from ctypes import *
7
7
 
8
8
  class ChartDataPoint ( PptObject) :
9
+ """
10
+ Represents an individual data point within a chart series.
11
+
12
+ This class provides properties to control the visual appearance and behavior
13
+ of individual data points in a chart.
14
+ """
9
15
 
10
16
  @dispatch
11
17
  def __init__(self):
18
+ """Initializes a new instance of ChartDataPoint."""
12
19
  GetDllLibPpt().ChartDataPoint_Creat.restype = c_void_p
13
20
  intPtr = CallCFunction(GetDllLibPpt().ChartDataPoint_Creat)
14
21
  super(ChartDataPoint, self).__init__(intPtr)
15
22
 
16
23
  @dispatch
17
24
  def __init__(self,param):
25
+ """
26
+ Initializes a new instance of ChartDataPoint.
27
+
28
+ Args:
29
+ param: Either a numeric value or another ChartDataPoint to clone
30
+ """
18
31
  if isinstance(param, (int,float)):
19
32
  super(ChartDataPoint, self).__init__(param)
20
33
  else:
@@ -22,19 +35,14 @@ class ChartDataPoint ( PptObject) :
22
35
  GetDllLibPpt().ChartDataPoint_Creat.restype = c_void_p
23
36
  intPtr = CallCFunction(GetDllLibPpt().ChartDataPoint_Creat,param.Ptr)
24
37
  super(ChartDataPoint, self).__init__(intPtr)
25
-
26
- """
27
- <summary>
28
- Represents a data point on the chart.
29
- </summary>
30
- """
38
+
31
39
  @property
32
40
  def Index(self)->int:
33
41
  """
34
- <summary>
35
- This index of collection.
36
- Read/write <see cref="T:System.Int32" />.
37
- </summary>
42
+ Indicates whether bubbles have a 3D effect applied.
43
+
44
+ Returns:
45
+ bool: True if 3D effect is enabled for bubbles
38
46
  """
39
47
  GetDllLibPpt().ChartDataPoint_get_Index.argtypes=[c_void_p]
40
48
  GetDllLibPpt().ChartDataPoint_get_Index.restype=c_int
@@ -49,9 +57,10 @@ class ChartDataPoint ( PptObject) :
49
57
  @property
50
58
  def IsBubble3D(self)->bool:
51
59
  """
52
- <summary>
53
- Specifies that the bubbles have a 3-D effect applied to them.
54
- </summary>
60
+ Indicates whether bubbles have a 3D effect applied.
61
+
62
+ Returns:
63
+ bool: True if 3D effect is enabled for bubbles
55
64
  """
56
65
  GetDllLibPpt().ChartDataPoint_get_IsBubble3D.argtypes=[c_void_p]
57
66
  GetDllLibPpt().ChartDataPoint_get_IsBubble3D.restype=c_bool
@@ -66,9 +75,10 @@ class ChartDataPoint ( PptObject) :
66
75
  @property
67
76
  def Distance(self)->int:
68
77
  """
69
- <summary>
70
- Specifies the distance from the center of the pie.
71
- </summary>
78
+ Specifies the distance from the center of a pie chart (for slice explosion).
79
+
80
+ Returns:
81
+ int: Distance value (0-100)
72
82
  """
73
83
  GetDllLibPpt().ChartDataPoint_get_Distance.argtypes=[c_void_p]
74
84
  GetDllLibPpt().ChartDataPoint_get_Distance.restype=c_int
@@ -83,9 +93,10 @@ class ChartDataPoint ( PptObject) :
83
93
  @property
84
94
  def InvertIfNegative(self)->bool:
85
95
  """
86
- <summary>
87
- Indicates whether invert its colors if the value is negative.
88
- </summary>
96
+ Indicates whether colors should be inverted for negative values.
97
+
98
+ Returns:
99
+ bool: True if colors should invert for negative values
89
100
  """
90
101
  GetDllLibPpt().ChartDataPoint_get_InvertIfNegative.argtypes=[c_void_p]
91
102
  GetDllLibPpt().ChartDataPoint_get_InvertIfNegative.restype=c_bool
@@ -101,10 +112,10 @@ class ChartDataPoint ( PptObject) :
101
112
 
102
113
  def Fill(self)->'FillFormat':
103
114
  """
104
- <summary>
105
- Gets fill style properties of a chart.
106
- Read-only <see cref="T:Spire.Presentation.Drawing.FillFormat" />.
107
- </summary>
115
+ Gets the fill formatting properties for the data point.
116
+
117
+ Returns:
118
+ FillFormat: Object containing fill properties
108
119
  """
109
120
  GetDllLibPpt().ChartDataPoint_get_Fill.argtypes=[c_void_p]
110
121
  GetDllLibPpt().ChartDataPoint_get_Fill.restype=c_void_p
@@ -117,9 +128,10 @@ class ChartDataPoint ( PptObject) :
117
128
 
118
129
  def Line(self)->'IChartGridLine':
119
130
  """
120
- <summary>
121
- Gets line style properties of a chart.
122
- </summary>
131
+ Gets the line formatting properties for the data point.
132
+
133
+ Returns:
134
+ IChartGridLine: Object containing line properties
123
135
  """
124
136
  GetDllLibPpt().ChartDataPoint_get_Line.argtypes=[c_void_p]
125
137
  GetDllLibPpt().ChartDataPoint_get_Line.restype=c_void_p
@@ -132,10 +144,10 @@ class ChartDataPoint ( PptObject) :
132
144
 
133
145
  def Effect(self)->'EffectDag':
134
146
  """
135
- <summary>
136
- Gets effects used for a chart.
137
- Read-only <see cref="T:Spire.Presentation.Drawing.EffectDag" />.
138
- </summary>
147
+ Gets the effect properties for the data point.
148
+
149
+ Returns:
150
+ EffectDag: Object containing effect properties
139
151
  """
140
152
  GetDllLibPpt().ChartDataPoint_get_Effect.argtypes=[c_void_p]
141
153
  GetDllLibPpt().ChartDataPoint_get_Effect.restype=c_void_p
@@ -148,10 +160,10 @@ class ChartDataPoint ( PptObject) :
148
160
 
149
161
  def Effect3D(self)->'FormatThreeD':
150
162
  """
151
- <summary>
152
- Gets 3D format of a chart.
153
- Read-only <see cref="T:Spire.Presentation.Drawing.FormatThreeD" />.
154
- </summary>
163
+ Gets the 3D format properties for the data point.
164
+
165
+ Returns:
166
+ FormatThreeD: Object containing 3D format properties
155
167
  """
156
168
  GetDllLibPpt().ChartDataPoint_get_Effect3D.argtypes=[c_void_p]
157
169
  GetDllLibPpt().ChartDataPoint_get_Effect3D.restype=c_void_p
@@ -164,10 +176,10 @@ class ChartDataPoint ( PptObject) :
164
176
 
165
177
  def MarkerFill(self)->'ChartEffectFormat':
166
178
  """
167
- <summary>
168
- Represents the formatting properties for marker.
169
- A chart with Bubble type or Bubble3D type does not support this property.
170
- </summary>
179
+ Gets the formatting properties for data point markers.
180
+
181
+ Returns:
182
+ ChartEffectFormat: Object containing marker properties
171
183
  """
172
184
  GetDllLibPpt().ChartDataPoint_get_MarkerFill.argtypes=[c_void_p]
173
185
  GetDllLibPpt().ChartDataPoint_get_MarkerFill.restype=c_void_p
@@ -179,9 +191,10 @@ class ChartDataPoint ( PptObject) :
179
191
  @property
180
192
  def MarkerSize(self)->int:
181
193
  """
182
- <summary>
183
- Represents the marker size in a line chart, scatter chart, or radar chart.
184
- </summary>
194
+ Gets or sets the size of markers in line/scatter/radar charts.
195
+
196
+ Returns:
197
+ int: Marker size in points
185
198
  """
186
199
  GetDllLibPpt().ChartDataPoint_get_MarkerSize.argtypes=[c_void_p]
187
200
  GetDllLibPpt().ChartDataPoint_get_MarkerSize.restype=c_int
@@ -197,9 +210,10 @@ class ChartDataPoint ( PptObject) :
197
210
 
198
211
  def MarkerStyle(self)->'ChartMarkerType':
199
212
  """
200
- <summary>
201
- Represents the marker style in a line chart, scatter chart, or radar chart.
202
- </summary>
213
+ Gets or sets the style of markers in line/scatter/radar charts.
214
+
215
+ Returns:
216
+ ChartMarkerType: Enum value specifying marker style
203
217
  """
204
218
  GetDllLibPpt().ChartDataPoint_get_MarkerStyle.argtypes=[c_void_p]
205
219
  GetDllLibPpt().ChartDataPoint_get_MarkerStyle.restype=c_int
@@ -215,10 +229,10 @@ class ChartDataPoint ( PptObject) :
215
229
  @property
216
230
  def SetAsTotal(self)->bool:
217
231
  """
218
- <summary>
219
- True if the data point is considered as Subtotals or Totals. otherwise False.
220
- </summary>
221
- <remarks>Applies only to Waterfall charts.</remarks>
232
+ Indicates if the data point represents a total in waterfall charts.
233
+
234
+ Returns:
235
+ bool: True if data point is a total
222
236
  """
223
237
  GetDllLibPpt().ChartDataPoint_get_SetAsTotal.argtypes=[c_void_p]
224
238
  GetDllLibPpt().ChartDataPoint_get_SetAsTotal.restype=c_bool