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/SlideList.py
CHANGED
|
@@ -9,16 +9,18 @@ import abc
|
|
|
9
9
|
class SlideList (SpireObject) :
|
|
10
10
|
|
|
11
11
|
"""
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
Represents a collection of slides in a presentation.
|
|
13
|
+
|
|
14
|
+
This class provides methods to manage slides, including adding, inserting,
|
|
15
|
+
removing, and rearranging slides.
|
|
15
16
|
"""
|
|
16
17
|
@property
|
|
17
18
|
def Count(self)->int:
|
|
18
19
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Gets the number of slides in the collection.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
int: The number of slides.
|
|
22
24
|
"""
|
|
23
25
|
GetDllLibPpt().SlideList_get_Count.argtypes=[c_void_p]
|
|
24
26
|
GetDllLibPpt().SlideList_get_Count.restype=c_int
|
|
@@ -27,6 +29,15 @@ class SlideList (SpireObject) :
|
|
|
27
29
|
|
|
28
30
|
#support x[]
|
|
29
31
|
def __getitem__(self, key):
|
|
32
|
+
"""
|
|
33
|
+
Gets a slide by index.
|
|
34
|
+
|
|
35
|
+
Args:
|
|
36
|
+
key (int): The zero-based index of the slide.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
ISlide: The slide at the specified index.
|
|
40
|
+
"""
|
|
30
41
|
if key >= self.Count:
|
|
31
42
|
raise StopIteration
|
|
32
43
|
GetDllLibPpt().SlideList_get_Item.argtypes=[c_void_p ,c_int]
|
|
@@ -37,10 +48,13 @@ class SlideList (SpireObject) :
|
|
|
37
48
|
|
|
38
49
|
def get_Item(self ,index:int)->'ISlide':
|
|
39
50
|
"""
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
Gets the slide at the specified index.
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
index (int): The zero-based index of the slide.
|
|
55
|
+
|
|
56
|
+
Returns:
|
|
57
|
+
ISlide: The slide at the specified index.
|
|
44
58
|
"""
|
|
45
59
|
|
|
46
60
|
GetDllLibPpt().SlideList_get_Item.argtypes=[c_void_p ,c_int]
|
|
@@ -54,10 +68,10 @@ class SlideList (SpireObject) :
|
|
|
54
68
|
|
|
55
69
|
def Append(self)->ISlide:
|
|
56
70
|
"""
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
71
|
+
Appends a new slide with default layout.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
ISlide: The newly created slide.
|
|
61
75
|
"""
|
|
62
76
|
GetDllLibPpt().SlideList_Append.argtypes=[c_void_p]
|
|
63
77
|
GetDllLibPpt().SlideList_Append.restype=c_void_p
|
|
@@ -70,7 +84,13 @@ class SlideList (SpireObject) :
|
|
|
70
84
|
|
|
71
85
|
def AppendByLayoutType(self ,templateType:SlideLayoutType):
|
|
72
86
|
"""
|
|
73
|
-
|
|
87
|
+
Appends a new slide with specified layout type.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
templateType (SlideLayoutType): The layout type for the new slide.
|
|
91
|
+
|
|
92
|
+
Returns:
|
|
93
|
+
ISlide: The newly created slide.
|
|
74
94
|
"""
|
|
75
95
|
enumtemplateType:c_int = templateType.value
|
|
76
96
|
|
|
@@ -85,9 +105,13 @@ class SlideList (SpireObject) :
|
|
|
85
105
|
|
|
86
106
|
def AppendBySlide(self ,slide:ISlide)->int:
|
|
87
107
|
"""
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
108
|
+
Appends an existing slide to the collection.
|
|
109
|
+
|
|
110
|
+
Args:
|
|
111
|
+
slide (ISlide): The slide to append.
|
|
112
|
+
|
|
113
|
+
Returns:
|
|
114
|
+
int: The index of the added slide.
|
|
91
115
|
"""
|
|
92
116
|
intPtrslide:c_void_p = slide.Ptr
|
|
93
117
|
|
|
@@ -100,9 +124,11 @@ class SlideList (SpireObject) :
|
|
|
100
124
|
|
|
101
125
|
def Insert(self ,index:int,slide:ISlide):
|
|
102
126
|
"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
127
|
+
Inserts a slide at the specified position.
|
|
128
|
+
|
|
129
|
+
Args:
|
|
130
|
+
index (int): The zero-based index at which to insert.
|
|
131
|
+
slide (ISlide): The slide to insert.
|
|
106
132
|
"""
|
|
107
133
|
intPtrslide:c_void_p = slide.Ptr
|
|
108
134
|
|
|
@@ -113,11 +139,13 @@ class SlideList (SpireObject) :
|
|
|
113
139
|
|
|
114
140
|
def Insert(self ,index:int)->ISlide:
|
|
115
141
|
"""
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
142
|
+
Inserts an empty slide at the specified position.
|
|
143
|
+
|
|
144
|
+
Args:
|
|
145
|
+
index (int): The zero-based index at which to insert.
|
|
146
|
+
|
|
147
|
+
Returns:
|
|
148
|
+
ISlide: The newly created slide.
|
|
121
149
|
"""
|
|
122
150
|
|
|
123
151
|
GetDllLibPpt().SlideList_InsertI.argtypes=[c_void_p ,c_int]
|
|
@@ -131,12 +159,14 @@ class SlideList (SpireObject) :
|
|
|
131
159
|
|
|
132
160
|
def InsertByLayoutType(self ,index:int,templateType:SlideLayoutType)->ISlide:
|
|
133
161
|
"""
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
162
|
+
Inserts a slide with specified layout type at the specified position.
|
|
163
|
+
|
|
164
|
+
Args:
|
|
165
|
+
index (int): The zero-based index at which to insert.
|
|
166
|
+
templateType (SlideLayoutType): The layout type for the new slide.
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
ISlide: The newly created slide.
|
|
140
170
|
"""
|
|
141
171
|
enumtemplateType:c_int = templateType.value
|
|
142
172
|
|
|
@@ -151,7 +181,14 @@ class SlideList (SpireObject) :
|
|
|
151
181
|
|
|
152
182
|
def Append(self ,slide:ISlide,layout:ILayout)->int:
|
|
153
183
|
"""
|
|
154
|
-
|
|
184
|
+
Appends a slide with a specific layout.
|
|
185
|
+
|
|
186
|
+
Args:
|
|
187
|
+
slide (ISlide): The slide to append.
|
|
188
|
+
layout (ILayout): The layout to apply.
|
|
189
|
+
|
|
190
|
+
Returns:
|
|
191
|
+
int: The index of the added slide.
|
|
155
192
|
"""
|
|
156
193
|
intPtrslide:c_void_p = slide.Ptr
|
|
157
194
|
intPtrlayout:c_void_p = layout.Ptr
|
|
@@ -165,7 +202,14 @@ class SlideList (SpireObject) :
|
|
|
165
202
|
|
|
166
203
|
def Insert(self ,index:int,slide:ISlide,layout:ILayout):
|
|
167
204
|
"""
|
|
168
|
-
|
|
205
|
+
Inserts a slide with specified layout type at the specified position.
|
|
206
|
+
|
|
207
|
+
Args:
|
|
208
|
+
index (int): The zero-based index at which to insert.
|
|
209
|
+
templateType (SlideLayoutType): The layout type for the new slide.
|
|
210
|
+
|
|
211
|
+
Returns:
|
|
212
|
+
ISlide: The newly created slide.
|
|
169
213
|
"""
|
|
170
214
|
intPtrslide:c_void_p = slide.Ptr
|
|
171
215
|
intPtrlayout:c_void_p = layout.Ptr
|
|
@@ -193,9 +237,14 @@ class SlideList (SpireObject) :
|
|
|
193
237
|
|
|
194
238
|
def InsertByMaster(self ,index:int,slide:ISlide,master:IMasterSlide):
|
|
195
239
|
"""
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
240
|
+
Appends a slide with a specific master slide.
|
|
241
|
+
|
|
242
|
+
Args:
|
|
243
|
+
slide (ISlide): The slide to append.
|
|
244
|
+
master (IMasterSlide): The master slide to apply.
|
|
245
|
+
|
|
246
|
+
Returns:
|
|
247
|
+
int: The index of the added slide.
|
|
199
248
|
"""
|
|
200
249
|
intPtrslide:c_void_p = slide.Ptr
|
|
201
250
|
intPtrmaster:c_void_p = master.Ptr
|
|
@@ -206,10 +255,10 @@ class SlideList (SpireObject) :
|
|
|
206
255
|
|
|
207
256
|
def Remove(self ,value:'ISlide'):
|
|
208
257
|
"""
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
258
|
+
Removes the first occurrence of a specific slide.
|
|
259
|
+
|
|
260
|
+
Args:
|
|
261
|
+
value (ISlide): The slide to remove.
|
|
213
262
|
"""
|
|
214
263
|
intPtrvalue:c_void_p = value.Ptr
|
|
215
264
|
|
|
@@ -219,10 +268,10 @@ class SlideList (SpireObject) :
|
|
|
219
268
|
|
|
220
269
|
def RemoveAt(self ,index:int):
|
|
221
270
|
"""
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
271
|
+
Removes the slide at the specified index.
|
|
272
|
+
|
|
273
|
+
Args:
|
|
274
|
+
index (int): The zero-based index of the slide to remove.
|
|
226
275
|
"""
|
|
227
276
|
|
|
228
277
|
GetDllLibPpt().SlideList_RemoveAt.argtypes=[c_void_p ,c_int]
|
|
@@ -231,10 +280,10 @@ class SlideList (SpireObject) :
|
|
|
231
280
|
|
|
232
281
|
def GetEnumerator(self)->'IEnumerator':
|
|
233
282
|
"""
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
283
|
+
Gets an enumerator to iterate through the collection.
|
|
284
|
+
|
|
285
|
+
Returns:
|
|
286
|
+
IEnumerator: An enumerator for the collection.
|
|
238
287
|
"""
|
|
239
288
|
GetDllLibPpt().SlideList_GetEnumerator.argtypes=[c_void_p]
|
|
240
289
|
GetDllLibPpt().SlideList_GetEnumerator.restype=c_void_p
|
|
@@ -276,11 +325,11 @@ class SlideList (SpireObject) :
|
|
|
276
325
|
|
|
277
326
|
def Move(self ,newIndex:int,OldIndex:int):
|
|
278
327
|
"""
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
328
|
+
Moves a slide from one position to another.
|
|
329
|
+
|
|
330
|
+
Args:
|
|
331
|
+
newIndex (int): The target index position.
|
|
332
|
+
OldIndex (int): The current index position of the slide.
|
|
284
333
|
"""
|
|
285
334
|
|
|
286
335
|
GetDllLibPpt().SlideList_Move.argtypes=[c_void_p ,c_int,c_int]
|
|
@@ -289,7 +338,13 @@ class SlideList (SpireObject) :
|
|
|
289
338
|
|
|
290
339
|
def IndexOf(self ,slide:'ISlide')->int:
|
|
291
340
|
"""
|
|
292
|
-
|
|
341
|
+
Gets the index of a specific slide.
|
|
342
|
+
|
|
343
|
+
Args:
|
|
344
|
+
slide (ISlide): The slide to locate.
|
|
345
|
+
|
|
346
|
+
Returns:
|
|
347
|
+
int: The zero-based index of the slide, or -1 if not found.
|
|
293
348
|
"""
|
|
294
349
|
intPtrslide:c_void_p = slide.Ptr
|
|
295
350
|
|
|
@@ -8,9 +8,11 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlideOrienation(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents the slide orientation.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
Landscape: Landscape orientation (value = 0)
|
|
15
|
+
Portrait: Portrait orientation (value = 1)
|
|
14
16
|
"""
|
|
15
17
|
Landscape = 0
|
|
16
18
|
Portrait = 1
|
|
@@ -8,13 +8,16 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlidePicture ( ShapeNode, IEmbedImage) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Represents a picture in a slide.
|
|
12
12
|
"""
|
|
13
13
|
@property
|
|
14
14
|
|
|
15
15
|
def ShapeLocking(self)->'SlidePictureLocking':
|
|
16
16
|
"""
|
|
17
|
+
Get the shape locking settings.
|
|
17
18
|
|
|
19
|
+
Returns:
|
|
20
|
+
SlidePictureLocking: The locking settings for the picture.
|
|
18
21
|
"""
|
|
19
22
|
GetDllLibPpt().SlidePicture_get_ShapeLocking.argtypes=[c_void_p]
|
|
20
23
|
GetDllLibPpt().SlidePicture_get_ShapeLocking.restype=c_void_p
|
|
@@ -27,7 +30,10 @@ class SlidePicture ( ShapeNode, IEmbedImage) :
|
|
|
27
30
|
|
|
28
31
|
def ShapeType(self)->'ShapeType':
|
|
29
32
|
"""
|
|
33
|
+
Get the type of the shape.
|
|
30
34
|
|
|
35
|
+
Returns:
|
|
36
|
+
ShapeType: The current shape type.
|
|
31
37
|
"""
|
|
32
38
|
GetDllLibPpt().SlidePicture_get_ShapeType.argtypes=[c_void_p]
|
|
33
39
|
GetDllLibPpt().SlidePicture_get_ShapeType.restype=c_int
|
|
@@ -43,12 +49,10 @@ class SlidePicture ( ShapeNode, IEmbedImage) :
|
|
|
43
49
|
@property
|
|
44
50
|
def IsCropped(self)->bool:
|
|
45
51
|
"""
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
If the picture is cropped,the value is "true",otherwise the value is "false"
|
|
51
|
-
,the default value is "false".</returns>
|
|
52
|
+
Determine if the picture is cropped.
|
|
53
|
+
|
|
54
|
+
Returns:
|
|
55
|
+
bool: True if the picture is cropped, False otherwise.
|
|
52
56
|
"""
|
|
53
57
|
GetDllLibPpt().SlidePicture_get_IsCropped.argtypes=[c_void_p]
|
|
54
58
|
GetDllLibPpt().SlidePicture_get_IsCropped.restype=c_bool
|
|
@@ -59,7 +63,10 @@ class SlidePicture ( ShapeNode, IEmbedImage) :
|
|
|
59
63
|
|
|
60
64
|
def PictureFill(self)->'PictureFillFormat':
|
|
61
65
|
"""
|
|
66
|
+
Get the picture fill format.
|
|
62
67
|
|
|
68
|
+
Returns:
|
|
69
|
+
PictureFillFormat: The fill format of the picture.
|
|
63
70
|
"""
|
|
64
71
|
GetDllLibPpt().SlidePicture_get_PictureFill.argtypes=[c_void_p]
|
|
65
72
|
GetDllLibPpt().SlidePicture_get_PictureFill.restype=c_void_p
|
|
@@ -69,24 +76,20 @@ class SlidePicture ( ShapeNode, IEmbedImage) :
|
|
|
69
76
|
|
|
70
77
|
|
|
71
78
|
def PictureAdjust(self):
|
|
72
|
-
"""
|
|
73
|
-
<summary>
|
|
74
|
-
Adjust the picture of slide
|
|
75
|
-
</summary>
|
|
76
|
-
"""
|
|
79
|
+
"""Adjust the picture of the slide."""
|
|
77
80
|
GetDllLibPpt().SlidePicture_PictureAdjust.argtypes=[c_void_p]
|
|
78
81
|
CallCFunction(GetDllLibPpt().SlidePicture_PictureAdjust,self.Ptr)
|
|
79
82
|
|
|
80
83
|
|
|
81
84
|
def Crop(self ,x:float,y:float,width:float,height:float):
|
|
82
85
|
"""
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
Crop the picture of the slide.
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
x: The x-coordinate for cropping.
|
|
90
|
+
y: The y-coordinate for cropping.
|
|
91
|
+
width: The width of the cropped area.
|
|
92
|
+
height: The height of the cropped area.
|
|
90
93
|
"""
|
|
91
94
|
|
|
92
95
|
GetDllLibPpt().SlidePicture_Crop.argtypes=[c_void_p ,c_float,c_float,c_float,c_float]
|
|
@@ -8,16 +8,18 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlidePictureLocking ( SimpleShapeBaseLocking) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Indicates which operations are disabled on the parent PictureFrame.
|
|
12
|
+
|
|
13
|
+
Properties:
|
|
14
|
+
CropProtection: Indicates whether image cropping is forbidden.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
def CropProtection(self)->bool:
|
|
17
18
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Get whether image cropping is forbidden.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
bool: True if cropping is forbidden, False otherwise.
|
|
21
23
|
"""
|
|
22
24
|
GetDllLibPpt().SlidePictureLocking_get_CropProtection.argtypes=[c_void_p]
|
|
23
25
|
GetDllLibPpt().SlidePictureLocking_get_CropProtection.restype=c_bool
|
|
@@ -26,6 +28,12 @@ class SlidePictureLocking ( SimpleShapeBaseLocking) :
|
|
|
26
28
|
|
|
27
29
|
@CropProtection.setter
|
|
28
30
|
def CropProtection(self, value:bool):
|
|
31
|
+
"""
|
|
32
|
+
Set whether image cropping is forbidden.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
value: True to forbid cropping, False to allow it.
|
|
36
|
+
"""
|
|
29
37
|
GetDllLibPpt().SlidePictureLocking_set_CropProtection.argtypes=[c_void_p, c_bool]
|
|
30
38
|
CallCFunction(GetDllLibPpt().SlidePictureLocking_set_CropProtection,self.Ptr, value)
|
|
31
39
|
|
|
@@ -8,7 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlideShowType(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Specifies the presentation display mode for slide shows.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
Present: Standard presentation mode (value: 0)
|
|
15
|
+
Browse: Browsing mode (value: 1)
|
|
16
|
+
Kiosk: Self-running kiosk mode (value: 2)
|
|
12
17
|
"""
|
|
13
18
|
Present = 0
|
|
14
19
|
Browse = 1
|
spire/presentation/SlideSize.py
CHANGED
|
@@ -8,18 +8,19 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlideSize (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Manages dimensions and orientation of presentation slides.
|
|
12
|
+
|
|
13
|
+
This class handles both the physical size and display characteristics
|
|
14
|
+
of slides in various measurement units and orientations.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
|
|
17
18
|
def Size(self)->'SizeF':
|
|
18
19
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
Gets or sets slide dimensions in points.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
SizeF: Current size in points.
|
|
23
24
|
"""
|
|
24
25
|
GetDllLibPpt().SlideSize_get_Size.argtypes=[c_void_p]
|
|
25
26
|
GetDllLibPpt().SlideSize_get_Size.restype=c_void_p
|
|
@@ -30,6 +31,12 @@ class SlideSize (SpireObject) :
|
|
|
30
31
|
|
|
31
32
|
@Size.setter
|
|
32
33
|
def Size(self, value:'SizeF'):
|
|
34
|
+
"""
|
|
35
|
+
Sets slide dimensions in points.
|
|
36
|
+
|
|
37
|
+
Args:
|
|
38
|
+
value (SizeF): New size in points.
|
|
39
|
+
"""
|
|
33
40
|
GetDllLibPpt().SlideSize_set_Size.argtypes=[c_void_p, c_void_p]
|
|
34
41
|
CallCFunction(GetDllLibPpt().SlideSize_set_Size,self.Ptr, value.Ptr)
|
|
35
42
|
|
|
@@ -37,10 +44,10 @@ class SlideSize (SpireObject) :
|
|
|
37
44
|
|
|
38
45
|
def SizeOfPx(self)->'SizeF':
|
|
39
46
|
"""
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
Gets or sets slide dimensions in pixels.
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
SizeF: Current size in pixels.
|
|
44
51
|
"""
|
|
45
52
|
GetDllLibPpt().SlideSize_get_SizeOfPx.argtypes=[c_void_p]
|
|
46
53
|
GetDllLibPpt().SlideSize_get_SizeOfPx.restype=c_void_p
|
|
@@ -51,6 +58,12 @@ class SlideSize (SpireObject) :
|
|
|
51
58
|
|
|
52
59
|
@SizeOfPx.setter
|
|
53
60
|
def SizeOfPx(self, value:'SizeF'):
|
|
61
|
+
"""
|
|
62
|
+
Sets slide dimensions in pixels.
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
value (SizeF): New size in pixels.
|
|
66
|
+
"""
|
|
54
67
|
GetDllLibPpt().SlideSize_set_SizeOfPx.argtypes=[c_void_p, c_void_p]
|
|
55
68
|
CallCFunction(GetDllLibPpt().SlideSize_set_SizeOfPx,self.Ptr, value.Ptr)
|
|
56
69
|
|
|
@@ -58,10 +71,10 @@ class SlideSize (SpireObject) :
|
|
|
58
71
|
|
|
59
72
|
def Type(self)->'SlideSizeType':
|
|
60
73
|
"""
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
74
|
+
Gets or sets the size classification type.
|
|
75
|
+
|
|
76
|
+
Returns:
|
|
77
|
+
SlideSizeType: Standard size category.
|
|
65
78
|
"""
|
|
66
79
|
GetDllLibPpt().SlideSize_get_Type.argtypes=[c_void_p]
|
|
67
80
|
GetDllLibPpt().SlideSize_get_Type.restype=c_int
|
|
@@ -71,6 +84,12 @@ class SlideSize (SpireObject) :
|
|
|
71
84
|
|
|
72
85
|
@Type.setter
|
|
73
86
|
def Type(self, value:'SlideSizeType'):
|
|
87
|
+
"""
|
|
88
|
+
Sets the size classification type.
|
|
89
|
+
|
|
90
|
+
Args:
|
|
91
|
+
value (SlideSizeType): New size category.
|
|
92
|
+
"""
|
|
74
93
|
GetDllLibPpt().SlideSize_set_Type.argtypes=[c_void_p, c_int]
|
|
75
94
|
CallCFunction(GetDllLibPpt().SlideSize_set_Type,self.Ptr, value.value)
|
|
76
95
|
|
|
@@ -78,10 +97,10 @@ class SlideSize (SpireObject) :
|
|
|
78
97
|
|
|
79
98
|
def Orientation(self)->'SlideOrienation':
|
|
80
99
|
"""
|
|
81
|
-
<summary>
|
|
82
100
|
Gets or sets the slide orientation.
|
|
83
|
-
|
|
84
|
-
|
|
101
|
+
|
|
102
|
+
Returns:
|
|
103
|
+
SlideOrienation: Current orientation (Landscape/Portrait).
|
|
85
104
|
"""
|
|
86
105
|
GetDllLibPpt().SlideSize_get_Orientation.argtypes=[c_void_p]
|
|
87
106
|
GetDllLibPpt().SlideSize_get_Orientation.restype=c_int
|
|
@@ -91,6 +110,12 @@ class SlideSize (SpireObject) :
|
|
|
91
110
|
|
|
92
111
|
@Orientation.setter
|
|
93
112
|
def Orientation(self, value:'SlideOrienation'):
|
|
113
|
+
"""
|
|
114
|
+
Sets the slide orientation.
|
|
115
|
+
|
|
116
|
+
Args:
|
|
117
|
+
value (SlideOrienation): New orientation to apply.
|
|
118
|
+
"""
|
|
94
119
|
GetDllLibPpt().SlideSize_set_Orientation.argtypes=[c_void_p, c_int]
|
|
95
120
|
CallCFunction(GetDllLibPpt().SlideSize_set_Orientation,self.Ptr, value.value)
|
|
96
121
|
|
|
@@ -8,9 +8,26 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SlideSizeType(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Enumerates different standard slide size presets used in presentations.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No predefined size
|
|
15
|
+
Screen4x3: Standard screen aspect ratio (4:3)
|
|
16
|
+
Letter: US Letter paper size (8.5 x 11 inches)
|
|
17
|
+
A4: ISO A4 paper size (210 x 297 mm)
|
|
18
|
+
Film35mm: Standard 35mm film frame size
|
|
19
|
+
Overhead: Overhead projector slide size
|
|
20
|
+
Banner: Banner/poster format
|
|
21
|
+
Custom: Custom-sized slides
|
|
22
|
+
Ledger: Ledger/tabloid paper size (11 x 17 inches)
|
|
23
|
+
A3: ISO A3 paper size (297 x 420 mm)
|
|
24
|
+
B4ISO: ISO B4 paper size (250 x 353 mm)
|
|
25
|
+
B5ISO: ISO B5 paper size (176 x 250 mm)
|
|
26
|
+
B4JIS: JIS B4 paper size (257 x 364 mm)
|
|
27
|
+
B5JIS: JIS B5 paper size (182 x 257 mm)
|
|
28
|
+
HagakiCard: Japanese postcard size (100 x 148 mm)
|
|
29
|
+
Screen16x9: Widescreen aspect ratio (16:9)
|
|
30
|
+
Screen16x10: Alternate widescreen aspect ratio (16:10)
|
|
14
31
|
"""
|
|
15
32
|
none = -1
|
|
16
33
|
Screen4x3 = 0
|
|
@@ -8,9 +8,9 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class SystemColorType(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents predefined system colors.
|
|
12
|
+
|
|
13
|
+
Enumerates various system-defined color types used in UI elements.
|
|
14
14
|
"""
|
|
15
15
|
none = -1
|
|
16
16
|
ScrollBar = 0
|
spire/presentation/TabData.py
CHANGED
|
@@ -8,18 +8,15 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class TabData (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
Represents a text's tabulation stop.
|
|
13
|
-
</summary>
|
|
11
|
+
Represents a text's tabulation stop.
|
|
14
12
|
"""
|
|
15
13
|
@property
|
|
16
14
|
def Position(self)->float:
|
|
17
15
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</summary>
|
|
16
|
+
Gets or sets the tab position.
|
|
17
|
+
|
|
18
|
+
Returns:
|
|
19
|
+
float: The position of the tab.
|
|
23
20
|
"""
|
|
24
21
|
GetDllLibPpt().TabData_get_Position.argtypes=[c_void_p]
|
|
25
22
|
GetDllLibPpt().TabData_get_Position.restype=c_double
|
|
@@ -30,10 +27,10 @@ class TabData (SpireObject) :
|
|
|
30
27
|
|
|
31
28
|
def Alignment(self)->'TabAlignmentType':
|
|
32
29
|
"""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
Gets or sets the alignment style of the tab.
|
|
31
|
+
|
|
32
|
+
Returns:
|
|
33
|
+
TabAlignmentType: The alignment type of the tab.
|
|
37
34
|
"""
|
|
38
35
|
GetDllLibPpt().TabData_get_Alignment.argtypes=[c_void_p]
|
|
39
36
|
GetDllLibPpt().TabData_get_Alignment.restype=c_int
|
|
@@ -44,13 +41,16 @@ class TabData (SpireObject) :
|
|
|
44
41
|
|
|
45
42
|
def CompareTo(self ,obj:'SpireObject')->int:
|
|
46
43
|
"""
|
|
47
|
-
<summary>
|
|
48
44
|
Compares the current instance with another object of the same type.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
|
|
46
|
+
Args:
|
|
47
|
+
obj (SpireObject): An object to compare with this instance.
|
|
48
|
+
|
|
49
|
+
Returns:
|
|
50
|
+
int: A 32-bit integer that indicates the relative order of the comparands:
|
|
51
|
+
- < 0 : This instance is less than obj
|
|
52
|
+
- = 0 : This instance is equal to obj
|
|
53
|
+
- > 0 : This instance is greater than obj
|
|
54
54
|
"""
|
|
55
55
|
intPtrobj:c_void_p = obj.Ptr
|
|
56
56
|
|