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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class GradientShapeType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Defines the geometric shape used for gradient fills.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none (-1): No gradient shape defined.
|
|
15
|
+
Linear (0): Gradient follows a straight line.
|
|
16
|
+
Rectangle (1): Gradient radiates from a rectangle's center.
|
|
17
|
+
Radial (2): Gradient radiates from a circular center point.
|
|
18
|
+
Path (3): Gradient follows a custom path shape.
|
|
19
|
+
"""
|
|
20
|
+
none = -1
|
|
21
|
+
Linear = 0
|
|
22
|
+
Rectangle = 1
|
|
23
|
+
Radial = 2
|
|
24
|
+
Path = 3
|
|
25
|
+
|
|
@@ -8,17 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class GradientStop (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
Represents a gradient stop.
|
|
13
|
-
</summary>
|
|
11
|
+
Represents a gradient stop point in a gradient fill.
|
|
14
12
|
"""
|
|
15
13
|
@property
|
|
16
14
|
def Position(self)->float:
|
|
17
15
|
"""
|
|
18
|
-
<summary>
|
|
19
16
|
Gets or sets the position (0..1) of a gradient stop.
|
|
20
|
-
Read/write <see cref="T:System.Single" />.
|
|
21
|
-
</summary>
|
|
22
17
|
"""
|
|
23
18
|
GetDllLibPpt().GradientStop_get_Position.argtypes=[c_void_p]
|
|
24
19
|
GetDllLibPpt().GradientStop_get_Position.restype=c_float
|
|
@@ -34,10 +29,7 @@ class GradientStop (SpireObject) :
|
|
|
34
29
|
|
|
35
30
|
def Color(self)->'ColorFormat':
|
|
36
31
|
"""
|
|
37
|
-
<summary>
|
|
38
32
|
Gets the color of a gradient stop.
|
|
39
|
-
Read-only <see cref="T:Spire.Presentation.Drawing.ColorFormat" />.
|
|
40
|
-
</summary>
|
|
41
33
|
"""
|
|
42
34
|
GetDllLibPpt().GradientStop_get_Color.argtypes=[c_void_p]
|
|
43
35
|
GetDllLibPpt().GradientStop_get_Color.restype=c_void_p
|
|
@@ -8,17 +8,13 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class GradientStopData (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
</summary>
|
|
11
|
+
Represents a gradient stop.
|
|
12
|
+
|
|
14
13
|
"""
|
|
15
14
|
@property
|
|
16
15
|
def Position(self)->float:
|
|
17
16
|
"""
|
|
18
|
-
<summary>
|
|
19
17
|
Gets the position (0..1) of a gradient stop.
|
|
20
|
-
Readonly <see cref="T:System.Single" />.
|
|
21
|
-
</summary>
|
|
22
18
|
"""
|
|
23
19
|
GetDllLibPpt().GradientStopData_get_Position.argtypes=[c_void_p]
|
|
24
20
|
GetDllLibPpt().GradientStopData_get_Position.restype=c_float
|
|
@@ -29,10 +25,7 @@ class GradientStopData (SpireObject) :
|
|
|
29
25
|
|
|
30
26
|
def Color(self)->'Color':
|
|
31
27
|
"""
|
|
32
|
-
<summary>
|
|
33
28
|
Gets the color of a gradient stop.
|
|
34
|
-
Read-only <see cref="T:Spire.Presentation.Drawing.ColorFormat" />.
|
|
35
|
-
</summary>
|
|
36
29
|
"""
|
|
37
30
|
GetDllLibPpt().GradientStopData_get_Color.argtypes=[c_void_p]
|
|
38
31
|
GetDllLibPpt().GradientStopData_get_Color.restype=c_void_p
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class GradientStyle(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Defines direction types for gradient fills.
|
|
12
|
+
Attributes:
|
|
13
|
+
none:No gradient applied.
|
|
14
|
+
FromCorner1:Gradient radiates from top-left corner.
|
|
15
|
+
FromCorner2:Gradient radiates from top-right corner.
|
|
16
|
+
FromCorner3:Gradient radiates from bottom-right corner.
|
|
17
|
+
FromCorner4:Gradient radiates from bottom-left corner.
|
|
18
|
+
FromCenter:Gradient radiates from center outward.
|
|
19
|
+
"""
|
|
20
|
+
none = -1
|
|
21
|
+
FromCorner1 = 0
|
|
22
|
+
FromCorner2 = 1
|
|
23
|
+
FromCorner3 = 2
|
|
24
|
+
FromCorner4 = 3
|
|
25
|
+
FromCenter = 4
|
|
26
|
+
|
|
@@ -7,32 +7,36 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class GraphicFrame (SpireObject) :
|
|
10
|
-
|
|
10
|
+
"""Represents shape frame's properties."""
|
|
11
11
|
@dispatch
|
|
12
12
|
def __init__(self):
|
|
13
|
+
"""Initializes a new instance of GraphicFrame with default values."""
|
|
13
14
|
GetDllLibPpt().GraphicFrame_Create_noagrs.restype = c_void_p
|
|
14
15
|
intPtr = CallCFunction(GetDllLibPpt().GraphicFrame_Create_noagrs)
|
|
15
16
|
super(GraphicFrame, self).__init__(intPtr)
|
|
16
17
|
|
|
17
18
|
@dispatch
|
|
18
19
|
def __init__(self,left:float,top:float,width:float,height:float,hflip:bool,vfilp:bool,rotation:float):
|
|
20
|
+
"""
|
|
21
|
+
Initializes a new instance of GraphicFrame with specified parameters.
|
|
22
|
+
|
|
23
|
+
Args:
|
|
24
|
+
left: X coordinate of upper-left corner
|
|
25
|
+
top: Y coordinate of upper-left corner
|
|
26
|
+
width: Frame width
|
|
27
|
+
height: Frame height
|
|
28
|
+
hflip: Horizontal flip status
|
|
29
|
+
vfilp: Vertical flip status
|
|
30
|
+
rotation: Rotation angle in degrees
|
|
31
|
+
"""
|
|
19
32
|
GetDllLibPpt().GraphicFrame_Create.argtypes=[c_float, c_float, c_float, c_float, c_bool, c_bool, c_float]
|
|
20
33
|
GetDllLibPpt().GraphicFrame_Create.restype = c_void_p
|
|
21
34
|
intPtr = CallCFunction(GetDllLibPpt().GraphicFrame_Create,left,top,width,height,hflip,vfilp,rotation)
|
|
22
35
|
super(GraphicFrame, self).__init__(intPtr)
|
|
23
|
-
|
|
24
|
-
<summary>
|
|
25
|
-
Represents shape frame's properties.
|
|
26
|
-
</summary>
|
|
27
|
-
"""
|
|
36
|
+
|
|
28
37
|
@property
|
|
29
38
|
def Left(self)->float:
|
|
30
|
-
"""
|
|
31
|
-
<summary>
|
|
32
|
-
Gets the X coordinate of the upper-left corner of a frame.
|
|
33
|
-
Read-only <see cref="T:System.Single" />.
|
|
34
|
-
</summary>
|
|
35
|
-
"""
|
|
39
|
+
"""Gets the X coordinate of the upper-left corner of a frame. Read-only."""
|
|
36
40
|
GetDllLibPpt().GraphicFrame_get_Left.argtypes=[c_void_p]
|
|
37
41
|
GetDllLibPpt().GraphicFrame_get_Left.restype=c_float
|
|
38
42
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_Left,self.Ptr)
|
|
@@ -40,12 +44,7 @@ class GraphicFrame (SpireObject) :
|
|
|
40
44
|
|
|
41
45
|
@property
|
|
42
46
|
def Top(self)->float:
|
|
43
|
-
"""
|
|
44
|
-
<summary>
|
|
45
|
-
Gets the Y coordinate of the upper-left corner of a frame.
|
|
46
|
-
Read-only <see cref="T:System.Single" />.
|
|
47
|
-
</summary>
|
|
48
|
-
"""
|
|
47
|
+
"""Gets the Y coordinate of the upper-left corner of a frame. Read-only."""
|
|
49
48
|
GetDllLibPpt().GraphicFrame_get_Top.argtypes=[c_void_p]
|
|
50
49
|
GetDllLibPpt().GraphicFrame_get_Top.restype=c_float
|
|
51
50
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_Top,self.Ptr)
|
|
@@ -53,12 +52,7 @@ class GraphicFrame (SpireObject) :
|
|
|
53
52
|
|
|
54
53
|
@property
|
|
55
54
|
def Width(self)->float:
|
|
56
|
-
"""
|
|
57
|
-
<summary>
|
|
58
|
-
Gets the width of a frame.
|
|
59
|
-
Read-only <see cref="T:System.Single" />.
|
|
60
|
-
</summary>
|
|
61
|
-
"""
|
|
55
|
+
"""Gets the width of a frame. Read-only."""
|
|
62
56
|
GetDllLibPpt().GraphicFrame_get_Width.argtypes=[c_void_p]
|
|
63
57
|
GetDllLibPpt().GraphicFrame_get_Width.restype=c_float
|
|
64
58
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_Width,self.Ptr)
|
|
@@ -71,12 +65,7 @@ class GraphicFrame (SpireObject) :
|
|
|
71
65
|
|
|
72
66
|
@property
|
|
73
67
|
def Height(self)->float:
|
|
74
|
-
"""
|
|
75
|
-
<summary>
|
|
76
|
-
Gets the height of a frame.
|
|
77
|
-
Read-only <see cref="T:System.Single" />.
|
|
78
|
-
</summary>
|
|
79
|
-
"""
|
|
68
|
+
"""Gets the height of a frame. Read-only."""
|
|
80
69
|
GetDllLibPpt().GraphicFrame_get_Height.argtypes=[c_void_p]
|
|
81
70
|
GetDllLibPpt().GraphicFrame_get_Height.restype=c_float
|
|
82
71
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_Height,self.Ptr)
|
|
@@ -84,12 +73,7 @@ class GraphicFrame (SpireObject) :
|
|
|
84
73
|
|
|
85
74
|
@property
|
|
86
75
|
def Rotation(self)->float:
|
|
87
|
-
"""
|
|
88
|
-
<summary>
|
|
89
|
-
Gets the number of degrees a frame is rotated around the z-axis.
|
|
90
|
-
Read-only <see cref="T:System.Single" />.
|
|
91
|
-
</summary>
|
|
92
|
-
"""
|
|
76
|
+
"""Gets the number of degrees a frame is rotated around the z-axis. Read-only."""
|
|
93
77
|
GetDllLibPpt().GraphicFrame_get_Rotation.argtypes=[c_void_p]
|
|
94
78
|
GetDllLibPpt().GraphicFrame_get_Rotation.restype=c_float
|
|
95
79
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_Rotation,self.Ptr)
|
|
@@ -97,17 +81,13 @@ class GraphicFrame (SpireObject) :
|
|
|
97
81
|
|
|
98
82
|
@Rotation.setter
|
|
99
83
|
def Rotation(self, value:float):
|
|
84
|
+
"""Sets the rotation angle around the z-axis in degrees."""
|
|
100
85
|
GetDllLibPpt().GraphicFrame_set_Rotation.argtypes=[c_void_p, c_float]
|
|
101
86
|
CallCFunction(GetDllLibPpt().GraphicFrame_set_Rotation,self.Ptr, value)
|
|
102
87
|
|
|
103
88
|
@property
|
|
104
89
|
def CenterX(self)->float:
|
|
105
|
-
"""
|
|
106
|
-
<summary>
|
|
107
|
-
Gets the X coordinate of a frame's center.
|
|
108
|
-
Read-only <see cref="T:System.Single" />.
|
|
109
|
-
</summary>
|
|
110
|
-
"""
|
|
90
|
+
"""Gets the X coordinate of a frame's center. Read-only."""
|
|
111
91
|
GetDllLibPpt().GraphicFrame_get_CenterX.argtypes=[c_void_p]
|
|
112
92
|
GetDllLibPpt().GraphicFrame_get_CenterX.restype=c_float
|
|
113
93
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_CenterX,self.Ptr)
|
|
@@ -115,12 +95,7 @@ class GraphicFrame (SpireObject) :
|
|
|
115
95
|
|
|
116
96
|
@property
|
|
117
97
|
def CenterY(self)->float:
|
|
118
|
-
"""
|
|
119
|
-
<summary>
|
|
120
|
-
Gets the Y coordinate of a frame's center.
|
|
121
|
-
Read-only <see cref="T:System.Single" />.
|
|
122
|
-
</summary>
|
|
123
|
-
"""
|
|
98
|
+
"""Gets the Y coordinate of a frame's center. Read-only."""
|
|
124
99
|
GetDllLibPpt().GraphicFrame_get_CenterY.argtypes=[c_void_p]
|
|
125
100
|
GetDllLibPpt().GraphicFrame_get_CenterY.restype=c_float
|
|
126
101
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_CenterY,self.Ptr)
|
|
@@ -128,12 +103,7 @@ class GraphicFrame (SpireObject) :
|
|
|
128
103
|
|
|
129
104
|
@property
|
|
130
105
|
def IsFlipX(self)->bool:
|
|
131
|
-
"""
|
|
132
|
-
<summary>
|
|
133
|
-
Indicates whether a frame is flipped horizontally.
|
|
134
|
-
Read-only <see cref="T:System.Boolean" />.
|
|
135
|
-
</summary>
|
|
136
|
-
"""
|
|
106
|
+
"""Indicates whether a frame is flipped horizontally. Read-only."""
|
|
137
107
|
GetDllLibPpt().GraphicFrame_get_IsFlipX.argtypes=[c_void_p]
|
|
138
108
|
GetDllLibPpt().GraphicFrame_get_IsFlipX.restype=c_bool
|
|
139
109
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_IsFlipX,self.Ptr)
|
|
@@ -146,12 +116,7 @@ class GraphicFrame (SpireObject) :
|
|
|
146
116
|
|
|
147
117
|
@property
|
|
148
118
|
def IsFlipY(self)->bool:
|
|
149
|
-
"""
|
|
150
|
-
<summary>
|
|
151
|
-
Indicates whether a frame is flipped vertically.
|
|
152
|
-
Read-only <see cref="T:System.Boolean" />.
|
|
153
|
-
</summary>
|
|
154
|
-
"""
|
|
119
|
+
"""Indicates whether a frame is flipped vertically. Read-only."""
|
|
155
120
|
GetDllLibPpt().GraphicFrame_get_IsFlipY.argtypes=[c_void_p]
|
|
156
121
|
GetDllLibPpt().GraphicFrame_get_IsFlipY.restype=c_bool
|
|
157
122
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_get_IsFlipY,self.Ptr)
|
|
@@ -165,12 +130,7 @@ class GraphicFrame (SpireObject) :
|
|
|
165
130
|
@property
|
|
166
131
|
|
|
167
132
|
def Rectangle(self)->'RectangleF':
|
|
168
|
-
"""
|
|
169
|
-
<summary>
|
|
170
|
-
Gets the coordinates of a frame.
|
|
171
|
-
Read-only <see cref="T:System.Drawing.RectangleF" />.
|
|
172
|
-
</summary>
|
|
173
|
-
"""
|
|
133
|
+
"""Gets the coordinates of a frame. Read-only."""
|
|
174
134
|
GetDllLibPpt().GraphicFrame_get_Rectangle.argtypes=[c_void_p]
|
|
175
135
|
GetDllLibPpt().GraphicFrame_get_Rectangle.restype=c_void_p
|
|
176
136
|
intPtr = CallCFunction(GetDllLibPpt().GraphicFrame_get_Rectangle,self.Ptr)
|
|
@@ -182,7 +142,13 @@ class GraphicFrame (SpireObject) :
|
|
|
182
142
|
|
|
183
143
|
def Equals(self ,obj:SpireObject)->bool:
|
|
184
144
|
"""
|
|
185
|
-
|
|
145
|
+
Determines whether the current GraphicFrame is equal to another object.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
obj (SpireObject): The object to compare with.
|
|
149
|
+
|
|
150
|
+
Returns:
|
|
151
|
+
bool: True if objects are equal, otherwise False.
|
|
186
152
|
"""
|
|
187
153
|
intPtrobj:c_void_p = obj.Ptr
|
|
188
154
|
|
|
@@ -195,7 +161,13 @@ class GraphicFrame (SpireObject) :
|
|
|
195
161
|
|
|
196
162
|
def Equals(self ,value:'GraphicFrame')->bool:
|
|
197
163
|
"""
|
|
198
|
-
|
|
164
|
+
Determines whether the current GraphicFrame is equal to another GraphicFrame.
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
value (GraphicFrame): The GraphicFrame to compare with.
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
bool: True if objects are equal, otherwise False.
|
|
199
171
|
"""
|
|
200
172
|
intPtrvalue:c_void_p = value.Ptr
|
|
201
173
|
|
|
@@ -205,11 +177,7 @@ class GraphicFrame (SpireObject) :
|
|
|
205
177
|
return ret
|
|
206
178
|
|
|
207
179
|
def GetHashCode(self)->int:
|
|
208
|
-
"""
|
|
209
|
-
<summary>
|
|
210
|
-
Gets a hash code for this object.
|
|
211
|
-
</summary>
|
|
212
|
-
"""
|
|
180
|
+
"""Gets a hash code for this object."""
|
|
213
181
|
GetDllLibPpt().GraphicFrame_GetHashCode.argtypes=[c_void_p]
|
|
214
182
|
GetDllLibPpt().GraphicFrame_GetHashCode.restype=c_int
|
|
215
183
|
ret = CallCFunction(GetDllLibPpt().GraphicFrame_GetHashCode,self.Ptr)
|
|
@@ -8,16 +8,16 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
</summary>
|
|
11
|
+
Represents locking settings for a GraphicalObject, disabling specific operations.
|
|
12
|
+
Inherits from BaseShapeLocking to extend shape protection capabilities.
|
|
14
13
|
"""
|
|
15
14
|
@property
|
|
16
15
|
def GroupingProtection(self)->bool:
|
|
17
16
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
Gets or sets whether adding this shape to a group is disallowed.
|
|
18
|
+
|
|
19
|
+
Returns:
|
|
20
|
+
bool: True if grouping is disallowed, False if allowed.
|
|
21
21
|
"""
|
|
22
22
|
GetDllLibPpt().GraphicalNodeLocking_get_GroupingProtection.argtypes=[c_void_p]
|
|
23
23
|
GetDllLibPpt().GraphicalNodeLocking_get_GroupingProtection.restype=c_bool
|
|
@@ -32,9 +32,10 @@ class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
|
32
32
|
@property
|
|
33
33
|
def DrilldownProtection(self)->bool:
|
|
34
34
|
"""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
Gets or sets whether selecting subshapes of this object is disallowed.
|
|
36
|
+
|
|
37
|
+
Returns:
|
|
38
|
+
bool: True if selecting subshapes is disallowed, False if allowed.
|
|
38
39
|
"""
|
|
39
40
|
GetDllLibPpt().GraphicalNodeLocking_get_DrilldownProtection.argtypes=[c_void_p]
|
|
40
41
|
GetDllLibPpt().GraphicalNodeLocking_get_DrilldownProtection.restype=c_bool
|
|
@@ -49,9 +50,10 @@ class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
|
49
50
|
@property
|
|
50
51
|
def SelectionProtection(self)->bool:
|
|
51
52
|
"""
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Gets or sets whether selecting this shape is disallowed.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
bool: True if selection is disallowed, False if allowed.
|
|
55
57
|
"""
|
|
56
58
|
GetDllLibPpt().GraphicalNodeLocking_get_SelectionProtection.argtypes=[c_void_p]
|
|
57
59
|
GetDllLibPpt().GraphicalNodeLocking_get_SelectionProtection.restype=c_bool
|
|
@@ -66,9 +68,10 @@ class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
|
66
68
|
@property
|
|
67
69
|
def AspectRatioProtection(self)->bool:
|
|
68
70
|
"""
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
Gets or sets whether the shape must preserve aspect ratio when resizing.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
bool: True if aspect ratio must be preserved, False if not required.
|
|
72
75
|
"""
|
|
73
76
|
GetDllLibPpt().GraphicalNodeLocking_get_AspectRatioProtection.argtypes=[c_void_p]
|
|
74
77
|
GetDllLibPpt().GraphicalNodeLocking_get_AspectRatioProtection.restype=c_bool
|
|
@@ -83,9 +86,10 @@ class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
|
83
86
|
@property
|
|
84
87
|
def PositionProtection(self)->bool:
|
|
85
88
|
"""
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
Gets or sets whether moving this shape is disallowed.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
bool: True if moving is disallowed, False if allowed.
|
|
89
93
|
"""
|
|
90
94
|
GetDllLibPpt().GraphicalNodeLocking_get_PositionProtection.argtypes=[c_void_p]
|
|
91
95
|
GetDllLibPpt().GraphicalNodeLocking_get_PositionProtection.restype=c_bool
|
|
@@ -100,9 +104,10 @@ class GraphicalNodeLocking ( BaseShapeLocking) :
|
|
|
100
104
|
@property
|
|
101
105
|
def ResizeProtection(self)->bool:
|
|
102
106
|
"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
Gets or sets whether resizing this shape is disallowed.
|
|
108
|
+
|
|
109
|
+
Returns:
|
|
110
|
+
bool: True if resizing is disallowed, False if allowed.
|
|
106
111
|
"""
|
|
107
112
|
GetDllLibPpt().GraphicalNodeLocking_get_ResizeProtection.argtypes=[c_void_p]
|
|
108
113
|
GetDllLibPpt().GraphicalNodeLocking_get_ResizeProtection.restype=c_bool
|
|
@@ -8,14 +8,14 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class IImageData (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Contains metadata and content for an image resource.
|
|
12
12
|
"""
|
|
13
13
|
def GetHashCode(self)->int:
|
|
14
14
|
"""
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
Generates a hash code for the image.
|
|
16
|
+
|
|
17
|
+
Returns:
|
|
18
|
+
int: Unique hash code representing the image.
|
|
19
19
|
"""
|
|
20
20
|
GetDllLibPpt().IImageData_GetHashCode.argtypes=[c_void_p]
|
|
21
21
|
GetDllLibPpt().IImageData_GetHashCode.restype=c_int
|
|
@@ -26,10 +26,7 @@ class IImageData (SpireObject) :
|
|
|
26
26
|
|
|
27
27
|
def ContentType(self)->str:
|
|
28
28
|
"""
|
|
29
|
-
|
|
30
|
-
Gets a MIME type of an image, encoded in <see cref="P:Spire.Presentation.Drawing.IImageData.Data" />.
|
|
31
|
-
Read-only <see cref="T:System.String" />.
|
|
32
|
-
</summary>
|
|
29
|
+
MIME type of the image data (read-only).
|
|
33
30
|
"""
|
|
34
31
|
GetDllLibPpt().IImageData_get_ContentType.argtypes=[c_void_p]
|
|
35
32
|
GetDllLibPpt().IImageData_get_ContentType.restype=c_void_p
|
|
@@ -57,10 +54,7 @@ class IImageData (SpireObject) :
|
|
|
57
54
|
|
|
58
55
|
def Image(self)->'Stream':
|
|
59
56
|
"""
|
|
60
|
-
<summary>
|
|
61
57
|
Gets the copy of an image.
|
|
62
|
-
Read-only <see cref="P:Spire.Presentation.Drawing.IImageData.Image" />.
|
|
63
|
-
</summary>
|
|
64
58
|
"""
|
|
65
59
|
GetDllLibPpt().IImageData_get_Image.argtypes=[c_void_p]
|
|
66
60
|
GetDllLibPpt().IImageData_get_Image.restype=c_void_p
|
|
@@ -72,10 +66,7 @@ class IImageData (SpireObject) :
|
|
|
72
66
|
@property
|
|
73
67
|
def Width(self)->int:
|
|
74
68
|
"""
|
|
75
|
-
<summary>
|
|
76
69
|
Gets a width of an image.
|
|
77
|
-
Read-only <see cref="T:System.Int32" />.
|
|
78
|
-
</summary>
|
|
79
70
|
"""
|
|
80
71
|
GetDllLibPpt().IImageData_get_Width.argtypes=[c_void_p]
|
|
81
72
|
GetDllLibPpt().IImageData_get_Width.restype=c_int
|
|
@@ -85,10 +76,7 @@ class IImageData (SpireObject) :
|
|
|
85
76
|
@property
|
|
86
77
|
def Height(self)->int:
|
|
87
78
|
"""
|
|
88
|
-
<summary>
|
|
89
79
|
Gets a height of an image.
|
|
90
|
-
Read-only <see cref="T:System.Int32" />.
|
|
91
|
-
</summary>
|
|
92
80
|
"""
|
|
93
81
|
GetDllLibPpt().IImageData_get_Height.argtypes=[c_void_p]
|
|
94
82
|
GetDllLibPpt().IImageData_get_Height.restype=c_int
|
|
@@ -98,10 +86,7 @@ class IImageData (SpireObject) :
|
|
|
98
86
|
@property
|
|
99
87
|
def X(self)->int:
|
|
100
88
|
"""
|
|
101
|
-
<summary>
|
|
102
89
|
Gets a X-offset of an image.
|
|
103
|
-
Read-only <see cref="T:System.Int32" />.
|
|
104
|
-
</summary>
|
|
105
90
|
"""
|
|
106
91
|
GetDllLibPpt().IImageData_get_X.argtypes=[c_void_p]
|
|
107
92
|
GetDllLibPpt().IImageData_get_X.restype=c_int
|
|
@@ -111,10 +96,7 @@ class IImageData (SpireObject) :
|
|
|
111
96
|
@property
|
|
112
97
|
def Y(self)->int:
|
|
113
98
|
"""
|
|
114
|
-
<summary>
|
|
115
99
|
Gets a Y-offset of an image.
|
|
116
|
-
Read-only <see cref="T:System.Int32" />.
|
|
117
|
-
</summary>
|
|
118
100
|
"""
|
|
119
101
|
GetDllLibPpt().IImageData_get_Y.argtypes=[c_void_p]
|
|
120
102
|
GetDllLibPpt().IImageData_get_Y.restype=c_int
|
|
@@ -8,17 +8,21 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents a collection of effects applied to an image.
|
|
12
|
+
|
|
13
|
+
This class provides functionality to manage image transformation effects such as
|
|
14
|
+
adding, removing, and accessing individual effects in a collection.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
def Count(self)->int:
|
|
17
18
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
Gets the number of image effects in the collection.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
None
|
|
23
|
+
|
|
24
|
+
Returns:
|
|
25
|
+
int: The number of image effects in the collection
|
|
22
26
|
"""
|
|
23
27
|
GetDllLibPpt().ImageTransform_get_Count.argtypes=[c_void_p]
|
|
24
28
|
GetDllLibPpt().ImageTransform_get_Count.restype=c_int
|
|
@@ -28,10 +32,10 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
28
32
|
|
|
29
33
|
def RemoveAt(self ,index:int):
|
|
30
34
|
"""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
Removes an image effect from the collection at the specified index.
|
|
36
|
+
|
|
37
|
+
Args:
|
|
38
|
+
index (int): Zero-based index of the effect to remove
|
|
35
39
|
"""
|
|
36
40
|
|
|
37
41
|
GetDllLibPpt().ImageTransform_RemoveAt.argtypes=[c_void_p ,c_int]
|
|
@@ -39,9 +43,7 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
39
43
|
|
|
40
44
|
def Clear(self):
|
|
41
45
|
"""
|
|
42
|
-
|
|
43
|
-
Removes all image effects from a collection.
|
|
44
|
-
</summary>
|
|
46
|
+
Removes all image effects from the collection.
|
|
45
47
|
"""
|
|
46
48
|
GetDllLibPpt().ImageTransform_Clear.argtypes=[c_void_p]
|
|
47
49
|
CallCFunction(GetDllLibPpt().ImageTransform_Clear,self.Ptr)
|
|
@@ -49,11 +51,13 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
49
51
|
|
|
50
52
|
def Add(self ,base:'ImageTransformBase')->int:
|
|
51
53
|
"""
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
Adds a new image effect to the end of the collection.
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
base (ImageTransformBase): The image effect to add
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
int: Index position where the effect was added
|
|
57
61
|
"""
|
|
58
62
|
intPtrbase:c_void_p = base.Ptr
|
|
59
63
|
|
|
@@ -65,10 +69,10 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
65
69
|
|
|
66
70
|
def GetEnumerator(self)->'IEnumerator':
|
|
67
71
|
"""
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
Gets an enumerator for iterating through the collection.
|
|
73
|
+
|
|
74
|
+
Returns:
|
|
75
|
+
IEnumerator: Enumerator for the collection
|
|
72
76
|
"""
|
|
73
77
|
GetDllLibPpt().ImageTransform_GetEnumerator.argtypes=[c_void_p]
|
|
74
78
|
GetDllLibPpt().ImageTransform_GetEnumerator.restype=c_void_p
|
|
@@ -80,11 +84,13 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
80
84
|
|
|
81
85
|
def get_Item(self ,index:int)->'ImageTransformBase':
|
|
82
86
|
"""
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
Gets an effect from the collection by its index.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
index (int): Zero-based index of the effect to retrieve
|
|
91
|
+
|
|
92
|
+
Returns:
|
|
93
|
+
ImageTransformBase: The effect at the specified index
|
|
88
94
|
"""
|
|
89
95
|
|
|
90
96
|
GetDllLibPpt().ImageTransform_get_Item.argtypes=[c_void_p ,c_int]
|
|
@@ -98,10 +104,10 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
98
104
|
|
|
99
105
|
def Slide(self)->'ActiveSlide':
|
|
100
106
|
"""
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
Gets the parent slide associated with this image effects collection.
|
|
108
|
+
|
|
109
|
+
Returns:
|
|
110
|
+
ActiveSlide: The parent slide object
|
|
105
111
|
"""
|
|
106
112
|
GetDllLibPpt().ImageTransform_get_Slide.argtypes=[c_void_p]
|
|
107
113
|
GetDllLibPpt().ImageTransform_get_Slide.restype=c_void_p
|
|
@@ -114,10 +120,10 @@ class ImageTransform ( IEnumerable, IActiveSlide, IActivePresentation) :
|
|
|
114
120
|
|
|
115
121
|
def Presentation(self)->'Presentation':
|
|
116
122
|
"""
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
Gets the parent presentation associated with this image effects collection.
|
|
124
|
+
|
|
125
|
+
Returns:
|
|
126
|
+
Presentation: The parent presentation object
|
|
121
127
|
"""
|
|
122
128
|
GetDllLibPpt().ImageTransform_get_Presentation.argtypes=[c_void_p]
|
|
123
129
|
GetDllLibPpt().ImageTransform_get_Presentation.restype=c_void_p
|