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
|
@@ -9,14 +9,21 @@ from spire.presentation.TextFont import TextFont
|
|
|
9
9
|
|
|
10
10
|
class TextCharacterProperties ( IActiveSlide) :
|
|
11
11
|
"""
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
Represents a text range with formatting.
|
|
13
|
+
|
|
14
|
+
This class provides access to various text formatting properties such as font, color, underline,
|
|
15
|
+
hyperlinks, and other character-level formatting attributes.
|
|
15
16
|
"""
|
|
16
17
|
|
|
17
18
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
18
19
|
"""
|
|
20
|
+
Determines whether the current object is equal to another object.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
obj: The object to compare with the current object.
|
|
19
24
|
|
|
25
|
+
Returns:
|
|
26
|
+
bool: True if the objects are equal; otherwise, False.
|
|
20
27
|
"""
|
|
21
28
|
intPtrobj:c_void_p = obj.Ptr
|
|
22
29
|
|
|
@@ -29,10 +36,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
29
36
|
|
|
30
37
|
def Format(self)->'DefaultTextRangeProperties':
|
|
31
38
|
"""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
Gets the text range format for this object (read-only).
|
|
40
|
+
|
|
41
|
+
Returns:
|
|
42
|
+
DefaultTextRangeProperties: The formatting properties of the text range.
|
|
36
43
|
"""
|
|
37
44
|
GetDllLibPpt().TextCharacterProperties_get_Format.argtypes=[c_void_p]
|
|
38
45
|
GetDllLibPpt().TextCharacterProperties_get_Format.restype=c_void_p
|
|
@@ -45,10 +52,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
45
52
|
|
|
46
53
|
def TextLineFormat(self)->'TextLineFormat':
|
|
47
54
|
"""
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
Gets the LineFormat properties for text outlining (read-only).
|
|
56
|
+
|
|
57
|
+
Returns:
|
|
58
|
+
TextLineFormat: The line formatting properties for text outlines.
|
|
52
59
|
"""
|
|
53
60
|
GetDllLibPpt().TextCharacterProperties_get_TextLineFormat.argtypes=[c_void_p]
|
|
54
61
|
GetDllLibPpt().TextCharacterProperties_get_TextLineFormat.restype=c_void_p
|
|
@@ -61,10 +68,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
61
68
|
|
|
62
69
|
def Fill(self)->'FillFormat':
|
|
63
70
|
"""
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
Gets the text FillFormat properties (read-only).
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
FillFormat: The fill formatting properties for the text.
|
|
68
75
|
"""
|
|
69
76
|
GetDllLibPpt().TextCharacterProperties_get_Fill.argtypes=[c_void_p]
|
|
70
77
|
GetDllLibPpt().TextCharacterProperties_get_Fill.restype=c_void_p
|
|
@@ -77,11 +84,12 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
77
84
|
|
|
78
85
|
def DisplayFill(self)->'FillFormat':
|
|
79
86
|
"""
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
Gets the effective fill properties including inherited values (read-only).
|
|
88
|
+
|
|
89
|
+
If textRange FillType is Undefined, displays fill properties inherited from paragraph/textFrame/layoutSlide/master.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
FillFormat: The effective fill formatting properties.
|
|
85
93
|
"""
|
|
86
94
|
GetDllLibPpt().TextCharacterProperties_get_DisplayFill.argtypes=[c_void_p]
|
|
87
95
|
GetDllLibPpt().TextCharacterProperties_get_DisplayFill.restype=c_void_p
|
|
@@ -94,10 +102,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
94
102
|
|
|
95
103
|
def EffectDag(self)->'EffectDag':
|
|
96
104
|
"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
105
|
+
Gets the text EffectFormat properties (read-only).
|
|
106
|
+
|
|
107
|
+
Returns:
|
|
108
|
+
EffectDag: The special effect properties for the text.
|
|
101
109
|
"""
|
|
102
110
|
GetDllLibPpt().TextCharacterProperties_get_EffectDag.argtypes=[c_void_p]
|
|
103
111
|
GetDllLibPpt().TextCharacterProperties_get_EffectDag.restype=c_void_p
|
|
@@ -110,10 +118,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
110
118
|
|
|
111
119
|
def HighlightColor(self)->'ColorFormat':
|
|
112
120
|
"""
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
121
|
+
Gets the color used to highlight text (read-only).
|
|
122
|
+
|
|
123
|
+
Returns:
|
|
124
|
+
ColorFormat: The highlight color properties.
|
|
117
125
|
"""
|
|
118
126
|
GetDllLibPpt().TextCharacterProperties_get_HighlightColor.argtypes=[c_void_p]
|
|
119
127
|
GetDllLibPpt().TextCharacterProperties_get_HighlightColor.restype=c_void_p
|
|
@@ -126,10 +134,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
126
134
|
|
|
127
135
|
def UnderlineFormat(self)->'TextLineFormat':
|
|
128
136
|
"""
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
137
|
+
Gets the LineFormat properties for underline (read-only).
|
|
138
|
+
|
|
139
|
+
Returns:
|
|
140
|
+
TextLineFormat: The underline line formatting properties.
|
|
133
141
|
"""
|
|
134
142
|
GetDllLibPpt().TextCharacterProperties_get_UnderlineFormat.argtypes=[c_void_p]
|
|
135
143
|
GetDllLibPpt().TextCharacterProperties_get_UnderlineFormat.restype=c_void_p
|
|
@@ -142,10 +150,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
142
150
|
|
|
143
151
|
def UnderlineFillFormat(self)->'FillFormat':
|
|
144
152
|
"""
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
153
|
+
Gets the fill properties for underline lines (read-only).
|
|
154
|
+
|
|
155
|
+
Returns:
|
|
156
|
+
FillFormat: The fill formatting properties for underlines.
|
|
149
157
|
"""
|
|
150
158
|
GetDllLibPpt().TextCharacterProperties_get_UnderlineFillFormat.argtypes=[c_void_p]
|
|
151
159
|
GetDllLibPpt().TextCharacterProperties_get_UnderlineFillFormat.restype=c_void_p
|
|
@@ -158,10 +166,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
158
166
|
|
|
159
167
|
def BookmarkId(self)->str:
|
|
160
168
|
"""
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
Gets or sets the bookmark identifier (read/write).
|
|
170
|
+
|
|
171
|
+
Returns:
|
|
172
|
+
str: The unique identifier for the bookmark.
|
|
165
173
|
"""
|
|
166
174
|
GetDllLibPpt().TextCharacterProperties_get_BookmarkId.argtypes=[c_void_p]
|
|
167
175
|
GetDllLibPpt().TextCharacterProperties_get_BookmarkId.restype=c_void_p
|
|
@@ -178,9 +186,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
178
186
|
@property
|
|
179
187
|
def HasClickAction(self)->bool:
|
|
180
188
|
"""
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
189
|
+
Indicates whether text has a hyperlink action (read-only).
|
|
190
|
+
|
|
191
|
+
Returns:
|
|
192
|
+
bool: True if text has a click action; otherwise False.
|
|
184
193
|
"""
|
|
185
194
|
GetDllLibPpt().TextCharacterProperties_get_HasClickAction.argtypes=[c_void_p]
|
|
186
195
|
GetDllLibPpt().TextCharacterProperties_get_HasClickAction.restype=c_bool
|
|
@@ -191,10 +200,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
191
200
|
|
|
192
201
|
def ClickAction(self)->'ClickHyperlink':
|
|
193
202
|
"""
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
203
|
+
Gets or sets the hyperlink for mouse click (read/write).
|
|
204
|
+
|
|
205
|
+
Returns:
|
|
206
|
+
ClickHyperlink: The hyperlink action configuration.
|
|
198
207
|
"""
|
|
199
208
|
GetDllLibPpt().TextCharacterProperties_get_ClickAction.argtypes=[c_void_p]
|
|
200
209
|
GetDllLibPpt().TextCharacterProperties_get_ClickAction.restype=c_void_p
|
|
@@ -215,10 +224,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
215
224
|
|
|
216
225
|
def MouseOverAction(self)->'ClickHyperlink':
|
|
217
226
|
"""
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
227
|
+
Gets or sets the hyperlink for mouse hover (read/write).
|
|
228
|
+
|
|
229
|
+
Returns:
|
|
230
|
+
ClickHyperlink: The mouseover hyperlink configuration.
|
|
222
231
|
"""
|
|
223
232
|
GetDllLibPpt().TextCharacterProperties_get_MouseOverAction.argtypes=[c_void_p]
|
|
224
233
|
GetDllLibPpt().TextCharacterProperties_get_MouseOverAction.restype=c_void_p
|
|
@@ -236,10 +245,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
236
245
|
|
|
237
246
|
def IsBold(self)->'TriState':
|
|
238
247
|
"""
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
248
|
+
Gets or sets whether the font is bold (read/write).
|
|
249
|
+
|
|
250
|
+
Returns:
|
|
251
|
+
TriState: The bold formatting state (True, False, or Inherit).
|
|
243
252
|
"""
|
|
244
253
|
GetDllLibPpt().TextCharacterProperties_get_IsBold.argtypes=[c_void_p]
|
|
245
254
|
GetDllLibPpt().TextCharacterProperties_get_IsBold.restype=c_int
|
|
@@ -256,10 +265,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
256
265
|
|
|
257
266
|
def IsItalic(self)->'TriState':
|
|
258
267
|
"""
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
268
|
+
Gets or sets whether the font is italic (read/write).
|
|
269
|
+
|
|
270
|
+
Returns:
|
|
271
|
+
TriState: The italic formatting state.
|
|
263
272
|
"""
|
|
264
273
|
GetDllLibPpt().TextCharacterProperties_get_IsItalic.argtypes=[c_void_p]
|
|
265
274
|
GetDllLibPpt().TextCharacterProperties_get_IsItalic.restype=c_int
|
|
@@ -276,10 +285,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
276
285
|
|
|
277
286
|
def Kumimoji(self)->'TriState':
|
|
278
287
|
"""
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
288
|
+
Gets or sets whether to use East-Asian vertical text layout (read/write).
|
|
289
|
+
|
|
290
|
+
Returns:
|
|
291
|
+
TriState: The vertical text layout state.
|
|
283
292
|
"""
|
|
284
293
|
GetDllLibPpt().TextCharacterProperties_get_Kumimoji.argtypes=[c_void_p]
|
|
285
294
|
GetDllLibPpt().TextCharacterProperties_get_Kumimoji.restype=c_int
|
|
@@ -296,10 +305,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
296
305
|
|
|
297
306
|
def NormalizeHeights(self)->'TriState':
|
|
298
307
|
"""
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
308
|
+
Gets or sets whether to normalize text height (read/write).
|
|
309
|
+
|
|
310
|
+
Returns:
|
|
311
|
+
TriState: The text height normalization state.
|
|
303
312
|
"""
|
|
304
313
|
GetDllLibPpt().TextCharacterProperties_get_NormalizeHeights.argtypes=[c_void_p]
|
|
305
314
|
GetDllLibPpt().TextCharacterProperties_get_NormalizeHeights.restype=c_int
|
|
@@ -316,10 +325,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
316
325
|
|
|
317
326
|
def NoProofing(self)->'TriState':
|
|
318
327
|
"""
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
328
|
+
Gets or sets whether text should be spell-checked (read/write).
|
|
329
|
+
|
|
330
|
+
Returns:
|
|
331
|
+
TriState: The proofing state.
|
|
323
332
|
"""
|
|
324
333
|
GetDllLibPpt().TextCharacterProperties_get_NoProofing.argtypes=[c_void_p]
|
|
325
334
|
GetDllLibPpt().TextCharacterProperties_get_NoProofing.restype=c_int
|
|
@@ -336,10 +345,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
336
345
|
|
|
337
346
|
def TextUnderlineType(self)->'TextUnderlineType':
|
|
338
347
|
"""
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
348
|
+
Gets or sets the underline style (read/write).
|
|
349
|
+
|
|
350
|
+
Returns:
|
|
351
|
+
TextUnderlineType: The type of underline (None, Single, Double, etc.).
|
|
343
352
|
"""
|
|
344
353
|
GetDllLibPpt().TextCharacterProperties_get_TextUnderlineType.argtypes=[c_void_p]
|
|
345
354
|
GetDllLibPpt().TextCharacterProperties_get_TextUnderlineType.restype=c_int
|
|
@@ -356,10 +365,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
356
365
|
|
|
357
366
|
def TextCapType(self)->'TextCapType':
|
|
358
367
|
"""
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
368
|
+
Gets or sets the capitalization style (read/write).
|
|
369
|
+
|
|
370
|
+
Returns:
|
|
371
|
+
TextCapType: The capitalization type (None, Small, All, etc.).
|
|
363
372
|
"""
|
|
364
373
|
GetDllLibPpt().TextCharacterProperties_get_TextCapType.argtypes=[c_void_p]
|
|
365
374
|
GetDllLibPpt().TextCharacterProperties_get_TextCapType.restype=c_int
|
|
@@ -376,10 +385,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
376
385
|
|
|
377
386
|
def TextStrikethroughType(self)->'TextStrikethroughType':
|
|
378
387
|
"""
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
388
|
+
Gets or sets the strikethrough style (read/write).
|
|
389
|
+
|
|
390
|
+
Returns:
|
|
391
|
+
TextStrikethroughType: The strikethrough type (None, Single, Double).
|
|
383
392
|
"""
|
|
384
393
|
GetDllLibPpt().TextCharacterProperties_get_TextStrikethroughType.argtypes=[c_void_p]
|
|
385
394
|
GetDllLibPpt().TextCharacterProperties_get_TextStrikethroughType.restype=c_int
|
|
@@ -395,10 +404,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
395
404
|
@property
|
|
396
405
|
def SmartTagClean(self)->bool:
|
|
397
406
|
"""
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
407
|
+
Gets or sets whether smart tags should be cleaned (read/write).
|
|
408
|
+
|
|
409
|
+
Returns:
|
|
410
|
+
bool: True to clean smart tags; otherwise False.
|
|
402
411
|
"""
|
|
403
412
|
GetDllLibPpt().TextCharacterProperties_get_SmartTagClean.argtypes=[c_void_p]
|
|
404
413
|
GetDllLibPpt().TextCharacterProperties_get_SmartTagClean.restype=c_bool
|
|
@@ -414,7 +423,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
414
423
|
|
|
415
424
|
def IsInheritUnderlineFill(self)->'TriState':
|
|
416
425
|
"""
|
|
426
|
+
Gets or sets whether underline fill is inherited (read/write).
|
|
417
427
|
|
|
428
|
+
Returns:
|
|
429
|
+
TriState: The underline fill inheritance state.
|
|
418
430
|
"""
|
|
419
431
|
GetDllLibPpt().TextCharacterProperties_get_IsInheritUnderlineFill.argtypes=[c_void_p]
|
|
420
432
|
GetDllLibPpt().TextCharacterProperties_get_IsInheritUnderlineFill.restype=c_int
|
|
@@ -430,10 +442,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
430
442
|
@property
|
|
431
443
|
def FontHeight(self)->float:
|
|
432
444
|
"""
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
445
|
+
Gets or sets the font size in points (read/write).
|
|
446
|
+
|
|
447
|
+
Returns:
|
|
448
|
+
float: The font height in points.
|
|
437
449
|
"""
|
|
438
450
|
GetDllLibPpt().TextCharacterProperties_get_FontHeight.argtypes=[c_void_p]
|
|
439
451
|
GetDllLibPpt().TextCharacterProperties_get_FontHeight.restype=c_float
|
|
@@ -449,10 +461,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
449
461
|
|
|
450
462
|
def LatinFont(self)->'TextFont':
|
|
451
463
|
"""
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
464
|
+
Gets or sets the Latin (Western) font (read/write).
|
|
465
|
+
|
|
466
|
+
Returns:
|
|
467
|
+
TextFont: The Latin font properties.
|
|
456
468
|
"""
|
|
457
469
|
GetDllLibPpt().TextCharacterProperties_get_LatinFont.argtypes=[c_void_p]
|
|
458
470
|
GetDllLibPpt().TextCharacterProperties_get_LatinFont.restype=c_void_p
|
|
@@ -470,9 +482,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
470
482
|
|
|
471
483
|
def DefaultLatinFont(self)->'TextFont':
|
|
472
484
|
"""
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
485
|
+
Gets or sets the default Latin font (read/write).
|
|
486
|
+
|
|
487
|
+
Returns:
|
|
488
|
+
TextFont: The default Latin font properties.
|
|
476
489
|
"""
|
|
477
490
|
GetDllLibPpt().TextCharacterProperties_get_DefaultLatinFont.argtypes=[c_void_p]
|
|
478
491
|
GetDllLibPpt().TextCharacterProperties_get_DefaultLatinFont.restype=c_void_p
|
|
@@ -490,10 +503,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
490
503
|
|
|
491
504
|
def EastAsianFont(self)->'TextFont':
|
|
492
505
|
"""
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
506
|
+
Gets or sets the East Asian font (read/write).
|
|
507
|
+
|
|
508
|
+
Returns:
|
|
509
|
+
TextFont: The East Asian font properties.
|
|
497
510
|
"""
|
|
498
511
|
GetDllLibPpt().TextCharacterProperties_get_EastAsianFont.argtypes=[c_void_p]
|
|
499
512
|
GetDllLibPpt().TextCharacterProperties_get_EastAsianFont.restype=c_void_p
|
|
@@ -511,10 +524,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
511
524
|
|
|
512
525
|
def ComplexScriptFont(self)->'TextFont':
|
|
513
526
|
"""
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
527
|
+
Gets or sets the complex script font (read/write).
|
|
528
|
+
|
|
529
|
+
Returns:
|
|
530
|
+
TextFont: The complex script font properties.
|
|
518
531
|
"""
|
|
519
532
|
GetDllLibPpt().TextCharacterProperties_get_ComplexScriptFont.argtypes=[c_void_p]
|
|
520
533
|
GetDllLibPpt().TextCharacterProperties_get_ComplexScriptFont.restype=c_void_p
|
|
@@ -532,10 +545,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
532
545
|
|
|
533
546
|
def SymbolFont(self)->'TextFont':
|
|
534
547
|
"""
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
548
|
+
Gets or sets the symbolic font (read/write).
|
|
549
|
+
|
|
550
|
+
Returns:
|
|
551
|
+
TextFont: The symbolic font properties.
|
|
539
552
|
"""
|
|
540
553
|
GetDllLibPpt().TextCharacterProperties_get_SymbolFont.argtypes=[c_void_p]
|
|
541
554
|
GetDllLibPpt().TextCharacterProperties_get_SymbolFont.restype=c_void_p
|
|
@@ -552,10 +565,12 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
552
565
|
@property
|
|
553
566
|
def ScriptDistance(self)->float:
|
|
554
567
|
"""
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
568
|
+
Gets or sets superscript/subscript offset (read/write).
|
|
569
|
+
|
|
570
|
+
Positive values = superscript, Negative values = subscript.
|
|
571
|
+
|
|
572
|
+
Returns:
|
|
573
|
+
float: The script offset value.
|
|
559
574
|
"""
|
|
560
575
|
GetDllLibPpt().TextCharacterProperties_get_ScriptDistance.argtypes=[c_void_p]
|
|
561
576
|
GetDllLibPpt().TextCharacterProperties_get_ScriptDistance.restype=c_float
|
|
@@ -570,10 +585,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
570
585
|
@property
|
|
571
586
|
def FontMinSize(self)->float:
|
|
572
587
|
"""
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
588
|
+
Gets or sets the minimum font size (read/write).
|
|
589
|
+
|
|
590
|
+
Returns:
|
|
591
|
+
float: The minimum allowed font size in points.
|
|
577
592
|
"""
|
|
578
593
|
GetDllLibPpt().TextCharacterProperties_get_FontMinSize.argtypes=[c_void_p]
|
|
579
594
|
GetDllLibPpt().TextCharacterProperties_get_FontMinSize.restype=c_float
|
|
@@ -589,10 +604,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
589
604
|
|
|
590
605
|
def Language(self)->str:
|
|
591
606
|
"""
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
607
|
+
Gets or sets the primary language (read/write).
|
|
608
|
+
|
|
609
|
+
Returns:
|
|
610
|
+
str: The language identifier (e.g., "en-US").
|
|
596
611
|
"""
|
|
597
612
|
GetDllLibPpt().TextCharacterProperties_get_Language.argtypes=[c_void_p]
|
|
598
613
|
GetDllLibPpt().TextCharacterProperties_get_Language.restype=c_void_p
|
|
@@ -610,10 +625,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
610
625
|
|
|
611
626
|
def AlternativeLanguage(self)->str:
|
|
612
627
|
"""
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
628
|
+
Gets or sets the alternative language (read/write).
|
|
629
|
+
|
|
630
|
+
Returns:
|
|
631
|
+
str: The alternative language identifier.
|
|
617
632
|
"""
|
|
618
633
|
GetDllLibPpt().TextCharacterProperties_get_AlternativeLanguage.argtypes=[c_void_p]
|
|
619
634
|
GetDllLibPpt().TextCharacterProperties_get_AlternativeLanguage.restype=c_void_p
|
|
@@ -630,10 +645,10 @@ class TextCharacterProperties ( IActiveSlide) :
|
|
|
630
645
|
@property
|
|
631
646
|
def LineSpacing(self)->float:
|
|
632
647
|
"""
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
648
|
+
Gets or sets the line spacing (read/write).
|
|
649
|
+
|
|
650
|
+
Returns:
|
|
651
|
+
float: The line spacing value.
|
|
637
652
|
"""
|
|
638
653
|
GetDllLibPpt().TextCharacterProperties_get_LineSpacing.argtypes=[c_void_p]
|
|
639
654
|
GetDllLibPpt().TextCharacterProperties_get_LineSpacing.restype=c_float
|
spire/presentation/TextFont.py
CHANGED
|
@@ -7,9 +7,17 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class TextFont (SpireObject) :
|
|
10
|
-
|
|
10
|
+
"""
|
|
11
|
+
Represents an immutable font definition.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
FontName (str): Gets or sets the font name.
|
|
15
|
+
"""
|
|
11
16
|
@dispatch
|
|
12
17
|
def __init__(self):
|
|
18
|
+
"""
|
|
19
|
+
Initializes a new instance of the TextFont class with default font 'Arail'.
|
|
20
|
+
"""
|
|
13
21
|
GetDllLibPpt().Creat_TextFont.argtypes=[c_wchar_p]
|
|
14
22
|
GetDllLibPpt().Creat_TextFont.restype = c_void_p
|
|
15
23
|
intPtr = CallCFunction(GetDllLibPpt().Creat_TextFont,'Arail')
|
|
@@ -17,23 +25,23 @@ class TextFont (SpireObject) :
|
|
|
17
25
|
|
|
18
26
|
@dispatch
|
|
19
27
|
def __init__(self,fontName:str):
|
|
28
|
+
"""
|
|
29
|
+
Initializes a new instance of the TextFont class with specified font name.
|
|
30
|
+
|
|
31
|
+
Args:
|
|
32
|
+
fontName: Name of the font to use.
|
|
33
|
+
"""
|
|
20
34
|
fontNamePtr = StrToPtr(fontName)
|
|
21
35
|
GetDllLibPpt().Creat_TextFont.argtypes=[c_char_p]
|
|
22
36
|
GetDllLibPpt().Creat_TextFont.restype = c_void_p
|
|
23
37
|
intPtr = CallCFunction(GetDllLibPpt().Creat_TextFont,fontNamePtr)
|
|
24
38
|
super(TextFont, self).__init__(intPtr)
|
|
25
|
-
|
|
26
|
-
<summary>
|
|
27
|
-
Represents a font definition. Immutable.
|
|
28
|
-
</summary>
|
|
29
|
-
"""
|
|
39
|
+
|
|
30
40
|
@property
|
|
31
41
|
|
|
32
42
|
def FontName(self)->str:
|
|
33
43
|
"""
|
|
34
|
-
|
|
35
|
-
Gets the font name. Read-only <see cref="T:System.String" />.
|
|
36
|
-
</summary>
|
|
44
|
+
Gets or sets the font name.
|
|
37
45
|
"""
|
|
38
46
|
GetDllLibPpt().TextFont_get_FontName.argtypes=[c_void_p]
|
|
39
47
|
GetDllLibPpt().TextFont_get_FontName.restype=c_void_p
|
|
@@ -50,11 +58,13 @@ class TextFont (SpireObject) :
|
|
|
50
58
|
|
|
51
59
|
def GetFontName(self ,theme:'Theme')->str:
|
|
52
60
|
"""
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
Gets the font name, replacing theme references with actual font names.
|
|
62
|
+
|
|
63
|
+
Args:
|
|
64
|
+
theme: Theme from which themed font name should be taken.
|
|
65
|
+
|
|
66
|
+
Returns:
|
|
67
|
+
str: Actual font name used.
|
|
58
68
|
"""
|
|
59
69
|
intPtrtheme:c_void_p = theme.Ptr
|
|
60
70
|
|
|
@@ -67,12 +77,13 @@ class TextFont (SpireObject) :
|
|
|
67
77
|
|
|
68
78
|
def Equals(self ,obj:'SpireObject')->bool:
|
|
69
79
|
"""
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
80
|
+
Determines if two TextFont objects are equal.
|
|
81
|
+
|
|
82
|
+
Args:
|
|
83
|
+
obj: TextFont object to compare.
|
|
84
|
+
|
|
85
|
+
Returns:
|
|
86
|
+
bool: True if objects are equal, False otherwise.
|
|
76
87
|
"""
|
|
77
88
|
intPtrobj:c_void_p = obj.Ptr
|
|
78
89
|
|
|
@@ -83,7 +94,10 @@ class TextFont (SpireObject) :
|
|
|
83
94
|
|
|
84
95
|
def GetHashCode(self)->int:
|
|
85
96
|
"""
|
|
86
|
-
|
|
97
|
+
Gets the hash code for the object.
|
|
98
|
+
|
|
99
|
+
Returns:
|
|
100
|
+
int: Hash code value.
|
|
87
101
|
"""
|
|
88
102
|
GetDllLibPpt().TextFont_GetHashCode.argtypes=[c_void_p]
|
|
89
103
|
GetDllLibPpt().TextFont_GetHashCode.restype=c_int
|