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.
- spire/presentation/ActiveSlide.py +52 -44
- spire/presentation/AppException.py +3 -3
- spire/presentation/AudioCD.py +7 -12
- spire/presentation/AudioPlayMode.py +7 -3
- spire/presentation/AudioVolumeType.py +8 -3
- spire/presentation/BaseShapeLocking.py +7 -6
- spire/presentation/Camera.py +44 -21
- spire/presentation/ClickHyperlink.py +127 -91
- spire/presentation/Comment.py +75 -36
- spire/presentation/ConnectorLocking.py +3 -3
- spire/presentation/DefaultTextRangeProperties.py +58 -99
- spire/presentation/Direction.py +5 -3
- spire/presentation/Field.py +18 -8
- spire/presentation/FieldType.py +45 -47
- spire/presentation/FileFormat.py +23 -3
- spire/presentation/FontAlignmentType.py +9 -3
- spire/presentation/FontCollectionIndex.py +6 -3
- spire/presentation/FontScheme.py +12 -13
- spire/presentation/FormatAndVersion.py +32 -3
- spire/presentation/GroupShape.py +11 -13
- spire/presentation/GroupShapeLocking.py +6 -17
- spire/presentation/HyperlinkActionType.py +19 -3
- spire/presentation/IActivePresentation.py +5 -3
- spire/presentation/IActiveSlide.py +4 -4
- spire/presentation/IAudio.py +51 -116
- spire/presentation/IAudioData.py +11 -33
- spire/presentation/IAutoShape.py +186 -124
- spire/presentation/ICommentAuthor.py +20 -8
- spire/presentation/IDigitalSignature.py +13 -34
- spire/presentation/IDigitalSignatures.py +2 -3
- spire/presentation/IDocumentProperty.py +41 -86
- spire/presentation/IEmbedImage.py +167 -114
- spire/presentation/ILayout.py +40 -17
- spire/presentation/IMasterSlide.py +67 -58
- spire/presentation/INoteMasterSlide.py +25 -41
- spire/presentation/IOleObject.py +216 -141
- spire/presentation/IShape.py +185 -146
- spire/presentation/ISlide.py +212 -153
- spire/presentation/ITextFrameProperties.py +203 -96
- spire/presentation/IVideo.py +280 -153
- spire/presentation/ImportDataFormat.py +6 -3
- spire/presentation/KnownColors.py +2 -3
- spire/presentation/LightRig.py +40 -23
- spire/presentation/LightingDirectionType.py +3 -3
- spire/presentation/LineCapStyle.py +7 -3
- spire/presentation/LineDashStyleType.py +16 -3
- spire/presentation/LineEndLength.py +7 -3
- spire/presentation/LineEndType.py +10 -3
- spire/presentation/LineEndWidth.py +7 -3
- spire/presentation/LineFillFormat.py +38 -19
- spire/presentation/LineJoinType.py +7 -3
- spire/presentation/LinearGradientFill.py +22 -8
- spire/presentation/LocaleFonts.py +40 -16
- spire/presentation/MasterTheme.py +24 -23
- spire/presentation/MetaCharacterType.py +9 -3
- spire/presentation/NotesSlide.py +16 -14
- spire/presentation/NumberedBulletStyle.py +2 -3
- spire/presentation/OleObject.py +39 -27
- spire/presentation/Order.py +2 -3
- spire/presentation/PageSlideCount.py +2 -3
- spire/presentation/ParagraphProperties.py +210 -110
- spire/presentation/PictureShape.py +41 -20
- spire/presentation/Placeholder.py +34 -20
- spire/presentation/PlaceholderSize.py +7 -3
- spire/presentation/PlaceholderType.py +20 -3
- spire/presentation/PptObject.py +10 -7
- spire/presentation/Presentation.py +310 -209
- spire/presentation/PresetCameraType.py +1 -3
- spire/presentation/PresetLightRigType.py +21 -3
- spire/presentation/PresetMaterialType.py +19 -3
- spire/presentation/PresetShadowValue.py +4 -3
- spire/presentation/RectangleAlignment.py +3 -3
- spire/presentation/RelativeRectangle.py +56 -11
- spire/presentation/Section.py +50 -36
- spire/presentation/SectionList.py +69 -59
- spire/presentation/Shape.py +152 -137
- spire/presentation/ShapeAdjust.py +17 -10
- spire/presentation/ShapeAlignment.py +14 -3
- spire/presentation/ShapeArrange.py +10 -3
- spire/presentation/ShapeBevelStyle.py +34 -12
- spire/presentation/ShapeCollection.py +16 -11
- spire/presentation/ShapeElementFillSource.py +10 -3
- spire/presentation/ShapeElementStrokeSource.py +6 -3
- spire/presentation/ShapeLocking.py +18 -6
- spire/presentation/ShapeNode.py +21 -0
- spire/presentation/ShapeStyle.py +58 -39
- spire/presentation/ShapeThreeD.py +58 -36
- spire/presentation/ShapeType.py +1 -3
- spire/presentation/SimpleShapeBaseLocking.py +72 -31
- spire/presentation/SlideBackground.py +31 -36
- spire/presentation/SlideColorScheme.py +15 -10
- spire/presentation/SlideLayoutType.py +39 -3
- spire/presentation/SlideList.py +110 -55
- spire/presentation/SlideOrienation.py +5 -3
- spire/presentation/SlidePicture.py +22 -19
- spire/presentation/SlidePictureLocking.py +14 -6
- spire/presentation/SlideShowType.py +6 -1
- spire/presentation/SlideSize.py +43 -18
- spire/presentation/SlideSizeType.py +20 -3
- spire/presentation/SystemColorType.py +3 -3
- spire/presentation/TabAlignmentType.py +3 -3
- spire/presentation/TabData.py +18 -18
- spire/presentation/TabStop.py +33 -16
- spire/presentation/TextAlignmentType.py +9 -3
- spire/presentation/TextAnchorType.py +11 -3
- spire/presentation/TextAutofitType.py +7 -3
- spire/presentation/TextBulletType.py +8 -3
- spire/presentation/TextCapType.py +7 -3
- spire/presentation/TextCharacterProperties.py +145 -130
- spire/presentation/TextFont.py +35 -21
- spire/presentation/TextHighLightingOptions.py +37 -6
- spire/presentation/TextHorizontalOverflowType.py +6 -3
- spire/presentation/TextLineFormat.py +75 -90
- spire/presentation/TextLineStyle.py +9 -3
- spire/presentation/TextParagraph.py +53 -24
- spire/presentation/TextParagraphProperties.py +124 -103
- spire/presentation/TextRange.py +40 -12
- spire/presentation/TextShapeType.py +46 -3
- spire/presentation/TextStrikethroughType.py +7 -3
- spire/presentation/TextStyle.py +29 -19
- spire/presentation/TextUnderlineType.py +22 -3
- spire/presentation/TextVerticalOverflowType.py +7 -3
- spire/presentation/Theme.py +31 -23
- spire/presentation/TileFlipMode.py +8 -3
- spire/presentation/TriState.py +2 -3
- spire/presentation/VerticalTextType.py +11 -3
- spire/presentation/VideoData.py +17 -18
- spire/presentation/VideoPlayMode.py +7 -3
- spire/presentation/_Presentation.py +40 -9
- spire/presentation/__init__.py +253 -358
- spire/presentation/animation/AnimateType.py +24 -0
- spire/presentation/{AnimationCalculationMode.py → animation/AnimationCalculationMode.py} +7 -3
- spire/presentation/{AnimationColorBehavior.py → animation/AnimationColorBehavior.py} +52 -23
- spire/presentation/{AnimationColorDirection.py → animation/AnimationColorDirection.py} +6 -3
- spire/presentation/{AnimationColorTransform.py → animation/AnimationColorTransform.py} +33 -15
- spire/presentation/{AnimationColorspace.py → animation/AnimationColorspace.py} +6 -3
- spire/presentation/{AnimationCommandBehavior.py → animation/AnimationCommandBehavior.py} +26 -15
- spire/presentation/{AnimationCommandType.py → animation/AnimationCommandType.py} +7 -3
- spire/presentation/{AnimationEffect.py → animation/AnimationEffect.py} +115 -53
- spire/presentation/{AnimationEffectCollection.py → animation/AnimationEffectCollection.py} +64 -38
- spire/presentation/animation/AnimationEffectSubtype.py +164 -0
- spire/presentation/animation/AnimationEffectType.py +466 -0
- spire/presentation/{AnimationFilterEffect.py → animation/AnimationFilterEffect.py} +33 -15
- spire/presentation/{AnimationMotion.py → animation/AnimationMotion.py} +38 -10
- spire/presentation/{AnimationMotionOrigin.py → animation/AnimationMotionOrigin.py} +6 -3
- spire/presentation/{AnimationMotionPathEditMode.py → animation/AnimationMotionPathEditMode.py} +6 -3
- spire/presentation/{AnimationProperty.py → animation/AnimationProperty.py} +63 -28
- spire/presentation/{AnimationRepeatType.py → animation/AnimationRepeatType.py} +6 -3
- spire/presentation/{AnimationRestartType.py → animation/AnimationRestartType.py} +7 -3
- spire/presentation/{AnimationRotation.py → animation/AnimationRotation.py} +7 -15
- spire/presentation/{AnimationScale.py → animation/AnimationScale.py} +43 -18
- spire/presentation/{AnimationSet.py → animation/AnimationSet.py} +7 -7
- spire/presentation/{AnimationTriggerType.py → animation/AnimationTriggerType.py} +8 -3
- spire/presentation/{BehaviorAccumulateType.py → animation/BehaviorAccumulateType.py} +6 -3
- spire/presentation/animation/BehaviorAdditiveType.py +27 -0
- spire/presentation/{CommonBehavior.py → animation/CommonBehavior.py} +41 -18
- spire/presentation/{CommonBehaviorCollection.py → animation/CommonBehaviorCollection.py} +76 -47
- spire/presentation/animation/FilterEffectSubtype.py +70 -0
- spire/presentation/animation/FilterEffectType.py +71 -0
- spire/presentation/animation/FilterEffectsType.py +21 -0
- spire/presentation/{FilterRevealType.py → animation/FilterRevealType.py} +7 -3
- spire/presentation/{GraphicAnimation.py → animation/GraphicAnimation.py} +10 -6
- spire/presentation/{GraphicAnimationCollection.py → animation/GraphicAnimationCollection.py} +20 -17
- spire/presentation/animation/GraphicBuildType.py +25 -0
- spire/presentation/{MotionCmdPath.py → animation/MotionCmdPath.py} +35 -7
- spire/presentation/animation/MotionCommandPathType.py +25 -0
- spire/presentation/{MotionPath.py → animation/MotionPath.py} +43 -21
- spire/presentation/animation/MotionPathPointsType.py +33 -0
- spire/presentation/animation/ParagraphBuildType.py +31 -0
- spire/presentation/animation/PropertyValueType.py +23 -0
- spire/presentation/{SequenceCollection.py → animation/SequenceCollection.py} +32 -30
- spire/presentation/{TextAnimation.py → animation/TextAnimation.py} +14 -11
- spire/presentation/{TextAnimationCollection.py → animation/TextAnimationCollection.py} +41 -20
- spire/presentation/{TimeAnimationValue.py → animation/TimeAnimationValue.py} +14 -14
- spire/presentation/{TimeAnimationValueCollection.py → animation/TimeAnimationValueCollection.py} +11 -15
- spire/presentation/{TimeLine.py → animation/TimeLine.py} +20 -11
- spire/presentation/{TimeNode.py → animation/TimeNode.py} +16 -4
- spire/presentation/{TimeNodeAudio.py → animation/TimeNodeAudio.py} +31 -19
- spire/presentation/{TimeNodeMedia.py → animation/TimeNodeMedia.py} +9 -3
- spire/presentation/animation/TimeNodePresetClassType.py +29 -0
- spire/presentation/{TimeNodes.py → animation/TimeNodes.py} +32 -8
- spire/presentation/{Timing.py → animation/Timing.py} +67 -47
- spire/presentation/animation/__init__.py +0 -0
- spire/presentation/{AxisPositionType.py → charts/AxisPositionType.py} +7 -3
- spire/presentation/{AxisType.py → charts/AxisType.py} +6 -3
- spire/presentation/{CellRange.py → charts/CellRange.py} +54 -51
- spire/presentation/{CellRanges.py → charts/CellRanges.py} +43 -27
- spire/presentation/{ChartAxis.py → charts/ChartAxis.py} +109 -124
- spire/presentation/{ChartBaseUnitType.py → charts/ChartBaseUnitType.py} +2 -3
- spire/presentation/{ChartCategory.py → charts/ChartCategory.py} +12 -6
- spire/presentation/{ChartCategoryCollection.py → charts/ChartCategoryCollection.py} +65 -44
- spire/presentation/{ChartCrossesType.py → charts/ChartCrossesType.py} +6 -3
- spire/presentation/{ChartData.py → charts/ChartData.py} +111 -62
- spire/presentation/{ChartDataLabel.py → charts/ChartDataLabel.py} +95 -89
- spire/presentation/{ChartDataLabelCollection.py → charts/ChartDataLabelCollection.py} +105 -82
- spire/presentation/charts/ChartDataLabelPosition.py +35 -0
- spire/presentation/{ChartDataPoint.py → charts/ChartDataPoint.py} +62 -48
- spire/presentation/{ChartDataPointCollection.py → charts/ChartDataPointCollection.py} +21 -18
- spire/presentation/{ChartDataTable.py → charts/ChartDataTable.py} +37 -34
- spire/presentation/charts/ChartDisplayUnitType.py +37 -0
- spire/presentation/{ChartEffectFormat.py → charts/ChartEffectFormat.py} +13 -14
- spire/presentation/{ChartLegend.py → charts/ChartLegend.py} +63 -59
- spire/presentation/{ChartLegendPositionType.py → charts/ChartLegendPositionType.py} +9 -3
- spire/presentation/charts/ChartMarkerType.py +39 -0
- spire/presentation/{ChartPlotArea.py → charts/ChartPlotArea.py} +35 -34
- spire/presentation/{ChartRotationThreeD.py → charts/ChartRotationThreeD.py} +4 -18
- spire/presentation/{ChartSeriesDataFormat.py → charts/ChartSeriesDataFormat.py} +52 -130
- spire/presentation/{ChartSeriesFormatCollection.py → charts/ChartSeriesFormatCollection.py} +69 -43
- spire/presentation/{ChartShapeType.py → charts/ChartShapeType.py} +10 -3
- spire/presentation/{ChartStyle.py → charts/ChartStyle.py} +1 -3
- spire/presentation/{ChartTextArea.py → charts/ChartTextArea.py} +14 -38
- spire/presentation/{ChartType.py → charts/ChartType.py} +2 -3
- spire/presentation/{ChartWallsOrFloor.py → charts/ChartWallsOrFloor.py} +25 -24
- spire/presentation/{CrossBetweenType.py → charts/CrossBetweenType.py} +4 -0
- spire/presentation/{DataLabelShapeType.py → charts/DataLabelShapeType.py} +1 -3
- spire/presentation/{DisplayBlanksAsType.py → charts/DisplayBlanksAsType.py} +2 -3
- spire/presentation/{ErrorBarSimpleType.py → charts/ErrorBarSimpleType.py} +6 -1
- spire/presentation/charts/ErrorValueType.py +25 -0
- spire/presentation/{HistogramAxisFormat.py → charts/HistogramAxisFormat.py} +3 -7
- spire/presentation/{IChart.py → charts/IChart.py} +69 -174
- spire/presentation/{IChartAxis.py → charts/IChartAxis.py} +95 -133
- spire/presentation/{IChartEffectFormat.py → charts/IChartEffectFormat.py} +9 -21
- spire/presentation/{IChartGridLine.py → charts/IChartGridLine.py} +23 -57
- spire/presentation/{IErrorBarsFormat.py → charts/IErrorBarsFormat.py} +9 -21
- spire/presentation/{ITrendlineLabel.py → charts/ITrendlineLabel.py} +23 -16
- spire/presentation/{ITrendlines.py → charts/ITrendlines.py} +107 -49
- spire/presentation/{InteriorColorPattern.py → charts/InteriorColorPattern.py} +1 -1
- spire/presentation/{LayoutProperty.py → charts/LayoutProperty.py} +26 -25
- spire/presentation/{LegendEntry.py → charts/LegendEntry.py} +7 -6
- spire/presentation/{LegendEntryCollection.py → charts/LegendEntryCollection.py} +17 -7
- spire/presentation/{PictureType.py → charts/PictureType.py} +7 -3
- spire/presentation/charts/ProjectionType.py +22 -0
- spire/presentation/{QuartileCalculation.py → charts/QuartileCalculation.py} +3 -3
- spire/presentation/{TickLabelPositionType.py → charts/TickLabelPositionType.py} +7 -3
- spire/presentation/{TickMarkType.py → charts/TickMarkType.py} +7 -3
- spire/presentation/{TreeMapLabelOption.py → charts/TreeMapLabelOption.py} +6 -3
- spire/presentation/charts/TrendlinesType.py +27 -0
- spire/presentation/charts/__init__.py +0 -0
- spire/presentation/{CommentAuthorCollection.py → collections/CommentAuthorCollection.py} +13 -10
- spire/presentation/{CommentAuthorList.py → collections/CommentAuthorList.py} +49 -18
- spire/presentation/{CommentCollection.py → collections/CommentCollection.py} +11 -24
- spire/presentation/{CommentList.py → collections/CommentList.py} +60 -73
- spire/presentation/{EffectDataCollection.py → collections/EffectDataCollection.py} +22 -23
- spire/presentation/{EffectStyleCollection.py → collections/EffectStyleCollection.py} +14 -10
- spire/presentation/{EffectStyleList.py → collections/EffectStyleList.py} +15 -17
- spire/presentation/{EmbedImageList.py → collections/EmbedImageList.py} +28 -24
- spire/presentation/{FillFormatCollection.py → collections/FillFormatCollection.py} +12 -24
- spire/presentation/{FillFormatList.py → collections/FillFormatList.py} +2 -3
- spire/presentation/{FillListBase.py → collections/FillListBase.py} +25 -16
- spire/presentation/{FillStyleCollection.py → collections/FillStyleCollection.py} +18 -11
- spire/presentation/{FillStyleList.py → collections/FillStyleList.py} +10 -4
- spire/presentation/{GradientStopCollection.py → collections/GradientStopCollection.py} +4 -21
- spire/presentation/{GradientStopDataCollection.py → collections/GradientStopDataCollection.py} +7 -31
- spire/presentation/{GradientStopList.py → collections/GradientStopList.py} +41 -53
- spire/presentation/{IMasterLayouts.py → collections/IMasterLayouts.py} +25 -7
- spire/presentation/{ImageCollection.py → collections/ImageCollection.py} +4 -22
- spire/presentation/{ImageTransformEffectCollection.py → collections/ImageTransformEffectCollection.py} +4 -22
- spire/presentation/{LineStyleCollection.py → collections/LineStyleCollection.py} +18 -25
- spire/presentation/{LineStyleList.py → collections/LineStyleList.py} +25 -15
- spire/presentation/{MasterSlideCollection.py → collections/MasterSlideCollection.py} +9 -26
- spire/presentation/{MasterSlideList.py → collections/MasterSlideList.py} +47 -33
- spire/presentation/{OleObjectCollection.py → collections/OleObjectCollection.py} +34 -48
- spire/presentation/{OleObjectProperties.py → collections/OleObjectProperties.py} +45 -56
- spire/presentation/{ParagraphCollection.py → collections/ParagraphCollection.py} +16 -26
- spire/presentation/{ParagraphList.py → collections/ParagraphList.py} +68 -45
- spire/presentation/{ShapeAdjustCollection.py → collections/ShapeAdjustCollection.py} +13 -27
- spire/presentation/{ShapeAdjustmentList.py → collections/ShapeAdjustmentList.py} +11 -12
- spire/presentation/{ShapeList.py → collections/ShapeList.py} +384 -323
- spire/presentation/{SlideCollection.py → collections/SlideCollection.py} +9 -10
- spire/presentation/{SlideColorSchemeCollection.py → collections/SlideColorSchemeCollection.py} +31 -23
- spire/presentation/{TabStopCollection.py → collections/TabStopCollection.py} +10 -10
- spire/presentation/{TabStopList.py → collections/TabStopList.py} +37 -33
- spire/presentation/{TagCollection.py → collections/TagCollection.py} +12 -25
- spire/presentation/{TagList.py → collections/TagList.py} +55 -51
- spire/presentation/{TextLineFormatCollection.py → collections/TextLineFormatCollection.py} +10 -24
- spire/presentation/{TextLineFormatList.py → collections/TextLineFormatList.py} +17 -13
- spire/presentation/{TextRangeCollection.py → collections/TextRangeCollection.py} +17 -26
- spire/presentation/{TextRangeList.py → collections/TextRangeList.py} +49 -33
- spire/presentation/{VideoCollection.py → collections/VideoCollection.py} +26 -20
- spire/presentation/{WavAudioCollection.py → collections/WavAudioCollection.py} +27 -23
- spire/presentation/collections/__init__.py +0 -0
- spire/presentation/{ISmartArt.py → diagrams/ISmartArt.py} +42 -14
- spire/presentation/{ISmartArtNode.py → diagrams/ISmartArtNode.py} +119 -10
- spire/presentation/{ISmartArtNodeCollection.py → diagrams/ISmartArtNodeCollection.py} +57 -5
- spire/presentation/{SmartArtColorType.py → diagrams/SmartArtColorType.py} +1 -1
- spire/presentation/{SmartArtLayoutType.py → diagrams/SmartArtLayoutType.py} +1 -1
- spire/presentation/diagrams/SmartArtStyleType.py +43 -0
- spire/presentation/diagrams/__init__.py +0 -0
- spire/presentation/{Backdrop.py → drawing/Backdrop.py} +16 -19
- spire/presentation/{BackgroundType.py → drawing/BackgroundType.py} +6 -3
- spire/presentation/{BevelColorType.py → drawing/BevelColorType.py} +5 -3
- spire/presentation/drawing/BevelPresetType.py +41 -0
- spire/presentation/drawing/BlackWhiteMode.py +39 -0
- spire/presentation/{BlendEffect.py → drawing/BlendEffect.py} +11 -14
- spire/presentation/drawing/BlendMode.py +27 -0
- spire/presentation/{BlurNode.py → drawing/BlurNode.py} +4 -16
- spire/presentation/{ColorFormat.py → drawing/ColorFormat.py} +114 -61
- spire/presentation/{ColorScheme.py → drawing/ColorScheme.py} +59 -49
- spire/presentation/{ColorSchemeIndex.py → drawing/ColorSchemeIndex.py} +1 -3
- spire/presentation/drawing/ColorType.py +27 -0
- spire/presentation/{EffectDag.py → drawing/EffectDag.py} +41 -27
- spire/presentation/drawing/EffectFillType.py +25 -0
- spire/presentation/{EffectNode.py → drawing/EffectNode.py} +2 -3
- spire/presentation/{EffectStyle.py → drawing/EffectStyle.py} +14 -12
- spire/presentation/{ExtensionList.py → drawing/ExtensionList.py} +4 -1
- spire/presentation/{FillFormat.py → drawing/FillFormat.py} +61 -39
- spire/presentation/drawing/FillFormatType.py +29 -0
- spire/presentation/{FillOverlayEffect.py → drawing/FillOverlayEffect.py} +30 -11
- spire/presentation/{FormatScheme.py → drawing/FormatScheme.py} +9 -23
- spire/presentation/{FormatThreeD.py → drawing/FormatThreeD.py} +23 -13
- spire/presentation/{GlowEffect.py → drawing/GlowEffect.py} +15 -13
- spire/presentation/{GlowNode.py → drawing/GlowNode.py} +4 -10
- spire/presentation/{GradientFillFormat.py → drawing/GradientFillFormat.py} +12 -27
- spire/presentation/drawing/GradientShapeType.py +25 -0
- spire/presentation/{GradientStop.py → drawing/GradientStop.py} +1 -9
- spire/presentation/{GradientStopData.py → drawing/GradientStopData.py} +2 -9
- spire/presentation/drawing/GradientStyle.py +26 -0
- spire/presentation/{GraphicFrame.py → drawing/GraphicFrame.py} +41 -73
- spire/presentation/{GraphicalNodeLocking.py → drawing/GraphicalNodeLocking.py} +26 -21
- spire/presentation/{IImageData.py → drawing/IImageData.py} +6 -24
- spire/presentation/{ImageTransform.py → drawing/ImageTransform.py} +42 -36
- spire/presentation/{ImageTransformBase.py → drawing/ImageTransformBase.py} +2 -3
- spire/presentation/{InnerShadowEffect.py → drawing/InnerShadowEffect.py} +15 -18
- spire/presentation/{InnerShadowNode.py → drawing/InnerShadowNode.py} +5 -15
- spire/presentation/{OuterShadowEffect.py → drawing/OuterShadowEffect.py} +60 -35
- spire/presentation/{OuterShadowNode.py → drawing/OuterShadowNode.py} +51 -33
- spire/presentation/{PatternFillFormat.py → drawing/PatternFillFormat.py} +6 -15
- spire/presentation/drawing/PatternFillType.py +127 -0
- spire/presentation/{PenAlignmentType.py → drawing/PenAlignmentType.py} +6 -3
- spire/presentation/{PictureData.py → drawing/PictureData.py} +15 -15
- spire/presentation/{PictureFillFormat.py → drawing/PictureFillFormat.py} +37 -31
- spire/presentation/{PictureFillType.py → drawing/PictureFillType.py} +5 -3
- spire/presentation/{PresetShadow.py → drawing/PresetShadow.py} +33 -18
- spire/presentation/{PresetShadowNode.py → drawing/PresetShadowNode.py} +20 -15
- spire/presentation/{ReflectionEffect.py → drawing/ReflectionEffect.py} +65 -45
- spire/presentation/{ReflectionNode.py → drawing/ReflectionNode.py} +58 -45
- spire/presentation/{SchemeColor.py → drawing/SchemeColor.py} +2 -3
- spire/presentation/{SoftEdgeEffect.py → drawing/SoftEdgeEffect.py} +11 -7
- spire/presentation/{SoftEdgeNode.py → drawing/SoftEdgeNode.py} +5 -7
- spire/presentation/drawing/__init__.py +0 -0
- spire/presentation/export/PdfConformanceLevel.py +30 -0
- spire/presentation/{SaveToHtmlOption.py → export/SaveToHtmlOption.py} +12 -6
- spire/presentation/{SaveToPdfOption.py → export/SaveToPdfOption.py} +18 -11
- spire/presentation/{SaveToPptxOption.py → export/SaveToPptxOption.py} +12 -6
- spire/presentation/export/__init__.py +0 -0
- spire/presentation/lib/Spire.Presentation.Base.dll +0 -0
- spire/presentation/license/__init__.py +0 -0
- spire/presentation/{Cell.py → table/Cell.py} +56 -107
- spire/presentation/{CellCollection.py → table/CellCollection.py} +45 -31
- spire/presentation/{ColumnCollection.py → table/ColumnCollection.py} +10 -25
- spire/presentation/{ColumnList.py → table/ColumnList.py} +39 -28
- spire/presentation/{ITable.py → table/ITable.py} +117 -137
- spire/presentation/{RowList.py → table/RowList.py} +45 -27
- spire/presentation/table/TableBorderType.py +39 -0
- spire/presentation/{TableColumn.py → table/TableColumn.py} +14 -7
- spire/presentation/{TableRow.py → table/TableRow.py} +14 -7
- spire/presentation/{TableRowCollection.py → table/TableRowCollection.py} +12 -24
- spire/presentation/{TableStylePreset.py → table/TableStylePreset.py} +1 -3
- spire/presentation/table/__init__.py +0 -0
- spire/presentation/{BlindsSlideTransition.py → transition/BlindsSlideTransition.py} +9 -5
- spire/presentation/{CoverSlideTransition.py → transition/CoverSlideTransition.py} +20 -7
- spire/presentation/{FlythroughTransition.py → transition/FlythroughTransition.py} +12 -2
- spire/presentation/{GlitterTransition.py → transition/GlitterTransition.py} +10 -2
- spire/presentation/transition/GlitterTransitionDirection.py +31 -0
- spire/presentation/{InvXTransition.py → transition/InvXTransition.py} +10 -2
- spire/presentation/{LRTransition.py → transition/LRTransition.py} +12 -6
- spire/presentation/{OptionalBlackTransition.py → transition/OptionalBlackTransition.py} +16 -8
- spire/presentation/{RevealTransition.py → transition/RevealTransition.py} +11 -1
- spire/presentation/{ShredTransition.py → transition/ShredTransition.py} +14 -3
- spire/presentation/{SideDirectionTransition.py → transition/SideDirectionTransition.py} +12 -7
- spire/presentation/{SlideShowTransition.py → transition/SlideShowTransition.py} +50 -67
- spire/presentation/{SplitSlideTransition.py → transition/SplitSlideTransition.py} +14 -7
- spire/presentation/{StripsSlideTransition.py → transition/StripsSlideTransition.py} +14 -3
- spire/presentation/{Transition.py → transition/Transition.py} +10 -3
- spire/presentation/transition/TransitionCornerDirection.py +25 -0
- spire/presentation/{TransitionDirection.py → transition/TransitionDirection.py} +6 -3
- spire/presentation/transition/TransitionEightDirection.py +33 -0
- spire/presentation/{TransitionFlythroughInOutDirection.py → transition/TransitionFlythroughInOutDirection.py} +7 -3
- spire/presentation/{TransitionInOutDirection.py → transition/TransitionInOutDirection.py} +6 -3
- spire/presentation/transition/TransitionRevealLRDirection.py +23 -0
- spire/presentation/transition/TransitionShredInOutDirection.py +23 -0
- spire/presentation/{TransitionSideDirectionType.py → transition/TransitionSideDirectionType.py} +7 -3
- spire/presentation/{TransitionSoundMode.py → transition/TransitionSoundMode.py} +6 -3
- spire/presentation/{TransitionSpeed.py → transition/TransitionSpeed.py} +7 -3
- spire/presentation/{TransitionSplitDirection.py → transition/TransitionSplitDirection.py} +7 -3
- spire/presentation/{TransitionTwoDirection.py → transition/TransitionTwoDirection.py} +5 -3
- spire/presentation/transition/TransitionType.py +127 -0
- spire/presentation/{WheelSlideTransition.py → transition/WheelSlideTransition.py} +11 -6
- spire/presentation/{ZoomSlideTransition.py → transition/ZoomSlideTransition.py} +11 -7
- spire/presentation/transition/__init__.py +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.7.1.dist-info}/METADATA +1 -1
- spire_presentation-10.7.1.dist-info/RECORD +440 -0
- spire/presentation/AnimateType.py +0 -16
- spire/presentation/AnimationEffectSubtype.py +0 -65
- spire/presentation/AnimationEffectType.py +0 -166
- spire/presentation/BehaviorAdditiveType.py +0 -21
- spire/presentation/BevelPresetType.py +0 -28
- spire/presentation/BlackWhiteMode.py +0 -27
- spire/presentation/BlendMode.py +0 -21
- spire/presentation/ChartDataLabelPosition.py +0 -25
- spire/presentation/ChartDisplayUnitType.py +0 -26
- spire/presentation/ChartMarkerType.py +0 -27
- spire/presentation/ColorType.py +0 -19
- spire/presentation/DocumentEditException.py +0 -14
- spire/presentation/DocumentReadException.py +0 -14
- spire/presentation/DocumentUnkownFormatException.py +0 -14
- spire/presentation/EffectFillType.py +0 -20
- spire/presentation/ErrorValueType.py +0 -18
- spire/presentation/FillFormatType.py +0 -22
- spire/presentation/FilterEffectSubtype.py +0 -42
- spire/presentation/FilterEffectType.py +0 -34
- spire/presentation/FilterEffectsType.py +0 -16
- spire/presentation/GlitterTransitionDirection.py +0 -23
- spire/presentation/GradientShapeType.py +0 -20
- spire/presentation/GradientStyle.py +0 -21
- spire/presentation/GraphicBuildType.py +0 -20
- spire/presentation/HeaderType.py +0 -20
- spire/presentation/MotionCommandPathType.py +0 -20
- spire/presentation/MotionPathPointsType.py +0 -24
- spire/presentation/ParagraphBuildType.py +0 -23
- spire/presentation/PatternFillType.py +0 -71
- spire/presentation/PdfConformanceLevel.py +0 -22
- spire/presentation/PresentationTranslator.py +0 -31
- spire/presentation/ProjectionType.py +0 -16
- spire/presentation/PropertyValueType.py +0 -19
- spire/presentation/SmartArtStyleType.py +0 -27
- spire/presentation/TableBorderType.py +0 -27
- spire/presentation/TimeNodePresetClassType.py +0 -22
- spire/presentation/TransitionCornerDirection.py +0 -20
- spire/presentation/TransitionEightDirection.py +0 -24
- spire/presentation/TransitionRevealLRDirection.py +0 -19
- spire/presentation/TransitionShredInOutDirection.py +0 -19
- spire/presentation/TransitionType.py +0 -71
- spire/presentation/TrendlinesType.py +0 -19
- spire/presentation/UOPReader.py +0 -24
- spire/presentation/UOPWriter.py +0 -24
- spire_presentation-10.6.4.dist-info/RECORD +0 -438
- /spire/presentation/{Geography.py → charts/Geography.py} +0 -0
- /spire/presentation/{LicenseProvider.py → license/LicenseProvider.py} +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.7.1.dist-info}/WHEEL +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.7.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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
148
|
-
|
|
149
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
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
|
-
|
|
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
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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
|
-
|
|
278
|
-
|
|
279
|
-
|
|
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
|
-
|
|
293
|
-
|
|
294
|
-
|
|
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
|
-
|
|
307
|
-
|
|
308
|
-
|
|
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
|
-
|
|
337
|
-
|
|
338
|
-
|
|
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
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
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
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
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
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
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
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
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
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
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
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
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
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
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
|
-
|
|
543
|
-
|
|
544
|
-
|
|
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
|
-
|
|
558
|
-
|
|
559
|
-
|
|
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
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
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
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
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
|
-
|
|
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
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
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
|
-
|
|
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
|
-
|
|
786
|
-
|
|
787
|
-
|
|
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
|
-
|
|
803
|
-
|
|
804
|
-
|
|
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
|
-
|
|
820
|
-
|
|
821
|
-
|
|
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
|
-
|
|
837
|
-
|
|
838
|
-
|
|
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
|
-
|
|
854
|
-
|
|
855
|
-
|
|
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
|
-
|
|
872
|
-
|
|
873
|
-
|
|
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
|
-
|
|
886
|
-
|
|
887
|
-
|
|
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
|
-
|
|
903
|
-
|
|
904
|
-
|
|
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
|
-
|
|
920
|
-
|
|
921
|
-
|
|
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
|
-
|
|
937
|
-
|
|
938
|
-
|
|
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
|
-
|
|
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
|
-
|
|
959
|
-
|
|
960
|
-
|
|
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
|
-
|
|
977
|
-
|
|
978
|
-
|
|
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
|
-
|
|
994
|
-
|
|
995
|
-
|
|
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
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
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
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
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
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
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
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
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
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
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
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
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
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
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
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
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
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
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
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
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
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
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
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
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
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
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
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
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)
|