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,28 +8,35 @@ from ctypes import *
8
8
  import abc
9
9
 
10
10
  class Presentation (_Presentation) :
11
+ """
12
+ Represents a PowerPoint presentation document. Provides comprehensive functionality
13
+ for creating, loading, manipulating, saving, and presenting slideshow documents.
14
+ """
11
15
 
12
16
  @dispatch
13
17
  def __init__(self):
18
+ """
19
+ Initializes a new empty Presentation instance.
20
+ """
14
21
  GetDllLibPpt().Presentation_CreatePresentation.restype = c_void_p
15
22
  intPtr = CallCFunction(GetDllLibPpt().Presentation_CreatePresentation)
16
23
  super(Presentation, self).__init__(intPtr)
17
24
  def __del__(self):
25
+ """
26
+ Destructor that releases resources associated with the Presentation instance.
27
+ """
18
28
  GetDllLibPpt().Presentation_Dispose.argtypes = [c_void_p]
19
29
  CallCFunction(GetDllLibPpt().Presentation_Dispose,self.Ptr)
20
30
  super(Presentation, self).__del__()
21
- """
22
- <summary>
23
- Represents an Presentation document.
24
- </summary>
25
- """
31
+
26
32
  @property
27
33
 
28
34
  def SlideSize(self)->'SlideSize':
29
35
  """
30
- <summary>
31
- Get slide size.
32
- </summary>
36
+ Gets the current slide size configuration.
37
+
38
+ Returns:
39
+ SlideSize: Object representing slide dimensions and orientation.
33
40
  """
34
41
  GetDllLibPpt().Presentation_get_SlideSize.argtypes=[c_void_p]
35
42
  GetDllLibPpt().Presentation_get_SlideSize.restype=c_void_p
@@ -42,7 +49,10 @@ class Presentation (_Presentation) :
42
49
 
43
50
  def SectionList(self)->'SectionList':
44
51
  """
52
+ Gets the collection of sections organizing slides in the presentation.
45
53
 
54
+ Returns:
55
+ SectionList: Collection of presentation sections.
46
56
  """
47
57
  GetDllLibPpt().Presentation_get_SectionList.argtypes=[c_void_p]
48
58
  GetDllLibPpt().Presentation_get_SectionList.restype=c_void_p
@@ -54,12 +64,12 @@ class Presentation (_Presentation) :
54
64
 
55
65
  def SetPageSize(self ,w:float,h:float,IsRatio:bool):
56
66
  """
57
- <summary>
58
- Set page size.
59
- </summary>
60
- <param name="w">Width or width ratio</param>
61
- <param name="h">Height or height ratio</param>
62
- <param name="IsRation">Is ratio</param>
67
+ Configures the page/slide dimensions.
68
+
69
+ Args:
70
+ w: Width value or width ratio
71
+ h: Height value or height ratio
72
+ IsRatio: True if values represent ratios, False for absolute units
63
73
  """
64
74
 
65
75
  GetDllLibPpt().Presentation_SetPageSize.argtypes=[c_void_p ,c_float,c_float,c_bool]
@@ -68,7 +78,9 @@ class Presentation (_Presentation) :
68
78
  @property
69
79
  def StrictFirstAndLastCharacters(self)->bool:
70
80
  """
81
+ Gets or sets whether to use strict typography rules for first/last characters.
71
82
 
83
+ This property controls typographic rules regarding line breaks and character positioning.
72
84
  """
73
85
  GetDllLibPpt().Presentation_get_StrictFirstAndLastCharacters.argtypes=[c_void_p]
74
86
  GetDllLibPpt().Presentation_get_StrictFirstAndLastCharacters.restype=c_bool
@@ -84,9 +96,10 @@ class Presentation (_Presentation) :
84
96
 
85
97
  def WavAudios(self)->'WavAudioCollection':
86
98
  """
87
- <summary>
88
- Gets the collection of all embedded audio.
89
- </summary>
99
+ Gets the collection of all embedded audio files in the presentation.
100
+
101
+ Returns:
102
+ WavAudioCollection: Collection of audio objects.
90
103
  """
91
104
  GetDllLibPpt().Presentation_get_WavAudios.argtypes=[c_void_p]
92
105
  GetDllLibPpt().Presentation_get_WavAudios.restype=c_void_p
@@ -99,9 +112,10 @@ class Presentation (_Presentation) :
99
112
 
100
113
  def Videos(self)->'VideoCollection':
101
114
  """
102
- <summary>
103
- Gets the collection of all embedded video.
104
- </summary>
115
+ Gets the collection of all embedded video files in the presentation.
116
+
117
+ Returns:
118
+ VideoCollection: Collection of video objects.
105
119
  """
106
120
  GetDllLibPpt().Presentation_get_Videos.argtypes=[c_void_p]
107
121
  GetDllLibPpt().Presentation_get_Videos.restype=c_void_p
@@ -114,9 +128,10 @@ class Presentation (_Presentation) :
114
128
 
115
129
  def TagsList(self)->'TagCollection':
116
130
  """
117
- <summary>
118
- Gets the tags collection.
119
- </summary>
131
+ Gets the collection of document tags/metadata.
132
+
133
+ Returns:
134
+ TagCollection: Collection of tag objects.
120
135
  """
121
136
  GetDllLibPpt().Presentation_get_TagsList.argtypes=[c_void_p]
122
137
  GetDllLibPpt().Presentation_get_TagsList.restype=c_void_p
@@ -129,9 +144,10 @@ class Presentation (_Presentation) :
129
144
 
130
145
  def Images(self)->'ImageCollection':
131
146
  """
132
- <summary>
133
- Gets the collection of all images.
134
- </summary>
147
+ Gets the collection of all images used in the presentation.
148
+
149
+ Returns:
150
+ ImageCollection: Collection of image objects.
135
151
  """
136
152
  GetDllLibPpt().Presentation_get_Images.argtypes=[c_void_p]
137
153
  GetDllLibPpt().Presentation_get_Images.restype=c_void_p
@@ -144,9 +160,10 @@ class Presentation (_Presentation) :
144
160
 
145
161
  def DocumentProperty(self)->'IDocumentProperty':
146
162
  """
147
- <summary>
148
- Gets Standard and custom document properties.
149
- </summary>
163
+ Gets standard and custom document properties.
164
+
165
+ Returns:
166
+ IDocumentProperty: Interface for accessing document properties.
150
167
  """
151
168
  GetDllLibPpt().Presentation_get_DocumentProperty.argtypes=[c_void_p]
152
169
  GetDllLibPpt().Presentation_get_DocumentProperty.restype=c_void_p
@@ -159,9 +176,10 @@ class Presentation (_Presentation) :
159
176
 
160
177
  def CommentAuthors(self)->'CommentAuthorCollection':
161
178
  """
162
- <summary>
163
- Gets CommentAuthor List.
164
- </summary>
179
+ Gets the collection of comment authors in the presentation.
180
+
181
+ Returns:
182
+ CommentAuthorCollection: Collection of comment author objects.
165
183
  """
166
184
  GetDllLibPpt().Presentation_get_CommentAuthors.argtypes=[c_void_p]
167
185
  GetDllLibPpt().Presentation_get_CommentAuthors.restype=c_void_p
@@ -173,7 +191,9 @@ class Presentation (_Presentation) :
173
191
  @property
174
192
  def DFlag(self)->bool:
175
193
  """
194
+ Gets or sets the document flag status (internal use).
176
195
 
196
+ This property is used internally for document state tracking.
177
197
  """
178
198
  GetDllLibPpt().Presentation_get_DFlag.argtypes=[c_void_p]
179
199
  GetDllLibPpt().Presentation_get_DFlag.restype=c_bool
@@ -189,10 +209,10 @@ class Presentation (_Presentation) :
189
209
 
190
210
  def FormatAndVersion(self)->'FormatAndVersion':
191
211
  """
192
- <summary>
193
- Gets the the Format and Version of file;
194
- read-only
195
- </summary>
212
+ Gets the file format and version of the presentation (read-only).
213
+
214
+ Returns:
215
+ FormatAndVersion: Enumeration value representing file format and version.
196
216
  """
197
217
  GetDllLibPpt().Presentation_get_FormatAndVersion.argtypes=[c_void_p]
198
218
  GetDllLibPpt().Presentation_get_FormatAndVersion.restype=c_int
@@ -225,10 +245,10 @@ class Presentation (_Presentation) :
225
245
 
226
246
  def GetDigitalSignatures(self)->'IDigitalSignatures':
227
247
  """
228
- <summary>
229
- Get collection of DigitalSignature in this file.
230
- </summary>
231
- <returns>Collection of DigitalSignature</returns>
248
+ Gets the collection of digital signatures applied to the document.
249
+
250
+ Returns:
251
+ IDigitalSignatures: Collection of digital signature objects.
232
252
  """
233
253
  GetDllLibPpt().Presentation_GetDigitalSignatures.argtypes=[c_void_p]
234
254
  GetDllLibPpt().Presentation_GetDigitalSignatures.restype=c_void_p
@@ -239,9 +259,7 @@ class Presentation (_Presentation) :
239
259
 
240
260
  def RemoveAllDigitalSignatures(self):
241
261
  """
242
- <summary>
243
- Remove all DigitalSignature in this file.
244
- </summary>
262
+ Removes all digital signatures from the document.
245
263
  """
246
264
  GetDllLibPpt().Presentation_RemoveAllDigitalSignatures.argtypes=[c_void_p]
247
265
  CallCFunction(GetDllLibPpt().Presentation_RemoveAllDigitalSignatures,self.Ptr)
@@ -249,9 +267,10 @@ class Presentation (_Presentation) :
249
267
  @property
250
268
  def IsDigitallySigned(self)->bool:
251
269
  """
252
- <summary>
253
- Indicates whether this spreadsheet is digitally signed.
254
- </summary>
270
+ Indicates whether the presentation contains digital signatures.
271
+
272
+ Returns:
273
+ bool: True if digitally signed, False otherwise.
255
274
  """
256
275
  GetDllLibPpt().Presentation_get_IsDigitallySigned.argtypes=[c_void_p]
257
276
  GetDllLibPpt().Presentation_get_IsDigitallySigned.restype=c_bool
@@ -261,9 +280,10 @@ class Presentation (_Presentation) :
261
280
 
262
281
  def SetCustomFontsFolder(self ,fontsFolder:str):
263
282
  """
264
- <summary>
265
- Set folder where the custom font is located.
266
- <param name="fontsFolder">the fonts folfer.</param></summary>
283
+ Sets the folder path for custom fonts used in the presentation.
284
+
285
+ Args:
286
+ fontsFolder: Path to the folder containing custom fonts
267
287
  """
268
288
 
269
289
  fontsFolderPtr = StrToPtr(fontsFolder)
@@ -274,9 +294,13 @@ class Presentation (_Presentation) :
274
294
 
275
295
  def IsPasswordProtected(self ,fileName:str)->bool:
276
296
  """
277
- <summary>
278
- Determine whether the document is encrypted
279
- </summary>
297
+ Determines if a file is password protected.
298
+
299
+ Args:
300
+ fileName: Path to the file to check
301
+
302
+ Returns:
303
+ bool: True if password protected, False otherwise
280
304
  """
281
305
 
282
306
  fileNamePtr = StrToPtr(fileName)
@@ -289,9 +313,13 @@ class Presentation (_Presentation) :
289
313
 
290
314
  def IsPasswordProtected(self ,stream:Stream)->bool:
291
315
  """
292
- <summary>
293
- Determine whether the document is encrypted
294
- <param name="stream">file stream</param></summary>
316
+ Determines if a stream contains a password protected presentation.
317
+
318
+ Args:
319
+ stream: Input stream containing presentation data
320
+
321
+ Returns:
322
+ bool: True if password protected, False otherwise
295
323
  """
296
324
  intPtrstream:c_void_p = stream.Ptr
297
325
 
@@ -303,9 +331,9 @@ class Presentation (_Presentation) :
303
331
  @property
304
332
  def HighQualityImage(self)->bool:
305
333
  """
306
- <summary>
307
- Determine whether the document is encrypted
308
- <param name="stream">file stream</param></summary>
334
+ Gets or sets whether to use high-quality image rendering.
335
+
336
+ When True, images will be rendered at higher quality at the cost of performance.
309
337
  """
310
338
  GetDllLibPpt().Presentation_get_HighQualityImage.argtypes=[c_void_p]
311
339
  GetDllLibPpt().Presentation_get_HighQualityImage.restype=c_bool
@@ -319,12 +347,18 @@ class Presentation (_Presentation) :
319
347
 
320
348
 
321
349
  def SlideSizeAutoFit(self, value:bool):
350
+ """
351
+ Enables or disables automatic slide size fitting.
352
+
353
+ Args:
354
+ value: True to enable auto-fitting, False to disable
355
+ """
322
356
  GetDllLibPpt().Presentation_set_SlideSizeAutoFit.argtypes=[c_void_p, c_bool]
323
357
  CallCFunction(GetDllLibPpt().Presentation_set_SlideSizeAutoFit,self.Ptr, value)
324
358
 
325
359
  def Dispose(self):
326
360
  """
327
-
361
+ Releases all resources used by the Presentation object.
328
362
  """
329
363
  GetDllLibPpt().Presentation_Dispose.argtypes=[c_void_p]
330
364
  CallCFunction(GetDllLibPpt().Presentation_Dispose,self.Ptr)
@@ -333,9 +367,10 @@ class Presentation (_Presentation) :
333
367
 
334
368
  def SaveToPdfOption(self)->'SaveToPdfOption':
335
369
  """
336
- <summary>
337
- SaveToPdfOption
338
- </summary>
370
+ Gets or sets options for saving to PDF format.
371
+
372
+ Returns:
373
+ SaveToPdfOption: Configuration object for PDF export.
339
374
  """
340
375
  GetDllLibPpt().Presentation_get_SaveToPdfOption.argtypes=[c_void_p]
341
376
  GetDllLibPpt().Presentation_get_SaveToPdfOption.restype=c_void_p
@@ -353,7 +388,10 @@ class Presentation (_Presentation) :
353
388
 
354
389
  def SaveToHtmlOption(self)->'SaveToHtmlOption':
355
390
  """
391
+ Gets or sets options for saving to HTML format.
356
392
 
393
+ Returns:
394
+ SaveToHtmlOption: Configuration object for HTML export.
357
395
  """
358
396
  GetDllLibPpt().Presentation_get_SaveToHtmlOption.argtypes=[c_void_p]
359
397
  GetDllLibPpt().Presentation_get_SaveToHtmlOption.restype=c_void_p
@@ -371,9 +409,10 @@ class Presentation (_Presentation) :
371
409
 
372
410
  def SaveToPptxOption(self)->'SaveToPptxOption':
373
411
  """
374
- <summary>
375
- save to pptx option.
376
- </summary>
412
+ Gets or sets options for saving to PPTX format.
413
+
414
+ Returns:
415
+ SaveToPptxOption: Configuration object for PPTX export.
377
416
  """
378
417
  GetDllLibPpt().Presentation_get_SaveToPptxOption.argtypes=[c_void_p]
379
418
  GetDllLibPpt().Presentation_get_SaveToPptxOption.restype=c_void_p
@@ -390,11 +429,13 @@ class Presentation (_Presentation) :
390
429
 
391
430
  def FindSlide(self ,id:int)->'ISlide':
392
431
  """
393
- <summary>
394
- Find a slide by ID.
395
- </summary>
396
- <param name="id"></param>
397
- <returns></returns>
432
+ Finds a slide by its unique identifier.
433
+
434
+ Args:
435
+ id: Slide identifier to locate
436
+
437
+ Returns:
438
+ ISlide: Found slide object or None if not found
398
439
  """
399
440
 
400
441
  GetDllLibPpt().Presentation_FindSlide.argtypes=[c_void_p ,c_int]
@@ -422,10 +463,10 @@ class Presentation (_Presentation) :
422
463
 
423
464
  def GetStream(self)->'Stream':
424
465
  """
425
- <summary>
426
- Gets the document as a stream to read from.
427
- </summary>
428
- <returns>A <see cref="T:System.IO.Stream" /> to read from.</returns>
466
+ Gets the presentation content as a readable stream.
467
+
468
+ Returns:
469
+ Stream: Readable stream containing presentation data
429
470
  """
430
471
  GetDllLibPpt().Presentation_GetStream.argtypes=[c_void_p]
431
472
  GetDllLibPpt().Presentation_GetStream.restype=c_void_p
@@ -438,10 +479,11 @@ class Presentation (_Presentation) :
438
479
 
439
480
  def LoadFromStream(self ,stream:Stream,fileFormat:FileFormat):
440
481
  """
441
- <summary>
442
- Opens the document from a stream.
443
- </summary>
444
- <param name="stream">The document stream.</param>
482
+ Loads presentation content from a stream.
483
+
484
+ Args:
485
+ stream: Stream containing presentation data
486
+ fileFormat: Format of the presentation data
445
487
  """
446
488
  intPtrstream:c_void_p = stream.Ptr
447
489
  enumfileFormat:c_int = fileFormat.value
@@ -453,12 +495,12 @@ class Presentation (_Presentation) :
453
495
 
454
496
  def LoadFromStream(self ,stream:Stream,fileFormat:FileFormat,password:str):
455
497
  """
456
- <summary>
457
- Opens the document from a stream.
458
- </summary>
459
- <param name="stream">The document stream.</param>
460
- <param name="fileFormat">The file format</param>
461
- <param name="password">The password.</param>
498
+ Loads password-protected presentation content from a stream.
499
+
500
+ Args:
501
+ stream: Stream containing presentation data
502
+ fileFormat: Format of the presentation data
503
+ password: Password to unlock the presentation
462
504
  """
463
505
  intPtrstream:c_void_p = stream.Ptr
464
506
  enumfileFormat:c_int = fileFormat.value
@@ -471,12 +513,11 @@ class Presentation (_Presentation) :
471
513
 
472
514
  def LoadFromFile(self ,file:str):
473
515
  """
474
- <summary>
475
- Opens the document from a file.
476
- </summary>
477
- <param name="file">The document file path.</param>
516
+ Loads presentation content from a file.
517
+
518
+ Args:
519
+ file: Path to the presentation file
478
520
  """
479
-
480
521
  filePtr = StrToPtr(file)
481
522
  GetDllLibPpt().Presentation_LoadFromFile.argtypes=[c_void_p ,c_char_p]
482
523
  CallCFunction(GetDllLibPpt().Presentation_LoadFromFile,self.Ptr,filePtr)
@@ -485,10 +526,11 @@ class Presentation (_Presentation) :
485
526
 
486
527
  def LoadFromFile(self ,file:str,password:str):
487
528
  """
488
- <summary>
489
- Opens the document from a file.
490
- </summary>
491
- <param name="file">The document file path.</param>
529
+ Loads password-protected presentation content from a file.
530
+
531
+ Args:
532
+ file: Path to the presentation file
533
+ password: Password to unlock the presentation
492
534
  """
493
535
 
494
536
  filePtr = StrToPtr(file)
@@ -500,7 +542,11 @@ class Presentation (_Presentation) :
500
542
 
501
543
  def LoadFromFile(self ,file:str,fileFormat:FileFormat):
502
544
  """
545
+ Loads presentation content from a file with specific format.
503
546
 
547
+ Args:
548
+ file: Path to the presentation file
549
+ fileFormat: Format of the presentation file
504
550
  """
505
551
  enumfileFormat:c_int = fileFormat.value
506
552
 
@@ -512,7 +558,12 @@ class Presentation (_Presentation) :
512
558
 
513
559
  def LoadFromFile(self ,file:str,fileFormat:FileFormat,password:str):
514
560
  """
561
+ Loads password-protected presentation content from a file with specific format.
515
562
 
563
+ Args:
564
+ file: Path to the presentation file
565
+ fileFormat: Format of the presentation file
566
+ password: Password to unlock the presentation
516
567
  """
517
568
  enumfileFormat:c_int = fileFormat.value
518
569
 
@@ -525,10 +576,11 @@ class Presentation (_Presentation) :
525
576
 
526
577
  def SaveToFile(self ,stream:Stream,fileFormat:FileFormat):
527
578
  """
528
- <summary>
529
- Saves the document to the specified stream.
530
- </summary>
531
- <param name="stream">The <see cref="T:System.IO.Stream" /> where the document will be saved.</param>
579
+ Saves the presentation to a stream.
580
+
581
+ Args:
582
+ stream: Output stream to write presentation data
583
+ fileFormat: Format to save the presentation in
532
584
  """
533
585
  intPtrstream:c_void_p = stream.Ptr
534
586
  enumfileFormat:c_int = fileFormat.value
@@ -539,10 +591,11 @@ class Presentation (_Presentation) :
539
591
 
540
592
  def SaveToSVG(self)->List[Stream]:
541
593
  """
542
- <summary>
543
- Saves the document to the SVG Format.
544
- </summary>
545
- """
594
+ Saves the presentation as SVG images (one per slide).
595
+
596
+ Returns:
597
+ List[Stream]: Collection of streams containing SVG data for each slide
598
+ """
546
599
  GetDllLibPpt().Presentation_SaveToSVG.argtypes=[c_void_p]
547
600
  GetDllLibPpt().Presentation_SaveToSVG.restype=IntPtrArray
548
601
  intPtrArray = CallCFunction(GetDllLibPpt().Presentation_SaveToSVG,self.Ptr)
@@ -554,9 +607,14 @@ class Presentation (_Presentation) :
554
607
 
555
608
  def OnlineSaveToFile(self ,file:str,fileFormat:'FileFormat')->bool:
556
609
  """
557
- <summary>
558
- used for online.
559
- </summary>
610
+ Saves the presentation for online/cloud use.
611
+
612
+ Args:
613
+ file: Output file path
614
+ fileFormat: Format to save the presentation in
615
+
616
+ Returns:
617
+ bool: True if save succeeded, False otherwise
560
618
  """
561
619
  enumfileFormat:c_int = fileFormat.value
562
620
 
@@ -570,11 +628,11 @@ class Presentation (_Presentation) :
570
628
 
571
629
  def SaveToFile(self ,file:str,fileFormat:FileFormat):
572
630
  """
573
- <summary>
574
- Saves the document to the specified file.
575
- </summary>
576
- <param name="file">A string that contains the path of the file to which to save this document.</param>
577
- <param name="fileFormat">convert to fileFormat.</param>
631
+ Saves the presentation to a file.
632
+
633
+ Args:
634
+ file: Output file path
635
+ fileFormat: Format to save the presentation in
578
636
  """
579
637
  enumfileFormat:c_int = fileFormat.value
580
638
 
@@ -621,10 +679,10 @@ class Presentation (_Presentation) :
621
679
 
622
680
  def Encrypt(self ,password:str):
623
681
  """
624
- <summary>
625
- Encrypts with specified password.
626
- </summary>
627
- <param name="password">The password.</param>
682
+ Encrypts the presentation with a password.
683
+
684
+ Args:
685
+ password: Encryption password
628
686
  """
629
687
 
630
688
  passwordPtr = StrToPtr(password)
@@ -633,9 +691,7 @@ class Presentation (_Presentation) :
633
691
 
634
692
  def RemoveEncryption(self):
635
693
  """
636
- <summary>
637
- Removes the encryption.
638
- </summary>
694
+ Removes encryption from the presentation.
639
695
  """
640
696
  GetDllLibPpt().Presentation_RemoveEncryption.argtypes=[c_void_p]
641
697
  CallCFunction(GetDllLibPpt().Presentation_RemoveEncryption,self.Ptr)
@@ -643,21 +699,18 @@ class Presentation (_Presentation) :
643
699
 
644
700
  def Protect(self ,password:str):
645
701
  """
646
- <summary>
647
- Protection for this presentation.
648
- </summary>
649
- <param name="password">The password.</param>
702
+ Protects the presentation from modification.
703
+
704
+ Args:
705
+ password: Protection password
650
706
  """
651
-
652
707
  passwordPtr = StrToPtr(password)
653
708
  GetDllLibPpt().Presentation_Protect.argtypes=[c_void_p ,c_char_p]
654
709
  CallCFunction(GetDllLibPpt().Presentation_Protect,self.Ptr,passwordPtr)
655
710
 
656
711
  def RemoveProtect(self):
657
712
  """
658
- <summary>
659
- Remove proection.
660
- </summary>
713
+ Removes protection from the presentation.
661
714
  """
662
715
  GetDllLibPpt().Presentation_RemoveProtect.argtypes=[c_void_p]
663
716
  CallCFunction(GetDllLibPpt().Presentation_RemoveProtect,self.Ptr)
@@ -722,7 +775,10 @@ class Presentation (_Presentation) :
722
775
 
723
776
  def SetFooterText(self ,text:str):
724
777
  """
778
+ Sets the footer text for all slides.
725
779
 
780
+ Args:
781
+ text: Footer text to apply
726
782
  """
727
783
 
728
784
  textPtr = StrToPtr(text)
@@ -733,7 +789,10 @@ class Presentation (_Presentation) :
733
789
 
734
790
  def SetDateTime(self ,dateTime:DateTime):
735
791
  """
792
+ Sets the date/time for all slides using default format.
736
793
 
794
+ Args:
795
+ dateTime: DateTime object containing the date/time value
737
796
  """
738
797
  intPtrdateTime:c_void_p = dateTime.Ptr
739
798
 
@@ -744,7 +803,11 @@ class Presentation (_Presentation) :
744
803
 
745
804
  def SetDateTime(self ,dateTime:DateTime,format:str):
746
805
  """
806
+ Sets the date/time for all slides with custom formatting.
747
807
 
808
+ Args:
809
+ dateTime: DateTime object containing the date/time value
810
+ format: Custom format string for date/time display
748
811
  """
749
812
  intPtrdateTime:c_void_p = dateTime.Ptr
750
813
 
@@ -755,7 +818,10 @@ class Presentation (_Presentation) :
755
818
 
756
819
  def SetFooterVisible(self ,visible:bool):
757
820
  """
821
+ Shows or hides the footer on all slides.
758
822
 
823
+ Args:
824
+ visible: True to show footer, False to hide
759
825
  """
760
826
 
761
827
  GetDllLibPpt().Presentation_SetFooterVisible.argtypes=[c_void_p ,c_bool]
@@ -764,7 +830,10 @@ class Presentation (_Presentation) :
764
830
 
765
831
  def SetDateTimeVisible(self ,visible:bool):
766
832
  """
833
+ Shows or hides the date/time on all slides.
767
834
 
835
+ Args:
836
+ visible: True to show date/time, False to hide
768
837
  """
769
838
 
770
839
  GetDllLibPpt().Presentation_SetDateTimeVisible.argtypes=[c_void_p ,c_bool]
@@ -773,7 +842,10 @@ class Presentation (_Presentation) :
773
842
 
774
843
  def SetSlideNoVisible(self ,visible:bool):
775
844
  """
845
+ Shows or hides slide numbers on all slides.
776
846
 
847
+ Args:
848
+ visible: True to show slide numbers, False to hide
777
849
  """
778
850
 
779
851
  GetDllLibPpt().Presentation_SetSlideNoVisible.argtypes=[c_void_p ,c_bool]
@@ -782,9 +854,9 @@ class Presentation (_Presentation) :
782
854
  @property
783
855
  def SlideNumberVisible(self)->bool:
784
856
  """
785
- <summary>
786
- Gets or sets value .Specifies whether the slide number placeholder is enabled for this master
787
- </summary>
857
+ Gets or sets whether slide numbers are visible.
858
+
859
+ When True, slide numbers will be displayed on slides.
788
860
  """
789
861
  GetDllLibPpt().Presentation_get_SlideNumberVisible.argtypes=[c_void_p]
790
862
  GetDllLibPpt().Presentation_get_SlideNumberVisible.restype=c_bool
@@ -799,9 +871,9 @@ class Presentation (_Presentation) :
799
871
  @property
800
872
  def DateTimeVisible(self)->bool:
801
873
  """
802
- <summary>
803
- Gets or sets value .Specifies whether Date-Time placeholder is enabled for this master
804
- </summary>
874
+ Gets or sets whether date/time is visible on slides.
875
+
876
+ When True, date/time will be displayed on slides.
805
877
  """
806
878
  GetDllLibPpt().Presentation_get_DateTimeVisible.argtypes=[c_void_p]
807
879
  GetDllLibPpt().Presentation_get_DateTimeVisible.restype=c_bool
@@ -816,9 +888,9 @@ class Presentation (_Presentation) :
816
888
  @property
817
889
  def FooterVisible(self)->bool:
818
890
  """
819
- <summary>
820
- Gets or sets value .Specifies whether the Footer placeholder is enabled for this master
821
- </summary>
891
+ Gets or sets whether footer is visible on slides.
892
+
893
+ When True, footer will be displayed on slides.
822
894
  """
823
895
  GetDllLibPpt().Presentation_get_FooterVisible.argtypes=[c_void_p]
824
896
  GetDllLibPpt().Presentation_get_FooterVisible.restype=c_bool
@@ -833,9 +905,9 @@ class Presentation (_Presentation) :
833
905
  @property
834
906
  def AutoCompressPictures(self)->bool:
835
907
  """
836
- <summary>
837
- Indicates that Compress Pictures feature automatically reduces the file size of pictures.
838
- </summary>
908
+ Gets or sets automatic picture compression.
909
+
910
+ When True, images will be automatically compressed to reduce file size.
839
911
  """
840
912
  GetDllLibPpt().Presentation_get_AutoCompressPictures.argtypes=[c_void_p]
841
913
  GetDllLibPpt().Presentation_get_AutoCompressPictures.restype=c_bool
@@ -850,9 +922,9 @@ class Presentation (_Presentation) :
850
922
  @property
851
923
  def BookmarkIdSeed(self)->int:
852
924
  """
853
- <summary>
854
- Bookmark ID Seed.
855
- </summary>
925
+ Gets or sets the starting ID for bookmarks.
926
+
927
+ This value determines the starting point for bookmark ID generation.
856
928
  """
857
929
  GetDllLibPpt().Presentation_get_BookmarkIdSeed.argtypes=[c_void_p]
858
930
  GetDllLibPpt().Presentation_get_BookmarkIdSeed.restype=c_int
@@ -868,9 +940,10 @@ class Presentation (_Presentation) :
868
940
 
869
941
  def DefaultTextStyle(self)->'TextStyle':
870
942
  """
871
- <summary>
872
- Default paragraph and list style.
873
- </summary>
943
+ Gets the default text style for the presentation.
944
+
945
+ Returns:
946
+ TextStyle: Default text formatting properties
874
947
  """
875
948
  GetDllLibPpt().Presentation_get_DefaultTextStyle.argtypes=[c_void_p]
876
949
  GetDllLibPpt().Presentation_get_DefaultTextStyle.restype=c_void_p
@@ -882,9 +955,9 @@ class Presentation (_Presentation) :
882
955
  @property
883
956
  def ShowNarration(self)->bool:
884
957
  """
885
- <summary>
886
- Specifies whether slide show narration should be played when presenting
887
- </summary>
958
+ Gets or sets whether narration is played during slide shows.
959
+
960
+ When True, audio narration will play during presentations.
888
961
  """
889
962
  GetDllLibPpt().Presentation_get_ShowNarration.argtypes=[c_void_p]
890
963
  GetDllLibPpt().Presentation_get_ShowNarration.restype=c_bool
@@ -899,9 +972,9 @@ class Presentation (_Presentation) :
899
972
  @property
900
973
  def ShowAnimation(self)->bool:
901
974
  """
902
- <summary>
903
- Specifies whether slide show animation should be shown when presenting
904
- </summary>
975
+ Gets or sets whether animations are played during slide shows.
976
+
977
+ When True, slide animations will play during presentations.
905
978
  """
906
979
  GetDllLibPpt().Presentation_get_ShowAnimation.argtypes=[c_void_p]
907
980
  GetDllLibPpt().Presentation_get_ShowAnimation.restype=c_bool
@@ -916,9 +989,9 @@ class Presentation (_Presentation) :
916
989
  @property
917
990
  def ShowLoop(self)->bool:
918
991
  """
919
- <summary>
920
- Specifies whether the slide show should be set to loop at the end
921
- </summary>
992
+ Gets or sets whether slide shows loop continuously.
993
+
994
+ When True, presentations will restart automatically after completion.
922
995
  """
923
996
  GetDllLibPpt().Presentation_get_ShowLoop.argtypes=[c_void_p]
924
997
  GetDllLibPpt().Presentation_get_ShowLoop.restype=c_bool
@@ -933,9 +1006,10 @@ class Presentation (_Presentation) :
933
1006
  @property
934
1007
  def HasMacros(self)->bool:
935
1008
  """
936
- <summary>
937
- Specifies whether contains VBA macros.
938
- </summary>
1009
+ Indicates whether the presentation contains VBA macros.
1010
+
1011
+ Returns:
1012
+ bool: True if macros are present, False otherwise
939
1013
  """
940
1014
  GetDllLibPpt().Presentation_get_HasMacros.argtypes=[c_void_p]
941
1015
  GetDllLibPpt().Presentation_get_HasMacros.restype=c_bool
@@ -944,9 +1018,7 @@ class Presentation (_Presentation) :
944
1018
 
945
1019
  def DeleteMacros(self):
946
1020
  """
947
- <summary>
948
- Delete the Macros
949
- </summary>
1021
+ Deletes all VBA macros from the presentation.
950
1022
  """
951
1023
  GetDllLibPpt().Presentation_DeleteMacros.argtypes=[c_void_p]
952
1024
  CallCFunction(GetDllLibPpt().Presentation_DeleteMacros,self.Ptr)
@@ -955,9 +1027,10 @@ class Presentation (_Presentation) :
955
1027
 
956
1028
  def ShowType(self)->'SlideShowType':
957
1029
  """
958
- <summary>
959
- Specifies the slide show type
960
- </summary>
1030
+ Gets or sets the slide show presentation type.
1031
+
1032
+ Returns:
1033
+ SlideShowType: Enumeration value representing presentation mode
961
1034
  """
962
1035
  GetDllLibPpt().Presentation_get_ShowType.argtypes=[c_void_p]
963
1036
  GetDllLibPpt().Presentation_get_ShowType.restype=c_int
@@ -973,9 +1046,9 @@ class Presentation (_Presentation) :
973
1046
  @property
974
1047
  def UseTimings(self)->bool:
975
1048
  """
976
- <summary>
977
- Specifies whether slide transition timing should be used to advance slides when presenting
978
- </summary>
1049
+ Gets or sets whether slide timings are used during presentations.
1050
+
1051
+ When True, slide transitions will follow preset timing settings.
979
1052
  """
980
1053
  GetDllLibPpt().Presentation_get_UseTimings.argtypes=[c_void_p]
981
1054
  GetDllLibPpt().Presentation_get_UseTimings.restype=c_bool
@@ -990,9 +1063,9 @@ class Presentation (_Presentation) :
990
1063
  @property
991
1064
  def EmbedTrueTypeFonts(self)->bool:
992
1065
  """
993
- <summary>
994
- Indicates whther embeds TrueType fonts in a document when it's saved.
995
- </summary>
1066
+ Gets or sets whether TrueType fonts are embedded in the document.
1067
+
1068
+ When True, fonts will be embedded to ensure consistent rendering.
996
1069
  """
997
1070
  GetDllLibPpt().Presentation_get_EmbedTrueTypeFonts.argtypes=[c_void_p]
998
1071
  GetDllLibPpt().Presentation_get_EmbedTrueTypeFonts.restype=c_bool
@@ -1007,9 +1080,9 @@ class Presentation (_Presentation) :
1007
1080
  @property
1008
1081
  def FirstSlideNumber(self)->int:
1009
1082
  """
1010
- <summary>
1011
- Slide number that appears on the first slide in your presentation.
1012
- </summary>
1083
+ Gets or sets the starting slide number.
1084
+
1085
+ This value determines the number shown on the first slide.
1013
1086
  """
1014
1087
  GetDllLibPpt().Presentation_get_FirstSlideNumber.argtypes=[c_void_p]
1015
1088
  GetDllLibPpt().Presentation_get_FirstSlideNumber.restype=c_int
@@ -1025,9 +1098,10 @@ class Presentation (_Presentation) :
1025
1098
 
1026
1099
  def HandoutMaster(self)->'INoteMasterSlide':
1027
1100
  """
1028
- <summary>
1029
- Gets a master for all notes slides of this presentation.
1030
- </summary>
1101
+ Gets the handout master slide.
1102
+
1103
+ Returns:
1104
+ INoteMasterSlide: Master slide for handout layouts
1031
1105
  """
1032
1106
  GetDllLibPpt().Presentation_get_HandoutMaster.argtypes=[c_void_p]
1033
1107
  GetDllLibPpt().Presentation_get_HandoutMaster.restype=c_void_p
@@ -1040,9 +1114,10 @@ class Presentation (_Presentation) :
1040
1114
 
1041
1115
  def NotesMaster(self)->'INoteMasterSlide':
1042
1116
  """
1043
- <summary>
1044
- Gets a master for all notes slides of this presentation.
1045
- </summary>
1117
+ Gets the notes master slide.
1118
+
1119
+ Returns:
1120
+ INoteMasterSlide: Master slide for speaker notes layouts
1046
1121
  """
1047
1122
  GetDllLibPpt().Presentation_get_NotesMaster.argtypes=[c_void_p]
1048
1123
  GetDllLibPpt().Presentation_get_NotesMaster.restype=c_void_p
@@ -1055,9 +1130,10 @@ class Presentation (_Presentation) :
1055
1130
 
1056
1131
  def NotesSlideSize(self)->'SizeF':
1057
1132
  """
1058
- <summary>
1059
- Gets note slide size object.
1060
- </summary>
1133
+ Gets the size of notes slides.
1134
+
1135
+ Returns:
1136
+ SizeF: Dimensions of notes slides
1061
1137
  """
1062
1138
  GetDllLibPpt().Presentation_get_NotesSlideSize.argtypes=[c_void_p]
1063
1139
  GetDllLibPpt().Presentation_get_NotesSlideSize.restype=c_void_p
@@ -1069,9 +1145,9 @@ class Presentation (_Presentation) :
1069
1145
  @property
1070
1146
  def SaveSubsetFonts(self)->bool:
1071
1147
  """
1072
- <summary>
1073
- Indicates whther embeds subset TrueType fonts in a document when it's saved.
1074
- </summary>
1148
+ Gets or sets whether to embed font subsets.
1149
+
1150
+ When True, only used characters from fonts will be embedded.
1075
1151
  """
1076
1152
  GetDllLibPpt().Presentation_get_SaveSubsetFonts.argtypes=[c_void_p]
1077
1153
  GetDllLibPpt().Presentation_get_SaveSubsetFonts.restype=c_bool
@@ -1086,9 +1162,9 @@ class Presentation (_Presentation) :
1086
1162
  @property
1087
1163
  def ServerZoom(self)->float:
1088
1164
  """
1089
- <summary>
1090
- Specifies a zoom level for visual representations of the document.
1091
- </summary>
1165
+ Gets or sets the server-side zoom level.
1166
+
1167
+ This property affects how the presentation is rendered on servers.
1092
1168
  """
1093
1169
  GetDllLibPpt().Presentation_get_ServerZoom.argtypes=[c_void_p]
1094
1170
  GetDllLibPpt().Presentation_get_ServerZoom.restype=c_float
@@ -1104,9 +1180,10 @@ class Presentation (_Presentation) :
1104
1180
 
1105
1181
  def Masters(self)->'MasterSlideCollection':
1106
1182
  """
1107
- <summary>
1108
- Gets a list of all master slides.
1109
- </summary>
1183
+ Gets the collection of master slides.
1184
+
1185
+ Returns:
1186
+ MasterSlideCollection: Collection of master slide objects
1110
1187
  """
1111
1188
  GetDllLibPpt().Presentation_get_Masters.argtypes=[c_void_p]
1112
1189
  GetDllLibPpt().Presentation_get_Masters.restype=c_void_p
@@ -1119,9 +1196,10 @@ class Presentation (_Presentation) :
1119
1196
 
1120
1197
  def Slides(self)->'SlideCollection':
1121
1198
  """
1122
- <summary>
1123
- Gets a list of all slides.
1124
- </summary>
1199
+ Gets the collection of slides.
1200
+
1201
+ Returns:
1202
+ SlideCollection: Collection of slide objects
1125
1203
  """
1126
1204
  GetDllLibPpt().Presentation_get_Slides.argtypes=[c_void_p]
1127
1205
  GetDllLibPpt().Presentation_get_Slides.restype=c_void_p
@@ -1133,9 +1211,10 @@ class Presentation (_Presentation) :
1133
1211
 
1134
1212
  def SlideCountPerPageForPrint(self)->'PageSlideCount':
1135
1213
  """
1136
- <summary>
1137
- Number of total slides per page.
1138
- </summary>
1214
+ Gets or sets the number of slides per printed page.
1215
+
1216
+ Returns:
1217
+ PageSlideCount: Enumeration value representing slides per page
1139
1218
  """
1140
1219
  GetDllLibPpt().Presentation_get_SlideCountPerPageForPrint.argtypes=[c_void_p]
1141
1220
  GetDllLibPpt().Presentation_get_SlideCountPerPageForPrint.restype=c_int
@@ -1150,9 +1229,10 @@ class Presentation (_Presentation) :
1150
1229
 
1151
1230
  def SelectSlidesForPrint(self ,selectSlidesForPrint:List[str]):
1152
1231
  """
1153
- <summary>
1154
- Select print slides
1155
- </summary>
1232
+ Selects specific slides for printing.
1233
+
1234
+ Args:
1235
+ selectSlidesForPrint: List of slide identifiers to print
1156
1236
  """
1157
1237
  #arrayselectSlidesForPrint:ArrayTypeselectSlidesForPrint = ""
1158
1238
  countselectSlidesForPrint = len(selectSlidesForPrint)
@@ -1170,9 +1250,10 @@ class Presentation (_Presentation) :
1170
1250
 
1171
1251
  def OrderForPrint(self)->'Order':
1172
1252
  """
1173
- <summary>
1174
- The order of Print.
1175
- </summary>
1253
+ Gets or sets the printing order (horizontal/vertical).
1254
+
1255
+ Returns:
1256
+ Order: Enumeration value representing print order
1176
1257
  """
1177
1258
  GetDllLibPpt().Presentation_get_OrderForPrint.argtypes=[c_void_p]
1178
1259
  GetDllLibPpt().Presentation_get_OrderForPrint.restype=c_int
@@ -1188,9 +1269,9 @@ class Presentation (_Presentation) :
1188
1269
  @property
1189
1270
  def SlideFrameForPrint(self)->bool:
1190
1271
  """
1191
- <summary>
1192
- Whether to set slideFrame for printing.
1193
- </summary>
1272
+ Gets or sets whether to print slide frames.
1273
+
1274
+ When True, a border will be printed around each slide.
1194
1275
  """
1195
1276
  GetDllLibPpt().Presentation_get_SlideFrameForPrint.argtypes=[c_void_p]
1196
1277
  GetDllLibPpt().Presentation_get_SlideFrameForPrint.restype=c_bool
@@ -1205,9 +1286,9 @@ class Presentation (_Presentation) :
1205
1286
  @property
1206
1287
  def GrayLevelForPrint(self)->bool:
1207
1288
  """
1208
- <summary>
1209
- Whether to set gray level for printing
1210
- </summary>
1289
+ Gets or sets whether to print in grayscale.
1290
+
1291
+ When True, printed output will be in grayscale.
1211
1292
  """
1212
1293
  GetDllLibPpt().Presentation_get_GrayLevelForPrint.argtypes=[c_void_p]
1213
1294
  GetDllLibPpt().Presentation_get_GrayLevelForPrint.restype=c_bool
@@ -1221,6 +1302,11 @@ class Presentation (_Presentation) :
1221
1302
 
1222
1303
  @property
1223
1304
  def IsNoteRetained(self)->bool:
1305
+ """
1306
+ Gets or sets whether speaker notes are retained.
1307
+
1308
+ When True, speaker notes will be preserved during operations.
1309
+ """
1224
1310
  GetDllLibPpt().Presentation_get_IsNoteRetained.argtypes=[c_void_p]
1225
1311
  GetDllLibPpt().Presentation_get_IsNoteRetained.restype=c_bool
1226
1312
  ret = CallCFunction(GetDllLibPpt().Presentation_get_IsNoteRetained,self.Ptr)
@@ -1235,9 +1321,13 @@ class Presentation (_Presentation) :
1235
1321
 
1236
1322
  def AddEmbeddedFont(self,pathName:str)->str:
1237
1323
  """
1238
- <summary>
1239
-
1240
- </summary>
1324
+ Embeds a font file into the presentation.
1325
+
1326
+ Args:
1327
+ pathName: Path to the font file
1328
+
1329
+ Returns:
1330
+ str: Identifier for the embedded font
1241
1331
  """
1242
1332
  pathNamePtr = StrToPtr(pathName)
1243
1333
  GetDllLibPpt().Presentation_AddEmbeddedFont.argtypes=[c_void_p,c_char_p]
@@ -1249,7 +1339,10 @@ class Presentation (_Presentation) :
1249
1339
  @staticmethod
1250
1340
  def SetDefaultFontName(value:str):
1251
1341
  """
1342
+ Sets the default font name for new presentations.
1252
1343
 
1344
+ Args:
1345
+ value: Font name to use as default
1253
1346
  """
1254
1347
  valuePtr = StrToPtr(value)
1255
1348
  GetDllLibPpt().Presentation_set_DefaultFontName.argtypes=[c_char_p]
@@ -1259,7 +1352,7 @@ class Presentation (_Presentation) :
1259
1352
  @staticmethod
1260
1353
  def ResetDefaultFontName():
1261
1354
  """
1262
-
1355
+ Resets the default font name to system default.
1263
1356
  """
1264
1357
  GetDllLibPpt().Presentation_Reset_DefaultFontName.argtypes=[c_void_p]
1265
1358
  GetDllLibPpt().Presentation_Reset_DefaultFontName.restype=c_void_p
@@ -1268,7 +1361,10 @@ class Presentation (_Presentation) :
1268
1361
  @staticmethod
1269
1362
  def SetCustomFontsDirctory(value:str):
1270
1363
  """
1364
+ Sets the directory for custom fonts.
1271
1365
 
1366
+ Args:
1367
+ value: Path to directory containing custom fonts
1272
1368
  """
1273
1369
  valuePtr = StrToPtr(value)
1274
1370
  GetDllLibPpt().Presentation_set_CustomFontsDirctory.argtypes=[c_char_p]
@@ -1278,7 +1374,12 @@ class Presentation (_Presentation) :
1278
1374
 
1279
1375
  def ReplaceAndFormatText(self,value1:str,value2:str,format:DefaultTextRangeProperties):
1280
1376
  """
1377
+ Replaces text and applies formatting.
1281
1378
 
1379
+ Args:
1380
+ value1: Text to find
1381
+ value2: Replacement text
1382
+ format: Formatting to apply to the replacement text
1282
1383
  """
1283
1384
  value1Ptr = StrToPtr(value1)
1284
1385
  value2Ptr = StrToPtr(value2)