spire-presentation 10.6.4__py3-none-win_amd64.whl → 10.8.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/presentation/ActiveSlide.py +52 -44
- spire/presentation/AppException.py +3 -3
- spire/presentation/AudioCD.py +7 -12
- spire/presentation/AudioPlayMode.py +7 -3
- spire/presentation/AudioVolumeType.py +8 -3
- spire/presentation/BaseShapeLocking.py +7 -6
- spire/presentation/Camera.py +44 -21
- spire/presentation/ClickHyperlink.py +127 -91
- spire/presentation/Comment.py +75 -36
- spire/presentation/ConnectorLocking.py +3 -3
- spire/presentation/DefaultTextRangeProperties.py +58 -99
- spire/presentation/Direction.py +5 -3
- spire/presentation/Field.py +18 -8
- spire/presentation/FieldType.py +45 -47
- spire/presentation/FileFormat.py +23 -3
- spire/presentation/FontAlignmentType.py +9 -3
- spire/presentation/FontCollectionIndex.py +6 -3
- spire/presentation/FontScheme.py +12 -13
- spire/presentation/FormatAndVersion.py +32 -3
- spire/presentation/GroupShape.py +11 -13
- spire/presentation/GroupShapeLocking.py +6 -17
- spire/presentation/HyperlinkActionType.py +19 -3
- spire/presentation/IActivePresentation.py +5 -3
- spire/presentation/IActiveSlide.py +4 -4
- spire/presentation/IAudio.py +51 -116
- spire/presentation/IAudioData.py +11 -33
- spire/presentation/IAutoShape.py +186 -124
- spire/presentation/ICommentAuthor.py +20 -8
- spire/presentation/IDigitalSignature.py +13 -34
- spire/presentation/IDigitalSignatures.py +2 -3
- spire/presentation/IDocumentProperty.py +41 -86
- spire/presentation/IEmbedImage.py +167 -114
- spire/presentation/ILayout.py +40 -17
- spire/presentation/IMasterSlide.py +67 -58
- spire/presentation/INoteMasterSlide.py +25 -41
- spire/presentation/IOleObject.py +216 -141
- spire/presentation/IShape.py +185 -146
- spire/presentation/ISlide.py +212 -153
- spire/presentation/ITextFrameProperties.py +203 -96
- spire/presentation/IVideo.py +280 -153
- spire/presentation/ImportDataFormat.py +6 -3
- spire/presentation/KnownColors.py +2 -3
- spire/presentation/LightRig.py +40 -23
- spire/presentation/LightingDirectionType.py +3 -3
- spire/presentation/LineCapStyle.py +7 -3
- spire/presentation/LineDashStyleType.py +16 -3
- spire/presentation/LineEndLength.py +7 -3
- spire/presentation/LineEndType.py +10 -3
- spire/presentation/LineEndWidth.py +7 -3
- spire/presentation/LineFillFormat.py +38 -19
- spire/presentation/LineJoinType.py +7 -3
- spire/presentation/LinearGradientFill.py +22 -8
- spire/presentation/LocaleFonts.py +40 -16
- spire/presentation/MasterTheme.py +24 -23
- spire/presentation/MetaCharacterType.py +9 -3
- spire/presentation/NotesSlide.py +16 -14
- spire/presentation/NumberedBulletStyle.py +2 -3
- spire/presentation/OleObject.py +39 -27
- spire/presentation/Order.py +2 -3
- spire/presentation/PageSlideCount.py +2 -3
- spire/presentation/ParagraphProperties.py +210 -110
- spire/presentation/PictureShape.py +41 -20
- spire/presentation/Placeholder.py +34 -20
- spire/presentation/PlaceholderSize.py +7 -3
- spire/presentation/PlaceholderType.py +20 -3
- spire/presentation/PptObject.py +10 -7
- spire/presentation/Presentation.py +310 -209
- spire/presentation/PresetCameraType.py +1 -3
- spire/presentation/PresetLightRigType.py +21 -3
- spire/presentation/PresetMaterialType.py +19 -3
- spire/presentation/PresetShadowValue.py +4 -3
- spire/presentation/RectangleAlignment.py +3 -3
- spire/presentation/RelativeRectangle.py +56 -11
- spire/presentation/Section.py +50 -36
- spire/presentation/SectionList.py +69 -59
- spire/presentation/Shape.py +152 -137
- spire/presentation/ShapeAdjust.py +17 -10
- spire/presentation/ShapeAlignment.py +14 -3
- spire/presentation/ShapeArrange.py +10 -3
- spire/presentation/ShapeBevelStyle.py +34 -12
- spire/presentation/ShapeCollection.py +16 -11
- spire/presentation/ShapeElementFillSource.py +10 -3
- spire/presentation/ShapeElementStrokeSource.py +6 -3
- spire/presentation/ShapeLocking.py +18 -6
- spire/presentation/ShapeNode.py +21 -0
- spire/presentation/ShapeStyle.py +58 -39
- spire/presentation/ShapeThreeD.py +58 -36
- spire/presentation/ShapeType.py +1 -3
- spire/presentation/SimpleShapeBaseLocking.py +72 -31
- spire/presentation/SlideBackground.py +31 -36
- spire/presentation/SlideColorScheme.py +15 -10
- spire/presentation/SlideLayoutType.py +39 -3
- spire/presentation/SlideList.py +110 -55
- spire/presentation/SlideOrienation.py +5 -3
- spire/presentation/SlidePicture.py +22 -19
- spire/presentation/SlidePictureLocking.py +14 -6
- spire/presentation/SlideShowType.py +6 -1
- spire/presentation/SlideSize.py +43 -18
- spire/presentation/SlideSizeType.py +20 -3
- spire/presentation/SystemColorType.py +3 -3
- spire/presentation/TabAlignmentType.py +3 -3
- spire/presentation/TabData.py +18 -18
- spire/presentation/TabStop.py +33 -16
- spire/presentation/TextAlignmentType.py +9 -3
- spire/presentation/TextAnchorType.py +11 -3
- spire/presentation/TextAutofitType.py +7 -3
- spire/presentation/TextBulletType.py +8 -3
- spire/presentation/TextCapType.py +7 -3
- spire/presentation/TextCharacterProperties.py +145 -130
- spire/presentation/TextFont.py +35 -21
- spire/presentation/TextHighLightingOptions.py +37 -6
- spire/presentation/TextHorizontalOverflowType.py +6 -3
- spire/presentation/TextLineFormat.py +75 -90
- spire/presentation/TextLineStyle.py +9 -3
- spire/presentation/TextParagraph.py +53 -24
- spire/presentation/TextParagraphProperties.py +124 -103
- spire/presentation/TextRange.py +40 -12
- spire/presentation/TextShapeType.py +46 -3
- spire/presentation/TextStrikethroughType.py +7 -3
- spire/presentation/TextStyle.py +29 -19
- spire/presentation/TextUnderlineType.py +22 -3
- spire/presentation/TextVerticalOverflowType.py +7 -3
- spire/presentation/Theme.py +31 -23
- spire/presentation/TileFlipMode.py +8 -3
- spire/presentation/TriState.py +2 -3
- spire/presentation/VerticalTextType.py +11 -3
- spire/presentation/VideoData.py +17 -18
- spire/presentation/VideoPlayMode.py +7 -3
- spire/presentation/_Presentation.py +40 -9
- spire/presentation/__init__.py +253 -358
- spire/presentation/animation/AnimateType.py +24 -0
- spire/presentation/{AnimationCalculationMode.py → animation/AnimationCalculationMode.py} +7 -3
- spire/presentation/{AnimationColorBehavior.py → animation/AnimationColorBehavior.py} +52 -23
- spire/presentation/{AnimationColorDirection.py → animation/AnimationColorDirection.py} +6 -3
- spire/presentation/{AnimationColorTransform.py → animation/AnimationColorTransform.py} +33 -15
- spire/presentation/{AnimationColorspace.py → animation/AnimationColorspace.py} +6 -3
- spire/presentation/{AnimationCommandBehavior.py → animation/AnimationCommandBehavior.py} +26 -15
- spire/presentation/{AnimationCommandType.py → animation/AnimationCommandType.py} +7 -3
- spire/presentation/{AnimationEffect.py → animation/AnimationEffect.py} +115 -53
- spire/presentation/{AnimationEffectCollection.py → animation/AnimationEffectCollection.py} +64 -38
- spire/presentation/animation/AnimationEffectSubtype.py +164 -0
- spire/presentation/animation/AnimationEffectType.py +466 -0
- spire/presentation/{AnimationFilterEffect.py → animation/AnimationFilterEffect.py} +33 -15
- spire/presentation/{AnimationMotion.py → animation/AnimationMotion.py} +38 -10
- spire/presentation/{AnimationMotionOrigin.py → animation/AnimationMotionOrigin.py} +6 -3
- spire/presentation/{AnimationMotionPathEditMode.py → animation/AnimationMotionPathEditMode.py} +6 -3
- spire/presentation/{AnimationProperty.py → animation/AnimationProperty.py} +63 -28
- spire/presentation/{AnimationRepeatType.py → animation/AnimationRepeatType.py} +6 -3
- spire/presentation/{AnimationRestartType.py → animation/AnimationRestartType.py} +7 -3
- spire/presentation/{AnimationRotation.py → animation/AnimationRotation.py} +7 -15
- spire/presentation/{AnimationScale.py → animation/AnimationScale.py} +43 -18
- spire/presentation/{AnimationSet.py → animation/AnimationSet.py} +7 -7
- spire/presentation/{AnimationTriggerType.py → animation/AnimationTriggerType.py} +8 -3
- spire/presentation/{BehaviorAccumulateType.py → animation/BehaviorAccumulateType.py} +6 -3
- spire/presentation/animation/BehaviorAdditiveType.py +27 -0
- spire/presentation/{CommonBehavior.py → animation/CommonBehavior.py} +41 -18
- spire/presentation/{CommonBehaviorCollection.py → animation/CommonBehaviorCollection.py} +76 -47
- spire/presentation/animation/FilterEffectSubtype.py +70 -0
- spire/presentation/animation/FilterEffectType.py +71 -0
- spire/presentation/animation/FilterEffectsType.py +21 -0
- spire/presentation/{FilterRevealType.py → animation/FilterRevealType.py} +7 -3
- spire/presentation/{GraphicAnimation.py → animation/GraphicAnimation.py} +10 -6
- spire/presentation/{GraphicAnimationCollection.py → animation/GraphicAnimationCollection.py} +20 -17
- spire/presentation/animation/GraphicBuildType.py +25 -0
- spire/presentation/{MotionCmdPath.py → animation/MotionCmdPath.py} +35 -7
- spire/presentation/animation/MotionCommandPathType.py +25 -0
- spire/presentation/{MotionPath.py → animation/MotionPath.py} +43 -21
- spire/presentation/animation/MotionPathPointsType.py +33 -0
- spire/presentation/animation/ParagraphBuildType.py +31 -0
- spire/presentation/animation/PropertyValueType.py +23 -0
- spire/presentation/{SequenceCollection.py → animation/SequenceCollection.py} +32 -30
- spire/presentation/{TextAnimation.py → animation/TextAnimation.py} +14 -11
- spire/presentation/{TextAnimationCollection.py → animation/TextAnimationCollection.py} +41 -20
- spire/presentation/{TimeAnimationValue.py → animation/TimeAnimationValue.py} +14 -14
- spire/presentation/{TimeAnimationValueCollection.py → animation/TimeAnimationValueCollection.py} +11 -15
- spire/presentation/{TimeLine.py → animation/TimeLine.py} +20 -11
- spire/presentation/{TimeNode.py → animation/TimeNode.py} +16 -4
- spire/presentation/{TimeNodeAudio.py → animation/TimeNodeAudio.py} +31 -19
- spire/presentation/{TimeNodeMedia.py → animation/TimeNodeMedia.py} +9 -3
- spire/presentation/animation/TimeNodePresetClassType.py +29 -0
- spire/presentation/{TimeNodes.py → animation/TimeNodes.py} +32 -8
- spire/presentation/{Timing.py → animation/Timing.py} +67 -47
- spire/presentation/animation/__init__.py +0 -0
- spire/presentation/{AxisPositionType.py → charts/AxisPositionType.py} +7 -3
- spire/presentation/{AxisType.py → charts/AxisType.py} +6 -3
- spire/presentation/{CellRange.py → charts/CellRange.py} +54 -51
- spire/presentation/{CellRanges.py → charts/CellRanges.py} +43 -27
- spire/presentation/{ChartAxis.py → charts/ChartAxis.py} +109 -124
- spire/presentation/{ChartBaseUnitType.py → charts/ChartBaseUnitType.py} +2 -3
- spire/presentation/{ChartCategory.py → charts/ChartCategory.py} +12 -6
- spire/presentation/{ChartCategoryCollection.py → charts/ChartCategoryCollection.py} +65 -44
- spire/presentation/{ChartCrossesType.py → charts/ChartCrossesType.py} +6 -3
- spire/presentation/{ChartData.py → charts/ChartData.py} +111 -62
- spire/presentation/{ChartDataLabel.py → charts/ChartDataLabel.py} +95 -89
- spire/presentation/{ChartDataLabelCollection.py → charts/ChartDataLabelCollection.py} +105 -82
- spire/presentation/charts/ChartDataLabelPosition.py +35 -0
- spire/presentation/{ChartDataPoint.py → charts/ChartDataPoint.py} +62 -48
- spire/presentation/{ChartDataPointCollection.py → charts/ChartDataPointCollection.py} +21 -18
- spire/presentation/{ChartDataTable.py → charts/ChartDataTable.py} +37 -34
- spire/presentation/charts/ChartDisplayUnitType.py +37 -0
- spire/presentation/{ChartEffectFormat.py → charts/ChartEffectFormat.py} +13 -14
- spire/presentation/{ChartLegend.py → charts/ChartLegend.py} +63 -59
- spire/presentation/{ChartLegendPositionType.py → charts/ChartLegendPositionType.py} +9 -3
- spire/presentation/charts/ChartMarkerType.py +39 -0
- spire/presentation/{ChartPlotArea.py → charts/ChartPlotArea.py} +35 -34
- spire/presentation/{ChartRotationThreeD.py → charts/ChartRotationThreeD.py} +4 -18
- spire/presentation/{ChartSeriesDataFormat.py → charts/ChartSeriesDataFormat.py} +52 -130
- spire/presentation/{ChartSeriesFormatCollection.py → charts/ChartSeriesFormatCollection.py} +69 -43
- spire/presentation/{ChartShapeType.py → charts/ChartShapeType.py} +10 -3
- spire/presentation/{ChartStyle.py → charts/ChartStyle.py} +1 -3
- spire/presentation/{ChartTextArea.py → charts/ChartTextArea.py} +14 -38
- spire/presentation/{ChartType.py → charts/ChartType.py} +2 -3
- spire/presentation/{ChartWallsOrFloor.py → charts/ChartWallsOrFloor.py} +25 -24
- spire/presentation/{CrossBetweenType.py → charts/CrossBetweenType.py} +4 -0
- spire/presentation/{DataLabelShapeType.py → charts/DataLabelShapeType.py} +1 -3
- spire/presentation/{DisplayBlanksAsType.py → charts/DisplayBlanksAsType.py} +2 -3
- spire/presentation/{ErrorBarSimpleType.py → charts/ErrorBarSimpleType.py} +6 -1
- spire/presentation/charts/ErrorValueType.py +25 -0
- spire/presentation/{HistogramAxisFormat.py → charts/HistogramAxisFormat.py} +3 -7
- spire/presentation/{IChart.py → charts/IChart.py} +69 -174
- spire/presentation/{IChartAxis.py → charts/IChartAxis.py} +95 -133
- spire/presentation/{IChartEffectFormat.py → charts/IChartEffectFormat.py} +9 -21
- spire/presentation/{IChartGridLine.py → charts/IChartGridLine.py} +23 -57
- spire/presentation/{IErrorBarsFormat.py → charts/IErrorBarsFormat.py} +9 -21
- spire/presentation/{ITrendlineLabel.py → charts/ITrendlineLabel.py} +23 -16
- spire/presentation/{ITrendlines.py → charts/ITrendlines.py} +107 -49
- spire/presentation/{InteriorColorPattern.py → charts/InteriorColorPattern.py} +1 -1
- spire/presentation/{LayoutProperty.py → charts/LayoutProperty.py} +26 -25
- spire/presentation/{LegendEntry.py → charts/LegendEntry.py} +7 -6
- spire/presentation/{LegendEntryCollection.py → charts/LegendEntryCollection.py} +17 -7
- spire/presentation/{PictureType.py → charts/PictureType.py} +7 -3
- spire/presentation/charts/ProjectionType.py +22 -0
- spire/presentation/{QuartileCalculation.py → charts/QuartileCalculation.py} +3 -3
- spire/presentation/{TickLabelPositionType.py → charts/TickLabelPositionType.py} +7 -3
- spire/presentation/{TickMarkType.py → charts/TickMarkType.py} +7 -3
- spire/presentation/{TreeMapLabelOption.py → charts/TreeMapLabelOption.py} +6 -3
- spire/presentation/charts/TrendlinesType.py +27 -0
- spire/presentation/charts/__init__.py +0 -0
- spire/presentation/{CommentAuthorCollection.py → collections/CommentAuthorCollection.py} +13 -10
- spire/presentation/{CommentAuthorList.py → collections/CommentAuthorList.py} +49 -18
- spire/presentation/{CommentCollection.py → collections/CommentCollection.py} +11 -24
- spire/presentation/{CommentList.py → collections/CommentList.py} +60 -73
- spire/presentation/{EffectDataCollection.py → collections/EffectDataCollection.py} +22 -23
- spire/presentation/{EffectStyleCollection.py → collections/EffectStyleCollection.py} +14 -10
- spire/presentation/{EffectStyleList.py → collections/EffectStyleList.py} +15 -17
- spire/presentation/{EmbedImageList.py → collections/EmbedImageList.py} +28 -24
- spire/presentation/{FillFormatCollection.py → collections/FillFormatCollection.py} +12 -24
- spire/presentation/{FillFormatList.py → collections/FillFormatList.py} +2 -3
- spire/presentation/{FillListBase.py → collections/FillListBase.py} +25 -16
- spire/presentation/{FillStyleCollection.py → collections/FillStyleCollection.py} +18 -11
- spire/presentation/{FillStyleList.py → collections/FillStyleList.py} +10 -4
- spire/presentation/{GradientStopCollection.py → collections/GradientStopCollection.py} +4 -21
- spire/presentation/{GradientStopDataCollection.py → collections/GradientStopDataCollection.py} +7 -31
- spire/presentation/{GradientStopList.py → collections/GradientStopList.py} +41 -53
- spire/presentation/{IMasterLayouts.py → collections/IMasterLayouts.py} +25 -7
- spire/presentation/{ImageCollection.py → collections/ImageCollection.py} +4 -22
- spire/presentation/{ImageTransformEffectCollection.py → collections/ImageTransformEffectCollection.py} +4 -22
- spire/presentation/{LineStyleCollection.py → collections/LineStyleCollection.py} +18 -25
- spire/presentation/{LineStyleList.py → collections/LineStyleList.py} +25 -15
- spire/presentation/{MasterSlideCollection.py → collections/MasterSlideCollection.py} +9 -26
- spire/presentation/{MasterSlideList.py → collections/MasterSlideList.py} +47 -33
- spire/presentation/{OleObjectCollection.py → collections/OleObjectCollection.py} +34 -48
- spire/presentation/{OleObjectProperties.py → collections/OleObjectProperties.py} +45 -56
- spire/presentation/{ParagraphCollection.py → collections/ParagraphCollection.py} +16 -26
- spire/presentation/{ParagraphList.py → collections/ParagraphList.py} +68 -45
- spire/presentation/{ShapeAdjustCollection.py → collections/ShapeAdjustCollection.py} +13 -27
- spire/presentation/{ShapeAdjustmentList.py → collections/ShapeAdjustmentList.py} +11 -12
- spire/presentation/{ShapeList.py → collections/ShapeList.py} +384 -323
- spire/presentation/{SlideCollection.py → collections/SlideCollection.py} +9 -10
- spire/presentation/{SlideColorSchemeCollection.py → collections/SlideColorSchemeCollection.py} +31 -23
- spire/presentation/{TabStopCollection.py → collections/TabStopCollection.py} +10 -10
- spire/presentation/{TabStopList.py → collections/TabStopList.py} +37 -33
- spire/presentation/{TagCollection.py → collections/TagCollection.py} +12 -25
- spire/presentation/{TagList.py → collections/TagList.py} +55 -51
- spire/presentation/{TextLineFormatCollection.py → collections/TextLineFormatCollection.py} +10 -24
- spire/presentation/{TextLineFormatList.py → collections/TextLineFormatList.py} +17 -13
- spire/presentation/{TextRangeCollection.py → collections/TextRangeCollection.py} +17 -26
- spire/presentation/{TextRangeList.py → collections/TextRangeList.py} +49 -33
- spire/presentation/{VideoCollection.py → collections/VideoCollection.py} +26 -20
- spire/presentation/{WavAudioCollection.py → collections/WavAudioCollection.py} +27 -23
- spire/presentation/collections/__init__.py +0 -0
- spire/presentation/{ISmartArt.py → diagrams/ISmartArt.py} +42 -14
- spire/presentation/{ISmartArtNode.py → diagrams/ISmartArtNode.py} +119 -10
- spire/presentation/{ISmartArtNodeCollection.py → diagrams/ISmartArtNodeCollection.py} +57 -5
- spire/presentation/{SmartArtColorType.py → diagrams/SmartArtColorType.py} +1 -1
- spire/presentation/{SmartArtLayoutType.py → diagrams/SmartArtLayoutType.py} +1 -1
- spire/presentation/diagrams/SmartArtStyleType.py +43 -0
- spire/presentation/diagrams/__init__.py +0 -0
- spire/presentation/{Backdrop.py → drawing/Backdrop.py} +16 -19
- spire/presentation/{BackgroundType.py → drawing/BackgroundType.py} +6 -3
- spire/presentation/{BevelColorType.py → drawing/BevelColorType.py} +5 -3
- spire/presentation/drawing/BevelPresetType.py +41 -0
- spire/presentation/drawing/BlackWhiteMode.py +39 -0
- spire/presentation/{BlendEffect.py → drawing/BlendEffect.py} +11 -14
- spire/presentation/drawing/BlendMode.py +27 -0
- spire/presentation/{BlurNode.py → drawing/BlurNode.py} +4 -16
- spire/presentation/{ColorFormat.py → drawing/ColorFormat.py} +114 -61
- spire/presentation/{ColorScheme.py → drawing/ColorScheme.py} +59 -49
- spire/presentation/{ColorSchemeIndex.py → drawing/ColorSchemeIndex.py} +1 -3
- spire/presentation/drawing/ColorType.py +27 -0
- spire/presentation/{EffectDag.py → drawing/EffectDag.py} +41 -27
- spire/presentation/drawing/EffectFillType.py +25 -0
- spire/presentation/{EffectNode.py → drawing/EffectNode.py} +2 -3
- spire/presentation/{EffectStyle.py → drawing/EffectStyle.py} +14 -12
- spire/presentation/{ExtensionList.py → drawing/ExtensionList.py} +4 -1
- spire/presentation/{FillFormat.py → drawing/FillFormat.py} +61 -39
- spire/presentation/drawing/FillFormatType.py +29 -0
- spire/presentation/{FillOverlayEffect.py → drawing/FillOverlayEffect.py} +30 -11
- spire/presentation/{FormatScheme.py → drawing/FormatScheme.py} +9 -23
- spire/presentation/{FormatThreeD.py → drawing/FormatThreeD.py} +23 -13
- spire/presentation/{GlowEffect.py → drawing/GlowEffect.py} +15 -13
- spire/presentation/{GlowNode.py → drawing/GlowNode.py} +4 -10
- spire/presentation/{GradientFillFormat.py → drawing/GradientFillFormat.py} +12 -27
- spire/presentation/drawing/GradientShapeType.py +25 -0
- spire/presentation/{GradientStop.py → drawing/GradientStop.py} +1 -9
- spire/presentation/{GradientStopData.py → drawing/GradientStopData.py} +2 -9
- spire/presentation/drawing/GradientStyle.py +26 -0
- spire/presentation/{GraphicFrame.py → drawing/GraphicFrame.py} +41 -73
- spire/presentation/{GraphicalNodeLocking.py → drawing/GraphicalNodeLocking.py} +26 -21
- spire/presentation/{IImageData.py → drawing/IImageData.py} +6 -24
- spire/presentation/{ImageTransform.py → drawing/ImageTransform.py} +42 -36
- spire/presentation/{ImageTransformBase.py → drawing/ImageTransformBase.py} +2 -3
- spire/presentation/{InnerShadowEffect.py → drawing/InnerShadowEffect.py} +15 -18
- spire/presentation/{InnerShadowNode.py → drawing/InnerShadowNode.py} +5 -15
- spire/presentation/{OuterShadowEffect.py → drawing/OuterShadowEffect.py} +60 -35
- spire/presentation/{OuterShadowNode.py → drawing/OuterShadowNode.py} +51 -33
- spire/presentation/{PatternFillFormat.py → drawing/PatternFillFormat.py} +6 -15
- spire/presentation/drawing/PatternFillType.py +127 -0
- spire/presentation/{PenAlignmentType.py → drawing/PenAlignmentType.py} +6 -3
- spire/presentation/{PictureData.py → drawing/PictureData.py} +15 -15
- spire/presentation/{PictureFillFormat.py → drawing/PictureFillFormat.py} +37 -31
- spire/presentation/{PictureFillType.py → drawing/PictureFillType.py} +5 -3
- spire/presentation/{PresetShadow.py → drawing/PresetShadow.py} +33 -18
- spire/presentation/{PresetShadowNode.py → drawing/PresetShadowNode.py} +20 -15
- spire/presentation/{ReflectionEffect.py → drawing/ReflectionEffect.py} +65 -45
- spire/presentation/{ReflectionNode.py → drawing/ReflectionNode.py} +58 -45
- spire/presentation/{SchemeColor.py → drawing/SchemeColor.py} +2 -3
- spire/presentation/{SoftEdgeEffect.py → drawing/SoftEdgeEffect.py} +11 -7
- spire/presentation/{SoftEdgeNode.py → drawing/SoftEdgeNode.py} +5 -7
- spire/presentation/drawing/__init__.py +0 -0
- spire/presentation/export/PdfConformanceLevel.py +30 -0
- spire/presentation/{SaveToHtmlOption.py → export/SaveToHtmlOption.py} +12 -6
- spire/presentation/{SaveToPdfOption.py → export/SaveToPdfOption.py} +18 -11
- spire/presentation/{SaveToPptxOption.py → export/SaveToPptxOption.py} +12 -6
- spire/presentation/export/__init__.py +0 -0
- spire/presentation/lib/Spire.Presentation.Base.dll +0 -0
- spire/presentation/license/__init__.py +0 -0
- spire/presentation/{Cell.py → table/Cell.py} +56 -107
- spire/presentation/{CellCollection.py → table/CellCollection.py} +45 -31
- spire/presentation/{ColumnCollection.py → table/ColumnCollection.py} +10 -25
- spire/presentation/{ColumnList.py → table/ColumnList.py} +39 -28
- spire/presentation/{ITable.py → table/ITable.py} +117 -137
- spire/presentation/{RowList.py → table/RowList.py} +45 -27
- spire/presentation/table/TableBorderType.py +39 -0
- spire/presentation/{TableColumn.py → table/TableColumn.py} +14 -7
- spire/presentation/{TableRow.py → table/TableRow.py} +14 -7
- spire/presentation/{TableRowCollection.py → table/TableRowCollection.py} +12 -24
- spire/presentation/{TableStylePreset.py → table/TableStylePreset.py} +1 -3
- spire/presentation/table/__init__.py +0 -0
- spire/presentation/{BlindsSlideTransition.py → transition/BlindsSlideTransition.py} +9 -5
- spire/presentation/{CoverSlideTransition.py → transition/CoverSlideTransition.py} +20 -7
- spire/presentation/{FlythroughTransition.py → transition/FlythroughTransition.py} +12 -2
- spire/presentation/{GlitterTransition.py → transition/GlitterTransition.py} +10 -2
- spire/presentation/transition/GlitterTransitionDirection.py +31 -0
- spire/presentation/{InvXTransition.py → transition/InvXTransition.py} +10 -2
- spire/presentation/{LRTransition.py → transition/LRTransition.py} +12 -6
- spire/presentation/{OptionalBlackTransition.py → transition/OptionalBlackTransition.py} +16 -8
- spire/presentation/{RevealTransition.py → transition/RevealTransition.py} +11 -1
- spire/presentation/{ShredTransition.py → transition/ShredTransition.py} +14 -3
- spire/presentation/{SideDirectionTransition.py → transition/SideDirectionTransition.py} +12 -7
- spire/presentation/{SlideShowTransition.py → transition/SlideShowTransition.py} +50 -67
- spire/presentation/{SplitSlideTransition.py → transition/SplitSlideTransition.py} +14 -7
- spire/presentation/{StripsSlideTransition.py → transition/StripsSlideTransition.py} +14 -3
- spire/presentation/{Transition.py → transition/Transition.py} +10 -3
- spire/presentation/transition/TransitionCornerDirection.py +25 -0
- spire/presentation/{TransitionDirection.py → transition/TransitionDirection.py} +6 -3
- spire/presentation/transition/TransitionEightDirection.py +33 -0
- spire/presentation/{TransitionFlythroughInOutDirection.py → transition/TransitionFlythroughInOutDirection.py} +7 -3
- spire/presentation/{TransitionInOutDirection.py → transition/TransitionInOutDirection.py} +6 -3
- spire/presentation/transition/TransitionRevealLRDirection.py +23 -0
- spire/presentation/transition/TransitionShredInOutDirection.py +23 -0
- spire/presentation/{TransitionSideDirectionType.py → transition/TransitionSideDirectionType.py} +7 -3
- spire/presentation/{TransitionSoundMode.py → transition/TransitionSoundMode.py} +6 -3
- spire/presentation/{TransitionSpeed.py → transition/TransitionSpeed.py} +7 -3
- spire/presentation/{TransitionSplitDirection.py → transition/TransitionSplitDirection.py} +7 -3
- spire/presentation/{TransitionTwoDirection.py → transition/TransitionTwoDirection.py} +5 -3
- spire/presentation/transition/TransitionType.py +127 -0
- spire/presentation/{WheelSlideTransition.py → transition/WheelSlideTransition.py} +11 -6
- spire/presentation/{ZoomSlideTransition.py → transition/ZoomSlideTransition.py} +11 -7
- spire/presentation/transition/__init__.py +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/METADATA +1 -1
- spire_presentation-10.8.1.dist-info/RECORD +440 -0
- spire/presentation/AnimateType.py +0 -16
- spire/presentation/AnimationEffectSubtype.py +0 -65
- spire/presentation/AnimationEffectType.py +0 -166
- spire/presentation/BehaviorAdditiveType.py +0 -21
- spire/presentation/BevelPresetType.py +0 -28
- spire/presentation/BlackWhiteMode.py +0 -27
- spire/presentation/BlendMode.py +0 -21
- spire/presentation/ChartDataLabelPosition.py +0 -25
- spire/presentation/ChartDisplayUnitType.py +0 -26
- spire/presentation/ChartMarkerType.py +0 -27
- spire/presentation/ColorType.py +0 -19
- spire/presentation/DocumentEditException.py +0 -14
- spire/presentation/DocumentReadException.py +0 -14
- spire/presentation/DocumentUnkownFormatException.py +0 -14
- spire/presentation/EffectFillType.py +0 -20
- spire/presentation/ErrorValueType.py +0 -18
- spire/presentation/FillFormatType.py +0 -22
- spire/presentation/FilterEffectSubtype.py +0 -42
- spire/presentation/FilterEffectType.py +0 -34
- spire/presentation/FilterEffectsType.py +0 -16
- spire/presentation/GlitterTransitionDirection.py +0 -23
- spire/presentation/GradientShapeType.py +0 -20
- spire/presentation/GradientStyle.py +0 -21
- spire/presentation/GraphicBuildType.py +0 -20
- spire/presentation/HeaderType.py +0 -20
- spire/presentation/MotionCommandPathType.py +0 -20
- spire/presentation/MotionPathPointsType.py +0 -24
- spire/presentation/ParagraphBuildType.py +0 -23
- spire/presentation/PatternFillType.py +0 -71
- spire/presentation/PdfConformanceLevel.py +0 -22
- spire/presentation/PresentationTranslator.py +0 -31
- spire/presentation/ProjectionType.py +0 -16
- spire/presentation/PropertyValueType.py +0 -19
- spire/presentation/SmartArtStyleType.py +0 -27
- spire/presentation/TableBorderType.py +0 -27
- spire/presentation/TimeNodePresetClassType.py +0 -22
- spire/presentation/TransitionCornerDirection.py +0 -20
- spire/presentation/TransitionEightDirection.py +0 -24
- spire/presentation/TransitionRevealLRDirection.py +0 -19
- spire/presentation/TransitionShredInOutDirection.py +0 -19
- spire/presentation/TransitionType.py +0 -71
- spire/presentation/TrendlinesType.py +0 -19
- spire/presentation/UOPReader.py +0 -24
- spire/presentation/UOPWriter.py +0 -24
- spire_presentation-10.6.4.dist-info/RECORD +0 -438
- /spire/presentation/{Geography.py → charts/Geography.py} +0 -0
- /spire/presentation/{LicenseProvider.py → license/LicenseProvider.py} +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/WHEEL +0 -0
- {spire_presentation-10.6.4.dist-info → spire_presentation-10.8.1.dist-info}/top_level.txt +0 -0
|
@@ -7,15 +7,24 @@ from ctypes import *
|
|
|
7
7
|
import abc
|
|
8
8
|
|
|
9
9
|
class ClickHyperlink (SpireObject) :
|
|
10
|
-
|
|
10
|
+
"""
|
|
11
|
+
Represents a hyperlink associated with a non-placeholder shape or text.
|
|
12
|
+
"""
|
|
11
13
|
@dispatch
|
|
12
14
|
def __init__(self):
|
|
15
|
+
"""Initializes a new instance of ClickHyperlink."""
|
|
13
16
|
GetDllLibPpt().ClickHyperlink_Create.restype = c_void_p
|
|
14
17
|
intPtr = CallCFunction(GetDllLibPpt().ClickHyperlink_Create)
|
|
15
18
|
super(ClickHyperlink, self).__init__(intPtr)
|
|
16
19
|
|
|
17
20
|
@dispatch
|
|
18
21
|
def __init__(self,hyperlinkUrl:str):
|
|
22
|
+
"""
|
|
23
|
+
Initializes a new instance with a URL hyperlink.
|
|
24
|
+
|
|
25
|
+
Args:
|
|
26
|
+
hyperlinkUrl (str): The URL to link to.
|
|
27
|
+
"""
|
|
19
28
|
hyperlinkUrlPtr = StrToPtr(hyperlinkUrl)
|
|
20
29
|
GetDllLibPpt().ClickHyperlink_Create.argtypes=[c_char_p]
|
|
21
30
|
GetDllLibPpt().ClickHyperlink_Create.restype = c_void_p
|
|
@@ -24,24 +33,25 @@ class ClickHyperlink (SpireObject) :
|
|
|
24
33
|
|
|
25
34
|
@dispatch
|
|
26
35
|
def __init__(self,targetSlide:'ISlide'):
|
|
36
|
+
"""
|
|
37
|
+
Initializes a new instance with a slide hyperlink.
|
|
38
|
+
|
|
39
|
+
Args:
|
|
40
|
+
targetSlide (ISlide): The slide to link to.
|
|
41
|
+
"""
|
|
27
42
|
GetDllLibPpt().ClickHyperlink_Create_Slide.argtypes=[c_void_p]
|
|
28
43
|
GetDllLibPpt().ClickHyperlink_Create_Slide.restype = c_void_p
|
|
29
44
|
intPtr = CallCFunction(GetDllLibPpt().ClickHyperlink_Create_Slide,targetSlide.Ptr)
|
|
30
45
|
super(ClickHyperlink, self).__init__(intPtr)
|
|
31
46
|
|
|
32
|
-
"""
|
|
33
|
-
<summary>
|
|
34
|
-
Represents a hyperlink associated with a non-placeholder shape or text.
|
|
35
|
-
</summary>
|
|
36
|
-
"""
|
|
37
47
|
@staticmethod
|
|
38
48
|
|
|
39
49
|
def get_NoAction()->'ClickHyperlink':
|
|
40
50
|
"""
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
51
|
+
Gets a special "do nothing" hyperlink.
|
|
52
|
+
|
|
53
|
+
Returns:
|
|
54
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
45
55
|
"""
|
|
46
56
|
#GetDllLibPpt().ClickHyperlink_get_NoAction.argtypes=[]
|
|
47
57
|
GetDllLibPpt().ClickHyperlink_get_NoAction.restype=c_void_p
|
|
@@ -54,10 +64,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
54
64
|
|
|
55
65
|
def get_NextSlide()->'ClickHyperlink':
|
|
56
66
|
"""
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
Gets a hyperlink to the next slide.
|
|
68
|
+
|
|
69
|
+
Returns:
|
|
70
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
61
71
|
"""
|
|
62
72
|
#GetDllLibPpt().ClickHyperlink_get_NextSlide.argtypes=[]
|
|
63
73
|
GetDllLibPpt().ClickHyperlink_get_NextSlide.restype=c_void_p
|
|
@@ -70,10 +80,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
70
80
|
|
|
71
81
|
def get_PreviousSlide()->'ClickHyperlink':
|
|
72
82
|
"""
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
83
|
+
Gets a hyperlink to the previous slide.
|
|
84
|
+
|
|
85
|
+
Returns:
|
|
86
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
77
87
|
"""
|
|
78
88
|
#GetDllLibPpt().ClickHyperlink_get_PreviousSlide.argtypes=[]
|
|
79
89
|
GetDllLibPpt().ClickHyperlink_get_PreviousSlide.restype=c_void_p
|
|
@@ -86,10 +96,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
86
96
|
|
|
87
97
|
def get_FirstSlide()->'ClickHyperlink':
|
|
88
98
|
"""
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
99
|
+
Gets a hyperlink to the first slide.
|
|
100
|
+
|
|
101
|
+
Returns:
|
|
102
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
93
103
|
"""
|
|
94
104
|
#GetDllLibPpt().ClickHyperlink_get_FirstSlide.argtypes=[]
|
|
95
105
|
GetDllLibPpt().ClickHyperlink_get_FirstSlide.restype=c_void_p
|
|
@@ -102,10 +112,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
102
112
|
|
|
103
113
|
def get_LastSlide()->'ClickHyperlink':
|
|
104
114
|
"""
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
115
|
+
Gets a hyperlink to the last slide.
|
|
116
|
+
|
|
117
|
+
Returns:
|
|
118
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
109
119
|
"""
|
|
110
120
|
#GetDllLibPpt().ClickHyperlink_get_LastSlide.argtypes=[]
|
|
111
121
|
GetDllLibPpt().ClickHyperlink_get_LastSlide.restype=c_void_p
|
|
@@ -118,10 +128,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
118
128
|
|
|
119
129
|
def get_LastVievedSlide()->'ClickHyperlink':
|
|
120
130
|
"""
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
131
|
+
Gets a hyperlink to the last viewed slide.
|
|
132
|
+
|
|
133
|
+
Returns:
|
|
134
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
125
135
|
"""
|
|
126
136
|
#GetDllLibPpt().ClickHyperlink_get_LastVievedSlide.argtypes=[]
|
|
127
137
|
GetDllLibPpt().ClickHyperlink_get_LastVievedSlide.restype=c_void_p
|
|
@@ -134,10 +144,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
134
144
|
|
|
135
145
|
def get_EndShow()->'ClickHyperlink':
|
|
136
146
|
"""
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
147
|
+
Gets a hyperlink that ends the slide show.
|
|
148
|
+
|
|
149
|
+
Returns:
|
|
150
|
+
ClickHyperlink: Readonly hyperlink instance.
|
|
141
151
|
"""
|
|
142
152
|
#GetDllLibPpt().ClickHyperlink_get_EndShow.argtypes=[]
|
|
143
153
|
GetDllLibPpt().ClickHyperlink_get_EndShow.restype=c_void_p
|
|
@@ -150,11 +160,13 @@ class ClickHyperlink (SpireObject) :
|
|
|
150
160
|
|
|
151
161
|
def GetOtherPowerPointPresentation(filePath:str)->'ClickHyperlink':
|
|
152
162
|
"""
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
163
|
+
Creates a hyperlink to another PowerPoint presentation.
|
|
164
|
+
|
|
165
|
+
Args:
|
|
166
|
+
filePath (str): Full path to the target file.
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
ClickHyperlink: New hyperlink instance.
|
|
158
170
|
"""
|
|
159
171
|
|
|
160
172
|
filePathPtr = StrToPtr(filePath)
|
|
@@ -169,11 +181,13 @@ class ClickHyperlink (SpireObject) :
|
|
|
169
181
|
|
|
170
182
|
def GetOtherFiles(filePath:str)->'ClickHyperlink':
|
|
171
183
|
"""
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
Creates a hyperlink to other files.
|
|
185
|
+
|
|
186
|
+
Args:
|
|
187
|
+
filePath (str): Full path to the target file.
|
|
188
|
+
|
|
189
|
+
Returns:
|
|
190
|
+
ClickHyperlink: New hyperlink instance.
|
|
177
191
|
"""
|
|
178
192
|
|
|
179
193
|
filePathPtr = StrToPtr(filePath)
|
|
@@ -188,9 +202,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
188
202
|
|
|
189
203
|
def Address(self)->str:
|
|
190
204
|
"""
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
205
|
+
Gets or sets the URL address.
|
|
206
|
+
|
|
207
|
+
Returns:
|
|
208
|
+
str: The internet address.
|
|
194
209
|
"""
|
|
195
210
|
GetDllLibPpt().ClickHyperlink_get_Address.argtypes=[c_void_p]
|
|
196
211
|
GetDllLibPpt().ClickHyperlink_get_Address.restype=c_void_p
|
|
@@ -205,11 +220,8 @@ class ClickHyperlink (SpireObject) :
|
|
|
205
220
|
CallCFunction(GetDllLibPpt().ClickHyperlink_set_Address,self.Ptr,valuePtr)
|
|
206
221
|
|
|
207
222
|
@property
|
|
208
|
-
|
|
209
223
|
def InvalidUrl(self)->str:
|
|
210
|
-
"""
|
|
211
|
-
|
|
212
|
-
"""
|
|
224
|
+
"""Gets or sets the invalid URL (internal use)."""
|
|
213
225
|
GetDllLibPpt().ClickHyperlink_get_InvalidUrl.argtypes=[c_void_p]
|
|
214
226
|
GetDllLibPpt().ClickHyperlink_get_InvalidUrl.restype=c_void_p
|
|
215
227
|
ret = PtrToStr(CallCFunction(GetDllLibPpt().ClickHyperlink_get_InvalidUrl,self.Ptr))
|
|
@@ -225,9 +237,7 @@ class ClickHyperlink (SpireObject) :
|
|
|
225
237
|
@property
|
|
226
238
|
|
|
227
239
|
def Action(self)->str:
|
|
228
|
-
"""
|
|
229
|
-
|
|
230
|
-
"""
|
|
240
|
+
"""Gets or sets the action type (internal use)."""
|
|
231
241
|
GetDllLibPpt().ClickHyperlink_get_Action.argtypes=[c_void_p]
|
|
232
242
|
GetDllLibPpt().ClickHyperlink_get_Action.restype=c_void_p
|
|
233
243
|
ret = PtrToStr(CallCFunction(GetDllLibPpt().ClickHyperlink_get_Action,self.Ptr))
|
|
@@ -244,10 +254,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
244
254
|
|
|
245
255
|
def ActionType(self)->'HyperlinkActionType':
|
|
246
256
|
"""
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
257
|
+
Gets the type of hyperlink action.
|
|
258
|
+
|
|
259
|
+
Returns:
|
|
260
|
+
HyperlinkActionType: Readonly enum value.
|
|
251
261
|
"""
|
|
252
262
|
GetDllLibPpt().ClickHyperlink_get_ActionType.argtypes=[c_void_p]
|
|
253
263
|
GetDllLibPpt().ClickHyperlink_get_ActionType.restype=c_int
|
|
@@ -259,10 +269,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
259
269
|
|
|
260
270
|
def TargetSlide(self)->'ISlide':
|
|
261
271
|
"""
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
272
|
+
Gets the target slide if hyperlink targets a slide.
|
|
273
|
+
|
|
274
|
+
Returns:
|
|
275
|
+
ISlide: Readonly slide object.
|
|
266
276
|
"""
|
|
267
277
|
from spire.presentation.ISlide import ISlide
|
|
268
278
|
GetDllLibPpt().ClickHyperlink_get_TargetSlide.argtypes=[c_void_p]
|
|
@@ -276,10 +286,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
276
286
|
|
|
277
287
|
def TargetFrame(self)->str:
|
|
278
288
|
"""
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
289
|
+
Gets or sets the target frame within HTML frameset.
|
|
290
|
+
|
|
291
|
+
Returns:
|
|
292
|
+
str: Target frame name.
|
|
283
293
|
"""
|
|
284
294
|
GetDllLibPpt().ClickHyperlink_get_TargetFrame.argtypes=[c_void_p]
|
|
285
295
|
GetDllLibPpt().ClickHyperlink_get_TargetFrame.restype=c_void_p
|
|
@@ -297,10 +307,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
297
307
|
|
|
298
308
|
def Tooltip(self)->str:
|
|
299
309
|
"""
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
310
|
+
Gets or sets the ScreenTip text.
|
|
311
|
+
|
|
312
|
+
Returns:
|
|
313
|
+
str: Tooltip text.
|
|
304
314
|
"""
|
|
305
315
|
GetDllLibPpt().ClickHyperlink_get_Tooltip.argtypes=[c_void_p]
|
|
306
316
|
GetDllLibPpt().ClickHyperlink_get_Tooltip.restype=c_void_p
|
|
@@ -317,11 +327,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
317
327
|
@property
|
|
318
328
|
def History(self)->bool:
|
|
319
329
|
"""
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
</summary>
|
|
330
|
+
Gets or sets whether to add target to history list.
|
|
331
|
+
|
|
332
|
+
Returns:
|
|
333
|
+
bool: True if target should be added to history.
|
|
325
334
|
"""
|
|
326
335
|
GetDllLibPpt().ClickHyperlink_get_History.argtypes=[c_void_p]
|
|
327
336
|
GetDllLibPpt().ClickHyperlink_get_History.restype=c_bool
|
|
@@ -336,10 +345,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
336
345
|
@property
|
|
337
346
|
def IsHighlightClick(self)->bool:
|
|
338
347
|
"""
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
348
|
+
Gets or sets whether to highlight on click.
|
|
349
|
+
|
|
350
|
+
Returns:
|
|
351
|
+
bool: True if should highlight on click.
|
|
343
352
|
"""
|
|
344
353
|
GetDllLibPpt().ClickHyperlink_get_IsHighlightClick.argtypes=[c_void_p]
|
|
345
354
|
GetDllLibPpt().ClickHyperlink_get_IsHighlightClick.restype=c_bool
|
|
@@ -348,16 +357,22 @@ class ClickHyperlink (SpireObject) :
|
|
|
348
357
|
|
|
349
358
|
@IsHighlightClick.setter
|
|
350
359
|
def IsHighlightClick(self, value:bool):
|
|
360
|
+
"""
|
|
361
|
+
Sets whether to highlight on click.
|
|
362
|
+
|
|
363
|
+
Args:
|
|
364
|
+
value (bool): True to enable highlight.
|
|
365
|
+
"""
|
|
351
366
|
GetDllLibPpt().ClickHyperlink_set_IsHighlightClick.argtypes=[c_void_p, c_bool]
|
|
352
367
|
CallCFunction(GetDllLibPpt().ClickHyperlink_set_IsHighlightClick,self.Ptr, value)
|
|
353
368
|
|
|
354
369
|
@property
|
|
355
370
|
def EndSounds(self)->bool:
|
|
356
371
|
"""
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
372
|
+
Gets or sets whether to stop sounds on click.
|
|
373
|
+
|
|
374
|
+
Returns:
|
|
375
|
+
bool: True if sounds should stop.
|
|
361
376
|
"""
|
|
362
377
|
GetDllLibPpt().ClickHyperlink_get_EndSounds.argtypes=[c_void_p]
|
|
363
378
|
GetDllLibPpt().ClickHyperlink_get_EndSounds.restype=c_bool
|
|
@@ -366,6 +381,12 @@ class ClickHyperlink (SpireObject) :
|
|
|
366
381
|
|
|
367
382
|
@EndSounds.setter
|
|
368
383
|
def EndSounds(self, value:bool):
|
|
384
|
+
"""
|
|
385
|
+
Sets whether to stop sounds on click.
|
|
386
|
+
|
|
387
|
+
Args:
|
|
388
|
+
value (bool): True to stop sounds.
|
|
389
|
+
"""
|
|
369
390
|
GetDllLibPpt().ClickHyperlink_set_EndSounds.argtypes=[c_void_p, c_bool]
|
|
370
391
|
CallCFunction(GetDllLibPpt().ClickHyperlink_set_EndSounds,self.Ptr, value)
|
|
371
392
|
|
|
@@ -373,10 +394,13 @@ class ClickHyperlink (SpireObject) :
|
|
|
373
394
|
|
|
374
395
|
def Equals(self ,obj:SpireObject)->bool:
|
|
375
396
|
"""
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
397
|
+
Determines if two hyperlinks are equal.
|
|
398
|
+
|
|
399
|
+
Args:
|
|
400
|
+
obj (SpireObject): The hyperlink to compare.
|
|
401
|
+
|
|
402
|
+
Returns:
|
|
403
|
+
bool: True if equal.
|
|
380
404
|
"""
|
|
381
405
|
intPtrobj:c_void_p = obj.Ptr
|
|
382
406
|
|
|
@@ -389,10 +413,13 @@ class ClickHyperlink (SpireObject) :
|
|
|
389
413
|
|
|
390
414
|
def Equals(self ,hlink:'ClickHyperlink')->bool:
|
|
391
415
|
"""
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
416
|
+
Determines if two hyperlinks are equal.
|
|
417
|
+
|
|
418
|
+
Args:
|
|
419
|
+
hlink (ClickHyperlink): The hyperlink to compare.
|
|
420
|
+
|
|
421
|
+
Returns:
|
|
422
|
+
bool: True if equal.
|
|
396
423
|
"""
|
|
397
424
|
intPtrhlink:c_void_p = hlink.Ptr
|
|
398
425
|
|
|
@@ -405,7 +432,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
405
432
|
|
|
406
433
|
def op_Equality(hlink1:'ClickHyperlink',hlink2:'ClickHyperlink')->bool:
|
|
407
434
|
"""
|
|
435
|
+
Equality operator for hyperlinks.
|
|
408
436
|
|
|
437
|
+
Returns:
|
|
438
|
+
bool: True if equal.
|
|
409
439
|
"""
|
|
410
440
|
intPtrhlink1:c_void_p = hlink1.Ptr
|
|
411
441
|
intPtrhlink2:c_void_p = hlink2.Ptr
|
|
@@ -419,7 +449,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
419
449
|
|
|
420
450
|
def op_Inequality(hlink1:'ClickHyperlink',hlink2:'ClickHyperlink')->bool:
|
|
421
451
|
"""
|
|
452
|
+
Inequality operator for hyperlinks.
|
|
422
453
|
|
|
454
|
+
Returns:
|
|
455
|
+
bool: True if not equal.
|
|
423
456
|
"""
|
|
424
457
|
intPtrhlink1:c_void_p = hlink1.Ptr
|
|
425
458
|
intPtrhlink2:c_void_p = hlink2.Ptr
|
|
@@ -431,7 +464,10 @@ class ClickHyperlink (SpireObject) :
|
|
|
431
464
|
|
|
432
465
|
def GetHashCode(self)->int:
|
|
433
466
|
"""
|
|
467
|
+
Gets hash code for the hyperlink.
|
|
434
468
|
|
|
469
|
+
Returns:
|
|
470
|
+
int: Hash code value.
|
|
435
471
|
"""
|
|
436
472
|
GetDllLibPpt().ClickHyperlink_GetHashCode.argtypes=[c_void_p]
|
|
437
473
|
GetDllLibPpt().ClickHyperlink_GetHashCode.restype=c_int
|
spire/presentation/Comment.py
CHANGED
|
@@ -8,18 +8,16 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class Comment ( PptObject) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
Represents a comment on a slide.
|
|
13
|
-
</summary>
|
|
11
|
+
Represents a comment on a presentation slide.
|
|
14
12
|
"""
|
|
15
13
|
@property
|
|
16
14
|
|
|
17
15
|
def Text(self)->str:
|
|
18
16
|
"""
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
Gets or sets the text content of the comment.
|
|
18
|
+
|
|
19
|
+
Returns:
|
|
20
|
+
str: Comment text content.
|
|
23
21
|
"""
|
|
24
22
|
GetDllLibPpt().Comment_get_Text.argtypes=[c_void_p]
|
|
25
23
|
GetDllLibPpt().Comment_get_Text.restype=c_void_p
|
|
@@ -29,6 +27,12 @@ class Comment ( PptObject) :
|
|
|
29
27
|
|
|
30
28
|
@Text.setter
|
|
31
29
|
def Text(self, value:str):
|
|
30
|
+
"""
|
|
31
|
+
Sets the text content of the comment.
|
|
32
|
+
|
|
33
|
+
Args:
|
|
34
|
+
value (str): New comment text content.
|
|
35
|
+
"""
|
|
32
36
|
valuePtr = StrToPtr(value)
|
|
33
37
|
GetDllLibPpt().Comment_set_Text.argtypes=[c_void_p, c_char_p]
|
|
34
38
|
CallCFunction(GetDllLibPpt().Comment_set_Text,self.Ptr,valuePtr)
|
|
@@ -37,10 +41,10 @@ class Comment ( PptObject) :
|
|
|
37
41
|
|
|
38
42
|
def DateTime(self)->'DateTime':
|
|
39
43
|
"""
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
Gets or sets the creation date and time of the comment.
|
|
45
|
+
|
|
46
|
+
Returns:
|
|
47
|
+
DateTime: Comment creation timestamp.
|
|
44
48
|
"""
|
|
45
49
|
GetDllLibPpt().Comment_get_DateTime.argtypes=[c_void_p]
|
|
46
50
|
GetDllLibPpt().Comment_get_DateTime.restype=c_void_p
|
|
@@ -51,6 +55,12 @@ class Comment ( PptObject) :
|
|
|
51
55
|
|
|
52
56
|
@DateTime.setter
|
|
53
57
|
def DateTime(self, value:'DateTime'):
|
|
58
|
+
"""
|
|
59
|
+
Sets the creation date and time of the comment.
|
|
60
|
+
|
|
61
|
+
Args:
|
|
62
|
+
value (DateTime): New creation timestamp.
|
|
63
|
+
"""
|
|
54
64
|
GetDllLibPpt().Comment_set_DateTime.argtypes=[c_void_p, c_void_p]
|
|
55
65
|
CallCFunction(GetDllLibPpt().Comment_set_DateTime,self.Ptr, value.Ptr)
|
|
56
66
|
|
|
@@ -58,10 +68,10 @@ class Comment ( PptObject) :
|
|
|
58
68
|
|
|
59
69
|
def Slide(self)->'ISlide':
|
|
60
70
|
"""
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
Gets the parent slide containing this comment.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
ISlide: Parent slide object.
|
|
65
75
|
"""
|
|
66
76
|
GetDllLibPpt().Comment_get_Slide.argtypes=[c_void_p]
|
|
67
77
|
GetDllLibPpt().Comment_get_Slide.restype=c_void_p
|
|
@@ -74,9 +84,10 @@ class Comment ( PptObject) :
|
|
|
74
84
|
|
|
75
85
|
def AuthorName(self)->str:
|
|
76
86
|
"""
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
Gets or sets the author's display name.
|
|
88
|
+
|
|
89
|
+
Returns:
|
|
90
|
+
str: Comment author's name.
|
|
80
91
|
"""
|
|
81
92
|
GetDllLibPpt().Comment_get_AuthorName.argtypes=[c_void_p]
|
|
82
93
|
GetDllLibPpt().Comment_get_AuthorName.restype=c_void_p
|
|
@@ -86,6 +97,12 @@ class Comment ( PptObject) :
|
|
|
86
97
|
|
|
87
98
|
@AuthorName.setter
|
|
88
99
|
def AuthorName(self, value:str):
|
|
100
|
+
"""
|
|
101
|
+
Sets the author's display name.
|
|
102
|
+
|
|
103
|
+
Args:
|
|
104
|
+
value (str): New author name.
|
|
105
|
+
"""
|
|
89
106
|
valuePtr = StrToPtr(value)
|
|
90
107
|
GetDllLibPpt().Comment_set_AuthorName.argtypes=[c_void_p, c_char_p]
|
|
91
108
|
CallCFunction(GetDllLibPpt().Comment_set_AuthorName,self.Ptr,valuePtr)
|
|
@@ -94,9 +111,10 @@ class Comment ( PptObject) :
|
|
|
94
111
|
|
|
95
112
|
def AuthorInitials(self)->str:
|
|
96
113
|
"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
114
|
+
Gets or sets the author's initials.
|
|
115
|
+
|
|
116
|
+
Returns:
|
|
117
|
+
str: Comment author's initials.
|
|
100
118
|
"""
|
|
101
119
|
GetDllLibPpt().Comment_get_AuthorInitials.argtypes=[c_void_p]
|
|
102
120
|
GetDllLibPpt().Comment_get_AuthorInitials.restype=c_void_p
|
|
@@ -106,6 +124,12 @@ class Comment ( PptObject) :
|
|
|
106
124
|
|
|
107
125
|
@AuthorInitials.setter
|
|
108
126
|
def AuthorInitials(self, value:str):
|
|
127
|
+
"""
|
|
128
|
+
Sets the author's initials.
|
|
129
|
+
|
|
130
|
+
Args:
|
|
131
|
+
value (str): New author initials.
|
|
132
|
+
"""
|
|
109
133
|
valuePtr = StrToPtr(value)
|
|
110
134
|
GetDllLibPpt().Comment_set_AuthorInitials.argtypes=[c_void_p, c_char_p]
|
|
111
135
|
CallCFunction(GetDllLibPpt().Comment_set_AuthorInitials,self.Ptr,valuePtr)
|
|
@@ -113,9 +137,10 @@ class Comment ( PptObject) :
|
|
|
113
137
|
@property
|
|
114
138
|
def Left(self)->float:
|
|
115
139
|
"""
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
140
|
+
Gets or sets horizontal position from slide left edge.
|
|
141
|
+
|
|
142
|
+
Returns:
|
|
143
|
+
float: X-coordinate in points.
|
|
119
144
|
"""
|
|
120
145
|
GetDllLibPpt().Comment_get_Left.argtypes=[c_void_p]
|
|
121
146
|
GetDllLibPpt().Comment_get_Left.restype=c_float
|
|
@@ -124,15 +149,22 @@ class Comment ( PptObject) :
|
|
|
124
149
|
|
|
125
150
|
@Left.setter
|
|
126
151
|
def Left(self, value:float):
|
|
152
|
+
"""
|
|
153
|
+
Sets horizontal position from slide left edge.
|
|
154
|
+
|
|
155
|
+
Args:
|
|
156
|
+
value (float): New X-coordinate in points.
|
|
157
|
+
"""
|
|
127
158
|
GetDllLibPpt().Comment_set_Left.argtypes=[c_void_p, c_float]
|
|
128
159
|
CallCFunction(GetDllLibPpt().Comment_set_Left,self.Ptr, value)
|
|
129
160
|
|
|
130
161
|
@property
|
|
131
162
|
def Top(self)->float:
|
|
132
163
|
"""
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
164
|
+
Gets or sets vertical position from slide top edge.
|
|
165
|
+
|
|
166
|
+
Returns:
|
|
167
|
+
float: Y-coordinate in points.
|
|
136
168
|
"""
|
|
137
169
|
GetDllLibPpt().Comment_get_Top.argtypes=[c_void_p]
|
|
138
170
|
GetDllLibPpt().Comment_get_Top.restype=c_float
|
|
@@ -141,18 +173,24 @@ class Comment ( PptObject) :
|
|
|
141
173
|
|
|
142
174
|
@Top.setter
|
|
143
175
|
def Top(self, value:float):
|
|
176
|
+
"""
|
|
177
|
+
Sets vertical position from slide top edge.
|
|
178
|
+
|
|
179
|
+
Args:
|
|
180
|
+
value (float): New Y-coordinate in points.
|
|
181
|
+
"""
|
|
144
182
|
GetDllLibPpt().Comment_set_Top.argtypes=[c_void_p, c_float]
|
|
145
183
|
CallCFunction(GetDllLibPpt().Comment_set_Top,self.Ptr, value)
|
|
146
184
|
|
|
147
185
|
|
|
148
186
|
def Reply(self ,author:'ICommentAuthor',reply:str,time:'DateTime'):
|
|
149
187
|
"""
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
188
|
+
Adds a reply to this comment (does nothing if comment is already a reply).
|
|
189
|
+
|
|
190
|
+
Args:
|
|
191
|
+
author (ICommentAuthor): Author of the reply.
|
|
192
|
+
reply (str): Text content of the reply.
|
|
193
|
+
time (DateTime): Timestamp of the reply.
|
|
156
194
|
"""
|
|
157
195
|
intPtrauthor:c_void_p = author.Ptr
|
|
158
196
|
intPtrtime:c_void_p = time.Ptr
|
|
@@ -164,9 +202,10 @@ class Comment ( PptObject) :
|
|
|
164
202
|
@property
|
|
165
203
|
def IsReply(self)->bool:
|
|
166
204
|
"""
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
205
|
+
Determines if the comment is a reply to another comment.
|
|
206
|
+
|
|
207
|
+
Returns:
|
|
208
|
+
bool: True if comment is a reply; otherwise False.
|
|
170
209
|
"""
|
|
171
210
|
GetDllLibPpt().Comment_get_IsReply.argtypes=[c_void_p]
|
|
172
211
|
GetDllLibPpt().Comment_get_IsReply.restype=c_bool
|
|
@@ -8,7 +8,7 @@ import abc
|
|
|
8
8
|
|
|
9
9
|
class ConnectorLocking ( SimpleShapeBaseLocking) :
|
|
10
10
|
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Specifies which operations are disabled on a parent Connector shape.
|
|
12
|
+
|
|
13
|
+
Inherits locking settings from SimpleShapeBaseLocking and adds connector-specific restrictions.
|
|
14
14
|
"""
|