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
|
@@ -7,9 +7,20 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class TextHighLightingOptions (SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
Configuration options for text highlighting operations.
|
|
12
|
+
|
|
13
|
+
Provides settings to control how text is searched and highlighted
|
|
14
|
+
during text processing operations.
|
|
15
|
+
"""
|
|
10
16
|
|
|
11
17
|
@dispatch
|
|
12
18
|
def __init__(self):
|
|
19
|
+
"""
|
|
20
|
+
Initialize a new instance with default highlighting options.
|
|
21
|
+
|
|
22
|
+
Default options are case-insensitive and allow partial word matches.
|
|
23
|
+
"""
|
|
13
24
|
GetDllLibPpt().TextHighLightingOptions_Create.restype = c_void_p
|
|
14
25
|
intPtr = CallCFunction(GetDllLibPpt().TextHighLightingOptions_Create)
|
|
15
26
|
super(TextHighLightingOptions, self).__init__(intPtr)
|
|
@@ -19,9 +30,13 @@ class TextHighLightingOptions (SpireObject) :
|
|
|
19
30
|
@property
|
|
20
31
|
def CaseSensitive(self)->bool:
|
|
21
32
|
"""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
Enable or disable case-sensitive text search.
|
|
34
|
+
|
|
35
|
+
When set to True, searches will distinguish between uppercase and lowercase letters.
|
|
36
|
+
When False (default), searches will ignore case differences.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
bool: Current case-sensitivity setting
|
|
25
40
|
"""
|
|
26
41
|
GetDllLibPpt().TextHighLightingOptions_get_CaseSensitive.argtypes=[c_void_p]
|
|
27
42
|
GetDllLibPpt().TextHighLightingOptions_get_CaseSensitive.restype=c_bool
|
|
@@ -30,15 +45,25 @@ class TextHighLightingOptions (SpireObject) :
|
|
|
30
45
|
|
|
31
46
|
@CaseSensitive.setter
|
|
32
47
|
def CaseSensitive(self, value:bool):
|
|
48
|
+
"""
|
|
49
|
+
Configure case-sensitivity for text search operations.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
value: True for case-sensitive search, False for case-insensitive
|
|
53
|
+
"""
|
|
33
54
|
GetDllLibPpt().TextHighLightingOptions_set_CaseSensitive.argtypes=[c_void_p, c_bool]
|
|
34
55
|
CallCFunction(GetDllLibPpt().TextHighLightingOptions_set_CaseSensitive,self.Ptr, value)
|
|
35
56
|
|
|
36
57
|
@property
|
|
37
58
|
def WholeWordsOnly(self)->bool:
|
|
38
59
|
"""
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
60
|
+
Require whole-word matching for text search.
|
|
61
|
+
|
|
62
|
+
When set to True, searches will only match complete words.
|
|
63
|
+
When False (default), searches will match partial words within text.
|
|
64
|
+
|
|
65
|
+
Returns:
|
|
66
|
+
bool: Current whole-word matching setting
|
|
42
67
|
"""
|
|
43
68
|
GetDllLibPpt().TextHighLightingOptions_get_WholeWordsOnly.argtypes=[c_void_p]
|
|
44
69
|
GetDllLibPpt().TextHighLightingOptions_get_WholeWordsOnly.restype=c_bool
|
|
@@ -47,6 +72,12 @@ class TextHighLightingOptions (SpireObject) :
|
|
|
47
72
|
|
|
48
73
|
@WholeWordsOnly.setter
|
|
49
74
|
def WholeWordsOnly(self, value:bool):
|
|
75
|
+
"""
|
|
76
|
+
Configure whole-word matching requirement.
|
|
77
|
+
|
|
78
|
+
Args:
|
|
79
|
+
value: True to require whole-word matches, False to allow partial matches
|
|
80
|
+
"""
|
|
50
81
|
GetDllLibPpt().TextHighLightingOptions_set_WholeWordsOnly.argtypes=[c_void_p, c_bool]
|
|
51
82
|
CallCFunction(GetDllLibPpt().TextHighLightingOptions_set_WholeWordsOnly,self.Ptr, value)
|
|
52
83
|
|
|
@@ -8,9 +8,12 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class TextHorizontalOverflowType(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents text horizontal overflow type.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No overflow handling specified.
|
|
15
|
+
Overflow: Text overflows horizontally.
|
|
16
|
+
Clip: Text is clipped at the boundary.
|
|
14
17
|
"""
|
|
15
18
|
none = -1
|
|
16
19
|
Overflow = 0
|
|
@@ -8,20 +8,19 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
Represents format of a line.
|
|
13
|
-
</summary>
|
|
11
|
+
Represents the formatting properties for a line in a presentation.
|
|
14
12
|
"""
|
|
15
13
|
@dispatch
|
|
16
14
|
|
|
17
15
|
def Equals(self ,obj:SpireObject)->bool:
|
|
18
16
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
Determines if two LineFormat objects are equivalent.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
obj: LineFormat object to compare with current instance
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
bool: True if objects are equal, False otherwise
|
|
25
24
|
"""
|
|
26
25
|
intPtrobj:c_void_p = obj.Ptr
|
|
27
26
|
|
|
@@ -34,12 +33,13 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
34
33
|
|
|
35
34
|
def Equals(self ,lf:'TextLineFormat')->bool:
|
|
36
35
|
"""
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
Determines if two LineFormat instances are equivalent.
|
|
37
|
+
|
|
38
|
+
Args:
|
|
39
|
+
lf: LineFormat object to compare with current instance
|
|
40
|
+
|
|
41
|
+
Returns:
|
|
42
|
+
bool: True if objects are equal, False otherwise
|
|
43
43
|
"""
|
|
44
44
|
intPtrlf:c_void_p = lf.Ptr
|
|
45
45
|
|
|
@@ -52,10 +52,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
52
52
|
|
|
53
53
|
def FillFormat(self)->'LineFillFormat':
|
|
54
54
|
"""
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</summary>
|
|
55
|
+
Gets the fill formatting properties of the line.
|
|
56
|
+
|
|
57
|
+
Read-only access to complex fill definitions.
|
|
59
58
|
"""
|
|
60
59
|
GetDllLibPpt().TextLineFormat_get_FillFormat.argtypes=[c_void_p]
|
|
61
60
|
GetDllLibPpt().TextLineFormat_get_FillFormat.restype=c_void_p
|
|
@@ -68,9 +67,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
68
67
|
|
|
69
68
|
def FillType(self)->'FillFormatType':
|
|
70
69
|
"""
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
Gets or sets the base type of fill formatting.
|
|
71
|
+
|
|
72
|
+
Determines what kind of fill (solid, gradient, pattern, etc.) is applied.
|
|
74
73
|
"""
|
|
75
74
|
GetDllLibPpt().TextLineFormat_get_FillType.argtypes=[c_void_p]
|
|
76
75
|
GetDllLibPpt().TextLineFormat_get_FillType.restype=c_int
|
|
@@ -87,10 +86,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
87
86
|
|
|
88
87
|
def Gradient(self)->'GradientFillFormat':
|
|
89
88
|
"""
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</summary>
|
|
89
|
+
Gets the gradient fill formatting properties.
|
|
90
|
+
|
|
91
|
+
Read-only access to gradient fill definitions.
|
|
94
92
|
"""
|
|
95
93
|
GetDllLibPpt().TextLineFormat_get_Gradient.argtypes=[c_void_p]
|
|
96
94
|
GetDllLibPpt().TextLineFormat_get_Gradient.restype=c_void_p
|
|
@@ -103,10 +101,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
103
101
|
|
|
104
102
|
def Pattern(self)->'PatternFillFormat':
|
|
105
103
|
"""
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</summary>
|
|
104
|
+
Gets the pattern fill formatting properties.
|
|
105
|
+
|
|
106
|
+
Read-only access to pattern fill definitions.
|
|
110
107
|
"""
|
|
111
108
|
GetDllLibPpt().TextLineFormat_get_Pattern.argtypes=[c_void_p]
|
|
112
109
|
GetDllLibPpt().TextLineFormat_get_Pattern.restype=c_void_p
|
|
@@ -119,10 +116,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
119
116
|
|
|
120
117
|
def SolidFillColor(self)->'ColorFormat':
|
|
121
118
|
"""
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</summary>
|
|
119
|
+
Gets the solid fill color properties.
|
|
120
|
+
|
|
121
|
+
Read-only access to solid color fill definitions.
|
|
126
122
|
"""
|
|
127
123
|
GetDllLibPpt().TextLineFormat_get_SolidFillColor.argtypes=[c_void_p]
|
|
128
124
|
GetDllLibPpt().TextLineFormat_get_SolidFillColor.restype=c_void_p
|
|
@@ -135,10 +131,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
135
131
|
|
|
136
132
|
def RotateWithShape(self)->'TriState':
|
|
137
133
|
"""
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
</summary>
|
|
134
|
+
Determines if fill rotates with shape transformation.
|
|
135
|
+
|
|
136
|
+
Read/write property controlling fill rotation behavior.
|
|
142
137
|
"""
|
|
143
138
|
GetDllLibPpt().TextLineFormat_get_RotateWithShape.argtypes=[c_void_p]
|
|
144
139
|
GetDllLibPpt().TextLineFormat_get_RotateWithShape.restype=c_int
|
|
@@ -154,10 +149,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
154
149
|
@property
|
|
155
150
|
def Width(self)->float:
|
|
156
151
|
"""
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
</summary>
|
|
152
|
+
Gets or sets the width of the line.
|
|
153
|
+
|
|
154
|
+
Read/write property controlling line thickness.
|
|
161
155
|
"""
|
|
162
156
|
GetDllLibPpt().TextLineFormat_get_Width.argtypes=[c_void_p]
|
|
163
157
|
GetDllLibPpt().TextLineFormat_get_Width.restype=c_double
|
|
@@ -173,10 +167,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
173
167
|
|
|
174
168
|
def DashStyle(self)->'LineDashStyleType':
|
|
175
169
|
"""
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</summary>
|
|
170
|
+
Gets or sets the dash pattern of the line.
|
|
171
|
+
|
|
172
|
+
Read/write property controlling line dash appearance.
|
|
180
173
|
"""
|
|
181
174
|
GetDllLibPpt().TextLineFormat_get_DashStyle.argtypes=[c_void_p]
|
|
182
175
|
GetDllLibPpt().TextLineFormat_get_DashStyle.restype=c_int
|
|
@@ -193,10 +186,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
193
186
|
|
|
194
187
|
def CapStyle(self)->'LineCapStyle':
|
|
195
188
|
"""
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
</summary>
|
|
189
|
+
Gets or sets the line end cap style.
|
|
190
|
+
|
|
191
|
+
Read/write property controlling line end appearance.
|
|
200
192
|
"""
|
|
201
193
|
GetDllLibPpt().TextLineFormat_get_CapStyle.argtypes=[c_void_p]
|
|
202
194
|
GetDllLibPpt().TextLineFormat_get_CapStyle.restype=c_int
|
|
@@ -213,10 +205,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
213
205
|
|
|
214
206
|
def Style(self)->'TextLineStyle':
|
|
215
207
|
"""
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
</summary>
|
|
208
|
+
Gets or sets the overall line style.
|
|
209
|
+
|
|
210
|
+
Read/write property controlling line appearance.
|
|
220
211
|
"""
|
|
221
212
|
GetDllLibPpt().TextLineFormat_get_Style.argtypes=[c_void_p]
|
|
222
213
|
GetDllLibPpt().TextLineFormat_get_Style.restype=c_int
|
|
@@ -233,10 +224,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
233
224
|
|
|
234
225
|
def Alignment(self)->'PenAlignmentType':
|
|
235
226
|
"""
|
|
236
|
-
<summary>
|
|
237
227
|
Gets or sets the line alignment.
|
|
238
|
-
|
|
239
|
-
|
|
228
|
+
|
|
229
|
+
Read/write property controlling line positioning.
|
|
240
230
|
"""
|
|
241
231
|
GetDllLibPpt().TextLineFormat_get_Alignment.argtypes=[c_void_p]
|
|
242
232
|
GetDllLibPpt().TextLineFormat_get_Alignment.restype=c_int
|
|
@@ -253,10 +243,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
253
243
|
|
|
254
244
|
def JoinStyle(self)->'LineJoinType':
|
|
255
245
|
"""
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
</summary>
|
|
246
|
+
Gets or sets the line join style.
|
|
247
|
+
|
|
248
|
+
Read/write property controlling corner appearance.
|
|
260
249
|
"""
|
|
261
250
|
GetDllLibPpt().TextLineFormat_get_JoinStyle.argtypes=[c_void_p]
|
|
262
251
|
GetDllLibPpt().TextLineFormat_get_JoinStyle.restype=c_int
|
|
@@ -272,10 +261,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
272
261
|
@property
|
|
273
262
|
def MiterLimit(self)->float:
|
|
274
263
|
"""
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
</summary>
|
|
264
|
+
Gets or sets the miter limit for corners.
|
|
265
|
+
|
|
266
|
+
Read/write property controlling angle sharpness.
|
|
279
267
|
"""
|
|
280
268
|
GetDllLibPpt().TextLineFormat_get_MiterLimit.argtypes=[c_void_p]
|
|
281
269
|
GetDllLibPpt().TextLineFormat_get_MiterLimit.restype=c_float
|
|
@@ -291,10 +279,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
291
279
|
|
|
292
280
|
def LineBeginType(self)->'LineEndType':
|
|
293
281
|
"""
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
</summary>
|
|
282
|
+
Gets or sets the arrowhead style at line start.
|
|
283
|
+
|
|
284
|
+
Read/write property controlling start decoration.
|
|
298
285
|
"""
|
|
299
286
|
GetDllLibPpt().TextLineFormat_get_LineBeginType.argtypes=[c_void_p]
|
|
300
287
|
GetDllLibPpt().TextLineFormat_get_LineBeginType.restype=c_int
|
|
@@ -311,10 +298,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
311
298
|
|
|
312
299
|
def LineEndType(self)->'LineEndType':
|
|
313
300
|
"""
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
</summary>
|
|
301
|
+
Gets or sets the arrowhead style at line end.
|
|
302
|
+
|
|
303
|
+
Read/write property controlling end decoration.
|
|
318
304
|
"""
|
|
319
305
|
GetDllLibPpt().TextLineFormat_get_LineEndType.argtypes=[c_void_p]
|
|
320
306
|
GetDllLibPpt().TextLineFormat_get_LineEndType.restype=c_int
|
|
@@ -331,10 +317,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
331
317
|
|
|
332
318
|
def LineBeginWidth(self)->'LineEndWidth':
|
|
333
319
|
"""
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
</summary>
|
|
320
|
+
Gets or sets the arrowhead width at line start.
|
|
321
|
+
|
|
322
|
+
Read/write property controlling start decoration size.
|
|
338
323
|
"""
|
|
339
324
|
GetDllLibPpt().TextLineFormat_get_LineBeginWidth.argtypes=[c_void_p]
|
|
340
325
|
GetDllLibPpt().TextLineFormat_get_LineBeginWidth.restype=c_int
|
|
@@ -351,10 +336,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
351
336
|
|
|
352
337
|
def LineEndWidth(self)->'LineEndWidth':
|
|
353
338
|
"""
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
</summary>
|
|
339
|
+
Gets or sets the arrowhead width at line end.
|
|
340
|
+
|
|
341
|
+
Read/write property controlling end decoration size.
|
|
358
342
|
"""
|
|
359
343
|
GetDllLibPpt().TextLineFormat_get_LineEndWidth.argtypes=[c_void_p]
|
|
360
344
|
GetDllLibPpt().TextLineFormat_get_LineEndWidth.restype=c_int
|
|
@@ -371,10 +355,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
371
355
|
|
|
372
356
|
def LineBeginLength(self)->'LineEndLength':
|
|
373
357
|
"""
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
</summary>
|
|
358
|
+
Gets or sets the arrowhead length at line start.
|
|
359
|
+
|
|
360
|
+
Read/write property controlling start decoration size.
|
|
378
361
|
"""
|
|
379
362
|
GetDllLibPpt().TextLineFormat_get_LineBeginLength.argtypes=[c_void_p]
|
|
380
363
|
GetDllLibPpt().TextLineFormat_get_LineBeginLength.restype=c_int
|
|
@@ -391,10 +374,9 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
391
374
|
|
|
392
375
|
def LineEndLength(self)->'LineEndLength':
|
|
393
376
|
"""
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
</summary>
|
|
377
|
+
Gets or sets the arrowhead length at line end.
|
|
378
|
+
|
|
379
|
+
Read/write property controlling end decoration size.
|
|
398
380
|
"""
|
|
399
381
|
GetDllLibPpt().TextLineFormat_get_LineEndLength.argtypes=[c_void_p]
|
|
400
382
|
GetDllLibPpt().TextLineFormat_get_LineEndLength.restype=c_int
|
|
@@ -409,7 +391,10 @@ class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
|
409
391
|
|
|
410
392
|
def GetHashCode(self)->int:
|
|
411
393
|
"""
|
|
412
|
-
|
|
394
|
+
Generates a hash code for the LineFormat object.
|
|
395
|
+
|
|
396
|
+
Returns:
|
|
397
|
+
int: Hash code representing object state
|
|
413
398
|
"""
|
|
414
399
|
GetDllLibPpt().TextLineFormat_GetHashCode.argtypes=[c_void_p]
|
|
415
400
|
GetDllLibPpt().TextLineFormat_GetHashCode.restype=c_int
|
|
@@ -8,9 +8,15 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class TextLineStyle(Enum):
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Represents the style of a line.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No line style.
|
|
15
|
+
Single: Single line style.
|
|
16
|
+
ThinThin: Double line with two thin lines.
|
|
17
|
+
ThinThick: Double line with thin then thick lines.
|
|
18
|
+
ThickThin: Double line with thick then thin lines.
|
|
19
|
+
ThickBetweenThin: Double line with thick between thin lines.
|
|
14
20
|
"""
|
|
15
21
|
none = -1
|
|
16
22
|
Single = 0
|
|
@@ -5,27 +5,36 @@ from spire.presentation.common import *
|
|
|
5
5
|
from spire.presentation import *
|
|
6
6
|
from ctypes import *
|
|
7
7
|
from spire.presentation.ParagraphProperties import ParagraphProperties
|
|
8
|
-
from spire.presentation.TextRangeCollection import TextRangeCollection
|
|
8
|
+
from spire.presentation.collections.TextRangeCollection import TextRangeCollection
|
|
9
9
|
|
|
10
10
|
class TextParagraph ( ParagraphProperties) :
|
|
11
|
+
"""
|
|
12
|
+
Represents a paragraph of text within a presentation.
|
|
13
|
+
|
|
14
|
+
Provides properties and methods to manage paragraph formatting,
|
|
15
|
+
text content, and text ranges within the paragraph.
|
|
16
|
+
"""
|
|
11
17
|
|
|
12
18
|
@dispatch
|
|
13
19
|
def __init__(self):
|
|
20
|
+
"""
|
|
21
|
+
Initializes a new instance of the TextParagraph class with default properties.
|
|
22
|
+
"""
|
|
14
23
|
GetDllLibPpt().TextParagraph_Creat.restype = c_void_p
|
|
15
24
|
intPtr = CallCFunction(GetDllLibPpt().TextParagraph_Creat)
|
|
16
25
|
super(TextParagraph, self).__init__(intPtr)
|
|
17
|
-
|
|
18
|
-
<summary>
|
|
19
|
-
Represents a paragraph of a text.
|
|
20
|
-
</summary>
|
|
21
|
-
"""
|
|
26
|
+
|
|
22
27
|
@property
|
|
23
28
|
|
|
24
29
|
def FirstTextRange(self)->'TextRange':
|
|
25
30
|
"""
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
Gets the first text range in the paragraph.
|
|
32
|
+
|
|
33
|
+
This property provides access to the initial text range
|
|
34
|
+
within the paragraph for formatting and content manipulation.
|
|
35
|
+
|
|
36
|
+
Returns:
|
|
37
|
+
TextRange: The first text range object in the paragraph
|
|
29
38
|
"""
|
|
30
39
|
GetDllLibPpt().TextParagraph_get_FirstTextRange.argtypes=[c_void_p]
|
|
31
40
|
GetDllLibPpt().TextParagraph_get_FirstTextRange.restype=c_void_p
|
|
@@ -38,10 +47,13 @@ class TextParagraph ( ParagraphProperties) :
|
|
|
38
47
|
|
|
39
48
|
def TextRanges(self)->'TextRangeCollection':
|
|
40
49
|
"""
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
50
|
+
Gets the collection of text ranges within the paragraph.
|
|
51
|
+
|
|
52
|
+
This read-only property provides access to all text ranges
|
|
53
|
+
contained in the paragraph for comprehensive text management.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
TextRangeCollection: Collection of text range objects
|
|
45
57
|
"""
|
|
46
58
|
GetDllLibPpt().TextParagraph_get_TextRanges.argtypes=[c_void_p]
|
|
47
59
|
GetDllLibPpt().TextParagraph_get_TextRanges.restype=c_void_p
|
|
@@ -54,10 +66,14 @@ class TextParagraph ( ParagraphProperties) :
|
|
|
54
66
|
|
|
55
67
|
def ParagraphProperties(self)->'TextParagraphProperties':
|
|
56
68
|
"""
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
Gets the formatting properties of the paragraph.
|
|
70
|
+
|
|
71
|
+
This read-only property provides access to the complete set
|
|
72
|
+
of paragraph formatting options including alignment, indentation,
|
|
73
|
+
and spacing settings.
|
|
74
|
+
|
|
75
|
+
Returns:
|
|
76
|
+
TextParagraphProperties: Formatting properties of the paragraph
|
|
61
77
|
"""
|
|
62
78
|
GetDllLibPpt().TextParagraph_get_ParagraphProperties.argtypes=[c_void_p]
|
|
63
79
|
GetDllLibPpt().TextParagraph_get_ParagraphProperties.restype=c_void_p
|
|
@@ -70,12 +86,13 @@ class TextParagraph ( ParagraphProperties) :
|
|
|
70
86
|
|
|
71
87
|
def Text(self)->str:
|
|
72
88
|
"""
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
89
|
+
Gets or sets the plain text content of the paragraph.
|
|
90
|
+
|
|
91
|
+
This property allows access to the unformatted text content
|
|
92
|
+
of the entire paragraph, including all text ranges.
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
str: Current plain text content of the paragraph
|
|
79
96
|
"""
|
|
80
97
|
GetDllLibPpt().TextParagraph_get_Text.argtypes=[c_void_p]
|
|
81
98
|
GetDllLibPpt().TextParagraph_get_Text.restype=c_void_p
|
|
@@ -85,6 +102,12 @@ class TextParagraph ( ParagraphProperties) :
|
|
|
85
102
|
|
|
86
103
|
@Text.setter
|
|
87
104
|
def Text(self, value:str):
|
|
105
|
+
"""
|
|
106
|
+
Sets the plain text content of the paragraph.
|
|
107
|
+
|
|
108
|
+
Args:
|
|
109
|
+
value: New plain text content for the paragraph
|
|
110
|
+
"""
|
|
88
111
|
valuePtr = StrToPtr(value)
|
|
89
112
|
GetDllLibPpt().TextParagraph_set_Text.argtypes=[c_void_p, c_char_p]
|
|
90
113
|
CallCFunction(GetDllLibPpt().TextParagraph_set_Text,self.Ptr,valuePtr)
|
|
@@ -92,7 +115,13 @@ class TextParagraph ( ParagraphProperties) :
|
|
|
92
115
|
|
|
93
116
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
94
117
|
"""
|
|
95
|
-
|
|
118
|
+
Determines if two TextParagraph objects are equivalent.
|
|
119
|
+
|
|
120
|
+
Args:
|
|
121
|
+
obj: TextParagraph object to compare with current instance
|
|
122
|
+
|
|
123
|
+
Returns:
|
|
124
|
+
bool: True if objects are equal, False otherwise
|
|
96
125
|
"""
|
|
97
126
|
intPtrobj:c_void_p = obj.Ptr
|
|
98
127
|
|