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.
- 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.8.1.dist-info}/METADATA +1 -1
- spire_presentation-10.8.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.8.1.dist-info}/WHEEL +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/top_level.txt +0 -0
|
@@ -8,17 +8,18 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class AnimationEffect ( PptObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents timing information about a slide animation.
|
|
12
|
+
|
|
13
|
+
This class controls the timing and behavior of animation effects.
|
|
14
14
|
"""
|
|
15
15
|
@property
|
|
16
16
|
|
|
17
17
|
def TimeNodeAudios(self)->List['TimeNodeAudio']:
|
|
18
18
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
Gets the collection of audio elements associated with the animation.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
List[TimeNodeAudio]: The list of audio elements.
|
|
22
23
|
"""
|
|
23
24
|
GetDllLibPpt().AnimationEffect_get_TimeNodeAudios.argtypes=[c_void_p]
|
|
24
25
|
GetDllLibPpt().AnimationEffect_get_TimeNodeAudios.restype=IntPtrArray
|
|
@@ -30,12 +31,10 @@ class AnimationEffect ( PptObject) :
|
|
|
30
31
|
@property
|
|
31
32
|
def IterateTimeValue(self)->float:
|
|
32
33
|
"""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this element describes the duration of the iteration interval in percentage of time.
|
|
38
|
-
</summary>
|
|
34
|
+
Gets the iteration interval value.
|
|
35
|
+
|
|
36
|
+
Returns:
|
|
37
|
+
float: The iteration interval value.
|
|
39
38
|
"""
|
|
40
39
|
GetDllLibPpt().AnimationEffect_get_IterateTimeValue.argtypes=[c_void_p]
|
|
41
40
|
GetDllLibPpt().AnimationEffect_get_IterateTimeValue.restype=c_float
|
|
@@ -44,6 +43,12 @@ class AnimationEffect ( PptObject) :
|
|
|
44
43
|
|
|
45
44
|
@IterateTimeValue.setter
|
|
46
45
|
def IterateTimeValue(self, value:float):
|
|
46
|
+
"""
|
|
47
|
+
Sets the iteration interval value.
|
|
48
|
+
|
|
49
|
+
Args:
|
|
50
|
+
value: The iteration interval value to set.
|
|
51
|
+
"""
|
|
47
52
|
GetDllLibPpt().AnimationEffect_set_IterateTimeValue.argtypes=[c_void_p, c_float]
|
|
48
53
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_IterateTimeValue,self.Ptr, value)
|
|
49
54
|
|
|
@@ -51,7 +56,10 @@ class AnimationEffect ( PptObject) :
|
|
|
51
56
|
|
|
52
57
|
def IterateType(self)->'AnimateType':
|
|
53
58
|
"""
|
|
54
|
-
|
|
59
|
+
Gets the iteration type.
|
|
60
|
+
|
|
61
|
+
Returns:
|
|
62
|
+
AnimateType: The iteration type.
|
|
55
63
|
"""
|
|
56
64
|
GetDllLibPpt().AnimationEffect_get_IterateType.argtypes=[c_void_p]
|
|
57
65
|
GetDllLibPpt().AnimationEffect_get_IterateType.restype=c_int
|
|
@@ -61,6 +69,12 @@ class AnimationEffect ( PptObject) :
|
|
|
61
69
|
|
|
62
70
|
@IterateType.setter
|
|
63
71
|
def IterateType(self, value:'AnimateType'):
|
|
72
|
+
"""
|
|
73
|
+
Sets the iteration type.
|
|
74
|
+
|
|
75
|
+
Args:
|
|
76
|
+
value: The iteration type to set.
|
|
77
|
+
"""
|
|
64
78
|
GetDllLibPpt().AnimationEffect_set_IterateType.argtypes=[c_void_p, c_int]
|
|
65
79
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_IterateType,self.Ptr, value.value)
|
|
66
80
|
|
|
@@ -68,10 +82,10 @@ class AnimationEffect ( PptObject) :
|
|
|
68
82
|
|
|
69
83
|
def Effects(self)->'AnimationEffectCollection':
|
|
70
84
|
"""
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
85
|
+
Gets the sequence of effects.
|
|
86
|
+
|
|
87
|
+
Returns:
|
|
88
|
+
AnimationEffectCollection: The collection of effects.
|
|
75
89
|
"""
|
|
76
90
|
GetDllLibPpt().AnimationEffect_get_Effects.argtypes=[c_void_p]
|
|
77
91
|
GetDllLibPpt().AnimationEffect_get_Effects.restype=c_void_p
|
|
@@ -84,7 +98,10 @@ class AnimationEffect ( PptObject) :
|
|
|
84
98
|
|
|
85
99
|
def TextAnimation(self)->'TextAnimation':
|
|
86
100
|
"""
|
|
87
|
-
|
|
101
|
+
Gets the text animation settings.
|
|
102
|
+
|
|
103
|
+
Returns:
|
|
104
|
+
TextAnimation: The text animation object.
|
|
88
105
|
"""
|
|
89
106
|
GetDllLibPpt().AnimationEffect_get_TextAnimation.argtypes=[c_void_p]
|
|
90
107
|
GetDllLibPpt().AnimationEffect_get_TextAnimation.restype=c_void_p
|
|
@@ -97,7 +114,10 @@ class AnimationEffect ( PptObject) :
|
|
|
97
114
|
|
|
98
115
|
def GraphicAnimation(self)->'GraphicAnimation':
|
|
99
116
|
"""
|
|
100
|
-
|
|
117
|
+
Gets the graphic animation settings.
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
GraphicAnimation: The graphic animation object.
|
|
101
121
|
"""
|
|
102
122
|
GetDllLibPpt().AnimationEffect_get_GraphicAnimation.argtypes=[c_void_p]
|
|
103
123
|
GetDllLibPpt().AnimationEffect_get_GraphicAnimation.restype=c_void_p
|
|
@@ -110,9 +130,10 @@ class AnimationEffect ( PptObject) :
|
|
|
110
130
|
|
|
111
131
|
def ShapeTarget(self)->'Shape':
|
|
112
132
|
"""
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
133
|
+
Gets the shape that the animation is applied to.
|
|
134
|
+
|
|
135
|
+
Returns:
|
|
136
|
+
Shape: The target shape.
|
|
116
137
|
"""
|
|
117
138
|
GetDllLibPpt().AnimationEffect_get_ShapeTarget.argtypes=[c_void_p]
|
|
118
139
|
GetDllLibPpt().AnimationEffect_get_ShapeTarget.restype=c_void_p
|
|
@@ -125,10 +146,10 @@ class AnimationEffect ( PptObject) :
|
|
|
125
146
|
|
|
126
147
|
def PresetClassType(self)->'TimeNodePresetClassType':
|
|
127
148
|
"""
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
149
|
+
Gets the class type of the effect.
|
|
150
|
+
|
|
151
|
+
Returns:
|
|
152
|
+
TimeNodePresetClassType: The effect class type.
|
|
132
153
|
"""
|
|
133
154
|
GetDllLibPpt().AnimationEffect_get_PresetClassType.argtypes=[c_void_p]
|
|
134
155
|
GetDllLibPpt().AnimationEffect_get_PresetClassType.restype=c_int
|
|
@@ -138,6 +159,12 @@ class AnimationEffect ( PptObject) :
|
|
|
138
159
|
|
|
139
160
|
@PresetClassType.setter
|
|
140
161
|
def PresetClassType(self, value:'TimeNodePresetClassType'):
|
|
162
|
+
"""
|
|
163
|
+
Sets the class type of the effect.
|
|
164
|
+
|
|
165
|
+
Args:
|
|
166
|
+
value: The effect class type to set.
|
|
167
|
+
"""
|
|
141
168
|
GetDllLibPpt().AnimationEffect_set_PresetClassType.argtypes=[c_void_p, c_int]
|
|
142
169
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_PresetClassType,self.Ptr, value.value)
|
|
143
170
|
|
|
@@ -145,10 +172,10 @@ class AnimationEffect ( PptObject) :
|
|
|
145
172
|
|
|
146
173
|
def AnimationEffectType(self)->'AnimationEffectType':
|
|
147
174
|
"""
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
175
|
+
Gets the type of animation effect.
|
|
176
|
+
|
|
177
|
+
Returns:
|
|
178
|
+
AnimationEffectType: The effect type.
|
|
152
179
|
"""
|
|
153
180
|
GetDllLibPpt().AnimationEffect_get_AnimationEffectType.argtypes=[c_void_p]
|
|
154
181
|
GetDllLibPpt().AnimationEffect_get_AnimationEffectType.restype=c_int
|
|
@@ -158,6 +185,12 @@ class AnimationEffect ( PptObject) :
|
|
|
158
185
|
|
|
159
186
|
@AnimationEffectType.setter
|
|
160
187
|
def AnimationEffectType(self, value:'AnimationEffectType'):
|
|
188
|
+
"""
|
|
189
|
+
Sets the type of animation effect.
|
|
190
|
+
|
|
191
|
+
Args:
|
|
192
|
+
value: The effect type to set.
|
|
193
|
+
"""
|
|
161
194
|
GetDllLibPpt().AnimationEffect_set_AnimationEffectType.argtypes=[c_void_p, c_int]
|
|
162
195
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_AnimationEffectType,self.Ptr, value.value)
|
|
163
196
|
|
|
@@ -165,7 +198,10 @@ class AnimationEffect ( PptObject) :
|
|
|
165
198
|
|
|
166
199
|
def Subtype(self)->'AnimationEffectSubtype':
|
|
167
200
|
"""
|
|
168
|
-
|
|
201
|
+
Gets the subtype of the animation effect.
|
|
202
|
+
|
|
203
|
+
Returns:
|
|
204
|
+
AnimationEffectSubtype: The effect subtype.
|
|
169
205
|
"""
|
|
170
206
|
GetDllLibPpt().AnimationEffect_get_Subtype.argtypes=[c_void_p]
|
|
171
207
|
GetDllLibPpt().AnimationEffect_get_Subtype.restype=c_int
|
|
@@ -175,6 +211,12 @@ class AnimationEffect ( PptObject) :
|
|
|
175
211
|
|
|
176
212
|
@Subtype.setter
|
|
177
213
|
def Subtype(self, value:'AnimationEffectSubtype'):
|
|
214
|
+
"""
|
|
215
|
+
Sets the subtype of the animation effect.
|
|
216
|
+
|
|
217
|
+
Args:
|
|
218
|
+
value: The effect subtype to set.
|
|
219
|
+
"""
|
|
178
220
|
GetDllLibPpt().AnimationEffect_set_Subtype.argtypes=[c_void_p, c_int]
|
|
179
221
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_Subtype,self.Ptr, value.value)
|
|
180
222
|
|
|
@@ -182,12 +224,12 @@ class AnimationEffect ( PptObject) :
|
|
|
182
224
|
|
|
183
225
|
def CommonBehaviorCollection(self)->'CommonBehaviorCollection':
|
|
184
226
|
"""
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
227
|
+
Gets the collection of behaviors for the effect.
|
|
228
|
+
|
|
229
|
+
Returns:
|
|
230
|
+
CommonBehaviorCollection: The behavior collection.
|
|
189
231
|
"""
|
|
190
|
-
from spire.presentation import CommonBehaviorCollection
|
|
232
|
+
from spire.presentation.animation.CommonBehaviorCollection import CommonBehaviorCollection
|
|
191
233
|
GetDllLibPpt().AnimationEffect_get_CommonBehaviorCollection.argtypes=[c_void_p]
|
|
192
234
|
GetDllLibPpt().AnimationEffect_get_CommonBehaviorCollection.restype=c_void_p
|
|
193
235
|
intPtr = CallCFunction(GetDllLibPpt().AnimationEffect_get_CommonBehaviorCollection,self.Ptr)
|
|
@@ -197,6 +239,12 @@ class AnimationEffect ( PptObject) :
|
|
|
197
239
|
|
|
198
240
|
@CommonBehaviorCollection.setter
|
|
199
241
|
def CommonBehaviorCollection(self, value:'CommonBehaviorCollection'):
|
|
242
|
+
"""
|
|
243
|
+
Sets the collection of behaviors for the effect.
|
|
244
|
+
|
|
245
|
+
Args:
|
|
246
|
+
value: The behavior collection to set.
|
|
247
|
+
"""
|
|
200
248
|
GetDllLibPpt().AnimationEffect_set_CommonBehaviorCollection.argtypes=[c_void_p, c_void_p]
|
|
201
249
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_CommonBehaviorCollection,self.Ptr, value.Ptr)
|
|
202
250
|
|
|
@@ -204,12 +252,12 @@ class AnimationEffect ( PptObject) :
|
|
|
204
252
|
|
|
205
253
|
def Timing(self)->'Timing':
|
|
206
254
|
"""
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
255
|
+
Gets the timing settings for the effect.
|
|
256
|
+
|
|
257
|
+
Returns:
|
|
258
|
+
Timing: The timing settings.
|
|
211
259
|
"""
|
|
212
|
-
from spire.presentation import Timing;
|
|
260
|
+
from spire.presentation.animation.Timing import Timing;
|
|
213
261
|
GetDllLibPpt().AnimationEffect_get_Timing.argtypes=[c_void_p]
|
|
214
262
|
GetDllLibPpt().AnimationEffect_get_Timing.restype=c_void_p
|
|
215
263
|
intPtr = CallCFunction(GetDllLibPpt().AnimationEffect_get_Timing,self.Ptr)
|
|
@@ -219,6 +267,12 @@ class AnimationEffect ( PptObject) :
|
|
|
219
267
|
|
|
220
268
|
@Timing.setter
|
|
221
269
|
def Timing(self, value:'Timing'):
|
|
270
|
+
"""
|
|
271
|
+
Sets the timing settings for the effect.
|
|
272
|
+
|
|
273
|
+
Args:
|
|
274
|
+
value: The timing settings to set.
|
|
275
|
+
"""
|
|
222
276
|
GetDllLibPpt().AnimationEffect_set_Timing.argtypes=[c_void_p, c_void_p]
|
|
223
277
|
CallCFunction(GetDllLibPpt().AnimationEffect_set_Timing,self.Ptr, value.Ptr)
|
|
224
278
|
|
|
@@ -226,10 +280,10 @@ class AnimationEffect ( PptObject) :
|
|
|
226
280
|
|
|
227
281
|
def StartParagraph(self)->'TextParagraph':
|
|
228
282
|
"""
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
283
|
+
Gets the starting text paragraph for the effect.
|
|
284
|
+
|
|
285
|
+
Returns:
|
|
286
|
+
TextParagraph: The starting paragraph.
|
|
233
287
|
"""
|
|
234
288
|
GetDllLibPpt().AnimationEffect_get_StartParagraph.argtypes=[c_void_p]
|
|
235
289
|
GetDllLibPpt().AnimationEffect_get_StartParagraph.restype=c_void_p
|
|
@@ -242,10 +296,10 @@ class AnimationEffect ( PptObject) :
|
|
|
242
296
|
|
|
243
297
|
def EndParagraph(self)->'TextParagraph':
|
|
244
298
|
"""
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
299
|
+
Gets the ending text paragraph for the effect.
|
|
300
|
+
|
|
301
|
+
Returns:
|
|
302
|
+
TextParagraph: The ending paragraph.
|
|
249
303
|
"""
|
|
250
304
|
GetDllLibPpt().AnimationEffect_get_EndParagraph.argtypes=[c_void_p]
|
|
251
305
|
GetDllLibPpt().AnimationEffect_get_EndParagraph.restype=c_void_p
|
|
@@ -257,9 +311,11 @@ class AnimationEffect ( PptObject) :
|
|
|
257
311
|
|
|
258
312
|
def SetStartEndParagraphs(self ,startParaIndex:int,endParaIndex:int):
|
|
259
313
|
"""
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
314
|
+
Sets the start and end paragraphs for the effect.
|
|
315
|
+
|
|
316
|
+
Args:
|
|
317
|
+
startParaIndex: Index of the starting paragraph.
|
|
318
|
+
endParaIndex: Index of the ending paragraph.
|
|
263
319
|
"""
|
|
264
320
|
|
|
265
321
|
GetDllLibPpt().AnimationEffect_SetStartEndParagraphs.argtypes=[c_void_p ,c_int,c_int]
|
|
@@ -268,7 +324,13 @@ class AnimationEffect ( PptObject) :
|
|
|
268
324
|
|
|
269
325
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
270
326
|
"""
|
|
271
|
-
|
|
327
|
+
Determines if this object is equal to another.
|
|
328
|
+
|
|
329
|
+
Args:
|
|
330
|
+
obj: The object to compare with.
|
|
331
|
+
|
|
332
|
+
Returns:
|
|
333
|
+
bool: True if equal, False otherwise.
|
|
272
334
|
"""
|
|
273
335
|
intPtrobj:c_void_p = obj.Ptr
|
|
274
336
|
|
|
@@ -7,9 +7,23 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class AnimationEffectCollection ( SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
Represents a collection of animation effects.
|
|
12
|
+
|
|
13
|
+
This class manages a collection of animation effects for a slide.
|
|
14
|
+
"""
|
|
10
15
|
|
|
11
16
|
@dispatch
|
|
12
17
|
def __getitem__(self, index):
|
|
18
|
+
"""
|
|
19
|
+
Gets the animation effect at the specified index.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
index: The index of the effect.
|
|
23
|
+
|
|
24
|
+
Returns:
|
|
25
|
+
AnimationEffect: The animation effect at the index.
|
|
26
|
+
"""
|
|
13
27
|
if index >= self.Count:
|
|
14
28
|
raise StopIteration
|
|
15
29
|
GetDllLibPpt().AnimationEffectCollection_get_Item.argtypes=[c_void_p ,c_int]
|
|
@@ -17,17 +31,14 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
17
31
|
intPtr = CallCFunction(GetDllLibPpt().AnimationEffectCollection_get_Item,self.Ptr, index)
|
|
18
32
|
ret = None if intPtr==None else AnimationEffect(intPtr)
|
|
19
33
|
return ret
|
|
20
|
-
|
|
21
|
-
<summary>
|
|
22
|
-
Represent collection of effects.
|
|
23
|
-
</summary>
|
|
24
|
-
"""
|
|
34
|
+
|
|
25
35
|
@property
|
|
26
36
|
def Count(self)->int:
|
|
27
37
|
"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
Gets the number of effects in the collection.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
int: The number of effects.
|
|
31
42
|
"""
|
|
32
43
|
GetDllLibPpt().AnimationEffectCollection_get_Count.argtypes=[c_void_p]
|
|
33
44
|
GetDllLibPpt().AnimationEffectCollection_get_Count.restype=c_int
|
|
@@ -37,10 +48,10 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
37
48
|
|
|
38
49
|
def Remove(self ,item:'AnimationEffect'):
|
|
39
50
|
"""
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
Removes a specific effect from the collection.
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
item: The effect to remove.
|
|
44
55
|
"""
|
|
45
56
|
intPtritem:c_void_p = item.Ptr
|
|
46
57
|
|
|
@@ -50,32 +61,30 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
50
61
|
|
|
51
62
|
def RemoveAt(self ,index:int):
|
|
52
63
|
"""
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
64
|
+
Removes the effect at the specified index.
|
|
65
|
+
|
|
66
|
+
Args:
|
|
67
|
+
index: The index of the effect to remove.
|
|
57
68
|
"""
|
|
58
69
|
|
|
59
70
|
GetDllLibPpt().AnimationEffectCollection_RemoveAt.argtypes=[c_void_p ,c_int]
|
|
60
71
|
CallCFunction(GetDllLibPpt().AnimationEffectCollection_RemoveAt,self.Ptr, index)
|
|
61
72
|
|
|
62
73
|
def Clear(self):
|
|
63
|
-
"""
|
|
64
|
-
<summary>
|
|
65
|
-
Removes all effects from a collection.
|
|
66
|
-
</summary>
|
|
67
|
-
"""
|
|
74
|
+
"""Removes all effects from the collection."""
|
|
68
75
|
GetDllLibPpt().AnimationEffectCollection_Clear.argtypes=[c_void_p]
|
|
69
76
|
CallCFunction(GetDllLibPpt().AnimationEffectCollection_Clear,self.Ptr)
|
|
70
77
|
|
|
71
78
|
|
|
72
79
|
def get_Item(self ,index:int)->'AnimationEffect':
|
|
73
80
|
"""
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
Gets the animation effect at the specified index.
|
|
82
|
+
|
|
83
|
+
Args:
|
|
84
|
+
index: The index of the effect.
|
|
85
|
+
|
|
86
|
+
Returns:
|
|
87
|
+
AnimationEffect: The animation effect at the index.
|
|
79
88
|
"""
|
|
80
89
|
|
|
81
90
|
GetDllLibPpt().AnimationEffectCollection_get_Item.argtypes=[c_void_p ,c_int]
|
|
@@ -88,10 +97,10 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
88
97
|
|
|
89
98
|
def GetEnumerator(self)->'IEnumerator':
|
|
90
99
|
"""
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
100
|
+
Gets an enumerator for the collection.
|
|
101
|
+
|
|
102
|
+
Returns:
|
|
103
|
+
IEnumerator: An enumerator for the collection.
|
|
95
104
|
"""
|
|
96
105
|
GetDllLibPpt().AnimationEffectCollection_GetEnumerator.argtypes=[c_void_p]
|
|
97
106
|
GetDllLibPpt().AnimationEffectCollection_GetEnumerator.restype=c_void_p
|
|
@@ -104,7 +113,10 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
104
113
|
|
|
105
114
|
def TriggerShape(self)->'Shape':
|
|
106
115
|
"""
|
|
107
|
-
|
|
116
|
+
Gets or sets the trigger shape for the animation.
|
|
117
|
+
|
|
118
|
+
Returns:
|
|
119
|
+
Shape: The trigger shape.
|
|
108
120
|
"""
|
|
109
121
|
GetDllLibPpt().AnimationEffectCollection_get_TriggerShape.argtypes=[c_void_p]
|
|
110
122
|
GetDllLibPpt().AnimationEffectCollection_get_TriggerShape.restype=c_void_p
|
|
@@ -115,18 +127,26 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
115
127
|
|
|
116
128
|
@TriggerShape.setter
|
|
117
129
|
def TriggerShape(self, value:'Shape'):
|
|
130
|
+
"""
|
|
131
|
+
Sets the trigger shape for the animation.
|
|
132
|
+
|
|
133
|
+
Args:
|
|
134
|
+
value: The trigger shape to set.
|
|
135
|
+
"""
|
|
118
136
|
GetDllLibPpt().AnimationEffectCollection_set_TriggerShape.argtypes=[c_void_p, c_void_p]
|
|
119
137
|
CallCFunction(GetDllLibPpt().AnimationEffectCollection_set_TriggerShape,self.Ptr, value.Ptr)
|
|
120
138
|
|
|
121
139
|
|
|
122
140
|
def AddEffect(self ,shape:'IShape',animationEffectType:'AnimationEffectType')->'AnimationEffect':
|
|
123
141
|
"""
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
142
|
+
Adds a new effect to the end of the sequence.
|
|
143
|
+
|
|
144
|
+
Args:
|
|
145
|
+
shape: The shape to apply the effect to.
|
|
146
|
+
animationEffectType: The type of animation effect.
|
|
147
|
+
|
|
148
|
+
Returns:
|
|
149
|
+
AnimationEffect: The newly created effect.
|
|
130
150
|
"""
|
|
131
151
|
intPtrshape:c_void_p = shape.Ptr
|
|
132
152
|
enumanimationEffectType:c_int = animationEffectType.value
|
|
@@ -141,7 +161,13 @@ class AnimationEffectCollection ( SpireObject) :
|
|
|
141
161
|
|
|
142
162
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
143
163
|
"""
|
|
144
|
-
|
|
164
|
+
Determines if this object is equal to another.
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
obj: The object to compare with.
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
bool: True if equal, False otherwise.
|
|
145
171
|
"""
|
|
146
172
|
intPtrobj:c_void_p = obj.Ptr
|
|
147
173
|
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class AnimationEffectSubtype(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents subtypes of animation effects in PowerPoint presentations.
|
|
12
|
+
These subtypes define variations and specific behaviors for animation effects.
|
|
13
|
+
|
|
14
|
+
"""
|
|
15
|
+
none = 0
|
|
16
|
+
"""No specific subtype defined for the animation effect."""
|
|
17
|
+
|
|
18
|
+
Across = 1
|
|
19
|
+
"""Animation moves across the screen horizontally."""
|
|
20
|
+
|
|
21
|
+
Bottom = 2
|
|
22
|
+
"""Animation enters or exits from the bottom of the screen."""
|
|
23
|
+
|
|
24
|
+
BottomLeft = 3
|
|
25
|
+
"""Animation enters or exits from the bottom-left corner of the screen."""
|
|
26
|
+
|
|
27
|
+
BottomRight = 4
|
|
28
|
+
"""Animation enters or exits from the bottom-right corner of the screen."""
|
|
29
|
+
|
|
30
|
+
Center = 5
|
|
31
|
+
"""Animation originates from or converges to the center of the screen."""
|
|
32
|
+
|
|
33
|
+
Clockwise = 6
|
|
34
|
+
"""Animation rotates in a clockwise direction."""
|
|
35
|
+
|
|
36
|
+
CounterClockwise = 7
|
|
37
|
+
"""Animation rotates in a counter-clockwise direction."""
|
|
38
|
+
|
|
39
|
+
GradualAndCycleClockwise = 8
|
|
40
|
+
"""Animation gradually cycles in a clockwise direction."""
|
|
41
|
+
|
|
42
|
+
GradualAndCycleCounterClockwise = 9
|
|
43
|
+
"""Animation gradually cycles in a counter-clockwise direction."""
|
|
44
|
+
|
|
45
|
+
Down = 10
|
|
46
|
+
"""Animation moves downward on the screen."""
|
|
47
|
+
|
|
48
|
+
DownLeft = 11
|
|
49
|
+
"""Animation moves diagonally down to the left."""
|
|
50
|
+
|
|
51
|
+
DownRight = 12
|
|
52
|
+
"""Animation moves diagonally down to the right."""
|
|
53
|
+
|
|
54
|
+
FontAllCaps = 13
|
|
55
|
+
"""Animation effect specific to changing text to all capital letters."""
|
|
56
|
+
|
|
57
|
+
FontBold = 14
|
|
58
|
+
"""Animation effect specific to applying bold formatting to text."""
|
|
59
|
+
|
|
60
|
+
FontItalic = 15
|
|
61
|
+
"""Animation effect specific to applying italic formatting to text."""
|
|
62
|
+
|
|
63
|
+
FontShadow = 16
|
|
64
|
+
"""Animation effect specific to applying shadow effect to text."""
|
|
65
|
+
|
|
66
|
+
FontStrikethrough = 17
|
|
67
|
+
"""Animation effect specific to applying strikethrough formatting to text."""
|
|
68
|
+
|
|
69
|
+
FontUnderline = 18
|
|
70
|
+
"""Animation effect specific to applying underline formatting to text."""
|
|
71
|
+
|
|
72
|
+
Gradual = 19
|
|
73
|
+
"""Animation occurs gradually over time."""
|
|
74
|
+
|
|
75
|
+
Horizontal = 20
|
|
76
|
+
"""Animation moves horizontally across the screen."""
|
|
77
|
+
|
|
78
|
+
HorizontalIn = 21
|
|
79
|
+
"""Animation enters horizontally from the edges toward the center."""
|
|
80
|
+
|
|
81
|
+
HorizontalOut = 22
|
|
82
|
+
"""Animation exits horizontally from the center toward the edges."""
|
|
83
|
+
|
|
84
|
+
In = 23
|
|
85
|
+
"""Generic entrance animation effect."""
|
|
86
|
+
|
|
87
|
+
InBottom = 24
|
|
88
|
+
"""Animation enters from the bottom of the screen."""
|
|
89
|
+
|
|
90
|
+
InCenter = 25
|
|
91
|
+
"""Animation enters from the center of the screen."""
|
|
92
|
+
|
|
93
|
+
InSlightly = 26
|
|
94
|
+
"""Animation enters with a subtle, slight motion."""
|
|
95
|
+
|
|
96
|
+
Instant = 27
|
|
97
|
+
"""Animation occurs instantly without any transition."""
|
|
98
|
+
|
|
99
|
+
Left = 28
|
|
100
|
+
"""Animation moves to the left side of the screen."""
|
|
101
|
+
|
|
102
|
+
OrdinalMask = 29
|
|
103
|
+
"""Special mask effect for ordinal animations."""
|
|
104
|
+
|
|
105
|
+
Out = 30
|
|
106
|
+
"""Generic exit animation effect."""
|
|
107
|
+
|
|
108
|
+
OutBottom = 31
|
|
109
|
+
"""Animation exits toward the bottom of the screen."""
|
|
110
|
+
|
|
111
|
+
OutCenter = 32
|
|
112
|
+
"""Animation exits from the center of the screen."""
|
|
113
|
+
|
|
114
|
+
OutSlightly = 33
|
|
115
|
+
"""Animation exits with a subtle, slight motion."""
|
|
116
|
+
|
|
117
|
+
Right = 34
|
|
118
|
+
"""Animation moves to the right side of the screen."""
|
|
119
|
+
|
|
120
|
+
Slightly = 35
|
|
121
|
+
"""Animation occurs with subtle, slight motion."""
|
|
122
|
+
|
|
123
|
+
Top = 36
|
|
124
|
+
"""Animation enters or exits from the top of the screen."""
|
|
125
|
+
|
|
126
|
+
TopLeft = 37
|
|
127
|
+
"""Animation enters or exits from the top-left corner of the screen."""
|
|
128
|
+
|
|
129
|
+
TopRight = 38
|
|
130
|
+
"""Animation enters or exits from the top-right corner of the screen."""
|
|
131
|
+
|
|
132
|
+
Up = 39
|
|
133
|
+
"""Animation moves upward on the screen."""
|
|
134
|
+
|
|
135
|
+
UpLeft = 40
|
|
136
|
+
"""Animation moves diagonally up to the left."""
|
|
137
|
+
|
|
138
|
+
UpRight = 41
|
|
139
|
+
"""Animation moves diagonally up to the right."""
|
|
140
|
+
|
|
141
|
+
Vertical = 42
|
|
142
|
+
"""Animation moves vertically on the screen."""
|
|
143
|
+
|
|
144
|
+
VerticalIn = 43
|
|
145
|
+
"""Animation enters vertically from the top or bottom toward the center."""
|
|
146
|
+
|
|
147
|
+
VerticalOut = 44
|
|
148
|
+
"""Animation exits vertically from the center toward the top or bottom."""
|
|
149
|
+
|
|
150
|
+
Wheel1 = 45
|
|
151
|
+
"""Wheel animation effect with 1 spoke."""
|
|
152
|
+
|
|
153
|
+
Wheel2 = 46
|
|
154
|
+
"""Wheel animation effect with 2 spokes."""
|
|
155
|
+
|
|
156
|
+
Wheel3 = 47
|
|
157
|
+
"""Wheel animation effect with 3 spokes."""
|
|
158
|
+
|
|
159
|
+
Wheel4 = 48
|
|
160
|
+
"""Wheel animation effect with 4 spokes."""
|
|
161
|
+
|
|
162
|
+
Wheel8 = 49
|
|
163
|
+
"""Wheel animation effect with 8 spokes."""
|
|
164
|
+
|