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
spire/presentation/IAutoShape.py
CHANGED
|
@@ -6,17 +6,15 @@ from spire.presentation import *
|
|
|
6
6
|
from ctypes import *
|
|
7
7
|
|
|
8
8
|
class IAutoShape (IShape) :
|
|
9
|
-
"""
|
|
9
|
+
"""Represents an AutoShape in a presentation slide."""
|
|
10
10
|
|
|
11
|
-
"""
|
|
12
11
|
@property
|
|
13
|
-
|
|
14
12
|
def Locking(self)->'ShapeLocking':
|
|
15
13
|
"""
|
|
16
|
-
<summary>
|
|
17
14
|
Gets shape's locks.
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
|
|
16
|
+
Returns:
|
|
17
|
+
ShapeLocking: Read-only shape locking settings.
|
|
20
18
|
"""
|
|
21
19
|
GetDllLibPpt().IAutoShape_get_Locking.argtypes=[c_void_p]
|
|
22
20
|
GetDllLibPpt().IAutoShape_get_Locking.restype=c_void_p
|
|
@@ -29,10 +27,10 @@ class IAutoShape (IShape) :
|
|
|
29
27
|
|
|
30
28
|
def TextFrame(self)->'ITextFrameProperties':
|
|
31
29
|
"""
|
|
32
|
-
<summary>
|
|
33
30
|
Gets TextFrame object for the AutoShape.
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
|
|
32
|
+
Returns:
|
|
33
|
+
ITextFrameProperties: Read-only text frame properties.
|
|
36
34
|
"""
|
|
37
35
|
GetDllLibPpt().IAutoShape_get_TextFrame.argtypes=[c_void_p]
|
|
38
36
|
GetDllLibPpt().IAutoShape_get_TextFrame.restype=c_void_p
|
|
@@ -44,10 +42,10 @@ class IAutoShape (IShape) :
|
|
|
44
42
|
@property
|
|
45
43
|
def UseBackgroundFill(self)->bool:
|
|
46
44
|
"""
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
Indicates whether this autoshape should be filled with slide's background fill.
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
bool: True if using background fill, False otherwise.
|
|
51
49
|
"""
|
|
52
50
|
GetDllLibPpt().IAutoShape_get_UseBackgroundFill.argtypes=[c_void_p]
|
|
53
51
|
GetDllLibPpt().IAutoShape_get_UseBackgroundFill.restype=c_bool
|
|
@@ -56,15 +54,19 @@ class IAutoShape (IShape) :
|
|
|
56
54
|
|
|
57
55
|
@UseBackgroundFill.setter
|
|
58
56
|
def UseBackgroundFill(self, value:bool):
|
|
57
|
+
"""
|
|
58
|
+
Sets whether to use slide's background fill.
|
|
59
|
+
|
|
60
|
+
Args:
|
|
61
|
+
value (bool): True to use background fill, False otherwise.
|
|
62
|
+
"""
|
|
59
63
|
GetDllLibPpt().IAutoShape_set_UseBackgroundFill.argtypes=[c_void_p, c_bool]
|
|
60
64
|
CallCFunction(GetDllLibPpt().IAutoShape_set_UseBackgroundFill,self.Ptr, value)
|
|
61
65
|
|
|
62
66
|
@property
|
|
63
67
|
|
|
64
68
|
def ShapeStyle(self)->'ShapeStyle':
|
|
65
|
-
"""
|
|
66
|
-
|
|
67
|
-
"""
|
|
69
|
+
"""Gets the shape style object."""
|
|
68
70
|
GetDllLibPpt().IAutoShape_get_ShapeStyle.argtypes=[c_void_p]
|
|
69
71
|
GetDllLibPpt().IAutoShape_get_ShapeStyle.restype=c_void_p
|
|
70
72
|
intPtr = CallCFunction(GetDllLibPpt().IAutoShape_get_ShapeStyle,self.Ptr)
|
|
@@ -75,9 +77,7 @@ class IAutoShape (IShape) :
|
|
|
75
77
|
@property
|
|
76
78
|
|
|
77
79
|
def ShapeType(self)->'ShapeType':
|
|
78
|
-
"""
|
|
79
|
-
|
|
80
|
-
"""
|
|
80
|
+
"""Gets the type of the shape."""
|
|
81
81
|
GetDllLibPpt().IAutoShape_get_ShapeType.argtypes=[c_void_p]
|
|
82
82
|
GetDllLibPpt().IAutoShape_get_ShapeType.restype=c_int
|
|
83
83
|
ret = CallCFunction(GetDllLibPpt().IAutoShape_get_ShapeType,self.Ptr)
|
|
@@ -86,15 +86,19 @@ class IAutoShape (IShape) :
|
|
|
86
86
|
|
|
87
87
|
@ShapeType.setter
|
|
88
88
|
def ShapeType(self, value:'ShapeType'):
|
|
89
|
+
"""
|
|
90
|
+
Sets the type of the shape.
|
|
91
|
+
|
|
92
|
+
Args:
|
|
93
|
+
value (ShapeType): New shape type.
|
|
94
|
+
"""
|
|
89
95
|
GetDllLibPpt().IAutoShape_set_ShapeType.argtypes=[c_void_p, c_int]
|
|
90
96
|
CallCFunction(GetDllLibPpt().IAutoShape_set_ShapeType,self.Ptr, value.value)
|
|
91
97
|
|
|
92
98
|
@property
|
|
93
99
|
|
|
94
100
|
def Adjustments(self)->'ShapeAdjustCollection':
|
|
95
|
-
"""
|
|
96
|
-
|
|
97
|
-
"""
|
|
101
|
+
"""Gets shape adjustment values collection."""
|
|
98
102
|
GetDllLibPpt().IAutoShape_get_Adjustments.argtypes=[c_void_p]
|
|
99
103
|
GetDllLibPpt().IAutoShape_get_Adjustments.restype=c_void_p
|
|
100
104
|
intPtr = CallCFunction(GetDllLibPpt().IAutoShape_get_Adjustments,self.Ptr)
|
|
@@ -105,10 +109,10 @@ class IAutoShape (IShape) :
|
|
|
105
109
|
@property
|
|
106
110
|
def IsPlaceholder(self)->bool:
|
|
107
111
|
"""
|
|
108
|
-
<summary>
|
|
109
112
|
Indicates whether the shape is Placeholder.
|
|
110
|
-
|
|
111
|
-
|
|
113
|
+
|
|
114
|
+
Returns:
|
|
115
|
+
bool: True if placeholder, False otherwise.
|
|
112
116
|
"""
|
|
113
117
|
GetDllLibPpt().IAutoShape_get_IsPlaceholder.argtypes=[c_void_p]
|
|
114
118
|
GetDllLibPpt().IAutoShape_get_IsPlaceholder.restype=c_bool
|
|
@@ -118,10 +122,10 @@ class IAutoShape (IShape) :
|
|
|
118
122
|
@property
|
|
119
123
|
def IsTextBox(self)->bool:
|
|
120
124
|
"""
|
|
121
|
-
<summary>
|
|
122
125
|
Indicates whether the shape is TextBox.
|
|
123
|
-
|
|
124
|
-
|
|
126
|
+
|
|
127
|
+
Returns:
|
|
128
|
+
bool: True if text box, False otherwise.
|
|
125
129
|
"""
|
|
126
130
|
GetDllLibPpt().IAutoShape_get_IsTextBox.argtypes=[c_void_p]
|
|
127
131
|
GetDllLibPpt().IAutoShape_get_IsTextBox.restype=c_bool
|
|
@@ -132,10 +136,10 @@ class IAutoShape (IShape) :
|
|
|
132
136
|
|
|
133
137
|
def Placeholder(self)->'Placeholder':
|
|
134
138
|
"""
|
|
135
|
-
<summary>
|
|
136
139
|
Gets the placeholder for a shape.
|
|
137
|
-
|
|
138
|
-
|
|
140
|
+
|
|
141
|
+
Returns:
|
|
142
|
+
Placeholder: Read-only placeholder object.
|
|
139
143
|
"""
|
|
140
144
|
GetDllLibPpt().IAutoShape_get_Placeholder.argtypes=[c_void_p]
|
|
141
145
|
GetDllLibPpt().IAutoShape_get_Placeholder.restype=c_void_p
|
|
@@ -148,10 +152,10 @@ class IAutoShape (IShape) :
|
|
|
148
152
|
|
|
149
153
|
def TagsList(self)->'TagCollection':
|
|
150
154
|
"""
|
|
151
|
-
<summary>
|
|
152
155
|
Gets the shape's tags collection.
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
|
|
157
|
+
Returns:
|
|
158
|
+
TagCollection: Read-only tag collection.
|
|
155
159
|
"""
|
|
156
160
|
GetDllLibPpt().IAutoShape_get_TagsList.argtypes=[c_void_p]
|
|
157
161
|
GetDllLibPpt().IAutoShape_get_TagsList.restype=c_void_p
|
|
@@ -164,10 +168,10 @@ class IAutoShape (IShape) :
|
|
|
164
168
|
|
|
165
169
|
def Frame(self)->'GraphicFrame':
|
|
166
170
|
"""
|
|
167
|
-
<summary>
|
|
168
171
|
Gets or sets the shape frame's properties.
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
|
|
173
|
+
Returns:
|
|
174
|
+
GraphicFrame: Frame properties object.
|
|
171
175
|
"""
|
|
172
176
|
GetDllLibPpt().IAutoShape_get_Frame.argtypes=[c_void_p]
|
|
173
177
|
GetDllLibPpt().IAutoShape_get_Frame.restype=c_void_p
|
|
@@ -178,6 +182,12 @@ class IAutoShape (IShape) :
|
|
|
178
182
|
|
|
179
183
|
@Frame.setter
|
|
180
184
|
def Frame(self, value:'GraphicFrame'):
|
|
185
|
+
"""
|
|
186
|
+
Sets the shape frame's properties.
|
|
187
|
+
|
|
188
|
+
Args:
|
|
189
|
+
value (GraphicFrame): New frame properties.
|
|
190
|
+
"""
|
|
181
191
|
GetDllLibPpt().IAutoShape_set_Frame.argtypes=[c_void_p, c_void_p]
|
|
182
192
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Frame,self.Ptr, value.Ptr)
|
|
183
193
|
|
|
@@ -185,10 +195,10 @@ class IAutoShape (IShape) :
|
|
|
185
195
|
|
|
186
196
|
def Line(self)->'TextLineFormat':
|
|
187
197
|
"""
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
198
|
+
Gets line formatting properties.
|
|
199
|
+
|
|
200
|
+
Returns:
|
|
201
|
+
TextLineFormat: Read-only line format object.
|
|
192
202
|
"""
|
|
193
203
|
GetDllLibPpt().IAutoShape_get_Line.argtypes=[c_void_p]
|
|
194
204
|
GetDllLibPpt().IAutoShape_get_Line.restype=c_void_p
|
|
@@ -201,10 +211,10 @@ class IAutoShape (IShape) :
|
|
|
201
211
|
|
|
202
212
|
def ThreeD(self)->'FormatThreeD':
|
|
203
213
|
"""
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
214
|
+
Gets 3D effect properties.
|
|
215
|
+
|
|
216
|
+
Returns:
|
|
217
|
+
FormatThreeD: Read-only 3D format object.
|
|
208
218
|
"""
|
|
209
219
|
GetDllLibPpt().IAutoShape_get_ThreeD.argtypes=[c_void_p]
|
|
210
220
|
GetDllLibPpt().IAutoShape_get_ThreeD.restype=c_void_p
|
|
@@ -217,11 +227,10 @@ class IAutoShape (IShape) :
|
|
|
217
227
|
|
|
218
228
|
def EffectDag(self)->'EffectDag':
|
|
219
229
|
"""
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
</summary>
|
|
230
|
+
Gets pixel effects applied to a shape.
|
|
231
|
+
|
|
232
|
+
Returns:
|
|
233
|
+
EffectDag: Read-only effect object (may be null).
|
|
225
234
|
"""
|
|
226
235
|
GetDllLibPpt().IAutoShape_get_EffectDag.argtypes=[c_void_p]
|
|
227
236
|
GetDllLibPpt().IAutoShape_get_EffectDag.restype=c_void_p
|
|
@@ -234,10 +243,10 @@ class IAutoShape (IShape) :
|
|
|
234
243
|
|
|
235
244
|
def Fill(self)->'FillFormat':
|
|
236
245
|
"""
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
246
|
+
Gets fill formatting properties.
|
|
247
|
+
|
|
248
|
+
Returns:
|
|
249
|
+
FillFormat: Read-only fill format object.
|
|
241
250
|
"""
|
|
242
251
|
GetDllLibPpt().IAutoShape_get_Fill.argtypes=[c_void_p]
|
|
243
252
|
GetDllLibPpt().IAutoShape_get_Fill.restype=c_void_p
|
|
@@ -250,10 +259,10 @@ class IAutoShape (IShape) :
|
|
|
250
259
|
|
|
251
260
|
def Click(self)->'ClickHyperlink':
|
|
252
261
|
"""
|
|
253
|
-
<summary>
|
|
254
262
|
Gets or sets the hyperlink defined for mouse click.
|
|
255
|
-
|
|
256
|
-
|
|
263
|
+
|
|
264
|
+
Returns:
|
|
265
|
+
ClickHyperlink: Hyperlink for click action.
|
|
257
266
|
"""
|
|
258
267
|
GetDllLibPpt().IAutoShape_get_Click.argtypes=[c_void_p]
|
|
259
268
|
GetDllLibPpt().IAutoShape_get_Click.restype=c_void_p
|
|
@@ -264,6 +273,12 @@ class IAutoShape (IShape) :
|
|
|
264
273
|
|
|
265
274
|
@Click.setter
|
|
266
275
|
def Click(self, value:'ClickHyperlink'):
|
|
276
|
+
"""
|
|
277
|
+
Sets the hyperlink for mouse click.
|
|
278
|
+
|
|
279
|
+
Args:
|
|
280
|
+
value (ClickHyperlink): New click hyperlink.
|
|
281
|
+
"""
|
|
267
282
|
GetDllLibPpt().IAutoShape_set_Click.argtypes=[c_void_p, c_void_p]
|
|
268
283
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Click,self.Ptr, value.Ptr)
|
|
269
284
|
|
|
@@ -271,10 +286,10 @@ class IAutoShape (IShape) :
|
|
|
271
286
|
|
|
272
287
|
def MouseOver(self)->'ClickHyperlink':
|
|
273
288
|
"""
|
|
274
|
-
<summary>
|
|
275
289
|
Gets or sets the hyperlink defined for mouse over.
|
|
276
|
-
|
|
277
|
-
|
|
290
|
+
|
|
291
|
+
Returns:
|
|
292
|
+
ClickHyperlink: Hyperlink for mouseover action.
|
|
278
293
|
"""
|
|
279
294
|
GetDllLibPpt().IAutoShape_get_MouseOver.argtypes=[c_void_p]
|
|
280
295
|
GetDllLibPpt().IAutoShape_get_MouseOver.restype=c_void_p
|
|
@@ -285,16 +300,22 @@ class IAutoShape (IShape) :
|
|
|
285
300
|
|
|
286
301
|
@MouseOver.setter
|
|
287
302
|
def MouseOver(self, value:'ClickHyperlink'):
|
|
303
|
+
"""
|
|
304
|
+
Sets the hyperlink for mouse over.
|
|
305
|
+
|
|
306
|
+
Args:
|
|
307
|
+
value (ClickHyperlink): New mouseover hyperlink.
|
|
308
|
+
"""
|
|
288
309
|
GetDllLibPpt().IAutoShape_set_MouseOver.argtypes=[c_void_p, c_void_p]
|
|
289
310
|
CallCFunction(GetDllLibPpt().IAutoShape_set_MouseOver,self.Ptr, value.Ptr)
|
|
290
311
|
|
|
291
312
|
@property
|
|
292
313
|
def IsHidden(self)->bool:
|
|
293
314
|
"""
|
|
294
|
-
<summary>
|
|
295
315
|
Indicates whether the shape is hidden.
|
|
296
|
-
|
|
297
|
-
|
|
316
|
+
|
|
317
|
+
Returns:
|
|
318
|
+
bool: True if hidden, False otherwise.
|
|
298
319
|
"""
|
|
299
320
|
GetDllLibPpt().IAutoShape_get_IsHidden.argtypes=[c_void_p]
|
|
300
321
|
GetDllLibPpt().IAutoShape_get_IsHidden.restype=c_bool
|
|
@@ -303,6 +324,12 @@ class IAutoShape (IShape) :
|
|
|
303
324
|
|
|
304
325
|
@IsHidden.setter
|
|
305
326
|
def IsHidden(self, value:bool):
|
|
327
|
+
"""
|
|
328
|
+
Sets whether the shape is hidden.
|
|
329
|
+
|
|
330
|
+
Args:
|
|
331
|
+
value (bool): True to hide, False to show.
|
|
332
|
+
"""
|
|
306
333
|
GetDllLibPpt().IAutoShape_set_IsHidden.argtypes=[c_void_p, c_bool]
|
|
307
334
|
CallCFunction(GetDllLibPpt().IAutoShape_set_IsHidden,self.Ptr, value)
|
|
308
335
|
|
|
@@ -310,10 +337,10 @@ class IAutoShape (IShape) :
|
|
|
310
337
|
|
|
311
338
|
def Parent(self)->'ActiveSlide':
|
|
312
339
|
"""
|
|
313
|
-
<summary>
|
|
314
340
|
Gets the parent slide of a shape.
|
|
315
|
-
|
|
316
|
-
|
|
341
|
+
|
|
342
|
+
Returns:
|
|
343
|
+
ActiveSlide: Read-only parent slide.
|
|
317
344
|
"""
|
|
318
345
|
GetDllLibPpt().IAutoShape_get_Parent.argtypes=[c_void_p]
|
|
319
346
|
GetDllLibPpt().IAutoShape_get_Parent.restype=c_void_p
|
|
@@ -325,10 +352,10 @@ class IAutoShape (IShape) :
|
|
|
325
352
|
@property
|
|
326
353
|
def ZOrderPosition(self)->int:
|
|
327
354
|
"""
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
355
|
+
Gets or sets the position in z-order.
|
|
356
|
+
|
|
357
|
+
Returns:
|
|
358
|
+
int: Z-order position index.
|
|
332
359
|
"""
|
|
333
360
|
GetDllLibPpt().IAutoShape_get_ZOrderPosition.argtypes=[c_void_p]
|
|
334
361
|
GetDllLibPpt().IAutoShape_get_ZOrderPosition.restype=c_int
|
|
@@ -337,16 +364,22 @@ class IAutoShape (IShape) :
|
|
|
337
364
|
|
|
338
365
|
@ZOrderPosition.setter
|
|
339
366
|
def ZOrderPosition(self, value:int):
|
|
367
|
+
"""
|
|
368
|
+
Sets z-order position.
|
|
369
|
+
|
|
370
|
+
Args:
|
|
371
|
+
value (int): New z-order position.
|
|
372
|
+
"""
|
|
340
373
|
GetDllLibPpt().IAutoShape_set_ZOrderPosition.argtypes=[c_void_p, c_int]
|
|
341
374
|
CallCFunction(GetDllLibPpt().IAutoShape_set_ZOrderPosition,self.Ptr, value)
|
|
342
375
|
|
|
343
376
|
@property
|
|
344
377
|
def Rotation(self)->float:
|
|
345
378
|
"""
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
379
|
+
Gets or sets rotation in degrees.
|
|
380
|
+
|
|
381
|
+
Returns:
|
|
382
|
+
float: Rotation angle in degrees.
|
|
350
383
|
"""
|
|
351
384
|
GetDllLibPpt().IAutoShape_get_Rotation.argtypes=[c_void_p]
|
|
352
385
|
GetDllLibPpt().IAutoShape_get_Rotation.restype=c_float
|
|
@@ -355,16 +388,22 @@ class IAutoShape (IShape) :
|
|
|
355
388
|
|
|
356
389
|
@Rotation.setter
|
|
357
390
|
def Rotation(self, value:float):
|
|
391
|
+
"""
|
|
392
|
+
Sets rotation angle.
|
|
393
|
+
|
|
394
|
+
Args:
|
|
395
|
+
value (float): New rotation in degrees.
|
|
396
|
+
"""
|
|
358
397
|
GetDllLibPpt().IAutoShape_set_Rotation.argtypes=[c_void_p, c_float]
|
|
359
398
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Rotation,self.Ptr, value)
|
|
360
399
|
|
|
361
400
|
@property
|
|
362
401
|
def Left(self)->float:
|
|
363
402
|
"""
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
403
|
+
Gets or sets x-coordinate of upper-left corner.
|
|
404
|
+
|
|
405
|
+
Returns:
|
|
406
|
+
float: X-coordinate position.
|
|
368
407
|
"""
|
|
369
408
|
GetDllLibPpt().IAutoShape_get_Left.argtypes=[c_void_p]
|
|
370
409
|
GetDllLibPpt().IAutoShape_get_Left.restype=c_float
|
|
@@ -373,16 +412,22 @@ class IAutoShape (IShape) :
|
|
|
373
412
|
|
|
374
413
|
@Left.setter
|
|
375
414
|
def Left(self, value:float):
|
|
415
|
+
"""
|
|
416
|
+
Sets horizontal position.
|
|
417
|
+
|
|
418
|
+
Args:
|
|
419
|
+
value (float): New left position.
|
|
420
|
+
"""
|
|
376
421
|
GetDllLibPpt().IAutoShape_set_Left.argtypes=[c_void_p, c_float]
|
|
377
422
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Left,self.Ptr, value)
|
|
378
423
|
|
|
379
424
|
@property
|
|
380
425
|
def Top(self)->float:
|
|
381
426
|
"""
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
427
|
+
Gets or sets y-coordinate of upper-left corner.
|
|
428
|
+
|
|
429
|
+
Returns:
|
|
430
|
+
float: Y-coordinate position.
|
|
386
431
|
"""
|
|
387
432
|
GetDllLibPpt().IAutoShape_get_Top.argtypes=[c_void_p]
|
|
388
433
|
GetDllLibPpt().IAutoShape_get_Top.restype=c_float
|
|
@@ -391,16 +436,22 @@ class IAutoShape (IShape) :
|
|
|
391
436
|
|
|
392
437
|
@Top.setter
|
|
393
438
|
def Top(self, value:float):
|
|
439
|
+
"""
|
|
440
|
+
Sets vertical position.
|
|
441
|
+
|
|
442
|
+
Args:
|
|
443
|
+
value (float): New top position.
|
|
444
|
+
"""
|
|
394
445
|
GetDllLibPpt().IAutoShape_set_Top.argtypes=[c_void_p, c_float]
|
|
395
446
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Top,self.Ptr, value)
|
|
396
447
|
|
|
397
448
|
@property
|
|
398
449
|
def Width(self)->float:
|
|
399
450
|
"""
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
451
|
+
Gets or sets shape width.
|
|
452
|
+
|
|
453
|
+
Returns:
|
|
454
|
+
float: Width of the shape.
|
|
404
455
|
"""
|
|
405
456
|
GetDllLibPpt().IAutoShape_get_Width.argtypes=[c_void_p]
|
|
406
457
|
GetDllLibPpt().IAutoShape_get_Width.restype=c_float
|
|
@@ -415,10 +466,10 @@ class IAutoShape (IShape) :
|
|
|
415
466
|
@property
|
|
416
467
|
def Height(self)->float:
|
|
417
468
|
"""
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
469
|
+
Gets or sets shape height.
|
|
470
|
+
|
|
471
|
+
Returns:
|
|
472
|
+
float: Height of the shape.
|
|
422
473
|
"""
|
|
423
474
|
GetDllLibPpt().IAutoShape_get_Height.argtypes=[c_void_p]
|
|
424
475
|
GetDllLibPpt().IAutoShape_get_Height.restype=c_float
|
|
@@ -427,6 +478,12 @@ class IAutoShape (IShape) :
|
|
|
427
478
|
|
|
428
479
|
@Height.setter
|
|
429
480
|
def Height(self, value:float):
|
|
481
|
+
"""
|
|
482
|
+
Sets shape height.
|
|
483
|
+
|
|
484
|
+
Args:
|
|
485
|
+
value (float): New height value.
|
|
486
|
+
"""
|
|
430
487
|
GetDllLibPpt().IAutoShape_set_Height.argtypes=[c_void_p, c_float]
|
|
431
488
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Height,self.Ptr, value)
|
|
432
489
|
|
|
@@ -434,10 +491,10 @@ class IAutoShape (IShape) :
|
|
|
434
491
|
|
|
435
492
|
def AlternativeText(self)->str:
|
|
436
493
|
"""
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
494
|
+
Gets or sets alternative text.
|
|
495
|
+
|
|
496
|
+
Returns:
|
|
497
|
+
str: Alternative text string.
|
|
441
498
|
"""
|
|
442
499
|
GetDllLibPpt().IAutoShape_get_AlternativeText.argtypes=[c_void_p]
|
|
443
500
|
GetDllLibPpt().IAutoShape_get_AlternativeText.restype=c_void_p
|
|
@@ -447,6 +504,12 @@ class IAutoShape (IShape) :
|
|
|
447
504
|
|
|
448
505
|
@AlternativeText.setter
|
|
449
506
|
def AlternativeText(self, value:str):
|
|
507
|
+
"""
|
|
508
|
+
Sets alternative text.
|
|
509
|
+
|
|
510
|
+
Args:
|
|
511
|
+
value (str): New alternative text.
|
|
512
|
+
"""
|
|
450
513
|
valuePtr = StrToPtr(value)
|
|
451
514
|
GetDllLibPpt().IAutoShape_set_AlternativeText.argtypes=[c_void_p, c_char_p]
|
|
452
515
|
CallCFunction(GetDllLibPpt().IAutoShape_set_AlternativeText,self.Ptr,valuePtr)
|
|
@@ -455,10 +518,10 @@ class IAutoShape (IShape) :
|
|
|
455
518
|
|
|
456
519
|
def Name(self)->str:
|
|
457
520
|
"""
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
521
|
+
Gets or sets shape name.
|
|
522
|
+
|
|
523
|
+
Returns:
|
|
524
|
+
str: Name of the shape.
|
|
462
525
|
"""
|
|
463
526
|
GetDllLibPpt().IAutoShape_get_Name.argtypes=[c_void_p]
|
|
464
527
|
GetDllLibPpt().IAutoShape_get_Name.restype=c_void_p
|
|
@@ -468,6 +531,12 @@ class IAutoShape (IShape) :
|
|
|
468
531
|
|
|
469
532
|
@Name.setter
|
|
470
533
|
def Name(self, value:str):
|
|
534
|
+
"""
|
|
535
|
+
Sets shape name.
|
|
536
|
+
|
|
537
|
+
Args:
|
|
538
|
+
value (str): New shape name.
|
|
539
|
+
"""
|
|
471
540
|
valuePtr = StrToPtr(value)
|
|
472
541
|
GetDllLibPpt().IAutoShape_set_Name.argtypes=[c_void_p, c_char_p]
|
|
473
542
|
CallCFunction(GetDllLibPpt().IAutoShape_set_Name,self.Ptr,valuePtr)
|
|
@@ -476,10 +545,10 @@ class IAutoShape (IShape) :
|
|
|
476
545
|
|
|
477
546
|
def Slide(self)->'ActiveSlide':
|
|
478
547
|
"""
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
548
|
+
Gets the parent slide.
|
|
549
|
+
|
|
550
|
+
Returns:
|
|
551
|
+
ActiveSlide: Read-only parent slide.
|
|
483
552
|
"""
|
|
484
553
|
from spire.presentation import ActiveSlide
|
|
485
554
|
GetDllLibPpt().IAutoShape_get_Slide.argtypes=[c_void_p]
|
|
@@ -492,9 +561,7 @@ class IAutoShape (IShape) :
|
|
|
492
561
|
@property
|
|
493
562
|
|
|
494
563
|
def Presentation(self)->'Presentation':
|
|
495
|
-
"""
|
|
496
|
-
|
|
497
|
-
"""
|
|
564
|
+
"""Gets parent presentation object."""
|
|
498
565
|
from spire.presentation import Presentation
|
|
499
566
|
GetDllLibPpt().IAutoShape_get_Presentation.argtypes=[c_void_p]
|
|
500
567
|
GetDllLibPpt().IAutoShape_get_Presentation.restype=c_void_p
|
|
@@ -506,9 +573,10 @@ class IAutoShape (IShape) :
|
|
|
506
573
|
@property
|
|
507
574
|
def ContainMathEquation(self)->bool:
|
|
508
575
|
"""
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
576
|
+
Checks if shape contains math equation.
|
|
577
|
+
|
|
578
|
+
Returns:
|
|
579
|
+
bool: True if contains equation, False otherwise.
|
|
512
580
|
"""
|
|
513
581
|
GetDllLibPpt().IAutoShape_get_ContainMathEquation.argtypes=[c_void_p]
|
|
514
582
|
GetDllLibPpt().IAutoShape_get_ContainMathEquation.restype=c_bool
|
|
@@ -518,11 +586,10 @@ class IAutoShape (IShape) :
|
|
|
518
586
|
|
|
519
587
|
def AppendTextFrame(self ,text:str):
|
|
520
588
|
"""
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
<param name="text">Default text for a new TextFrame.</param>
|
|
589
|
+
Adds a new TextFrame or sets existing text.
|
|
590
|
+
|
|
591
|
+
Args:
|
|
592
|
+
text (str): Text content for the text frame.
|
|
526
593
|
"""
|
|
527
594
|
|
|
528
595
|
textPtr = StrToPtr(text)
|
|
@@ -530,27 +597,22 @@ class IAutoShape (IShape) :
|
|
|
530
597
|
CallCFunction(GetDllLibPpt().IAutoShape_AppendTextFrame,self.Ptr,textPtr)
|
|
531
598
|
|
|
532
599
|
def RemovePlaceholder(self):
|
|
533
|
-
"""
|
|
534
|
-
<summary>
|
|
535
|
-
Removes placeholder from the shape.
|
|
536
|
-
</summary>
|
|
537
|
-
"""
|
|
600
|
+
"""Removes placeholder from the shape."""
|
|
538
601
|
GetDllLibPpt().IAutoShape_RemovePlaceholder.argtypes=[c_void_p]
|
|
539
602
|
CallCFunction(GetDllLibPpt().IAutoShape_RemovePlaceholder,self.Ptr)
|
|
540
603
|
|
|
541
604
|
def Dispose(self):
|
|
542
|
-
"""
|
|
543
|
-
<summary>
|
|
544
|
-
Dispose object and free resources.
|
|
545
|
-
</summary>
|
|
546
|
-
"""
|
|
605
|
+
"""Releases resources associated with the object."""
|
|
547
606
|
GetDllLibPpt().IAutoShape_Dispose.argtypes=[c_void_p]
|
|
548
607
|
CallCFunction(GetDllLibPpt().IAutoShape_Dispose,self.Ptr)
|
|
549
608
|
|
|
550
609
|
@property
|
|
551
610
|
def Points(self)->List['PointF']:
|
|
552
611
|
"""
|
|
553
|
-
|
|
612
|
+
Gets shape points.
|
|
613
|
+
|
|
614
|
+
Returns:
|
|
615
|
+
List[PointF]: Collection of shape points.
|
|
554
616
|
"""
|
|
555
617
|
GetDllLibPpt().IAutoShape_get_Points.argtypes=[c_void_p]
|
|
556
618
|
GetDllLibPpt().IAutoShape_get_Points.restype=IntPtrArray
|