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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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.7.1.dist-info}/METADATA +1 -1
  392. spire_presentation-10.7.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.7.1.dist-info}/WHEEL +0 -0
  441. {spire_presentation-10.6.4.dist-info → spire_presentation-10.7.1.dist-info}/top_level.txt +0 -0
@@ -9,9 +9,25 @@ from ctypes import *
9
9
  import abc
10
10
 
11
11
  class ShapeList (SpireObject) :
12
+ """
13
+ Represents a collection of shapes on a presentation slide.
14
+
15
+ This class provides methods to manage and manipulate shapes including adding,
16
+ removing, accessing, and converting shapes. It supports various shape types
17
+ including charts, images, videos, audio, tables, and smart art.
18
+ """
12
19
 
13
20
  @dispatch
14
21
  def __getitem__(self, key):
22
+ """
23
+ Gets the shape at the specified index.
24
+
25
+ Args:
26
+ key: Index of the shape to retrieve
27
+
28
+ Returns:
29
+ IShape: The shape object at the specified index
30
+ """
15
31
  if key >= self.Count:
16
32
  raise StopIteration
17
33
  GetDllLibPpt().ShapeList_get_Item.argtypes=[c_void_p ,c_int]
@@ -52,18 +68,13 @@ class ShapeList (SpireObject) :
52
68
 
53
69
  return ret
54
70
 
55
- """
56
- <summary>
57
- Represents a collection of a shapes.
58
- </summary>
59
- """
60
71
 
61
72
  def GetEnumerator(self)->'IEnumerator':
62
73
  """
63
- <summary>
64
- Gets an enumerator for the entire collection.
65
- </summary>
66
- <returns>An <see cref="T:System.Collections.IEnumerator" /> for the entire collection.</returns>
74
+ Gets an enumerator that iterates through the paragraph collection.
75
+
76
+ Returns:
77
+ IEnumerator: An enumerator that can be used to iterate through the collection
67
78
  """
68
79
  GetDllLibPpt().ShapeList_GetEnumerator.argtypes=[c_void_p]
69
80
  GetDllLibPpt().ShapeList_GetEnumerator.restype=c_void_p
@@ -76,10 +87,10 @@ class ShapeList (SpireObject) :
76
87
 
77
88
  def Parent(self)->'SpireObject':
78
89
  """
79
- <summary>
80
- Gets parent object for a Shapes collection.
81
- Read-only <see cref="T:System.Object" />. See also <see cref="T:Spire.Presentation.IActivePresentation" />.
82
- </summary>
90
+ Gets parent object for the shapes collection.
91
+
92
+ Returns:
93
+ SpireObject: Parent object of the shape collection
83
94
  """
84
95
  GetDllLibPpt().ShapeList_get_Parent.argtypes=[c_void_p]
85
96
  GetDllLibPpt().ShapeList_get_Parent.restype=c_void_p
@@ -91,10 +102,10 @@ class ShapeList (SpireObject) :
91
102
 
92
103
  def AddFromHtml(self ,htmlText:str):
93
104
  """
94
- <summary>
95
- Adds text from specified html string.
96
- </summary>
97
- <param name="htmlText">HTML text.</param>
105
+ Adds text from specified HTML string.
106
+
107
+ Args:
108
+ htmlText: HTML text to add as shapes
98
109
  """
99
110
 
100
111
  htmlTextPtr = StrToPtr(htmlText)
@@ -103,7 +114,11 @@ class ShapeList (SpireObject) :
103
114
 
104
115
  def AddFromSVG(self ,svgFilePath:str,rectangle:'RectangleF'):
105
116
  """
106
-
117
+ Adds shapes from an SVG file.
118
+
119
+ Args:
120
+ svgFilePath: Path to SVG file
121
+ rectangle: Bounding rectangle for the SVG content
107
122
  """
108
123
 
109
124
  svgFilePathPtr = StrToPtr(svgFilePath)
@@ -111,6 +126,19 @@ class ShapeList (SpireObject) :
111
126
  GetDllLibPpt().ShapeList_AddFromSVG.argtypes=[c_void_p ,c_char_p,c_void_p]
112
127
  CallCFunction(GetDllLibPpt().ShapeList_AddFromSVG,self.Ptr,svgFilePathPtr,intPtrrectangle)
113
128
 
129
+
130
+ def AddFromSVGAsShapes(self ,svgFilePath:str):
131
+ """
132
+ Adds shapes from an SVG file.
133
+
134
+ Args:
135
+ svgFilePath: Path to SVG file.
136
+ """
137
+
138
+ svgFilePathPtr = StrToPtr(svgFilePath)
139
+ GetDllLibPpt().ShapeList_AddFromSVGAsShapes.argtypes=[c_void_p ,c_char_p]
140
+ CallCFunction(GetDllLibPpt().ShapeList_AddFromSVGAsShapes,self.Ptr,svgFilePathPtr)
141
+
114
142
 
115
143
  def Equals(self ,obj:'SpireObject')->bool:
116
144
  """
@@ -126,10 +154,8 @@ class ShapeList (SpireObject) :
126
154
  @property
127
155
  def Count(self)->int:
128
156
  """
129
- <summary>
130
157
  Gets the number of elements actually contained in the collection.
131
- Read-only <see cref="T:System.Int32" />.
132
- </summary>
158
+
133
159
  """
134
160
  GetDllLibPpt().ShapeList_get_Count.argtypes=[c_void_p]
135
161
  GetDllLibPpt().ShapeList_get_Count.restype=c_int
@@ -139,10 +165,8 @@ class ShapeList (SpireObject) :
139
165
 
140
166
  def get_Item(self ,index:int)->'IShape':
141
167
  """
142
- <summary>
143
168
  Gets the element at the specified index.
144
- Read-only <see cref="T:Spire.Presentation.Shape" />.
145
- </summary>
169
+
146
170
  """
147
171
 
148
172
  GetDllLibPpt().ShapeList_get_Item.argtypes=[c_void_p ,c_int]
@@ -153,12 +177,17 @@ class ShapeList (SpireObject) :
153
177
 
154
178
  def SaveAsImage(self ,shapeIndex:int, dpiX:int = 96,dpiY:int=96)->'Stream':
155
179
  """
156
- <summary>
157
- Save shapes to Image.
158
- </summary>
159
- <param name="shapeIndex">Represents the shape index in the indicated slide's shapes collection</param>
160
- <returns></returns>
180
+ Saves shapes to an image stream.
181
+
182
+ Args:
183
+ shapeIndex: Index of the shape to save
184
+ dpiX: Horizontal DPI (default 96)
185
+ dpiY: Vertical DPI (default 96)
186
+
187
+ Returns:
188
+ Stream: Image data stream
161
189
  """
190
+
162
191
  GetDllLibPpt().ShapeList_SaveAsImageDpi.argtypes=[c_void_p ,c_int,c_int,c_int]
163
192
  GetDllLibPpt().ShapeList_SaveAsImageDpi.restype=c_void_p
164
193
  intPtr = CallCFunction(GetDllLibPpt().ShapeList_SaveAsImageDpi,self.Ptr, shapeIndex,dpiX,dpiY)
@@ -169,12 +198,11 @@ class ShapeList (SpireObject) :
169
198
 
170
199
  def SaveAsEMF(self ,shapeIndex:int,filePath:str):
171
200
  """
172
- <summary>
173
- Save shapes to EMF.
174
- </summary>
175
- <param name="shapeIndex">Represents the shape index in the indicated slide's shapes collection</param>
176
- <param name="filePahth">Represents the save path</param>
177
- <returns></returns>
201
+ Saves shapes to EMF format.
202
+
203
+ Args:
204
+ shapeIndex: Index of the shape to save
205
+ filePath: Output file path
178
206
  """
179
207
 
180
208
  filePathPtr = StrToPtr(filePath)
@@ -184,13 +212,15 @@ class ShapeList (SpireObject) :
184
212
 
185
213
  def CreateChart(self ,baseChart:'IChart',rectangle:'RectangleF',nIndex:int)->'IChart':
186
214
  """
187
- <summary>
188
- clone basechart and insert into shapes
189
- </summary>
190
- <param name="baseChart">source chart</param>
191
- <param name="rectangle">Rectangle should be inserted</param>
192
- <param name="nIndex">index should be inserted.-1 mean append at the last.</param>
193
- <returns></returns>
215
+ Clones a chart and inserts it into shapes.
216
+
217
+ Args:
218
+ baseChart: Source chart to clone
219
+ rectangle: Bounding rectangle for new chart
220
+ nIndex: Insertion index (-1 for append)
221
+
222
+ Returns:
223
+ IChart: Newly created chart
194
224
  """
195
225
  intPtrbaseChart:c_void_p = baseChart.Ptr
196
226
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -204,13 +234,15 @@ class ShapeList (SpireObject) :
204
234
 
205
235
  def AppendChartInit(self ,type:ChartType,rectangle:RectangleF,init:bool)->'IChart':
206
236
  """
207
- <summary>
208
- Adds a new chart.
209
- </summary>
210
- <param name="type">Chart type</param>
211
- <param name="rectangle">rectangle should be inserted.</param>
212
- <param name="init">init chart use default data .</param>
213
- <returns></returns>
237
+ Adds a new chart with initialization option.
238
+
239
+ Args:
240
+ type: Type of chart to create
241
+ rectangle: Bounding rectangle for chart
242
+ init: Initialize with default data
243
+
244
+ Returns:
245
+ IChart: New chart instance
214
246
  """
215
247
  enumtype:c_int = type.value
216
248
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -223,12 +255,14 @@ class ShapeList (SpireObject) :
223
255
 
224
256
  def AppendChart(self ,type:ChartType,rectangle:RectangleF)->'IChart':
225
257
  """
226
- <summary>
227
- Adds a new chart.init chart use default data
228
- </summary>
229
- <param name="type">Chart type</param>
230
- <param name="rectangle">rectangle should be inserted.</param>
231
- <returns></returns>
258
+ Adds a new chart with default initialization.
259
+
260
+ Args:
261
+ type: Type of chart to create
262
+ rectangle: Bounding rectangle for chart
263
+
264
+ Returns:
265
+ IChart: New chart instance
232
266
  """
233
267
  enumtype:c_int = type.value
234
268
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -243,7 +277,17 @@ class ShapeList (SpireObject) :
243
277
 
244
278
  def AppendSmartArt(self ,x:float,y:float,width:float,height:float,layoutType:'SmartArtLayoutType')->'ISmartArt':
245
279
  """
246
-
280
+ Adds a new SmartArt graphic.
281
+
282
+ Args:
283
+ x: X-coordinate of bounding rectangle
284
+ y: Y-coordinate of bounding rectangle
285
+ width: Width of bounding rectangle
286
+ height: Height of bounding rectangle
287
+ layoutType: SmartArt layout type
288
+
289
+ Returns:
290
+ ISmartArt: New SmartArt instance
247
291
  """
248
292
  enumlayoutType:c_int = layoutType.value
249
293
 
@@ -257,12 +301,13 @@ class ShapeList (SpireObject) :
257
301
 
258
302
  def InsertChart(self ,index:int,type:'ChartType',rectangle:'RectangleF',init:bool):
259
303
  """
260
- <summary>
261
- Add a new chart to collection.
262
- </summary>
263
- <param name="index">Index should be inserted.</param>
264
- <param name="type">Chart type</param>
265
- <param name="rectangle">Rectangle should inserted.</param>
304
+ Inserts a new chart at specified position.
305
+
306
+ Args:
307
+ index: Insertion index
308
+ type: Type of chart to create
309
+ rectangle: Bounding rectangle for chart
310
+ init: Initialize with default data
266
311
  """
267
312
  enumtype:c_int = type.value
268
313
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -272,13 +317,15 @@ class ShapeList (SpireObject) :
272
317
 
273
318
  def AppendOleObject(self ,objectName:str,objectData:'Stream',rectangle:RectangleF)->IOleObject:
274
319
  """
275
- <summary>
276
- Add a new OleObject to Collection
277
- </summary>
278
- <param name="objectName">Object Name</param>
279
- <param name="objectData">Object Data</param>
280
- <param name="rectangle">Rectangle should be inserted.</param>
281
- <returns></returns>
320
+ Adds a new OLE object.
321
+
322
+ Args:
323
+ objectName: Name of the OLE object
324
+ objectData: Data stream for the object
325
+ rectangle: Bounding rectangle
326
+
327
+ Returns:
328
+ IOleObject: New OLE object instance
282
329
  """
283
330
  intPtrobjectData:c_void_p = objectData.Ptr
284
331
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -323,13 +370,13 @@ class ShapeList (SpireObject) :
323
370
 
324
371
  def InsertOleObject(self ,index:int,objectName:str,objectData:'Stream',rectangle:RectangleF):
325
372
  """
326
- <summary>
327
- Insert a object to collection.
328
- </summary>
329
- <param name="index">Index should be inserted.</param>
330
- <param name="objectName">Object name</param>
331
- <param name="objectData">Object data</param>
332
- <param name="rectangle">Rectangle should be inserted</param>
373
+ Inserts an OLE object at specified position.
374
+
375
+ Args:
376
+ index: Insertion index
377
+ objectName: Name of the OLE object
378
+ objectData: Data stream for the object
379
+ rectangle: Bounding rectangle
333
380
  """
334
381
  intPtrobjectData:c_void_p = objectData.Ptr
335
382
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -366,12 +413,14 @@ class ShapeList (SpireObject) :
366
413
 
367
414
  def AppendVideoMedia(self ,filePath:str,rectangle:RectangleF)->'IVideo':
368
415
  """
369
- <summary>
370
- Add a new video to collection. innerLink mode
371
- </summary>
372
- <param name="filePath"></param>
373
- <param name="rectangle"></param>
374
- <returns></returns>
416
+ Adds a new video (internal link mode).
417
+
418
+ Args:
419
+ filePath: Path to video file
420
+ rectangle: Bounding rectangle
421
+
422
+ Returns:
423
+ IVideo: New video object
375
424
  """
376
425
  intPtrrectangle:c_void_p = rectangle.Ptr
377
426
 
@@ -384,13 +433,15 @@ class ShapeList (SpireObject) :
384
433
 
385
434
  def AppendVideoMediaLink(self ,filePath:str,rectangle:RectangleF,isInnerLink:bool)->'IVideo':
386
435
  """
387
- <summary>
388
- Add a new video to collection.
389
- </summary>
390
- <param name="filePath"></param>
391
- <param name="rectangle"></param>
392
- <param name="isInnerLink"></param>
393
- <returns></returns>
436
+ Adds a new video with link option.
437
+
438
+ Args:
439
+ filePath: Path to video file
440
+ rectangle: Bounding rectangle
441
+ isInnerLink: Use internal link
442
+
443
+ Returns:
444
+ IVideo: New video object
394
445
  """
395
446
  intPtrrectangle:c_void_p = rectangle.Ptr
396
447
 
@@ -404,13 +455,14 @@ class ShapeList (SpireObject) :
404
455
 
405
456
  def AppendVideoMediaByStream(self ,stream:Stream,rectangle:RectangleF)->'IVideo':
406
457
  """
407
- <summary>
408
- Add a new video to collection by stream.
409
- </summary>
410
- <param name="stream">video stream object</param>
411
- <param name="rectangle">rectangle for placing video</param>
412
- <param name="isInnerLink"></param>
413
- <returns></returns>
458
+ Adds a new video from stream.
459
+
460
+ Args:
461
+ stream: Video data stream
462
+ rectangle: Bounding rectangle
463
+
464
+ Returns:
465
+ IVideo: New video object
414
466
  """
415
467
  intPtrstream:c_void_p = stream.Ptr
416
468
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -425,12 +477,12 @@ class ShapeList (SpireObject) :
425
477
 
426
478
  def InsertVideoMedia(self ,index:int,filePath:str,rectangle:'RectangleF'):
427
479
  """
428
- <summary>
429
- Adds a new video to collection.
430
- </summary>
431
- <param name="index">Index should be inserted.</param>
432
- <param name="filePath">Video file path.</param>
433
- <param name="rectangle">Rectangle should be inserted.</param>
480
+ Inserts a video at specified position.
481
+
482
+ Args:
483
+ index: Insertion index
484
+ filePath: Path to video file
485
+ rectangle: Bounding rectangle
434
486
  """
435
487
  intPtrrectangle:c_void_p = rectangle.Ptr
436
488
 
@@ -442,11 +494,13 @@ class ShapeList (SpireObject) :
442
494
 
443
495
  def AppendAudioMediaByRect(self ,rectangle:RectangleF)->'IAudio':
444
496
  """
445
- <summary>
446
- Adds an Audio from CD
447
- </summary>
448
- <param name="rectangle">Rectangle should be inserted</param>
449
- <returns></returns>
497
+ Adds an audio placeholder (CD audio).
498
+
499
+ Args:
500
+ rectangle: Bounding rectangle
501
+
502
+ Returns:
503
+ IAudio: New audio object
450
504
  """
451
505
  intPtrrectangle:c_void_p = rectangle.Ptr
452
506
 
@@ -461,11 +515,11 @@ class ShapeList (SpireObject) :
461
515
 
462
516
  def InsertAudioMedia(self ,index:int,rectangle:RectangleF):
463
517
  """
464
- <summary>
465
- Insert an Audio From CD.
466
- </summary>
467
- <param name="index">Index should be inserted.</param>
468
- <param name="rectangle">Rectangle should be inserted.</param>
518
+ Inserts an audio placeholder (CD audio).
519
+
520
+ Args:
521
+ index: Insertion index
522
+ rectangle: Bounding rectangle
469
523
  """
470
524
  intPtrrectangle:c_void_p = rectangle.Ptr
471
525
 
@@ -476,14 +530,16 @@ class ShapeList (SpireObject) :
476
530
 
477
531
  def AppendAudioMediaByPathXYEmbed(self ,filePath:str,X:float,Y:float,isEmbed:bool)->'IAudio':
478
532
  """
479
- <summary>
480
- Adds a new audio to list.
481
- </summary>
482
- <param name="filePath">Audio file name</param>
483
- <param name="X">X Position</param>
484
- <param name="Y">Y Position</param>
485
- <param name="isEmbed">Whether embed or not</param>
486
- <returns></returns>
533
+ Adds a new audio file with embedding option.
534
+
535
+ Args:
536
+ filePath: Path to audio file
537
+ X: X-coordinate
538
+ Y: Y-coordinate
539
+ isEmbed: Embed audio in presentation
540
+
541
+ Returns:
542
+ IAudio: New audio object
487
543
  """
488
544
 
489
545
  filePathPtr = StrToPtr(filePath)
@@ -498,13 +554,15 @@ class ShapeList (SpireObject) :
498
554
 
499
555
  def AppendAudioMediaByPathXY(self ,filePath:str,X:float,Y:float)->'IAudio':
500
556
  """
501
- <summary>
502
- Adds a new audio to list.
503
- </summary>
504
- <param name="filePath">Audio file name</param>
505
- <param name="X">X Position</param>
506
- <param name="Y">Y Position</param>
507
- <returns></returns>
557
+ Adds a new audio file.
558
+
559
+ Args:
560
+ filePath: Path to audio file
561
+ X: X-coordinate
562
+ Y: Y-coordinate
563
+
564
+ Returns:
565
+ IAudio: New audio object
508
566
  """
509
567
 
510
568
  filePathPtr = StrToPtr(filePath)
@@ -518,13 +576,15 @@ class ShapeList (SpireObject) :
518
576
 
519
577
  def AppendAudioMediaEmbed(self ,filePath:str,rectangle:RectangleF,isEmbed:bool)->'IAudio':
520
578
  """
521
- <summary>
522
- Adds a new audio to list.
523
- </summary>
524
- <param name="filePath">Audio file name</param>
525
- <param name="rectangle">Rectangle should be inserted</param>
526
- <param name="isEmbed">Whether embed or not,default not</param>
527
- <returns></returns>
579
+ Adds a new audio file with rectangle and embed option.
580
+
581
+ Args:
582
+ filePath: Path to audio file
583
+ rectangle: Bounding rectangle
584
+ isEmbed: Embed audio in presentation
585
+
586
+ Returns:
587
+ IAudio: New audio object
528
588
  """
529
589
  filePathPtr = StrToPtr(filePath)
530
590
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -536,12 +596,14 @@ class ShapeList (SpireObject) :
536
596
 
537
597
  def AppendAudioMedia(self ,filePath:str,rectangle:RectangleF)->'IAudio':
538
598
  """
539
- <summary>
540
- Adds a new audio to list.
541
- </summary>
542
- <param name="filePath">Audio file name</param>
543
- <param name="rectangle">Rectangle should be inserted</param>
544
- <returns></returns>
599
+ Adds a new audio file with rectangle.
600
+
601
+ Args:
602
+ filePath: Path to audio file
603
+ rectangle: Bounding rectangle
604
+
605
+ Returns:
606
+ IAudio: New audio object
545
607
  """
546
608
  intPtrrectangle:c_void_p = rectangle.Ptr
547
609
 
@@ -557,12 +619,13 @@ class ShapeList (SpireObject) :
557
619
 
558
620
  def InsertAudioMedia(self ,index:int,filePath:str,rectangle:RectangleF,isEmbed:bool):
559
621
  """
560
- <summary>
561
- Insert an audio to collection.
562
- </summary>
563
- <param name="filePath">Audio file path</param>
564
- <param name="rectangle">Rectangle should be inserted.</param>
565
- <param name="isEmbed">Whether embed or not,default not</param>
622
+ Inserts an audio file with embed option.
623
+
624
+ Args:
625
+ index: Insertion index
626
+ filePath: Path to audio file
627
+ rectangle: Bounding rectangle
628
+ isEmbed: Embed audio in presentation
566
629
  """
567
630
  intPtrrectangle:c_void_p = rectangle.Ptr
568
631
 
@@ -574,11 +637,12 @@ class ShapeList (SpireObject) :
574
637
 
575
638
  def InsertAudioMedia(self ,index:int,filePath:str,rectangle:RectangleF):
576
639
  """
577
- <summary>
578
- Insert an audio to collection.
579
- </summary>
580
- <param name="filePath">Audio file path</param>
581
- <param name="rectangle">Rectangle should be inserted.</param>
640
+ Inserts an audio file.
641
+
642
+ Args:
643
+ index: Insertion index
644
+ filePath: Path to audio file
645
+ rectangle: Bounding rectangle
582
646
  """
583
647
  intPtrrectangle:c_void_p = rectangle.Ptr
584
648
 
@@ -590,15 +654,15 @@ class ShapeList (SpireObject) :
590
654
 
591
655
  def InsertAudioMedia(self ,index:int,filePath:str,X:float,Y:float,isEmbed:bool):
592
656
  """
593
- <summary>
594
- Insert an audio to collection.
595
- </summary>
596
- <param name="filePath">Audio file path</param>
597
- <param name="X">X Position</param>
598
- <param name="Y">Y Position</param>
599
- <param name="isEmbed">Whether embed or not,default not</param>
600
- """
657
+ Inserts an audio file with coordinates and embed option.
601
658
 
659
+ Args:
660
+ index: Insertion index
661
+ filePath: Path to audio file
662
+ X: X-coordinate
663
+ Y: Y-coordinate
664
+ isEmbed: Embed audio in presentation
665
+ """
602
666
  filePathPtr = StrToPtr(filePath)
603
667
  GetDllLibPpt().ShapeList_InsertAudioMediaIFXYI.argtypes=[c_void_p ,c_int,c_char_p,c_float,c_float,c_bool]
604
668
  CallCFunction(GetDllLibPpt().ShapeList_InsertAudioMediaIFXYI,self.Ptr, index,filePathPtr,X,Y,isEmbed)
@@ -607,12 +671,13 @@ class ShapeList (SpireObject) :
607
671
 
608
672
  def InsertAudioMedia(self ,index:int,filePath:str,X:float,Y:float):
609
673
  """
610
- <summary>
611
- Insert an audio to collection.
612
- </summary>
613
- <param name="filePath">Audio file path</param>
614
- <param name="X">X Position</param>
615
- <param name="Y">Y Position</param>
674
+ Inserts an audio file with coordinates.
675
+
676
+ Args:
677
+ index: Insertion index
678
+ filePath: Path to audio file
679
+ X: X-coordinate
680
+ Y: Y-coordinate
616
681
  """
617
682
 
618
683
  filePathPtr = StrToPtr(filePath)
@@ -622,12 +687,14 @@ class ShapeList (SpireObject) :
622
687
 
623
688
  def AppendAudioMediaByStreamRect(self ,stream:Stream,rectangle:RectangleF)->'IAudio':
624
689
  """
625
- <summary>
626
- Adds a new audio to list.
627
- </summary>
628
- <param name="stream">Audio stream</param>
629
- <param name="rectangle">Rectangle should be inserted</param>
630
- <returns></returns>
690
+ Adds a new audio from stream with rectangle.
691
+
692
+ Args:
693
+ stream: Audio data stream
694
+ rectangle: Bounding rectangle
695
+
696
+ Returns:
697
+ IAudio: New audio object
631
698
  """
632
699
  intPtrstream:c_void_p = stream.Ptr
633
700
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -641,12 +708,15 @@ class ShapeList (SpireObject) :
641
708
 
642
709
  def AppendAudioMediaByStreamFloat(self ,stream:Stream,X:float,Y:float)->'IAudio':
643
710
  """
644
- <summary>
645
- Adds a new audio to list.
646
- </summary>
647
- <param name="stream">Audio stream</param>
648
- <param name="rectangle">Rectangle should be inserted</param>
649
- <returns></returns>
711
+ Adds a new audio from stream with coordinates.
712
+
713
+ Args:
714
+ stream: Audio data stream
715
+ X: X-coordinate
716
+ Y: Y-coordinate
717
+
718
+ Returns:
719
+ IAudio: New audio object
650
720
  """
651
721
  intPtrstream:c_void_p = stream.Ptr
652
722
 
@@ -661,12 +731,12 @@ class ShapeList (SpireObject) :
661
731
 
662
732
  def InsertAudioMedia(self ,index:int,stream:Stream,rectangle:RectangleF):
663
733
  """
664
- <summary>
665
- Insert an audio to collection.
666
- </summary>
667
- <param name="index">Index to inserted.</param>
668
- <param name="stream">Audio stream</param>
669
- <param name="rectangle">Rectangle should be inserted.</param>
734
+ Inserts an audio from stream.
735
+
736
+ Args:
737
+ index: Insertion index
738
+ stream: Audio data stream
739
+ rectangle: Bounding rectangle
670
740
  """
671
741
  intPtrstream:c_void_p = stream.Ptr
672
742
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -677,11 +747,13 @@ class ShapeList (SpireObject) :
677
747
 
678
748
  def IndexOf(self ,shape:'IShape')->int:
679
749
  """
680
- <summary>
681
- Gets the index of the first occurrence of a shape in the collection.
682
- </summary>
683
- <param name="shape">Shape to found.</param>
684
- <returns>Index of the first occurrence of shape </returns>
750
+ Gets the index of the first occurrence of a shape.
751
+
752
+ Args:
753
+ shape: Shape to find
754
+
755
+ Returns:
756
+ int: Index of the shape in the collection
685
757
  """
686
758
  intPtrshape:c_void_p = shape.Ptr
687
759
 
@@ -690,48 +762,14 @@ class ShapeList (SpireObject) :
690
762
  ret = CallCFunction(GetDllLibPpt().ShapeList_IndexOf,self.Ptr, intPtrshape)
691
763
  return ret
692
764
 
693
- # @dispatch
694
- #
695
- # def ToArray(self)->List[IShape]:
696
- # """
697
- # <summary>
698
- # Creates and returns an array with all shapse in it.
699
- # </summary>
700
- # <returns>Array of <see cref="T:Spire.Presentation.Shape" /></returns>
701
- # """
702
- # GetDllLibPpt().ShapeList_ToArray.argtypes=[c_void_p]
703
- # GetDllLibPpt().ShapeList_ToArray.restype=IntPtrArray
704
- # intPtrArray = CallCFunction(GetDllLibPpt().ShapeList_ToArray,self.Ptr)
705
- # ret = GetVectorFromArray(intPtrArray, IShape)
706
- # return ret
707
-
708
-
709
- # @dispatch
710
- #
711
- # def ToArray(self ,startIndex:int,count:int)->List[IShape]:
712
- # """
713
- # <summary>
714
- # Creates and returns an array with all shapes from the specified range in it.
715
- # <param name="startIndex">An index of a first shape to return.</param> <param name="count">A number of shapes to return.</param></summary>
716
- # <returns>Array of <see cref="T:Spire.Presentation.Shape" /></returns>
717
- # """
718
- #
719
- # GetDllLibPpt().ShapeList_ToArraySC.argtypes=[c_void_p ,c_int,c_int]
720
- # GetDllLibPpt().ShapeList_ToArraySC.restype=IntPtrArray
721
- # intPtrArray = CallCFunction(GetDllLibPpt().ShapeList_ToArraySC,self.Ptr, startIndex,count)
722
- # ret = GetObjVectorFromArray(intPtrArray, IShape)
723
- # return ret
724
-
725
-
726
765
  @dispatch
727
766
 
728
767
  def ZOrder(self ,index:int,shape:IShape):
729
768
  """
730
- <summary>
731
769
  Change a shape's zorder.
732
- </summary>
733
- <param name="index">Target index.</param>
734
- <param name="shape">Shape to move.</param>
770
+ Args:
771
+ index:Target index.
772
+ shape:Shape to move.
735
773
  """
736
774
  intPtrshape:c_void_p = shape.Ptr
737
775
 
@@ -764,12 +802,14 @@ class ShapeList (SpireObject) :
764
802
 
765
803
  def AppendShape(self ,shapeType:ShapeType,rectangle:RectangleF)->'IAutoShape':
766
804
  """
767
- <summary>
768
- Adds a new shape to list.
769
- </summary>
770
- <param name="shapeType">Shape type</param>
771
- <param name="rectangle">Rectangle should be inserted.</param>
772
- <returns></returns>
805
+ Adds a new shape to the collection.
806
+
807
+ Args:
808
+ shapeType: Type of shape to create
809
+ rectangle: Bounding rectangle
810
+
811
+ Returns:
812
+ IAutoShape: New shape instance
773
813
  """
774
814
  enumshapeType:c_int = shapeType.value
775
815
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -785,7 +825,15 @@ class ShapeList (SpireObject) :
785
825
 
786
826
  def AppendShapeByPoint(self ,shapeType:ShapeType,start:PointF,end:PointF)->'IAutoShape':
787
827
  """
788
-
828
+ Adds a new shape defined by start and end points.
829
+
830
+ Args:
831
+ shapeType: Type of shape to create
832
+ start: Starting point
833
+ end: Ending point
834
+
835
+ Returns:
836
+ IAutoShape: New shape instance
789
837
  """
790
838
  enumshapeType:c_int = shapeType.value
791
839
  intPtrstart:c_void_p = start.Ptr
@@ -801,14 +849,17 @@ class ShapeList (SpireObject) :
801
849
 
802
850
  def AppendRoundRectangle(self ,x:float,y:float,width:float,height:float,radius:float)->'IAutoShape':
803
851
  """
804
- <summary>
805
- Adds a roundrectangle to list.
806
- </summary>
807
- <param name="x">X-coordinates of rectangle</param>
808
- <param name="y">Y-coordinates of rectangle</param>
809
- <param name="width">Width of rectangle</param>
810
- <param name="height">Height of rectangle</param>
811
- <param name="radius">Radius of rectangle</param>
852
+ Adds a round rectangle shape.
853
+
854
+ Args:
855
+ x: X-coordinate
856
+ y: Y-coordinate
857
+ width: Width of rectangle
858
+ height: Height of rectangle
859
+ radius: Corner radius
860
+
861
+ Returns:
862
+ IAutoShape: New shape instance
812
863
  """
813
864
 
814
865
  GetDllLibPpt().ShapeList_AppendRoundRectangle.argtypes=[c_void_p ,c_float,c_float,c_float,c_float,c_float]
@@ -821,12 +872,12 @@ class ShapeList (SpireObject) :
821
872
 
822
873
  def InsertShape(self ,index:int,shapeType:'ShapeType',rectangle:'RectangleF'):
823
874
  """
824
- <summary>
825
- Insert a new shape to collection.
826
- </summary>
827
- <param name="index">Index should be inserted.</param>
828
- <param name="shapeType">Shape type</param>
829
- <param name="rectangle">Rectangle shoud be inserted.</param>
875
+ Inserts a new shape at specified position.
876
+
877
+ Args:
878
+ index: Insertion index
879
+ shapeType: Type of shape to create
880
+ rectangle: Bounding rectangle
830
881
  """
831
882
  enumshapeType:c_int = shapeType.value
832
883
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -837,15 +888,15 @@ class ShapeList (SpireObject) :
837
888
 
838
889
  def InsertRoundRectangle(self ,index:int,x:float,y:float,width:float,height:float,radius:float):
839
890
  """
840
- <summary>
841
- Insert a roundrectangle to collection.
842
- </summary>
843
- <param name="index">Index should be inserted.</param>
844
- <param name="x">X-coordinates of rectangle</param>
845
- <param name="y">Y-coordinates of rectangle</param>
846
- <param name="width">Width of rectangle</param>
847
- <param name="height">Height of rectangle</param>
848
- <param name="radius">Radius of rectangle</param>
891
+ Inserts a round rectangle shape.
892
+
893
+ Args:
894
+ index: Insertion index
895
+ x: X-coordinate
896
+ y: Y-coordinate
897
+ width: Width of rectangle
898
+ height: Height of rectangle
899
+ radius: Corner radius
849
900
  """
850
901
 
851
902
  GetDllLibPpt().ShapeList_InsertRoundRectangle.argtypes=[c_void_p ,c_int,c_float,c_float,c_float,c_float,c_float]
@@ -854,12 +905,14 @@ class ShapeList (SpireObject) :
854
905
 
855
906
  def AppendShapeConnector(self ,shapeType:'ShapeType',rectangle:'RectangleF')->'IShape':
856
907
  """
857
- <summary>
858
- Add new shape connector to collection.
859
- </summary>
860
- <param name="shapeType">Shape type</param>
861
- <param name="rectangle">Rectangle should be inserted.</param>
862
- <returns>Created shape</returns>
908
+ Adds a new connector shape.
909
+
910
+ Args:
911
+ shapeType: Type of connector
912
+ rectangle: Bounding rectangle
913
+
914
+ Returns:
915
+ IShape: New connector shape
863
916
  """
864
917
  enumshapeType:c_int = shapeType.value
865
918
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -874,12 +927,12 @@ class ShapeList (SpireObject) :
874
927
 
875
928
  def InsertShapeConnector(self ,index:int,shapeType:'ShapeType',rectangle:'RectangleF'):
876
929
  """
877
- <summary>
878
- Insert a new shape connector to collection.
879
- </summary>
880
- <param name="index">Index should be inserted.</param>
881
- <param name="shapeType">Shape type.</param>
882
- <param name="rectangle">Rectangle should be inserted.</param>
930
+ Inserts a new connector shape.
931
+
932
+ Args:
933
+ index: Insertion index
934
+ shapeType: Type of connector
935
+ rectangle: Bounding rectangle
883
936
  """
884
937
  enumshapeType:c_int = shapeType.value
885
938
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -889,13 +942,15 @@ class ShapeList (SpireObject) :
889
942
 
890
943
  def AppendEmbedImageByImageData(self ,shapeType:ShapeType,embedImage:'IImageData',rectangle:RectangleF)->'IEmbedImage':
891
944
  """
892
- <summary>
893
- Add a new embed image to List.
894
- </summary>
895
- <param name="shapeType"></param>
896
- <param name="embedImage"></param>
897
- <param name="rectangle"></param>
898
- <returns></returns>
945
+ Adds a new embedded image from image data.
946
+
947
+ Args:
948
+ shapeType: Type of image shape
949
+ embedImage: Image data object
950
+ rectangle: Bounding rectangle
951
+
952
+ Returns:
953
+ IEmbedImage: New image shape
899
954
  """
900
955
  enumshapeType:c_int = shapeType.value
901
956
  intPtrembedImage:c_void_p = embedImage.Ptr
@@ -910,13 +965,15 @@ class ShapeList (SpireObject) :
910
965
 
911
966
  def AppendEmbedImageByPath(self ,shapeType:ShapeType,fileName:str,rectangle:RectangleF)->'IEmbedImage':
912
967
  """
913
- <summary>
914
- Add a new embed image to List.
915
- </summary>
916
- <param name="shapeType"></param>
917
- <param name="fileName"></param>
918
- <param name="rectangle"></param>
919
- <returns></returns>
968
+ Adds a new embedded image from file.
969
+
970
+ Args:
971
+ shapeType: Type of image shape
972
+ fileName: Path to image file
973
+ rectangle: Bounding rectangle
974
+
975
+ Returns:
976
+ IEmbedImage: New image shape
920
977
  """
921
978
  enumshapeType:c_int = shapeType.value
922
979
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -930,13 +987,15 @@ class ShapeList (SpireObject) :
930
987
 
931
988
  def AppendEmbedImageByStream(self ,shapeType:ShapeType,stream:Stream,rectangle:RectangleF)->'IEmbedImage':
932
989
  """
933
- <summary>
934
- Add a new embed image to List.
935
- </summary>
936
- <param name="shapeType"></param>
937
- <param name="embedImage"></param>
938
- <param name="rectangle"></param>
939
- <returns></returns>
990
+ Adds a new embedded image from stream.
991
+
992
+ Args:
993
+ shapeType: Type of image shape
994
+ stream: Image data stream
995
+ rectangle: Bounding rectangle
996
+
997
+ Returns:
998
+ IEmbedImage: New image shape
940
999
  """
941
1000
  enumshapeType:c_int = shapeType.value
942
1001
  intPtrstream:c_void_p = stream.Ptr
@@ -952,13 +1011,13 @@ class ShapeList (SpireObject) :
952
1011
 
953
1012
  def InsertEmbedImage(self ,index:int,shapeType:'ShapeType',rectangle:'RectangleF',embedImage:'IImageData'):
954
1013
  """
955
- <summary>
956
- Insert a embed image to collection.
957
- </summary>
958
- <param name="index">Index should be inserted.</param>
959
- <param name="shapeType">Shape type.</param>
960
- <param name="rectangle">Rectangle should be inserted.</param>
961
- <param name="embedImage">Embed image object.</param>
1014
+ Inserts an embedded image.
1015
+
1016
+ Args:
1017
+ index: Insertion index
1018
+ shapeType: Type of image shape
1019
+ rectangle: Bounding rectangle
1020
+ embedImage: Image data object
962
1021
  """
963
1022
  enumshapeType:c_int = shapeType.value
964
1023
  intPtrrectangle:c_void_p = rectangle.Ptr
@@ -970,10 +1029,10 @@ class ShapeList (SpireObject) :
970
1029
 
971
1030
  def AddShape(self ,shape:'Shape'):
972
1031
  """
973
- <summary>
974
- Add a shape to collection from slide.
975
- </summary>
976
- <param name="index">shape should be inserted.</param>
1032
+ Adds an existing shape to the collection.
1033
+
1034
+ Args:
1035
+ shape: Shape to add
977
1036
  """
978
1037
  intPtrshape:c_void_p = shape.Ptr
979
1038
 
@@ -983,14 +1042,16 @@ class ShapeList (SpireObject) :
983
1042
 
984
1043
  def AppendTable(self ,x:float,y:float,widths:List[float],heights:List[float])->'ITable':
985
1044
  """
986
- <summary>
987
- Add a new table to collection.
988
- </summary>
989
- <param name="x"></param>
990
- <param name="y"></param>
991
- <param name="widths"></param>
992
- <param name="heights"></param>
993
- <returns></returns>
1045
+ Adds a new table to the collection.
1046
+
1047
+ Args:
1048
+ x: X-coordinate
1049
+ y: Y-coordinate
1050
+ widths: List of column widths
1051
+ heights: List of row heights
1052
+
1053
+ Returns:
1054
+ ITable: New table instance
994
1055
  """
995
1056
  #arraywidths:ArrayTypewidths = ""
996
1057
  countwidths = len(widths)
@@ -1017,14 +1078,14 @@ class ShapeList (SpireObject) :
1017
1078
 
1018
1079
  def InsertTable(self ,index:int,x:float,y:float,columnWidths:List[float],rowHeights:List[float]):
1019
1080
  """
1020
- <summary>
1021
- Adds a new Table to collection.
1022
- </summary>
1023
- <param name="index">Index should be inserted.</param>
1024
- <param name="x">Left side of shape.</param>
1025
- <param name="y">Top side of shape.</param>
1026
- <param name="columnWidths">Widths of columns in the table.</param>
1027
- <param name="rowHeights">Heights of rows in the table.</param>
1081
+ Inserts a new table at specified position.
1082
+
1083
+ Args:
1084
+ index: Insertion index
1085
+ x: X-coordinate
1086
+ y: Y-coordinate
1087
+ columnWidths: List of column widths
1088
+ rowHeights: List of row heights
1028
1089
  """
1029
1090
  #arraycolumnWidths:ArrayTypecolumnWidths = ""
1030
1091
  countcolumnWidths = len(columnWidths)
@@ -1047,10 +1108,10 @@ class ShapeList (SpireObject) :
1047
1108
 
1048
1109
  def RemoveAt(self ,index:int):
1049
1110
  """
1050
- <summary>
1051
- Removes the element at the specified index of the collection.
1052
- </summary>
1053
- <param name="index">The zero-based index of the element to remove.</param>
1111
+ Removes the shape at the specified index.
1112
+
1113
+ Args:
1114
+ index: Index of shape to remove
1054
1115
  """
1055
1116
 
1056
1117
  GetDllLibPpt().ShapeList_RemoveAt.argtypes=[c_void_p ,c_int]
@@ -1059,10 +1120,10 @@ class ShapeList (SpireObject) :
1059
1120
 
1060
1121
  def Remove(self ,shape:'IShape'):
1061
1122
  """
1062
- <summary>
1063
- Removes the first occurrence of a specific shape from the collection.
1064
- </summary>
1065
- <param name="shape">The shape to remove from the collection.</param>
1123
+ Removes a specific shape from the collection.
1124
+
1125
+ Args:
1126
+ shape: Shape to remove
1066
1127
  """
1067
1128
  intPtrshape:c_void_p = shape.Ptr
1068
1129