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/IAudio.py
CHANGED
|
@@ -8,16 +8,15 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class IAudio ( IShape) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Represents an audio object on a slide that inherits properties from IShape.
|
|
12
|
+
Provides control over audio playback settings, volume, and embedding status.
|
|
12
13
|
"""
|
|
13
14
|
@property
|
|
14
15
|
|
|
15
16
|
def Volume(self)->'AudioVolumeType':
|
|
16
17
|
"""
|
|
17
|
-
<summary>
|
|
18
18
|
Gets or sets the audio volume.
|
|
19
|
-
|
|
20
|
-
</summary>
|
|
19
|
+
|
|
21
20
|
"""
|
|
22
21
|
GetDllLibPpt().IAudio_get_Volume.argtypes=[c_void_p]
|
|
23
22
|
GetDllLibPpt().IAudio_get_Volume.restype=c_int
|
|
@@ -34,10 +33,7 @@ class IAudio ( IShape) :
|
|
|
34
33
|
|
|
35
34
|
def PlayMode(self)->'AudioPlayMode':
|
|
36
35
|
"""
|
|
37
|
-
<summary>
|
|
38
36
|
Gets or sets the audio play mode.
|
|
39
|
-
Read/write <see cref="T:Spire.Presentation.AudioPlayMode" />.
|
|
40
|
-
</summary>
|
|
41
37
|
"""
|
|
42
38
|
GetDllLibPpt().IAudio_get_PlayMode.argtypes=[c_void_p]
|
|
43
39
|
GetDllLibPpt().IAudio_get_PlayMode.restype=c_int
|
|
@@ -53,10 +49,7 @@ class IAudio ( IShape) :
|
|
|
53
49
|
@property
|
|
54
50
|
def IsLoop(self)->bool:
|
|
55
51
|
"""
|
|
56
|
-
<summary>
|
|
57
52
|
Indicates whether an audio is looped.
|
|
58
|
-
Read/write <see cref="T:System.Boolean" />.
|
|
59
|
-
</summary>
|
|
60
53
|
"""
|
|
61
54
|
GetDllLibPpt().IAudio_get_IsLoop.argtypes=[c_void_p]
|
|
62
55
|
GetDllLibPpt().IAudio_get_IsLoop.restype=c_bool
|
|
@@ -71,10 +64,8 @@ class IAudio ( IShape) :
|
|
|
71
64
|
@property
|
|
72
65
|
def IsEmbedded(self)->bool:
|
|
73
66
|
"""
|
|
74
|
-
<summary>
|
|
75
67
|
Indicates whether a sound is embedded to a presentation.
|
|
76
|
-
|
|
77
|
-
</summary>
|
|
68
|
+
|
|
78
69
|
"""
|
|
79
70
|
GetDllLibPpt().IAudio_get_IsEmbedded.argtypes=[c_void_p]
|
|
80
71
|
GetDllLibPpt().IAudio_get_IsEmbedded.restype=c_bool
|
|
@@ -85,10 +76,7 @@ class IAudio ( IShape) :
|
|
|
85
76
|
|
|
86
77
|
def FileName(self)->str:
|
|
87
78
|
"""
|
|
88
|
-
<summary>
|
|
89
79
|
Gets or sets the name of an audio file.
|
|
90
|
-
Read/write <see cref="T:System.String" />.
|
|
91
|
-
</summary>
|
|
92
80
|
"""
|
|
93
81
|
GetDllLibPpt().IAudio_get_FileName.argtypes=[c_void_p]
|
|
94
82
|
GetDllLibPpt().IAudio_get_FileName.restype=c_void_p
|
|
@@ -106,10 +94,8 @@ class IAudio ( IShape) :
|
|
|
106
94
|
|
|
107
95
|
def Data(self)->'IAudioData':
|
|
108
96
|
"""
|
|
109
|
-
<summary>
|
|
110
97
|
Gets or sets embedded audio data.
|
|
111
|
-
|
|
112
|
-
</summary>
|
|
98
|
+
|
|
113
99
|
"""
|
|
114
100
|
GetDllLibPpt().IAudio_get_Data.argtypes=[c_void_p]
|
|
115
101
|
GetDllLibPpt().IAudio_get_Data.restype=c_void_p
|
|
@@ -127,9 +113,8 @@ class IAudio ( IShape) :
|
|
|
127
113
|
|
|
128
114
|
def AudioCd(self)->'AudioCD':
|
|
129
115
|
"""
|
|
130
|
-
<summary>
|
|
131
116
|
Gets setting of CD.
|
|
132
|
-
|
|
117
|
+
|
|
133
118
|
"""
|
|
134
119
|
GetDllLibPpt().IAudio_get_AudioCd.argtypes=[c_void_p]
|
|
135
120
|
GetDllLibPpt().IAudio_get_AudioCd.restype=c_void_p
|
|
@@ -142,10 +127,8 @@ class IAudio ( IShape) :
|
|
|
142
127
|
|
|
143
128
|
def ShapeLocking(self)->'SlidePictureLocking':
|
|
144
129
|
"""
|
|
145
|
-
<summary>
|
|
146
130
|
Gets shape's locks.
|
|
147
|
-
|
|
148
|
-
</summary>
|
|
131
|
+
Readonly
|
|
149
132
|
"""
|
|
150
133
|
GetDllLibPpt().IAudio_get_ShapeLocking.argtypes=[c_void_p]
|
|
151
134
|
GetDllLibPpt().IAudio_get_ShapeLocking.restype=c_void_p
|
|
@@ -158,9 +141,8 @@ class IAudio ( IShape) :
|
|
|
158
141
|
|
|
159
142
|
def ShapeType(self)->'ShapeType':
|
|
160
143
|
"""
|
|
161
|
-
<summary>
|
|
162
144
|
Returns or sets the AutoShape type.
|
|
163
|
-
|
|
145
|
+
|
|
164
146
|
"""
|
|
165
147
|
GetDllLibPpt().IAudio_get_ShapeType.argtypes=[c_void_p]
|
|
166
148
|
GetDllLibPpt().IAudio_get_ShapeType.restype=c_int
|
|
@@ -177,10 +159,8 @@ class IAudio ( IShape) :
|
|
|
177
159
|
|
|
178
160
|
def PictureFill(self)->'PictureFillFormat':
|
|
179
161
|
"""
|
|
180
|
-
<summary>
|
|
181
162
|
Gets the PictureFillFormat object.
|
|
182
|
-
|
|
183
|
-
</summary>
|
|
163
|
+
Read-only
|
|
184
164
|
"""
|
|
185
165
|
GetDllLibPpt().IAudio_get_PictureFill.argtypes=[c_void_p]
|
|
186
166
|
GetDllLibPpt().IAudio_get_PictureFill.restype=c_void_p
|
|
@@ -193,10 +173,8 @@ class IAudio ( IShape) :
|
|
|
193
173
|
|
|
194
174
|
def ShapeStyle(self)->'ShapeStyle':
|
|
195
175
|
"""
|
|
196
|
-
<summary>
|
|
197
176
|
Gets shape's style object.
|
|
198
|
-
|
|
199
|
-
</summary>
|
|
177
|
+
Read-only
|
|
200
178
|
"""
|
|
201
179
|
GetDllLibPpt().IAudio_get_ShapeStyle.argtypes=[c_void_p]
|
|
202
180
|
GetDllLibPpt().IAudio_get_ShapeStyle.restype=c_void_p
|
|
@@ -209,10 +187,8 @@ class IAudio ( IShape) :
|
|
|
209
187
|
|
|
210
188
|
def Adjustments(self)->'ShapeAdjustCollection':
|
|
211
189
|
"""
|
|
212
|
-
<summary>
|
|
213
190
|
Gets a collection of shape's adjustment values.
|
|
214
|
-
|
|
215
|
-
</summary>
|
|
191
|
+
Readonly
|
|
216
192
|
"""
|
|
217
193
|
GetDllLibPpt().IAudio_get_Adjustments.argtypes=[c_void_p]
|
|
218
194
|
GetDllLibPpt().IAudio_get_Adjustments.restype=c_void_p
|
|
@@ -224,10 +200,8 @@ class IAudio ( IShape) :
|
|
|
224
200
|
@property
|
|
225
201
|
def IsPlaceholder(self)->bool:
|
|
226
202
|
"""
|
|
227
|
-
<summary>
|
|
228
203
|
Indicates whether the shape is Placeholder.
|
|
229
|
-
|
|
230
|
-
</summary>
|
|
204
|
+
Read-only
|
|
231
205
|
"""
|
|
232
206
|
GetDllLibPpt().IAudio_get_IsPlaceholder.argtypes=[c_void_p]
|
|
233
207
|
GetDllLibPpt().IAudio_get_IsPlaceholder.restype=c_bool
|
|
@@ -238,10 +212,8 @@ class IAudio ( IShape) :
|
|
|
238
212
|
|
|
239
213
|
def Placeholder(self)->'Placeholder':
|
|
240
214
|
"""
|
|
241
|
-
<summary>
|
|
242
215
|
Gets the placeholder for a shape.
|
|
243
|
-
|
|
244
|
-
</summary>
|
|
216
|
+
Read-only
|
|
245
217
|
"""
|
|
246
218
|
GetDllLibPpt().IAudio_get_Placeholder.argtypes=[c_void_p]
|
|
247
219
|
GetDllLibPpt().IAudio_get_Placeholder.restype=c_void_p
|
|
@@ -254,10 +226,8 @@ class IAudio ( IShape) :
|
|
|
254
226
|
|
|
255
227
|
def TagsList(self)->'TagCollection':
|
|
256
228
|
"""
|
|
257
|
-
<summary>
|
|
258
229
|
Gets the shape's tags collection.
|
|
259
|
-
|
|
260
|
-
</summary>
|
|
230
|
+
Read-only
|
|
261
231
|
"""
|
|
262
232
|
GetDllLibPpt().IAudio_get_TagsList.argtypes=[c_void_p]
|
|
263
233
|
GetDllLibPpt().IAudio_get_TagsList.restype=c_void_p
|
|
@@ -270,10 +240,8 @@ class IAudio ( IShape) :
|
|
|
270
240
|
|
|
271
241
|
def Frame(self)->'GraphicFrame':
|
|
272
242
|
"""
|
|
273
|
-
<summary>
|
|
274
243
|
Gets or sets the shape frame's properties.
|
|
275
|
-
|
|
276
|
-
</summary>
|
|
244
|
+
Read/write
|
|
277
245
|
"""
|
|
278
246
|
GetDllLibPpt().IAudio_get_Frame.argtypes=[c_void_p]
|
|
279
247
|
GetDllLibPpt().IAudio_get_Frame.restype=c_void_p
|
|
@@ -291,11 +259,10 @@ class IAudio ( IShape) :
|
|
|
291
259
|
|
|
292
260
|
def Line(self)->'TextLineFormat':
|
|
293
261
|
"""
|
|
294
|
-
<summary>
|
|
295
262
|
Gets the LineFormat object that contains line formatting properties for a shape.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
263
|
+
Read-only
|
|
264
|
+
Note: can return null for certain types of shapes which don't have line properties.
|
|
265
|
+
|
|
299
266
|
"""
|
|
300
267
|
GetDllLibPpt().IAudio_get_Line.argtypes=[c_void_p]
|
|
301
268
|
GetDllLibPpt().IAudio_get_Line.restype=c_void_p
|
|
@@ -308,11 +275,10 @@ class IAudio ( IShape) :
|
|
|
308
275
|
|
|
309
276
|
def ThreeD(self)->'FormatThreeD':
|
|
310
277
|
"""
|
|
311
|
-
<summary>
|
|
312
278
|
Gets the ThreeDFormat object that 3d effect properties for a shape.
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
279
|
+
Read-only
|
|
280
|
+
Note: can return null for certain types of shapes which don't have 3d properties.
|
|
281
|
+
|
|
316
282
|
"""
|
|
317
283
|
GetDllLibPpt().IAudio_get_ThreeD.argtypes=[c_void_p]
|
|
318
284
|
GetDllLibPpt().IAudio_get_ThreeD.restype=c_void_p
|
|
@@ -325,11 +291,10 @@ class IAudio ( IShape) :
|
|
|
325
291
|
|
|
326
292
|
def EffectDag(self)->'EffectDag':
|
|
327
293
|
"""
|
|
328
|
-
<summary>
|
|
329
294
|
Gets the EffectFormat object which contains pixel effects applied to a shape.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
295
|
+
Read-only .
|
|
296
|
+
Note: can return null for certain types of shapes which don't have effect properties.
|
|
297
|
+
|
|
333
298
|
"""
|
|
334
299
|
GetDllLibPpt().IAudio_get_EffectDag.argtypes=[c_void_p]
|
|
335
300
|
GetDllLibPpt().IAudio_get_EffectDag.restype=c_void_p
|
|
@@ -342,11 +307,10 @@ class IAudio ( IShape) :
|
|
|
342
307
|
|
|
343
308
|
def Fill(self)->'FillFormat':
|
|
344
309
|
"""
|
|
345
|
-
<summary>
|
|
346
310
|
Gets the FillFormat object that contains fill formatting properties for a shape.
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
311
|
+
Read-only.
|
|
312
|
+
Note: can return null for certain types of shapes which don't have fill properties.
|
|
313
|
+
|
|
350
314
|
"""
|
|
351
315
|
GetDllLibPpt().IAudio_get_Fill.argtypes=[c_void_p]
|
|
352
316
|
GetDllLibPpt().IAudio_get_Fill.restype=c_void_p
|
|
@@ -359,10 +323,8 @@ class IAudio ( IShape) :
|
|
|
359
323
|
|
|
360
324
|
def Click(self)->'ClickHyperlink':
|
|
361
325
|
"""
|
|
362
|
-
<summary>
|
|
363
326
|
Gets or sets the hyperlink defined for mouse click.
|
|
364
|
-
|
|
365
|
-
</summary>
|
|
327
|
+
|
|
366
328
|
"""
|
|
367
329
|
GetDllLibPpt().IAudio_get_Click.argtypes=[c_void_p]
|
|
368
330
|
GetDllLibPpt().IAudio_get_Click.restype=c_void_p
|
|
@@ -380,10 +342,8 @@ class IAudio ( IShape) :
|
|
|
380
342
|
|
|
381
343
|
def MouseOver(self)->'ClickHyperlink':
|
|
382
344
|
"""
|
|
383
|
-
<summary>
|
|
384
345
|
Gets or sets the hyperlink defined for mouse over.
|
|
385
|
-
|
|
386
|
-
</summary>
|
|
346
|
+
|
|
387
347
|
"""
|
|
388
348
|
GetDllLibPpt().IAudio_get_MouseOver.argtypes=[c_void_p]
|
|
389
349
|
GetDllLibPpt().IAudio_get_MouseOver.restype=c_void_p
|
|
@@ -400,10 +360,8 @@ class IAudio ( IShape) :
|
|
|
400
360
|
@property
|
|
401
361
|
def IsHidden(self)->bool:
|
|
402
362
|
"""
|
|
403
|
-
<summary>
|
|
404
363
|
Indicates whether the shape is hidden.
|
|
405
|
-
|
|
406
|
-
</summary>
|
|
364
|
+
|
|
407
365
|
"""
|
|
408
366
|
GetDllLibPpt().IAudio_get_IsHidden.argtypes=[c_void_p]
|
|
409
367
|
GetDllLibPpt().IAudio_get_IsHidden.restype=c_bool
|
|
@@ -418,10 +376,8 @@ class IAudio ( IShape) :
|
|
|
418
376
|
@property
|
|
419
377
|
def IsPlayinBackground(self)->bool:
|
|
420
378
|
"""
|
|
421
|
-
<summary>
|
|
422
379
|
Whether the audio plays in the background.
|
|
423
|
-
|
|
424
|
-
</summary>
|
|
380
|
+
|
|
425
381
|
"""
|
|
426
382
|
GetDllLibPpt().IAudio_get_IsPlayinBackground.argtypes=[c_void_p]
|
|
427
383
|
GetDllLibPpt().IAudio_get_IsPlayinBackground.restype=c_bool
|
|
@@ -437,10 +393,8 @@ class IAudio ( IShape) :
|
|
|
437
393
|
|
|
438
394
|
def Parent(self)->'ActiveSlide':
|
|
439
395
|
"""
|
|
440
|
-
<summary>
|
|
441
396
|
Gets the parent slide of a shape.
|
|
442
|
-
|
|
443
|
-
</summary>
|
|
397
|
+
|
|
444
398
|
"""
|
|
445
399
|
from spire.presentation import ActiveSlide
|
|
446
400
|
GetDllLibPpt().IAudio_get_Parent.argtypes=[c_void_p]
|
|
@@ -453,12 +407,10 @@ class IAudio ( IShape) :
|
|
|
453
407
|
@property
|
|
454
408
|
def ZOrderPosition(self)->int:
|
|
455
409
|
"""
|
|
456
|
-
<summary>
|
|
457
410
|
Gets or sets the position of a shape in the z-order.
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
</summary>
|
|
411
|
+
Shapes[0] returns the shape at the back of the z-order,
|
|
412
|
+
and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order.
|
|
413
|
+
|
|
462
414
|
"""
|
|
463
415
|
GetDllLibPpt().IAudio_get_ZOrderPosition.argtypes=[c_void_p]
|
|
464
416
|
GetDllLibPpt().IAudio_get_ZOrderPosition.restype=c_int
|
|
@@ -473,12 +425,10 @@ class IAudio ( IShape) :
|
|
|
473
425
|
@property
|
|
474
426
|
def Rotation(self)->float:
|
|
475
427
|
"""
|
|
476
|
-
<summary>
|
|
477
428
|
Gets or sets the number of degrees the specified shape is rotated around
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
</summary>
|
|
429
|
+
the z-axis. A positive value indicates clockwise rotation; a negative value
|
|
430
|
+
indicates counterclockwise rotation.
|
|
431
|
+
|
|
482
432
|
"""
|
|
483
433
|
GetDllLibPpt().IAudio_get_Rotation.argtypes=[c_void_p]
|
|
484
434
|
GetDllLibPpt().IAudio_get_Rotation.restype=c_float
|
|
@@ -493,10 +443,8 @@ class IAudio ( IShape) :
|
|
|
493
443
|
@property
|
|
494
444
|
def Left(self)->float:
|
|
495
445
|
"""
|
|
496
|
-
<summary>
|
|
497
446
|
Gets or sets the x-coordinate of the upper-left corner of the shape.
|
|
498
|
-
|
|
499
|
-
</summary>
|
|
447
|
+
|
|
500
448
|
"""
|
|
501
449
|
GetDllLibPpt().IAudio_get_Left.argtypes=[c_void_p]
|
|
502
450
|
GetDllLibPpt().IAudio_get_Left.restype=c_float
|
|
@@ -511,10 +459,8 @@ class IAudio ( IShape) :
|
|
|
511
459
|
@property
|
|
512
460
|
def Top(self)->float:
|
|
513
461
|
"""
|
|
514
|
-
<summary>
|
|
515
462
|
Gets or sets the y-coordinate of the upper-left corner of the shape.
|
|
516
|
-
|
|
517
|
-
</summary>
|
|
463
|
+
|
|
518
464
|
"""
|
|
519
465
|
GetDllLibPpt().IAudio_get_Top.argtypes=[c_void_p]
|
|
520
466
|
GetDllLibPpt().IAudio_get_Top.restype=c_float
|
|
@@ -529,10 +475,8 @@ class IAudio ( IShape) :
|
|
|
529
475
|
@property
|
|
530
476
|
def Width(self)->float:
|
|
531
477
|
"""
|
|
532
|
-
<summary>
|
|
533
478
|
Gets or sets the width of the shape.
|
|
534
|
-
|
|
535
|
-
</summary>
|
|
479
|
+
|
|
536
480
|
"""
|
|
537
481
|
GetDllLibPpt().IAudio_get_Width.argtypes=[c_void_p]
|
|
538
482
|
GetDllLibPpt().IAudio_get_Width.restype=c_float
|
|
@@ -547,10 +491,8 @@ class IAudio ( IShape) :
|
|
|
547
491
|
@property
|
|
548
492
|
def Height(self)->float:
|
|
549
493
|
"""
|
|
550
|
-
<summary>
|
|
551
494
|
Gets or sets the height of the shape.
|
|
552
|
-
|
|
553
|
-
</summary>
|
|
495
|
+
|
|
554
496
|
"""
|
|
555
497
|
GetDllLibPpt().IAudio_get_Height.argtypes=[c_void_p]
|
|
556
498
|
GetDllLibPpt().IAudio_get_Height.restype=c_float
|
|
@@ -566,10 +508,8 @@ class IAudio ( IShape) :
|
|
|
566
508
|
|
|
567
509
|
def AlternativeText(self)->str:
|
|
568
510
|
"""
|
|
569
|
-
<summary>
|
|
570
511
|
Gets or sets the alternative text associated with a shape.
|
|
571
|
-
|
|
572
|
-
</summary>
|
|
512
|
+
|
|
573
513
|
"""
|
|
574
514
|
GetDllLibPpt().IAudio_get_AlternativeText.argtypes=[c_void_p]
|
|
575
515
|
GetDllLibPpt().IAudio_get_AlternativeText.restype=c_void_p
|
|
@@ -587,10 +527,8 @@ class IAudio ( IShape) :
|
|
|
587
527
|
|
|
588
528
|
def Name(self)->str:
|
|
589
529
|
"""
|
|
590
|
-
<summary>
|
|
591
530
|
Gets or sets the name of a shape.
|
|
592
|
-
|
|
593
|
-
</summary>
|
|
531
|
+
|
|
594
532
|
"""
|
|
595
533
|
GetDllLibPpt().IAudio_get_Name.argtypes=[c_void_p]
|
|
596
534
|
GetDllLibPpt().IAudio_get_Name.restype=c_void_p
|
|
@@ -608,10 +546,8 @@ class IAudio ( IShape) :
|
|
|
608
546
|
|
|
609
547
|
def Slide(self)->'ActiveSlide':
|
|
610
548
|
"""
|
|
611
|
-
<summary>
|
|
612
549
|
Gets the parent slide of a shape.
|
|
613
|
-
|
|
614
|
-
</summary>
|
|
550
|
+
|
|
615
551
|
"""
|
|
616
552
|
from spire.presentation import ActiveSlide
|
|
617
553
|
GetDllLibPpt().IAudio_get_Slide.argtypes=[c_void_p]
|
|
@@ -625,7 +561,10 @@ class IAudio ( IShape) :
|
|
|
625
561
|
|
|
626
562
|
def Presentation(self)->'Presentation':
|
|
627
563
|
"""
|
|
564
|
+
Gets the parent Presentation object that contains this component.
|
|
628
565
|
|
|
566
|
+
Returns:
|
|
567
|
+
Presentation: The parent presentation instance
|
|
629
568
|
"""
|
|
630
569
|
from spire.presentation import Presentation
|
|
631
570
|
GetDllLibPpt().IAudio_get_Presentation.argtypes=[c_void_p]
|
|
@@ -638,10 +577,8 @@ class IAudio ( IShape) :
|
|
|
638
577
|
@property
|
|
639
578
|
def HideAtShowing(self)->bool:
|
|
640
579
|
"""
|
|
641
|
-
<summary>
|
|
642
580
|
Indicates whether an Audio is hidden.
|
|
643
|
-
|
|
644
|
-
</summary>
|
|
581
|
+
|
|
645
582
|
"""
|
|
646
583
|
GetDllLibPpt().IAudio_get_HideAtShowing.argtypes=[c_void_p]
|
|
647
584
|
GetDllLibPpt().IAudio_get_HideAtShowing.restype=c_bool
|
|
@@ -655,18 +592,16 @@ class IAudio ( IShape) :
|
|
|
655
592
|
|
|
656
593
|
def RemovePlaceholder(self):
|
|
657
594
|
"""
|
|
658
|
-
<summary>
|
|
659
595
|
Removes placeholder from the shape.
|
|
660
|
-
|
|
596
|
+
|
|
661
597
|
"""
|
|
662
598
|
GetDllLibPpt().IAudio_RemovePlaceholder.argtypes=[c_void_p]
|
|
663
599
|
CallCFunction(GetDllLibPpt().IAudio_RemovePlaceholder,self.Ptr)
|
|
664
600
|
|
|
665
601
|
def Dispose(self):
|
|
666
602
|
"""
|
|
667
|
-
<summary>
|
|
668
603
|
Dispose object and free resources.
|
|
669
|
-
|
|
604
|
+
|
|
670
605
|
"""
|
|
671
606
|
GetDllLibPpt().IAudio_Dispose.argtypes=[c_void_p]
|
|
672
607
|
CallCFunction(GetDllLibPpt().IAudio_Dispose,self.Ptr)
|
spire/presentation/IAudioData.py
CHANGED
|
@@ -8,15 +8,15 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class IAudioData (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Represents embedded audio data with methods to access audio streams.
|
|
12
|
+
Provides audio content type information and saving capabilities.
|
|
12
13
|
"""
|
|
13
14
|
@property
|
|
14
15
|
|
|
15
16
|
def ContentType(self)->str:
|
|
16
17
|
"""
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</summary>
|
|
18
|
+
Gets MIME type of the audio (e.g., 'audio/mpeg').
|
|
19
|
+
Read-only string.
|
|
20
20
|
"""
|
|
21
21
|
GetDllLibPpt().IAudioData_get_ContentType.argtypes=[c_void_p]
|
|
22
22
|
GetDllLibPpt().IAudioData_get_ContentType.restype=c_void_p
|
|
@@ -24,29 +24,12 @@ class IAudioData (SpireObject) :
|
|
|
24
24
|
return ret
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
# @property
|
|
28
|
-
#
|
|
29
|
-
# def Data(self)->List['Byte']:
|
|
30
|
-
# """
|
|
31
|
-
# <summary>
|
|
32
|
-
# Gets the copy of an audio's data.
|
|
33
|
-
# Read-only <see cref="T:System.Byte" />[].
|
|
34
|
-
# </summary>
|
|
35
|
-
# """
|
|
36
|
-
# GetDllLibPpt().IAudioData_get_Data.argtypes=[c_void_p]
|
|
37
|
-
# GetDllLibPpt().IAudioData_get_Data.restype=IntPtrArray
|
|
38
|
-
# intPtrArray = CallCFunction(GetDllLibPpt().IAudioData_get_Data,self.Ptr)
|
|
39
|
-
# ret = GetVectorFromArray(intPtrArray, Byte)
|
|
40
|
-
# return ret
|
|
41
|
-
|
|
42
|
-
|
|
43
27
|
@property
|
|
44
28
|
|
|
45
29
|
def Stream(self)->'Stream':
|
|
46
30
|
"""
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</summary>
|
|
31
|
+
Gets audio data as a stream.
|
|
32
|
+
Read-only Stream object.
|
|
50
33
|
"""
|
|
51
34
|
GetDllLibPpt().IAudioData_get_Stream.argtypes=[c_void_p]
|
|
52
35
|
GetDllLibPpt().IAudioData_get_Stream.restype=c_void_p
|
|
@@ -57,12 +40,7 @@ class IAudioData (SpireObject) :
|
|
|
57
40
|
|
|
58
41
|
|
|
59
42
|
def GetStream(self)->'Stream':
|
|
60
|
-
"""
|
|
61
|
-
<summary>
|
|
62
|
-
Gets stream from audio.
|
|
63
|
-
</summary>
|
|
64
|
-
<returns></returns>
|
|
65
|
-
"""
|
|
43
|
+
"""Returns audio data as a new Stream instance."""
|
|
66
44
|
GetDllLibPpt().IAudioData_GetStream.argtypes=[c_void_p]
|
|
67
45
|
GetDllLibPpt().IAudioData_GetStream.restype=c_void_p
|
|
68
46
|
intPtr = CallCFunction(GetDllLibPpt().IAudioData_GetStream,self.Ptr)
|
|
@@ -73,10 +51,10 @@ class IAudioData (SpireObject) :
|
|
|
73
51
|
|
|
74
52
|
def SaveToFile(self ,fileName:str):
|
|
75
53
|
"""
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
54
|
+
Saves audio data to disk.
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
fileName: Output file path
|
|
80
58
|
"""
|
|
81
59
|
|
|
82
60
|
fileNamePtr = StrToPtr(fileName)
|