spire-presentation 10.6.4__py3-none-win_amd64.whl → 10.8.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.8.1.dist-info}/METADATA +1 -1
- spire_presentation-10.8.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.8.1.dist-info}/WHEEL +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/top_level.txt +0 -0
|
@@ -8,16 +8,18 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeBevelStyle (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Contains properties defining 3D bevel effects for shapes.
|
|
12
|
+
|
|
13
|
+
This class controls the three-dimensional bevel effects applied to shapes,
|
|
14
|
+
including width, height, and style presets.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
def Width(self)->float:
|
|
17
18
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Get or set the bevel width.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
float: The current bevel width measurement.
|
|
21
23
|
"""
|
|
22
24
|
GetDllLibPpt().ShapeBevelStyle_get_Width.argtypes=[c_void_p]
|
|
23
25
|
GetDllLibPpt().ShapeBevelStyle_get_Width.restype=c_double
|
|
@@ -26,15 +28,22 @@ class ShapeBevelStyle (SpireObject) :
|
|
|
26
28
|
|
|
27
29
|
@Width.setter
|
|
28
30
|
def Width(self, value:float):
|
|
31
|
+
"""
|
|
32
|
+
Set the bevel width.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
value (float): The new width value to set.
|
|
36
|
+
"""
|
|
29
37
|
GetDllLibPpt().ShapeBevelStyle_set_Width.argtypes=[c_void_p, c_double]
|
|
30
38
|
CallCFunction(GetDllLibPpt().ShapeBevelStyle_set_Width,self.Ptr, value)
|
|
31
39
|
|
|
32
40
|
@property
|
|
33
41
|
def Height(self)->float:
|
|
34
42
|
"""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
43
|
+
Get or set the bevel height.
|
|
44
|
+
|
|
45
|
+
Returns:
|
|
46
|
+
float: The current bevel height measurement.
|
|
38
47
|
"""
|
|
39
48
|
GetDllLibPpt().ShapeBevelStyle_get_Height.argtypes=[c_void_p]
|
|
40
49
|
GetDllLibPpt().ShapeBevelStyle_get_Height.restype=c_double
|
|
@@ -43,6 +52,12 @@ class ShapeBevelStyle (SpireObject) :
|
|
|
43
52
|
|
|
44
53
|
@Height.setter
|
|
45
54
|
def Height(self, value:float):
|
|
55
|
+
"""
|
|
56
|
+
Set the bevel height.
|
|
57
|
+
|
|
58
|
+
Args:
|
|
59
|
+
value (float): The new height value to set.
|
|
60
|
+
"""
|
|
46
61
|
GetDllLibPpt().ShapeBevelStyle_set_Height.argtypes=[c_void_p, c_double]
|
|
47
62
|
CallCFunction(GetDllLibPpt().ShapeBevelStyle_set_Height,self.Ptr, value)
|
|
48
63
|
|
|
@@ -50,9 +65,10 @@ class ShapeBevelStyle (SpireObject) :
|
|
|
50
65
|
|
|
51
66
|
def PresetType(self)->'BevelPresetType':
|
|
52
67
|
"""
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
68
|
+
Get or set the bevel style type.
|
|
69
|
+
|
|
70
|
+
Returns:
|
|
71
|
+
BevelPresetType: The current bevel style preset.
|
|
56
72
|
"""
|
|
57
73
|
GetDllLibPpt().ShapeBevelStyle_get_PresetType.argtypes=[c_void_p]
|
|
58
74
|
GetDllLibPpt().ShapeBevelStyle_get_PresetType.restype=c_int
|
|
@@ -62,6 +78,12 @@ class ShapeBevelStyle (SpireObject) :
|
|
|
62
78
|
|
|
63
79
|
@PresetType.setter
|
|
64
80
|
def PresetType(self, value:'BevelPresetType'):
|
|
81
|
+
"""
|
|
82
|
+
Set the bevel style type.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
value (BevelPresetType): The new bevel preset type to apply.
|
|
86
|
+
"""
|
|
65
87
|
GetDllLibPpt().ShapeBevelStyle_set_PresetType.argtypes=[c_void_p, c_int]
|
|
66
88
|
CallCFunction(GetDllLibPpt().ShapeBevelStyle_set_PresetType,self.Ptr, value.value)
|
|
67
89
|
|
|
@@ -9,14 +9,18 @@ import abc
|
|
|
9
9
|
class ShapeCollection ( ShapeList) :
|
|
10
10
|
|
|
11
11
|
"""
|
|
12
|
-
|
|
13
|
-
Represents a collection of a shapes.
|
|
14
|
-
</summary>
|
|
12
|
+
Represents a collection of shapes in a presentation.
|
|
15
13
|
"""
|
|
16
14
|
|
|
17
15
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
18
16
|
"""
|
|
19
|
-
|
|
17
|
+
Determines if this collection is equal to another object.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
obj: The object to compare with this collection.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
bool: True if the objects are equal, False otherwise.
|
|
20
24
|
"""
|
|
21
25
|
intPtrobj:c_void_p = obj.Ptr
|
|
22
26
|
|
|
@@ -43,9 +47,10 @@ class ShapeCollection ( ShapeList) :
|
|
|
43
47
|
@property
|
|
44
48
|
def IsSynchronized(self)->bool:
|
|
45
49
|
"""
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
Indicates whether access to the collection is thread-safe.
|
|
51
|
+
|
|
52
|
+
Returns:
|
|
53
|
+
bool: True if access is synchronized, False otherwise.
|
|
49
54
|
"""
|
|
50
55
|
GetDllLibPpt().ShapeCollection_get_IsSynchronized.argtypes=[c_void_p]
|
|
51
56
|
GetDllLibPpt().ShapeCollection_get_IsSynchronized.restype=c_bool
|
|
@@ -56,10 +61,10 @@ class ShapeCollection ( ShapeList) :
|
|
|
56
61
|
|
|
57
62
|
def SyncRoot(self)->'SpireObject':
|
|
58
63
|
"""
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
Gets an object that can be used to synchronize access to the collection.
|
|
65
|
+
|
|
66
|
+
Returns:
|
|
67
|
+
SpireObject: An object used for synchronization.
|
|
63
68
|
"""
|
|
64
69
|
GetDllLibPpt().ShapeCollection_get_SyncRoot.argtypes=[c_void_p]
|
|
65
70
|
GetDllLibPpt().ShapeCollection_get_SyncRoot.restype=c_void_p
|
|
@@ -8,9 +8,16 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeElementFillSource(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Specifies how a shape element should be filled.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
NoFill: Element should not be filled.
|
|
15
|
+
Shape: Inherit fill from parent shape.
|
|
16
|
+
Lighten: Apply lightened fill effect.
|
|
17
|
+
LightenLess: Apply less lightened fill effect.
|
|
18
|
+
Darken: Apply darkened fill effect.
|
|
19
|
+
DarkenLess: Apply less darkened fill effect.
|
|
20
|
+
OwnFill: Use element's own fill properties.
|
|
14
21
|
"""
|
|
15
22
|
NoFill = 0
|
|
16
23
|
Shape = 1
|
|
@@ -8,9 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeElementStrokeSource(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Specifies how a shape element should be stroked.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
NoStroke: Element should not have an outline.
|
|
15
|
+
Shape: Inherit stroke from parent shape.
|
|
16
|
+
OwnStroke: Use element's own stroke properties.
|
|
14
17
|
"""
|
|
15
18
|
NoStroke = 0
|
|
16
19
|
Shape = 1
|
|
@@ -8,16 +8,20 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeLocking ( SimpleShapeBaseLocking) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Specifies locking properties for shapes.
|
|
12
|
+
|
|
13
|
+
Determines which operations are disabled on parent Autoshape elements,
|
|
14
|
+
particularly focusing on text editing restrictions.
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
def TextEditingProtection(self)->bool:
|
|
17
18
|
"""
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Gets or sets text editing restriction status.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
bool:
|
|
23
|
+
True = Editing text is disabled
|
|
24
|
+
False = Editing text is allowed
|
|
21
25
|
"""
|
|
22
26
|
GetDllLibPpt().ShapeLocking_get_TextEditingProtection.argtypes=[c_void_p]
|
|
23
27
|
GetDllLibPpt().ShapeLocking_get_TextEditingProtection.restype=c_bool
|
|
@@ -26,6 +30,14 @@ class ShapeLocking ( SimpleShapeBaseLocking) :
|
|
|
26
30
|
|
|
27
31
|
@TextEditingProtection.setter
|
|
28
32
|
def TextEditingProtection(self, value:bool):
|
|
33
|
+
"""
|
|
34
|
+
Sets text editing restriction status.
|
|
35
|
+
|
|
36
|
+
Args:
|
|
37
|
+
value (bool):
|
|
38
|
+
True to disable text editing
|
|
39
|
+
False to allow text editing
|
|
40
|
+
"""
|
|
29
41
|
GetDllLibPpt().ShapeLocking_set_TextEditingProtection.argtypes=[c_void_p, c_bool]
|
|
30
42
|
CallCFunction(GetDllLibPpt().ShapeLocking_set_TextEditingProtection,self.Ptr, value)
|
|
31
43
|
|
spire/presentation/ShapeNode.py
CHANGED
|
@@ -8,13 +8,19 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeNode ( Shape) :
|
|
10
10
|
"""
|
|
11
|
+
Represents a node shape in a presentation.
|
|
11
12
|
|
|
13
|
+
This class provides access to the styling, type, adjustment points,
|
|
14
|
+
and geometric properties of a node-based shape.
|
|
12
15
|
"""
|
|
13
16
|
@property
|
|
14
17
|
|
|
15
18
|
def ShapeStyle(self)->'ShapeStyle':
|
|
16
19
|
"""
|
|
20
|
+
Gets the style object for the shape.
|
|
17
21
|
|
|
22
|
+
Returns:
|
|
23
|
+
ShapeStyle: The style object defining visual properties of the shape.
|
|
18
24
|
"""
|
|
19
25
|
GetDllLibPpt().ShapeNode_get_ShapeStyle.argtypes=[c_void_p]
|
|
20
26
|
GetDllLibPpt().ShapeNode_get_ShapeStyle.restype=c_void_p
|
|
@@ -27,7 +33,10 @@ class ShapeNode ( Shape) :
|
|
|
27
33
|
|
|
28
34
|
def ShapeType(self)->'ShapeType':
|
|
29
35
|
"""
|
|
36
|
+
Gets or sets the geometric type of the shape.
|
|
30
37
|
|
|
38
|
+
Returns:
|
|
39
|
+
ShapeType: Enum value representing the shape's geometry type.
|
|
31
40
|
"""
|
|
32
41
|
GetDllLibPpt().ShapeNode_get_ShapeType.argtypes=[c_void_p]
|
|
33
42
|
GetDllLibPpt().ShapeNode_get_ShapeType.restype=c_int
|
|
@@ -44,7 +53,10 @@ class ShapeNode ( Shape) :
|
|
|
44
53
|
|
|
45
54
|
def Adjustments(self)->'ShapeAdjustCollection':
|
|
46
55
|
"""
|
|
56
|
+
Gets the collection of shape adjustment points.
|
|
47
57
|
|
|
58
|
+
Returns:
|
|
59
|
+
ShapeAdjustCollection: Collection of points that adjust the shape's geometry.
|
|
48
60
|
"""
|
|
49
61
|
GetDllLibPpt().ShapeNode_get_Adjustments.argtypes=[c_void_p]
|
|
50
62
|
GetDllLibPpt().ShapeNode_get_Adjustments.restype=c_void_p
|
|
@@ -56,7 +68,13 @@ class ShapeNode ( Shape) :
|
|
|
56
68
|
|
|
57
69
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
58
70
|
"""
|
|
71
|
+
Determines if this shape is equal to another object.
|
|
59
72
|
|
|
73
|
+
Args:
|
|
74
|
+
obj (SpireObject): The object to compare with.
|
|
75
|
+
|
|
76
|
+
Returns:
|
|
77
|
+
bool: True if objects are equal, False otherwise.
|
|
60
78
|
"""
|
|
61
79
|
intPtrobj:c_void_p = obj.Ptr
|
|
62
80
|
|
|
@@ -68,7 +86,10 @@ class ShapeNode ( Shape) :
|
|
|
68
86
|
@property
|
|
69
87
|
def Points(self)->List['PointF']:
|
|
70
88
|
"""
|
|
89
|
+
Gets the vertex points defining the shape's geometry.
|
|
71
90
|
|
|
91
|
+
Returns:
|
|
92
|
+
List[PointF]: Collection of points that make up the shape's outline.
|
|
72
93
|
"""
|
|
73
94
|
GetDllLibPpt().ShapeNode_get_Points.argtypes=[c_void_p]
|
|
74
95
|
GetDllLibPpt().ShapeNode_get_Points.restype=IntPtrArray
|
spire/presentation/ShapeStyle.py
CHANGED
|
@@ -8,18 +8,19 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents a shape's style reference.
|
|
12
|
+
|
|
13
|
+
Provides access to color formatting, style indexes, and presentation context
|
|
14
|
+
for various visual aspects of a shape (line, fill, effects, font).
|
|
14
15
|
"""
|
|
15
16
|
@property
|
|
16
17
|
|
|
17
18
|
def LineColor(self)->'ColorFormat':
|
|
18
19
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
Gets the outline color of the shape.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
ColorFormat: Read-only color format object for the shape's outline.
|
|
23
24
|
"""
|
|
24
25
|
GetDllLibPpt().ShapeStyle_get_LineColor.argtypes=[c_void_p]
|
|
25
26
|
GetDllLibPpt().ShapeStyle_get_LineColor.restype=c_void_p
|
|
@@ -32,9 +33,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
32
33
|
|
|
33
34
|
def LineStyleIndex(self)->'UInt16':
|
|
34
35
|
"""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
Gets or sets the line style index in the style matrix.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
UInt16: Column index of the line style in theme matrices.
|
|
38
40
|
"""
|
|
39
41
|
GetDllLibPpt().ShapeStyle_get_LineStyleIndex.argtypes=[c_void_p]
|
|
40
42
|
GetDllLibPpt().ShapeStyle_get_LineStyleIndex.restype=c_void_p
|
|
@@ -45,6 +47,12 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
45
47
|
|
|
46
48
|
@LineStyleIndex.setter
|
|
47
49
|
def LineStyleIndex(self, value:'UInt16'):
|
|
50
|
+
"""
|
|
51
|
+
Sets the line style index in the style matrix.
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
value (UInt16): New column index for line style.
|
|
55
|
+
"""
|
|
48
56
|
GetDllLibPpt().ShapeStyle_set_LineStyleIndex.argtypes=[c_void_p, c_void_p]
|
|
49
57
|
CallCFunction(GetDllLibPpt().ShapeStyle_set_LineStyleIndex,self.Ptr, value.Ptr)
|
|
50
58
|
|
|
@@ -52,10 +60,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
52
60
|
|
|
53
61
|
def FillColor(self)->'ColorFormat':
|
|
54
62
|
"""
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
63
|
+
Gets the fill color of the shape.
|
|
64
|
+
|
|
65
|
+
Returns:
|
|
66
|
+
ColorFormat: Read-only color format object for the shape's fill.
|
|
59
67
|
"""
|
|
60
68
|
GetDllLibPpt().ShapeStyle_get_FillColor.argtypes=[c_void_p]
|
|
61
69
|
GetDllLibPpt().ShapeStyle_get_FillColor.restype=c_void_p
|
|
@@ -68,12 +76,13 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
68
76
|
|
|
69
77
|
def FillStyleIndex(self)->'Int16':
|
|
70
78
|
"""
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
Gets or sets the fill style index in style matrices.
|
|
80
|
+
|
|
81
|
+
Returns:
|
|
82
|
+
Int16:
|
|
83
|
+
0 = No fill
|
|
84
|
+
Positive = Index in theme's fill styles
|
|
85
|
+
Negative = Index in theme's background styles
|
|
77
86
|
"""
|
|
78
87
|
GetDllLibPpt().ShapeStyle_get_FillStyleIndex.argtypes=[c_void_p]
|
|
79
88
|
GetDllLibPpt().ShapeStyle_get_FillStyleIndex.restype=c_void_p
|
|
@@ -91,10 +100,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
91
100
|
|
|
92
101
|
def EffectColor(self)->'ColorFormat':
|
|
93
102
|
"""
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
Gets the effect color of the shape.
|
|
104
|
+
|
|
105
|
+
Returns:
|
|
106
|
+
ColorFormat: Read-only color format object for shape effects.
|
|
98
107
|
"""
|
|
99
108
|
GetDllLibPpt().ShapeStyle_get_EffectColor.argtypes=[c_void_p]
|
|
100
109
|
GetDllLibPpt().ShapeStyle_get_EffectColor.restype=c_void_p
|
|
@@ -107,9 +116,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
107
116
|
|
|
108
117
|
def EffectStyleIndex(self)->'UInt32':
|
|
109
118
|
"""
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
119
|
+
Gets or sets the effect style index in the style matrix.
|
|
120
|
+
|
|
121
|
+
Returns:
|
|
122
|
+
UInt32: Column index of the effect style in theme matrices.
|
|
113
123
|
"""
|
|
114
124
|
GetDllLibPpt().ShapeStyle_get_EffectStyleIndex.argtypes=[c_void_p]
|
|
115
125
|
GetDllLibPpt().ShapeStyle_get_EffectStyleIndex.restype=c_void_p
|
|
@@ -127,10 +137,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
127
137
|
|
|
128
138
|
def FontColor(self)->'ColorFormat':
|
|
129
139
|
"""
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
140
|
+
Gets the font color of the shape.
|
|
141
|
+
|
|
142
|
+
Returns:
|
|
143
|
+
ColorFormat: Read-only color format object for text.
|
|
134
144
|
"""
|
|
135
145
|
GetDllLibPpt().ShapeStyle_get_FontColor.argtypes=[c_void_p]
|
|
136
146
|
GetDllLibPpt().ShapeStyle_get_FontColor.restype=c_void_p
|
|
@@ -143,10 +153,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
143
153
|
|
|
144
154
|
def FontCollectionIndex(self)->'FontCollectionIndex':
|
|
145
155
|
"""
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
156
|
+
Gets or sets the font index in the font collection.
|
|
157
|
+
|
|
158
|
+
Returns:
|
|
159
|
+
FontCollectionIndex: Index value in the presentation's font collection.
|
|
150
160
|
"""
|
|
151
161
|
GetDllLibPpt().ShapeStyle_get_FontCollectionIndex.argtypes=[c_void_p]
|
|
152
162
|
GetDllLibPpt().ShapeStyle_get_FontCollectionIndex.restype=c_int
|
|
@@ -162,7 +172,13 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
162
172
|
|
|
163
173
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
164
174
|
"""
|
|
175
|
+
Determines if this style is equal to another object.
|
|
176
|
+
|
|
177
|
+
Args:
|
|
178
|
+
obj (SpireObject): The object to compare with.
|
|
165
179
|
|
|
180
|
+
Returns:
|
|
181
|
+
bool: True if objects are equal, False otherwise.
|
|
166
182
|
"""
|
|
167
183
|
intPtrobj:c_void_p = obj.Ptr
|
|
168
184
|
|
|
@@ -175,10 +191,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
175
191
|
|
|
176
192
|
def Slide(self)->'ActiveSlide':
|
|
177
193
|
"""
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
194
|
+
Gets the parent slide of the shape style.
|
|
195
|
+
|
|
196
|
+
Returns:
|
|
197
|
+
ActiveSlide: Read-only reference to the parent slide.
|
|
182
198
|
"""
|
|
183
199
|
GetDllLibPpt().ShapeStyle_get_Slide.argtypes=[c_void_p]
|
|
184
200
|
GetDllLibPpt().ShapeStyle_get_Slide.restype=c_void_p
|
|
@@ -191,7 +207,10 @@ class ShapeStyle ( IActiveSlide, IActivePresentation) :
|
|
|
191
207
|
|
|
192
208
|
def Presentation(self)->'Presentation':
|
|
193
209
|
"""
|
|
210
|
+
Gets the parent presentation of the shape style.
|
|
194
211
|
|
|
212
|
+
Returns:
|
|
213
|
+
Presentation: Read-only reference to the parent presentation.
|
|
195
214
|
"""
|
|
196
215
|
GetDllLibPpt().ShapeStyle_get_Presentation.argtypes=[c_void_p]
|
|
197
216
|
GetDllLibPpt().ShapeStyle_get_Presentation.restype=c_void_p
|
|
@@ -8,15 +8,18 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ShapeThreeD (SpireObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
11
|
+
Represents 3D properties for a shape in a presentation.
|
|
12
|
+
|
|
13
|
+
This class allows control over various 3D effects including bevels,
|
|
14
|
+
extrusion, contour, and material properties.
|
|
12
15
|
"""
|
|
13
16
|
@property
|
|
14
17
|
def ContourWidth(self)->float:
|
|
15
18
|
"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
Gets or sets the width of the 3D contour.
|
|
20
|
+
|
|
21
|
+
Returns:
|
|
22
|
+
float: The contour width in points.
|
|
20
23
|
"""
|
|
21
24
|
GetDllLibPpt().ShapeThreeD_get_ContourWidth.argtypes=[c_void_p]
|
|
22
25
|
GetDllLibPpt().ShapeThreeD_get_ContourWidth.restype=c_double
|
|
@@ -25,16 +28,22 @@ class ShapeThreeD (SpireObject) :
|
|
|
25
28
|
|
|
26
29
|
@ContourWidth.setter
|
|
27
30
|
def ContourWidth(self, value:float):
|
|
31
|
+
"""
|
|
32
|
+
Sets the width of the 3D contour.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
value: Contour width in points.
|
|
36
|
+
"""
|
|
28
37
|
GetDllLibPpt().ShapeThreeD_set_ContourWidth.argtypes=[c_void_p, c_double]
|
|
29
38
|
CallCFunction(GetDllLibPpt().ShapeThreeD_set_ContourWidth,self.Ptr, value)
|
|
30
39
|
|
|
31
40
|
@property
|
|
32
41
|
def ExtrusionHeight(self)->float:
|
|
33
42
|
"""
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
43
|
+
Gets or sets the height of the extrusion effect.
|
|
44
|
+
|
|
45
|
+
Returns:
|
|
46
|
+
float: Extrusion height in points.
|
|
38
47
|
"""
|
|
39
48
|
GetDllLibPpt().ShapeThreeD_get_ExtrusionHeight.argtypes=[c_void_p]
|
|
40
49
|
GetDllLibPpt().ShapeThreeD_get_ExtrusionHeight.restype=c_double
|
|
@@ -43,16 +52,22 @@ class ShapeThreeD (SpireObject) :
|
|
|
43
52
|
|
|
44
53
|
@ExtrusionHeight.setter
|
|
45
54
|
def ExtrusionHeight(self, value:float):
|
|
55
|
+
"""
|
|
56
|
+
Sets the height of the extrusion effect.
|
|
57
|
+
|
|
58
|
+
Args:
|
|
59
|
+
value: Extrusion height in points.
|
|
60
|
+
"""
|
|
46
61
|
GetDllLibPpt().ShapeThreeD_set_ExtrusionHeight.argtypes=[c_void_p, c_double]
|
|
47
62
|
CallCFunction(GetDllLibPpt().ShapeThreeD_set_ExtrusionHeight,self.Ptr, value)
|
|
48
63
|
|
|
49
64
|
@property
|
|
50
65
|
def Depth(self)->float:
|
|
51
66
|
"""
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
67
|
+
Gets or sets the depth of the 3D shape.
|
|
68
|
+
|
|
69
|
+
Returns:
|
|
70
|
+
float: Shape depth in points.
|
|
56
71
|
"""
|
|
57
72
|
GetDllLibPpt().ShapeThreeD_get_Depth.argtypes=[c_void_p]
|
|
58
73
|
GetDllLibPpt().ShapeThreeD_get_Depth.restype=c_double
|
|
@@ -61,6 +76,12 @@ class ShapeThreeD (SpireObject) :
|
|
|
61
76
|
|
|
62
77
|
@Depth.setter
|
|
63
78
|
def Depth(self, value:float):
|
|
79
|
+
"""
|
|
80
|
+
Sets the depth of the 3D shape.
|
|
81
|
+
|
|
82
|
+
Args:
|
|
83
|
+
value: Shape depth in points.
|
|
84
|
+
"""
|
|
64
85
|
GetDllLibPpt().ShapeThreeD_set_Depth.argtypes=[c_void_p, c_double]
|
|
65
86
|
CallCFunction(GetDllLibPpt().ShapeThreeD_set_Depth,self.Ptr, value)
|
|
66
87
|
|
|
@@ -68,10 +89,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
68
89
|
|
|
69
90
|
def TopBevel(self)->'ShapeBevelStyle':
|
|
70
91
|
"""
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
92
|
+
Gets the top 3D bevel style (read-only).
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
ShapeBevelStyle: Top bevel configuration object.
|
|
75
96
|
"""
|
|
76
97
|
GetDllLibPpt().ShapeThreeD_get_TopBevel.argtypes=[c_void_p]
|
|
77
98
|
GetDllLibPpt().ShapeThreeD_get_TopBevel.restype=c_void_p
|
|
@@ -84,10 +105,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
84
105
|
|
|
85
106
|
def BottomBevel(self)->'ShapeBevelStyle':
|
|
86
107
|
"""
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
108
|
+
Gets the bottom 3D bevel style (read-only).
|
|
109
|
+
|
|
110
|
+
Returns:
|
|
111
|
+
ShapeBevelStyle: Bottom bevel configuration object.
|
|
91
112
|
"""
|
|
92
113
|
GetDllLibPpt().ShapeThreeD_get_BottomBevel.argtypes=[c_void_p]
|
|
93
114
|
GetDllLibPpt().ShapeThreeD_get_BottomBevel.restype=c_void_p
|
|
@@ -100,10 +121,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
100
121
|
|
|
101
122
|
def ContourColor(self)->'ColorFormat':
|
|
102
123
|
"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
124
|
+
Gets or sets the color of the contour.
|
|
125
|
+
|
|
126
|
+
Returns:
|
|
127
|
+
ColorFormat: Current contour color object.
|
|
107
128
|
"""
|
|
108
129
|
GetDllLibPpt().ShapeThreeD_get_ContourColor.argtypes=[c_void_p]
|
|
109
130
|
GetDllLibPpt().ShapeThreeD_get_ContourColor.restype=c_void_p
|
|
@@ -121,9 +142,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
121
142
|
|
|
122
143
|
def ExtrusionColor(self)->'ColorFormat':
|
|
123
144
|
"""
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
145
|
+
Gets or sets the color of the extrusion.
|
|
146
|
+
|
|
147
|
+
Returns:
|
|
148
|
+
ColorFormat: Current extrusion color object.
|
|
127
149
|
"""
|
|
128
150
|
GetDllLibPpt().ShapeThreeD_get_ExtrusionColor.argtypes=[c_void_p]
|
|
129
151
|
GetDllLibPpt().ShapeThreeD_get_ExtrusionColor.restype=c_void_p
|
|
@@ -141,10 +163,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
141
163
|
|
|
142
164
|
def BevelColorMode(self)->'BevelColorType':
|
|
143
165
|
"""
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
166
|
+
Gets or sets the color mode for 3D effects.
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
BevelColorType: Current bevel color mode.
|
|
148
170
|
"""
|
|
149
171
|
GetDllLibPpt().ShapeThreeD_get_BevelColorMode.argtypes=[c_void_p]
|
|
150
172
|
GetDllLibPpt().ShapeThreeD_get_BevelColorMode.restype=c_int
|
|
@@ -161,10 +183,10 @@ class ShapeThreeD (SpireObject) :
|
|
|
161
183
|
|
|
162
184
|
def PresetMaterial(self)->'PresetMaterialType':
|
|
163
185
|
"""
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
186
|
+
Gets or sets the material type for 3D effects.
|
|
187
|
+
|
|
188
|
+
Returns:
|
|
189
|
+
PresetMaterialType: Current material type.
|
|
168
190
|
"""
|
|
169
191
|
GetDllLibPpt().ShapeThreeD_get_PresetMaterial.argtypes=[c_void_p]
|
|
170
192
|
GetDllLibPpt().ShapeThreeD_get_PresetMaterial.restype=c_int
|