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/ISlide.py
CHANGED
|
@@ -7,15 +7,17 @@ from ctypes import *
|
|
|
7
7
|
|
|
8
8
|
class ISlide (SpireObject) :
|
|
9
9
|
"""
|
|
10
|
-
|
|
10
|
+
Represents a slide in a presentation.
|
|
11
|
+
Provides properties and methods for slide content, layout, and rendering.
|
|
12
|
+
|
|
11
13
|
"""
|
|
12
14
|
@property
|
|
13
15
|
|
|
14
16
|
def Theme(self)->'Theme':
|
|
15
17
|
"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
Gets the theme associated with the slide.
|
|
19
|
+
Returns:
|
|
20
|
+
Theme: Slide theme object.
|
|
19
21
|
"""
|
|
20
22
|
GetDllLibPpt().ISlide_get_Theme.argtypes=[c_void_p]
|
|
21
23
|
GetDllLibPpt().ISlide_get_Theme.restype=c_void_p
|
|
@@ -27,10 +29,9 @@ class ISlide (SpireObject) :
|
|
|
27
29
|
@property
|
|
28
30
|
def SlideNumber(self)->int:
|
|
29
31
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</summary>
|
|
32
|
+
Gets or sets the slide number in the presentation.
|
|
33
|
+
Returns:
|
|
34
|
+
int: Current slide number.
|
|
34
35
|
"""
|
|
35
36
|
GetDllLibPpt().ISlide_get_SlideNumber.argtypes=[c_void_p]
|
|
36
37
|
GetDllLibPpt().ISlide_get_SlideNumber.restype=c_int
|
|
@@ -39,16 +40,20 @@ class ISlide (SpireObject) :
|
|
|
39
40
|
|
|
40
41
|
@SlideNumber.setter
|
|
41
42
|
def SlideNumber(self, value:int):
|
|
43
|
+
"""
|
|
44
|
+
Sets the slide number in the presentation.
|
|
45
|
+
Parameters:
|
|
46
|
+
value: New slide number.
|
|
47
|
+
"""
|
|
42
48
|
GetDllLibPpt().ISlide_set_SlideNumber.argtypes=[c_void_p, c_int]
|
|
43
49
|
CallCFunction(GetDllLibPpt().ISlide_set_SlideNumber,self.Ptr, value)
|
|
44
50
|
|
|
45
51
|
@property
|
|
46
52
|
def Hidden(self)->bool:
|
|
47
53
|
"""
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</summary>
|
|
54
|
+
Indicates whether the slide is hidden during slide shows.
|
|
55
|
+
Returns:
|
|
56
|
+
bool: True if hidden, False otherwise.
|
|
52
57
|
"""
|
|
53
58
|
GetDllLibPpt().ISlide_get_Hidden.argtypes=[c_void_p]
|
|
54
59
|
GetDllLibPpt().ISlide_get_Hidden.restype=c_bool
|
|
@@ -57,6 +62,11 @@ class ISlide (SpireObject) :
|
|
|
57
62
|
|
|
58
63
|
@Hidden.setter
|
|
59
64
|
def Hidden(self, value:bool):
|
|
65
|
+
"""
|
|
66
|
+
Sets whether the slide is hidden during slide shows.
|
|
67
|
+
Parameters:
|
|
68
|
+
value: True to hide, False to show.
|
|
69
|
+
"""
|
|
60
70
|
GetDllLibPpt().ISlide_set_Hidden.argtypes=[c_void_p, c_bool]
|
|
61
71
|
CallCFunction(GetDllLibPpt().ISlide_set_Hidden,self.Ptr, value)
|
|
62
72
|
|
|
@@ -64,10 +74,10 @@ class ISlide (SpireObject) :
|
|
|
64
74
|
|
|
65
75
|
def NotesSlide(self)->'NotesSlide':
|
|
66
76
|
"""
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
77
|
+
Gets the notes slide.
|
|
78
|
+
|
|
79
|
+
Returns:
|
|
80
|
+
NotesSlide: Read-only notes slide.
|
|
71
81
|
"""
|
|
72
82
|
GetDllLibPpt().ISlide_get_NotesSlide.argtypes=[c_void_p]
|
|
73
83
|
GetDllLibPpt().ISlide_get_NotesSlide.restype=c_void_p
|
|
@@ -80,9 +90,10 @@ class ISlide (SpireObject) :
|
|
|
80
90
|
|
|
81
91
|
def Comments(self)->List['Comment']:
|
|
82
92
|
"""
|
|
83
|
-
<summary>
|
|
84
93
|
Gets all author comments.
|
|
85
|
-
|
|
94
|
+
|
|
95
|
+
Returns:
|
|
96
|
+
List[Comment]: Collection of comments.
|
|
86
97
|
"""
|
|
87
98
|
GetDllLibPpt().ISlide_get_Comments.argtypes=[c_void_p]
|
|
88
99
|
GetDllLibPpt().ISlide_get_Comments.restype=IntPtrArray
|
|
@@ -95,10 +106,10 @@ class ISlide (SpireObject) :
|
|
|
95
106
|
|
|
96
107
|
def Shapes(self)->'ShapeCollection':
|
|
97
108
|
"""
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
109
|
+
Gets all shapes on the slide.
|
|
110
|
+
|
|
111
|
+
Returns:
|
|
112
|
+
ShapeCollection: Read-only collection of shapes.
|
|
102
113
|
"""
|
|
103
114
|
GetDllLibPpt().ISlide_get_Shapes.argtypes=[c_void_p]
|
|
104
115
|
GetDllLibPpt().ISlide_get_Shapes.restype=c_void_p
|
|
@@ -111,10 +122,10 @@ class ISlide (SpireObject) :
|
|
|
111
122
|
|
|
112
123
|
def Name(self)->str:
|
|
113
124
|
"""
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
125
|
+
Gets or sets slide name.
|
|
126
|
+
|
|
127
|
+
Returns:
|
|
128
|
+
str: Name of the slide.
|
|
118
129
|
"""
|
|
119
130
|
GetDllLibPpt().ISlide_get_Name.argtypes=[c_void_p]
|
|
120
131
|
GetDllLibPpt().ISlide_get_Name.restype=c_void_p
|
|
@@ -124,6 +135,12 @@ class ISlide (SpireObject) :
|
|
|
124
135
|
|
|
125
136
|
@Name.setter
|
|
126
137
|
def Name(self, value:str):
|
|
138
|
+
"""
|
|
139
|
+
Sets slide name.
|
|
140
|
+
|
|
141
|
+
Args:
|
|
142
|
+
value (str): New slide name.
|
|
143
|
+
"""
|
|
127
144
|
valuePtr = StrToPtr(value)
|
|
128
145
|
GetDllLibPpt().ISlide_set_Name.argtypes=[c_void_p, c_char_p]
|
|
129
146
|
CallCFunction(GetDllLibPpt().ISlide_set_Name,self.Ptr,valuePtr)
|
|
@@ -132,9 +149,10 @@ class ISlide (SpireObject) :
|
|
|
132
149
|
|
|
133
150
|
def SlideID(self)->'int':
|
|
134
151
|
"""
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
152
|
+
Gets unique slide identifier.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
int: Read-only slide ID.
|
|
138
156
|
"""
|
|
139
157
|
GetDllLibPpt().ISlide_get_SlideID.argtypes=[c_void_p]
|
|
140
158
|
GetDllLibPpt().ISlide_get_SlideID.restype=c_int
|
|
@@ -146,10 +164,10 @@ class ISlide (SpireObject) :
|
|
|
146
164
|
|
|
147
165
|
def MasterSlideID(self)->'int':
|
|
148
166
|
"""
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
Gets or sets master slide identifier.
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
int: ID of associated master slide.
|
|
153
171
|
"""
|
|
154
172
|
GetDllLibPpt().ISlide_get_MasterSlideID.argtypes=[c_void_p]
|
|
155
173
|
GetDllLibPpt().ISlide_get_MasterSlideID.restype=c_void_p
|
|
@@ -160,6 +178,12 @@ class ISlide (SpireObject) :
|
|
|
160
178
|
|
|
161
179
|
@MasterSlideID.setter
|
|
162
180
|
def MasterSlideID(self, value:'UInt32'):
|
|
181
|
+
"""
|
|
182
|
+
Sets master slide identifier.
|
|
183
|
+
|
|
184
|
+
Args:
|
|
185
|
+
value (int): New master slide ID.
|
|
186
|
+
"""
|
|
163
187
|
GetDllLibPpt().ISlide_set_MasterSlideID.argtypes=[c_void_p, c_void_p]
|
|
164
188
|
CallCFunction(GetDllLibPpt().ISlide_set_MasterSlideID,self.Ptr, value.Ptr)
|
|
165
189
|
|
|
@@ -167,10 +191,10 @@ class ISlide (SpireObject) :
|
|
|
167
191
|
|
|
168
192
|
def TagsList(self)->'TagCollection':
|
|
169
193
|
"""
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
194
|
+
Gets slide's metadata tags.
|
|
195
|
+
|
|
196
|
+
Returns:
|
|
197
|
+
TagCollection: Read-only tag collection.
|
|
174
198
|
"""
|
|
175
199
|
GetDllLibPpt().ISlide_get_TagsList.argtypes=[c_void_p]
|
|
176
200
|
GetDllLibPpt().ISlide_get_TagsList.restype=c_void_p
|
|
@@ -183,10 +207,10 @@ class ISlide (SpireObject) :
|
|
|
183
207
|
|
|
184
208
|
def Timeline(self)->'TimeLine':
|
|
185
209
|
"""
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
210
|
+
Gets animation timeline.
|
|
211
|
+
|
|
212
|
+
Returns:
|
|
213
|
+
TimeLine: Read-only animation timeline.
|
|
190
214
|
"""
|
|
191
215
|
GetDllLibPpt().ISlide_get_Timeline.argtypes=[c_void_p]
|
|
192
216
|
GetDllLibPpt().ISlide_get_Timeline.restype=c_void_p
|
|
@@ -199,11 +223,10 @@ class ISlide (SpireObject) :
|
|
|
199
223
|
|
|
200
224
|
def SlideShowTransition(self)->'SlideShowTransition':
|
|
201
225
|
"""
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
Read-only
|
|
206
|
-
</summary>
|
|
226
|
+
Gets slide transition settings.
|
|
227
|
+
|
|
228
|
+
Returns:
|
|
229
|
+
SlideShowTransition: Read-only transition properties.
|
|
207
230
|
"""
|
|
208
231
|
GetDllLibPpt().ISlide_get_SlideShowTransition.argtypes=[c_void_p]
|
|
209
232
|
GetDllLibPpt().ISlide_get_SlideShowTransition.restype=c_void_p
|
|
@@ -216,10 +239,10 @@ class ISlide (SpireObject) :
|
|
|
216
239
|
|
|
217
240
|
def SlideBackground(self)->'SlideBackground':
|
|
218
241
|
"""
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
242
|
+
Gets slide background properties.
|
|
243
|
+
|
|
244
|
+
Returns:
|
|
245
|
+
SlideBackground: Read-only background settings.
|
|
223
246
|
"""
|
|
224
247
|
GetDllLibPpt().ISlide_get_SlideBackground.argtypes=[c_void_p]
|
|
225
248
|
GetDllLibPpt().ISlide_get_SlideBackground.restype=c_void_p
|
|
@@ -232,10 +255,10 @@ class ISlide (SpireObject) :
|
|
|
232
255
|
|
|
233
256
|
def DisplaySlideBackground(self)->'SlideBackground':
|
|
234
257
|
"""
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
258
|
+
Gets display background properties.
|
|
259
|
+
|
|
260
|
+
Returns:
|
|
261
|
+
SlideBackground: Read-only display background.
|
|
239
262
|
"""
|
|
240
263
|
GetDllLibPpt().ISlide_get_DisplaySlideBackground.argtypes=[c_void_p]
|
|
241
264
|
GetDllLibPpt().ISlide_get_DisplaySlideBackground.restype=c_void_p
|
|
@@ -248,7 +271,10 @@ class ISlide (SpireObject) :
|
|
|
248
271
|
|
|
249
272
|
def Presentation(self)->'Presentation':
|
|
250
273
|
"""
|
|
251
|
-
|
|
274
|
+
Gets parent presentation.
|
|
275
|
+
|
|
276
|
+
Returns:
|
|
277
|
+
Presentation: Parent presentation object.
|
|
252
278
|
"""
|
|
253
279
|
from spire.presentation import Presentation
|
|
254
280
|
GetDllLibPpt().ISlide_get_Presentation.argtypes=[c_void_p]
|
|
@@ -261,9 +287,10 @@ class ISlide (SpireObject) :
|
|
|
261
287
|
@property
|
|
262
288
|
def ShowMasterShape(self)->bool:
|
|
263
289
|
"""
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
290
|
+
Indicates whether to show master shapes.
|
|
291
|
+
|
|
292
|
+
Returns:
|
|
293
|
+
bool: True to show master shapes, False to hide.
|
|
267
294
|
"""
|
|
268
295
|
GetDllLibPpt().ISlide_get_ShowMasterShape.argtypes=[c_void_p]
|
|
269
296
|
GetDllLibPpt().ISlide_get_ShowMasterShape.restype=c_bool
|
|
@@ -272,6 +299,12 @@ class ISlide (SpireObject) :
|
|
|
272
299
|
|
|
273
300
|
@ShowMasterShape.setter
|
|
274
301
|
def ShowMasterShape(self, value:bool):
|
|
302
|
+
"""
|
|
303
|
+
Sets visibility of master shapes.
|
|
304
|
+
|
|
305
|
+
Args:
|
|
306
|
+
value (bool): True to show, False to hide.
|
|
307
|
+
"""
|
|
275
308
|
GetDllLibPpt().ISlide_set_ShowMasterShape.argtypes=[c_void_p, c_bool]
|
|
276
309
|
CallCFunction(GetDllLibPpt().ISlide_set_ShowMasterShape,self.Ptr, value)
|
|
277
310
|
|
|
@@ -296,7 +329,10 @@ class ISlide (SpireObject) :
|
|
|
296
329
|
|
|
297
330
|
def SaveAsImage(self)->'Stream':
|
|
298
331
|
"""
|
|
299
|
-
|
|
332
|
+
Saves slide as image.
|
|
333
|
+
|
|
334
|
+
Returns:
|
|
335
|
+
Stream: Image data stream.
|
|
300
336
|
"""
|
|
301
337
|
GetDllLibPpt().ISlide_SaveAsImage.argtypes=[c_void_p]
|
|
302
338
|
GetDllLibPpt().ISlide_SaveAsImage.restype=c_void_p
|
|
@@ -307,7 +343,14 @@ class ISlide (SpireObject) :
|
|
|
307
343
|
|
|
308
344
|
def SaveAsImageByWH(self ,width:int,height:int)->'Stream':
|
|
309
345
|
"""
|
|
310
|
-
|
|
346
|
+
Saves slide as image with specified dimensions.
|
|
347
|
+
|
|
348
|
+
Args:
|
|
349
|
+
width (int): Image width.
|
|
350
|
+
height (int): Image height.
|
|
351
|
+
|
|
352
|
+
Returns:
|
|
353
|
+
Stream: Image data stream.
|
|
311
354
|
"""
|
|
312
355
|
|
|
313
356
|
GetDllLibPpt().ISlide_SaveAsImageWH.argtypes=[c_void_p ,c_int,c_int]
|
|
@@ -353,9 +396,10 @@ class ISlide (SpireObject) :
|
|
|
353
396
|
|
|
354
397
|
def SaveDisplayBackgroundAsImage(self)->'Stream':
|
|
355
398
|
"""
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
399
|
+
Saves display background as image.
|
|
400
|
+
|
|
401
|
+
Returns:
|
|
402
|
+
Stream: Image data stream.
|
|
359
403
|
"""
|
|
360
404
|
GetDllLibPpt().ISlide_SaveDisplayBackgroundAsImage.argtypes=[c_void_p]
|
|
361
405
|
GetDllLibPpt().ISlide_SaveDisplayBackgroundAsImage.restype=c_void_p
|
|
@@ -367,11 +411,11 @@ class ISlide (SpireObject) :
|
|
|
367
411
|
|
|
368
412
|
def SaveToFile(self ,file:str,fileFormat:'FileFormat'):
|
|
369
413
|
"""
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
414
|
+
Saves slide to file.
|
|
415
|
+
|
|
416
|
+
Args:
|
|
417
|
+
file (str): Output file path.
|
|
418
|
+
file_format (FileFormat): File format.
|
|
375
419
|
"""
|
|
376
420
|
enumfileFormat:c_int = fileFormat.value
|
|
377
421
|
|
|
@@ -382,10 +426,10 @@ class ISlide (SpireObject) :
|
|
|
382
426
|
|
|
383
427
|
def SaveToSVG(self)->'Stream':
|
|
384
428
|
"""
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
429
|
+
Saves slide as SVG.
|
|
430
|
+
|
|
431
|
+
Returns:
|
|
432
|
+
Stream: SVG data stream.
|
|
389
433
|
"""
|
|
390
434
|
GetDllLibPpt().ISlide_SaveToSVG.argtypes=[c_void_p]
|
|
391
435
|
GetDllLibPpt().ISlide_SaveToSVG.restype=c_void_p
|
|
@@ -397,11 +441,10 @@ class ISlide (SpireObject) :
|
|
|
397
441
|
|
|
398
442
|
def AddNotesSlide(self)->'NotesSlide':
|
|
399
443
|
"""
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
<see cref="P:Spire.Presentation.Slide.NotesSlide" /> for this slide.</returns>
|
|
444
|
+
Adds a notes slide.
|
|
445
|
+
|
|
446
|
+
Returns:
|
|
447
|
+
NotesSlide: Newly created notes slide.
|
|
405
448
|
"""
|
|
406
449
|
GetDllLibPpt().ISlide_AddNotesSlide.argtypes=[c_void_p]
|
|
407
450
|
GetDllLibPpt().ISlide_AddNotesSlide.restype=c_void_p
|
|
@@ -414,13 +457,13 @@ class ISlide (SpireObject) :
|
|
|
414
457
|
|
|
415
458
|
def AddComment(self ,author:ICommentAuthor,text:str,position:PointF,dateTime:DateTime):
|
|
416
459
|
"""
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
460
|
+
Adds a comment.
|
|
461
|
+
|
|
462
|
+
Args:
|
|
463
|
+
author (ICommentAuthor): Comment author.
|
|
464
|
+
text (str): Comment text.
|
|
465
|
+
position (PointF): Position on slide.
|
|
466
|
+
date_time (DateTime): Comment timestamp.
|
|
424
467
|
"""
|
|
425
468
|
intPtrauthor:c_void_p = author.Ptr
|
|
426
469
|
intPtrposition:c_void_p = position.Ptr
|
|
@@ -434,10 +477,10 @@ class ISlide (SpireObject) :
|
|
|
434
477
|
|
|
435
478
|
def AddComment(self ,comment:Comment):
|
|
436
479
|
"""
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
480
|
+
Adds a comment.
|
|
481
|
+
|
|
482
|
+
Args:
|
|
483
|
+
comment (Comment): Comment object to add.
|
|
441
484
|
"""
|
|
442
485
|
intPtrcomment:c_void_p = comment.Ptr
|
|
443
486
|
|
|
@@ -448,10 +491,10 @@ class ISlide (SpireObject) :
|
|
|
448
491
|
|
|
449
492
|
def DeleteComment(self ,comment:Comment):
|
|
450
493
|
"""
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
494
|
+
Deletes a comment.
|
|
495
|
+
|
|
496
|
+
Args:
|
|
497
|
+
comment (Comment): Comment to delete.
|
|
455
498
|
"""
|
|
456
499
|
intPtrcomment:c_void_p = comment.Ptr
|
|
457
500
|
|
|
@@ -462,11 +505,11 @@ class ISlide (SpireObject) :
|
|
|
462
505
|
|
|
463
506
|
def DeleteComment(self ,author:ICommentAuthor,text:str):
|
|
464
507
|
"""
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
508
|
+
Deletes comments by author and text.
|
|
509
|
+
|
|
510
|
+
Args:
|
|
511
|
+
author (ICommentAuthor): Author of comments.
|
|
512
|
+
text (str): Text to match.
|
|
470
513
|
"""
|
|
471
514
|
intPtrauthor:c_void_p = author.Ptr
|
|
472
515
|
|
|
@@ -478,11 +521,10 @@ class ISlide (SpireObject) :
|
|
|
478
521
|
|
|
479
522
|
def DeleteComment(self ,author:ICommentAuthor):
|
|
480
523
|
"""
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
<param name="string">text of comments to delete or "" to delete all comments.</param>
|
|
524
|
+
Deletes all comments by author.
|
|
525
|
+
|
|
526
|
+
Args:
|
|
527
|
+
author (ICommentAuthor): Author of comments.
|
|
486
528
|
"""
|
|
487
529
|
intPtrauthor:c_void_p = author.Ptr
|
|
488
530
|
|
|
@@ -493,10 +535,10 @@ class ISlide (SpireObject) :
|
|
|
493
535
|
|
|
494
536
|
def DeleteComment(self ,text:str):
|
|
495
537
|
"""
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
538
|
+
Deletes comments by text.
|
|
539
|
+
|
|
540
|
+
Args:
|
|
541
|
+
text (str): Text to match.
|
|
500
542
|
"""
|
|
501
543
|
|
|
502
544
|
textPtr = StrToPtr(text)
|
|
@@ -563,10 +605,10 @@ class ISlide (SpireObject) :
|
|
|
563
605
|
|
|
564
606
|
def ApplyTheme(self ,scheme:'SlideColorScheme'):
|
|
565
607
|
"""
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
608
|
+
Applies color scheme to slide.
|
|
609
|
+
|
|
610
|
+
Args:
|
|
611
|
+
scheme (SlideColorScheme): Color scheme to apply.
|
|
570
612
|
"""
|
|
571
613
|
intPtrscheme:c_void_p = scheme.Ptr
|
|
572
614
|
|
|
@@ -574,11 +616,7 @@ class ISlide (SpireObject) :
|
|
|
574
616
|
CallCFunction(GetDllLibPpt().ISlide_ApplyTheme,self.Ptr, intPtrscheme)
|
|
575
617
|
|
|
576
618
|
def Dispose(self):
|
|
577
|
-
"""
|
|
578
|
-
<summary>
|
|
579
|
-
Dispose object and free resources.
|
|
580
|
-
</summary>
|
|
581
|
-
"""
|
|
619
|
+
"""Releases resources associated with the object."""
|
|
582
620
|
GetDllLibPpt().ISlide_Dispose.argtypes=[c_void_p]
|
|
583
621
|
CallCFunction(GetDllLibPpt().ISlide_Dispose,self.Ptr)
|
|
584
622
|
|
|
@@ -586,9 +624,10 @@ class ISlide (SpireObject) :
|
|
|
586
624
|
|
|
587
625
|
def Layout(self)->'ILayout':
|
|
588
626
|
"""
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
627
|
+
Gets or sets slide layout.
|
|
628
|
+
|
|
629
|
+
Returns:
|
|
630
|
+
ILayout: Current slide layout.
|
|
592
631
|
"""
|
|
593
632
|
GetDllLibPpt().ISlide_get_Layout.argtypes=[c_void_p]
|
|
594
633
|
GetDllLibPpt().ISlide_get_Layout.restype=c_void_p
|
|
@@ -599,16 +638,25 @@ class ISlide (SpireObject) :
|
|
|
599
638
|
|
|
600
639
|
@Layout.setter
|
|
601
640
|
def Layout(self, value:'ILayout'):
|
|
641
|
+
"""
|
|
642
|
+
Sets slide layout.
|
|
643
|
+
|
|
644
|
+
Args:
|
|
645
|
+
value (ILayout): New layout.
|
|
646
|
+
"""
|
|
602
647
|
GetDllLibPpt().ISlide_set_Layout.argtypes=[c_void_p, c_void_p]
|
|
603
648
|
CallCFunction(GetDllLibPpt().ISlide_set_Layout,self.Ptr, value.Ptr)
|
|
604
649
|
|
|
605
650
|
#
|
|
606
651
|
def GroupShapes(self ,shapeList:'List')->'GroupShape':
|
|
607
652
|
"""
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
653
|
+
Groups shapes together.
|
|
654
|
+
|
|
655
|
+
Args:
|
|
656
|
+
shape_list (List): Shapes to group.
|
|
657
|
+
|
|
658
|
+
Returns:
|
|
659
|
+
GroupShape: New group shape.
|
|
612
660
|
"""
|
|
613
661
|
countShapes = len(shapeList)
|
|
614
662
|
ArrayTypeshapeList = c_void_p * countShapes
|
|
@@ -627,10 +675,10 @@ class ISlide (SpireObject) :
|
|
|
627
675
|
|
|
628
676
|
def Ungroup(self ,groupShape:'GroupShape'):
|
|
629
677
|
"""
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
678
|
+
Ungroups shapes.
|
|
679
|
+
|
|
680
|
+
Args:
|
|
681
|
+
group_shape (GroupShape): Group to ungroup.
|
|
634
682
|
"""
|
|
635
683
|
intPtrgroupShape:c_void_p = groupShape.Ptr
|
|
636
684
|
|
|
@@ -640,12 +688,12 @@ class ISlide (SpireObject) :
|
|
|
640
688
|
|
|
641
689
|
def ReplaceFirstText(self ,matchedString:str,newValue:str,caseSensitive:bool):
|
|
642
690
|
"""
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
691
|
+
Replaces first occurrence of text.
|
|
692
|
+
|
|
693
|
+
Args:
|
|
694
|
+
matched_string (str): Text to find.
|
|
695
|
+
new_value (str): Replacement text.
|
|
696
|
+
case_sensitive (bool): Case sensitivity flag.
|
|
649
697
|
"""
|
|
650
698
|
|
|
651
699
|
matchedStringPtr = StrToPtr(matchedString)
|
|
@@ -656,12 +704,12 @@ class ISlide (SpireObject) :
|
|
|
656
704
|
|
|
657
705
|
def ReplaceAllText(self ,matchedString:str,newValue:str,caseSensitive:bool):
|
|
658
706
|
"""
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
707
|
+
Replaces all occurrences of text.
|
|
708
|
+
|
|
709
|
+
Args:
|
|
710
|
+
matched_string (str): Text to find.
|
|
711
|
+
new_value (str): Replacement text.
|
|
712
|
+
case_sensitive (bool): Case sensitivity flag.
|
|
665
713
|
"""
|
|
666
714
|
|
|
667
715
|
matchedStringPtr = StrToPtr(matchedString)
|
|
@@ -673,9 +721,10 @@ class ISlide (SpireObject) :
|
|
|
673
721
|
|
|
674
722
|
def Title(self)->str:
|
|
675
723
|
"""
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
724
|
+
Gets or sets slide title.
|
|
725
|
+
|
|
726
|
+
Returns:
|
|
727
|
+
str: Title text.
|
|
679
728
|
"""
|
|
680
729
|
GetDllLibPpt().ISlide_get_Title.argtypes=[c_void_p]
|
|
681
730
|
GetDllLibPpt().ISlide_get_Title.restype=c_void_p
|
|
@@ -685,6 +734,12 @@ class ISlide (SpireObject) :
|
|
|
685
734
|
|
|
686
735
|
@Title.setter
|
|
687
736
|
def Title(self, value:str):
|
|
737
|
+
"""
|
|
738
|
+
Sets slide title.
|
|
739
|
+
|
|
740
|
+
Args:
|
|
741
|
+
value (str): New title.
|
|
742
|
+
"""
|
|
688
743
|
valuePtr = StrToPtr(value)
|
|
689
744
|
GetDllLibPpt().ISlide_set_Title.argtypes=[c_void_p, c_char_p]
|
|
690
745
|
CallCFunction(GetDllLibPpt().ISlide_set_Title,self.Ptr,valuePtr)
|
|
@@ -723,11 +778,11 @@ class ISlide (SpireObject) :
|
|
|
723
778
|
|
|
724
779
|
def GetAllTextFrame(self)->List[str]:
|
|
725
780
|
"""
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
781
|
+
Gets all text content.
|
|
782
|
+
|
|
783
|
+
Returns:
|
|
784
|
+
List[str]: Collection of text content.
|
|
785
|
+
"""
|
|
731
786
|
GetDllLibPpt().ISlide_GetAllTextFrame.argtypes=[c_void_p]
|
|
732
787
|
GetDllLibPpt().ISlide_GetAllTextFrame.restype=IntPtrArray
|
|
733
788
|
intPtrArray = CallCFunction(GetDllLibPpt().ISlide_GetAllTextFrame,self.Ptr)
|
|
@@ -739,13 +794,14 @@ class ISlide (SpireObject) :
|
|
|
739
794
|
|
|
740
795
|
def FindFirstTextAsRange(self ,text:str)->'TextRange':
|
|
741
796
|
"""
|
|
742
|
-
|
|
743
|
-
Find first text as a TextRange.
|
|
744
|
-
</summary>
|
|
745
|
-
<param name="text">Found text.</param>
|
|
746
|
-
<returns></returns>
|
|
747
|
-
"""
|
|
797
|
+
Finds first occurrence of text.
|
|
748
798
|
|
|
799
|
+
Args:
|
|
800
|
+
text (str): Text to find.
|
|
801
|
+
|
|
802
|
+
Returns:
|
|
803
|
+
TextRange: Found text range.
|
|
804
|
+
"""
|
|
749
805
|
textPtr = StrToPtr(text)
|
|
750
806
|
GetDllLibPpt().ISlide_FindFirstTextAsRange.argtypes=[c_void_p ,c_char_p]
|
|
751
807
|
GetDllLibPpt().ISlide_FindFirstTextAsRange.restype=c_void_p
|
|
@@ -756,8 +812,11 @@ class ISlide (SpireObject) :
|
|
|
756
812
|
@property
|
|
757
813
|
def OleObjects(self)->'OleObjectCollection':
|
|
758
814
|
"""
|
|
759
|
-
|
|
815
|
+
Gets OLE objects collection.
|
|
760
816
|
|
|
817
|
+
Returns:
|
|
818
|
+
OleObjectCollection: Collection of OLE objects.
|
|
819
|
+
"""
|
|
761
820
|
GetDllLibPpt().ISlide_get_OleObjects.argtypes=[c_void_p]
|
|
762
821
|
GetDllLibPpt().ISlide_get_OleObjects.restype=c_void_p
|
|
763
822
|
intPtr = CallCFunction(GetDllLibPpt().ISlide_get_OleObjects,self.Ptr)
|