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,39 @@
|
|
|
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 BlackWhiteMode(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Specifies color transformation modes to black and white.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none (int): No transformation. Value: -1.
|
|
15
|
+
Color (int): Retain original colors. Value: 0.
|
|
16
|
+
Auto (int): Automatic transformation. Value: 1.
|
|
17
|
+
Gray (int): Gray scale transformation. Value: 2.
|
|
18
|
+
LightGray (int): Light gray transformation. Value: 3.
|
|
19
|
+
InverseGray (int): Inverse gray transformation. Value: 4.
|
|
20
|
+
GrayWhite (int): Gray and white transformation. Value: 5.
|
|
21
|
+
BlackGray (int): Black and gray transformation. Value: 6.
|
|
22
|
+
BlackWhite (int): Black and white transformation. Value: 7.
|
|
23
|
+
Black (int): Pure black transformation. Value: 8.
|
|
24
|
+
White (int): Pure white transformation. Value: 9.
|
|
25
|
+
Hidden (int): Hide the shape. Value: 10.
|
|
26
|
+
"""
|
|
27
|
+
none = -1
|
|
28
|
+
Color = 0
|
|
29
|
+
Auto = 1
|
|
30
|
+
Gray = 2
|
|
31
|
+
LightGray = 3
|
|
32
|
+
InverseGray = 4
|
|
33
|
+
GrayWhite = 5
|
|
34
|
+
BlackGray = 6
|
|
35
|
+
BlackWhite = 7
|
|
36
|
+
Black = 8
|
|
37
|
+
White = 9
|
|
38
|
+
Hidden = 10
|
|
39
|
+
|
|
@@ -8,19 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class BlendEffect ( IActiveSlide ) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
All color channels, including alpha, are affected.
|
|
14
|
-
</summary>
|
|
11
|
+
Represents a blur effect applied to an entire shape including its fill.
|
|
12
|
+
Affects all color channels including alpha.
|
|
15
13
|
"""
|
|
16
14
|
@property
|
|
17
15
|
def Radius(self)->float:
|
|
18
|
-
"""
|
|
19
|
-
<summary>
|
|
20
|
-
Gets or sets blur radius.
|
|
21
|
-
Read/write <see cref="T:System.Double" />.
|
|
22
|
-
</summary>
|
|
23
|
-
"""
|
|
16
|
+
"""Gets or sets the blur radius."""
|
|
24
17
|
GetDllLibPpt().BlendEffect_get_Radius.argtypes=[c_void_p]
|
|
25
18
|
GetDllLibPpt().BlendEffect_get_Radius.restype=c_double
|
|
26
19
|
ret = CallCFunction(GetDllLibPpt().BlendEffect_get_Radius,self.Ptr)
|
|
@@ -34,10 +27,8 @@ class BlendEffect ( IActiveSlide ) :
|
|
|
34
27
|
@property
|
|
35
28
|
def IsGrow(self)->bool:
|
|
36
29
|
"""
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
True indicates the bounds are grown while false indicates that they are not.
|
|
40
|
-
</summary>
|
|
30
|
+
Indicates whether object bounds should grow due to blurring.
|
|
31
|
+
True: bounds grow, False: maintain original bounds.
|
|
41
32
|
"""
|
|
42
33
|
GetDllLibPpt().BlendEffect_get_IsGrow.argtypes=[c_void_p]
|
|
43
34
|
GetDllLibPpt().BlendEffect_get_IsGrow.restype=c_bool
|
|
@@ -52,7 +43,13 @@ class BlendEffect ( IActiveSlide ) :
|
|
|
52
43
|
|
|
53
44
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
54
45
|
"""
|
|
46
|
+
Indicates whether two BlendEffect instances are equal.
|
|
47
|
+
|
|
48
|
+
Args:
|
|
49
|
+
obj: The BlendEffect to compare with the current Tabs
|
|
55
50
|
|
|
51
|
+
Returns:
|
|
52
|
+
bool: True if the specified Tabs is equal to the current BlendEffect, False otherwise
|
|
56
53
|
"""
|
|
57
54
|
intPtrobj:c_void_p = obj.Ptr
|
|
58
55
|
|
|
@@ -0,0 +1,27 @@
|
|
|
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 BlendMode(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Specifies the blend mode for visual effects.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
Darken (int): Darken blend mode. Value: 0.
|
|
15
|
+
Lighten (int): Lighten blend mode. Value: 1.
|
|
16
|
+
Multiply (int): Multiply blend mode. Value: 2.
|
|
17
|
+
Overlay (int): Overlay blend mode. Value: 3.
|
|
18
|
+
Screen (int): Screen blend mode. Value: 4.
|
|
19
|
+
none (int): No blend mode applied. Value: 5.
|
|
20
|
+
"""
|
|
21
|
+
Darken = 0
|
|
22
|
+
Lighten = 1
|
|
23
|
+
Multiply = 2
|
|
24
|
+
Overlay = 3
|
|
25
|
+
Screen = 4
|
|
26
|
+
none = 5
|
|
27
|
+
|
|
@@ -8,19 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class BlurNode ( EffectNode) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
All color channels, including alpha, are affected.
|
|
14
|
-
</summary>
|
|
11
|
+
Represents a blur effect applied to an entire shape including its fill.
|
|
12
|
+
Affects all color channels including alpha. Read-only properties.
|
|
15
13
|
"""
|
|
16
14
|
@property
|
|
17
15
|
def Radius(self)->float:
|
|
18
|
-
"""
|
|
19
|
-
<summary>
|
|
20
|
-
Blur radius.
|
|
21
|
-
Readonly <see cref="T:System.Double" />.
|
|
22
|
-
</summary>
|
|
23
|
-
"""
|
|
16
|
+
"""Gets the blur radius (read-only)."""
|
|
24
17
|
GetDllLibPpt().BlurNode_get_Radius.argtypes=[c_void_p]
|
|
25
18
|
GetDllLibPpt().BlurNode_get_Radius.restype=c_double
|
|
26
19
|
ret = CallCFunction(GetDllLibPpt().BlurNode_get_Radius,self.Ptr)
|
|
@@ -28,12 +21,7 @@ class BlurNode ( EffectNode) :
|
|
|
28
21
|
|
|
29
22
|
@property
|
|
30
23
|
def Grow(self)->bool:
|
|
31
|
-
"""
|
|
32
|
-
<summary>
|
|
33
|
-
Indicates whether effect spreads beyond shape border.
|
|
34
|
-
Readonly <see cref="T:System.Boolean" />.
|
|
35
|
-
</summary>
|
|
36
|
-
"""
|
|
24
|
+
"""Checks if effect spreads beyond shape borders (read-only)."""
|
|
37
25
|
GetDllLibPpt().BlurNode_get_Grow.argtypes=[c_void_p]
|
|
38
26
|
GetDllLibPpt().BlurNode_get_Grow.restype=c_bool
|
|
39
27
|
ret = CallCFunction(GetDllLibPpt().BlurNode_get_Grow,self.Ptr)
|
|
@@ -7,19 +7,15 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ColorFormat ( PptObject) :
|
|
10
|
-
"""
|
|
11
|
-
<summary>
|
|
12
|
-
Represents the color of a one-color object
|
|
13
|
-
</summary>
|
|
14
|
-
"""
|
|
15
|
-
@property
|
|
10
|
+
"""Represents the color of a one-color object."""
|
|
16
11
|
|
|
12
|
+
@property
|
|
17
13
|
def Color(self)->'Color':
|
|
18
14
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
Gets or sets the RGB color value.
|
|
16
|
+
|
|
17
|
+
Returns:
|
|
18
|
+
Color: RGB color object.
|
|
23
19
|
"""
|
|
24
20
|
GetDllLibPpt().ColorFormat_get_Color.argtypes=[c_void_p]
|
|
25
21
|
GetDllLibPpt().ColorFormat_get_Color.restype=c_void_p
|
|
@@ -30,6 +26,12 @@ class ColorFormat ( PptObject) :
|
|
|
30
26
|
|
|
31
27
|
@Color.setter
|
|
32
28
|
def Color(self, value:'Color'):
|
|
29
|
+
"""
|
|
30
|
+
Sets the RGB color value.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
value (Color): RGB color to set.
|
|
34
|
+
"""
|
|
33
35
|
GetDllLibPpt().ColorFormat_set_Color.argtypes=[c_void_p, c_void_p]
|
|
34
36
|
CallCFunction(GetDllLibPpt().ColorFormat_set_Color,self.Ptr, value.Ptr)
|
|
35
37
|
|
|
@@ -37,9 +39,10 @@ class ColorFormat ( PptObject) :
|
|
|
37
39
|
|
|
38
40
|
def ColorType(self)->'ColorType':
|
|
39
41
|
"""
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
Gets or sets the color type.
|
|
43
|
+
|
|
44
|
+
Returns:
|
|
45
|
+
ColorType: Enum value representing color type.
|
|
43
46
|
"""
|
|
44
47
|
GetDllLibPpt().ColorFormat_get_ColorType.argtypes=[c_void_p]
|
|
45
48
|
GetDllLibPpt().ColorFormat_get_ColorType.restype=c_int
|
|
@@ -49,6 +52,12 @@ class ColorFormat ( PptObject) :
|
|
|
49
52
|
|
|
50
53
|
@ColorType.setter
|
|
51
54
|
def ColorType(self, value:'ColorType'):
|
|
55
|
+
"""
|
|
56
|
+
Sets the color type.
|
|
57
|
+
|
|
58
|
+
Args:
|
|
59
|
+
value (ColorType): Enum value to set.
|
|
60
|
+
"""
|
|
52
61
|
GetDllLibPpt().ColorFormat_set_ColorType.argtypes=[c_void_p, c_int]
|
|
53
62
|
CallCFunction(GetDllLibPpt().ColorFormat_set_ColorType,self.Ptr, value.value)
|
|
54
63
|
|
|
@@ -56,10 +65,10 @@ class ColorFormat ( PptObject) :
|
|
|
56
65
|
|
|
57
66
|
def KnownColor(self)->'KnownColors':
|
|
58
67
|
"""
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
Gets or sets the preset color.
|
|
69
|
+
|
|
70
|
+
Returns:
|
|
71
|
+
KnownColors: Enum value for preset color.
|
|
63
72
|
"""
|
|
64
73
|
GetDllLibPpt().ColorFormat_get_KnownColor.argtypes=[c_void_p]
|
|
65
74
|
GetDllLibPpt().ColorFormat_get_KnownColor.restype=c_int
|
|
@@ -69,6 +78,12 @@ class ColorFormat ( PptObject) :
|
|
|
69
78
|
|
|
70
79
|
@KnownColor.setter
|
|
71
80
|
def KnownColor(self, value:'KnownColors'):
|
|
81
|
+
"""
|
|
82
|
+
Sets the preset color.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
value (KnownColors): Enum value to set.
|
|
86
|
+
"""
|
|
72
87
|
GetDllLibPpt().ColorFormat_set_KnownColor.argtypes=[c_void_p, c_int]
|
|
73
88
|
CallCFunction(GetDllLibPpt().ColorFormat_set_KnownColor,self.Ptr, value.value)
|
|
74
89
|
|
|
@@ -76,10 +91,10 @@ class ColorFormat ( PptObject) :
|
|
|
76
91
|
|
|
77
92
|
def SystemColor(self)->'SystemColorType':
|
|
78
93
|
"""
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
94
|
+
Gets or sets system color table value.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
SystemColorType: Enum value for system color.
|
|
83
98
|
"""
|
|
84
99
|
GetDllLibPpt().ColorFormat_get_SystemColor.argtypes=[c_void_p]
|
|
85
100
|
GetDllLibPpt().ColorFormat_get_SystemColor.restype=c_int
|
|
@@ -89,6 +104,12 @@ class ColorFormat ( PptObject) :
|
|
|
89
104
|
|
|
90
105
|
@SystemColor.setter
|
|
91
106
|
def SystemColor(self, value:'SystemColorType'):
|
|
107
|
+
"""
|
|
108
|
+
Sets system color table value.
|
|
109
|
+
|
|
110
|
+
Args:
|
|
111
|
+
value (SystemColorType): Enum value to set.
|
|
112
|
+
"""
|
|
92
113
|
GetDllLibPpt().ColorFormat_set_SystemColor.argtypes=[c_void_p, c_int]
|
|
93
114
|
CallCFunction(GetDllLibPpt().ColorFormat_set_SystemColor,self.Ptr, value.value)
|
|
94
115
|
|
|
@@ -96,10 +117,10 @@ class ColorFormat ( PptObject) :
|
|
|
96
117
|
|
|
97
118
|
def SchemeColor(self)->'SchemeColor':
|
|
98
119
|
"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
120
|
+
Gets or sets color scheme value.
|
|
121
|
+
|
|
122
|
+
Returns:
|
|
123
|
+
SchemeColor: Enum value in color scheme.
|
|
103
124
|
"""
|
|
104
125
|
GetDllLibPpt().ColorFormat_get_SchemeColor.argtypes=[c_void_p]
|
|
105
126
|
GetDllLibPpt().ColorFormat_get_SchemeColor.restype=c_int
|
|
@@ -109,17 +130,24 @@ class ColorFormat ( PptObject) :
|
|
|
109
130
|
|
|
110
131
|
@SchemeColor.setter
|
|
111
132
|
def SchemeColor(self, value:'SchemeColor'):
|
|
133
|
+
"""
|
|
134
|
+
Sets color scheme value.
|
|
135
|
+
|
|
136
|
+
Args:
|
|
137
|
+
value (SchemeColor): Enum value to set.
|
|
138
|
+
"""
|
|
112
139
|
GetDllLibPpt().ColorFormat_set_SchemeColor.argtypes=[c_void_p, c_int]
|
|
113
140
|
CallCFunction(GetDllLibPpt().ColorFormat_set_SchemeColor,self.Ptr, value.value)
|
|
114
141
|
|
|
115
142
|
@property
|
|
116
143
|
def R(self)->int:
|
|
117
144
|
"""
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
145
|
+
Gets or sets the red component (0-255).
|
|
146
|
+
|
|
147
|
+
Returns:
|
|
148
|
+
int: Red component value.
|
|
122
149
|
"""
|
|
150
|
+
|
|
123
151
|
GetDllLibPpt().ColorFormat_get_R.argtypes=[c_void_p]
|
|
124
152
|
GetDllLibPpt().ColorFormat_get_R.restype=c_int
|
|
125
153
|
ret = CallCFunction(GetDllLibPpt().ColorFormat_get_R,self.Ptr)
|
|
@@ -127,16 +155,22 @@ class ColorFormat ( PptObject) :
|
|
|
127
155
|
|
|
128
156
|
@R.setter
|
|
129
157
|
def R(self, value:int):
|
|
158
|
+
"""
|
|
159
|
+
Sets the red component.
|
|
160
|
+
|
|
161
|
+
Args:
|
|
162
|
+
value (int): Red value (0-255).
|
|
163
|
+
"""
|
|
130
164
|
GetDllLibPpt().ColorFormat_set_R.argtypes=[c_void_p, c_int]
|
|
131
165
|
CallCFunction(GetDllLibPpt().ColorFormat_set_R,self.Ptr, value)
|
|
132
166
|
|
|
133
167
|
@property
|
|
134
168
|
def G(self)->int:
|
|
135
169
|
"""
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
170
|
+
Gets or sets the green component (0-255).
|
|
171
|
+
|
|
172
|
+
Returns:
|
|
173
|
+
int: Green component value.
|
|
140
174
|
"""
|
|
141
175
|
GetDllLibPpt().ColorFormat_get_G.argtypes=[c_void_p]
|
|
142
176
|
GetDllLibPpt().ColorFormat_get_G.restype=c_int
|
|
@@ -145,16 +179,22 @@ class ColorFormat ( PptObject) :
|
|
|
145
179
|
|
|
146
180
|
@G.setter
|
|
147
181
|
def G(self, value:int):
|
|
182
|
+
"""
|
|
183
|
+
Sets the green component.
|
|
184
|
+
|
|
185
|
+
Args:
|
|
186
|
+
value (int): Green value (0-255).
|
|
187
|
+
"""
|
|
148
188
|
GetDllLibPpt().ColorFormat_set_G.argtypes=[c_void_p, c_int]
|
|
149
189
|
CallCFunction(GetDllLibPpt().ColorFormat_set_G,self.Ptr, value)
|
|
150
190
|
|
|
151
191
|
@property
|
|
152
192
|
def B(self)->int:
|
|
153
193
|
"""
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
194
|
+
Gets or sets the blue component (0-255).
|
|
195
|
+
|
|
196
|
+
Returns:
|
|
197
|
+
int: Blue component value.
|
|
158
198
|
"""
|
|
159
199
|
GetDllLibPpt().ColorFormat_get_B.argtypes=[c_void_p]
|
|
160
200
|
GetDllLibPpt().ColorFormat_get_B.restype=c_int
|
|
@@ -163,16 +203,22 @@ class ColorFormat ( PptObject) :
|
|
|
163
203
|
|
|
164
204
|
@B.setter
|
|
165
205
|
def B(self, value:int):
|
|
206
|
+
"""
|
|
207
|
+
Sets the blue component.
|
|
208
|
+
|
|
209
|
+
Args:
|
|
210
|
+
value (int): Blue value (0-255).
|
|
211
|
+
"""
|
|
166
212
|
GetDllLibPpt().ColorFormat_set_B.argtypes=[c_void_p, c_int]
|
|
167
213
|
CallCFunction(GetDllLibPpt().ColorFormat_set_B,self.Ptr, value)
|
|
168
214
|
|
|
169
215
|
@property
|
|
170
216
|
def Hue(self)->float:
|
|
171
217
|
"""
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
218
|
+
Gets or sets the HSL hue component.
|
|
219
|
+
|
|
220
|
+
Returns:
|
|
221
|
+
float: Hue value (0-360).
|
|
176
222
|
"""
|
|
177
223
|
GetDllLibPpt().ColorFormat_get_Hue.argtypes=[c_void_p]
|
|
178
224
|
GetDllLibPpt().ColorFormat_get_Hue.restype=c_float
|
|
@@ -187,10 +233,10 @@ class ColorFormat ( PptObject) :
|
|
|
187
233
|
@property
|
|
188
234
|
def Saturation(self)->float:
|
|
189
235
|
"""
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
236
|
+
Gets or sets the HSL saturation component.
|
|
237
|
+
|
|
238
|
+
Returns:
|
|
239
|
+
float: Saturation value (0-1).
|
|
194
240
|
"""
|
|
195
241
|
GetDllLibPpt().ColorFormat_get_Saturation.argtypes=[c_void_p]
|
|
196
242
|
GetDllLibPpt().ColorFormat_get_Saturation.restype=c_float
|
|
@@ -205,10 +251,10 @@ class ColorFormat ( PptObject) :
|
|
|
205
251
|
@property
|
|
206
252
|
def Luminance(self)->float:
|
|
207
253
|
"""
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
254
|
+
Gets or sets the HSL luminance component.
|
|
255
|
+
|
|
256
|
+
Returns:
|
|
257
|
+
float: Luminance value (0-1).
|
|
212
258
|
"""
|
|
213
259
|
GetDllLibPpt().ColorFormat_get_Luminance.argtypes=[c_void_p]
|
|
214
260
|
GetDllLibPpt().ColorFormat_get_Luminance.restype=c_float
|
|
@@ -223,13 +269,15 @@ class ColorFormat ( PptObject) :
|
|
|
223
269
|
|
|
224
270
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
225
271
|
"""
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
272
|
+
Determines if two colors are equal.
|
|
273
|
+
|
|
274
|
+
Args:
|
|
275
|
+
obj (SpireObject): Color to compare.
|
|
276
|
+
|
|
277
|
+
Returns:
|
|
278
|
+
bool: True if colors are equal.
|
|
232
279
|
"""
|
|
280
|
+
|
|
233
281
|
intPtrobj:c_void_p = obj.Ptr
|
|
234
282
|
|
|
235
283
|
GetDllLibPpt().ColorFormat_Equals.argtypes=[c_void_p ,c_void_p]
|
|
@@ -239,7 +287,10 @@ class ColorFormat ( PptObject) :
|
|
|
239
287
|
|
|
240
288
|
def GetHashCode(self)->int:
|
|
241
289
|
"""
|
|
290
|
+
Gets hash code for the color.
|
|
242
291
|
|
|
292
|
+
Returns:
|
|
293
|
+
int: Hash code value.
|
|
243
294
|
"""
|
|
244
295
|
GetDllLibPpt().ColorFormat_GetHashCode.argtypes=[c_void_p]
|
|
245
296
|
GetDllLibPpt().ColorFormat_GetHashCode.restype=c_int
|
|
@@ -251,9 +302,10 @@ class ColorFormat ( PptObject) :
|
|
|
251
302
|
|
|
252
303
|
def Transparency(self)->'float':
|
|
253
304
|
"""
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
305
|
+
Gets or sets transparency level (0-100%).
|
|
306
|
+
|
|
307
|
+
Returns:
|
|
308
|
+
float: Transparency value.
|
|
257
309
|
"""
|
|
258
310
|
GetDllLibPpt().ColorFormat_get_Transparency.argtypes=[c_void_p]
|
|
259
311
|
GetDllLibPpt().ColorFormat_get_Transparency.restype=c_float
|
|
@@ -271,9 +323,10 @@ class ColorFormat ( PptObject) :
|
|
|
271
323
|
|
|
272
324
|
def Brightness(self)->'float':
|
|
273
325
|
"""
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
326
|
+
Gets or sets brightness adjustment (-100% to 100%).
|
|
327
|
+
|
|
328
|
+
Returns:
|
|
329
|
+
float: Brightness value.
|
|
277
330
|
"""
|
|
278
331
|
GetDllLibPpt().ColorFormat_get_Brightness.argtypes=[c_void_p]
|
|
279
332
|
GetDllLibPpt().ColorFormat_get_Brightness.restype=c_float
|