spire-presentation 11.2.0__py3-none-macosx_11_0_arm64.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/__init__.py +0 -0
- spire/presentation/ActiveSlide.py +215 -0
- spire/presentation/AppException.py +14 -0
- spire/presentation/AudioCD.py +85 -0
- spire/presentation/AudioPlayMode.py +23 -0
- spire/presentation/AudioVolumeType.py +25 -0
- spire/presentation/BaseShapeLocking.py +25 -0
- spire/presentation/Camera.py +127 -0
- spire/presentation/ClickHyperlink.py +476 -0
- spire/presentation/Comment.py +214 -0
- spire/presentation/ConnectorLocking.py +14 -0
- spire/presentation/DefaultTextRangeProperties.py +526 -0
- spire/presentation/Direction.py +19 -0
- spire/presentation/Field.py +57 -0
- spire/presentation/FieldType.py +282 -0
- spire/presentation/FileFormat.py +64 -0
- spire/presentation/FontAlignmentType.py +27 -0
- spire/presentation/FontCollectionIndex.py +21 -0
- spire/presentation/FontScheme.py +78 -0
- spire/presentation/FormatAndVersion.py +73 -0
- spire/presentation/GroupShape.py +73 -0
- spire/presentation/GroupShapeLocking.py +122 -0
- spire/presentation/HyperlinkActionType.py +47 -0
- spire/presentation/IActivePresentation.py +29 -0
- spire/presentation/IActiveSlide.py +27 -0
- spire/presentation/IAudio.py +608 -0
- spire/presentation/IAudioData.py +63 -0
- spire/presentation/IAutoShape.py +622 -0
- spire/presentation/ICommentAuthor.py +119 -0
- spire/presentation/IDigitalSignature.py +72 -0
- spire/presentation/IDigitalSignatures.py +34 -0
- spire/presentation/IDocumentProperty.py +533 -0
- spire/presentation/IEmbedImage.py +546 -0
- spire/presentation/ILayout.py +143 -0
- spire/presentation/IMasterSlide.py +281 -0
- spire/presentation/INoteMasterSlide.py +179 -0
- spire/presentation/IOleObject.py +661 -0
- spire/presentation/IShape.py +670 -0
- spire/presentation/ISlide.py +826 -0
- spire/presentation/ITextFrameProperties.py +566 -0
- spire/presentation/IVideo.py +809 -0
- spire/presentation/ImportDataFormat.py +21 -0
- spire/presentation/InsertPlaceholderType.py +22 -0
- spire/presentation/KnownColors.py +155 -0
- spire/presentation/LightRig.py +112 -0
- spire/presentation/LightingDirectionType.py +24 -0
- spire/presentation/LineCapStyle.py +23 -0
- spire/presentation/LineDashStyleType.py +41 -0
- spire/presentation/LineEndLength.py +23 -0
- spire/presentation/LineEndType.py +29 -0
- spire/presentation/LineEndWidth.py +23 -0
- spire/presentation/LineFillFormat.py +142 -0
- spire/presentation/LineJoinType.py +23 -0
- spire/presentation/LineText.py +48 -0
- spire/presentation/LinearGradientFill.py +64 -0
- spire/presentation/LocaleFonts.py +113 -0
- spire/presentation/MasterTheme.py +92 -0
- spire/presentation/MetaCharacterType.py +27 -0
- spire/presentation/NotesSlide.py +98 -0
- spire/presentation/NumberedBulletStyle.py +56 -0
- spire/presentation/OleObject.py +128 -0
- spire/presentation/Order.py +16 -0
- spire/presentation/PageSlideCount.py +20 -0
- spire/presentation/ParagraphProperties.py +632 -0
- spire/presentation/PictureShape.py +124 -0
- spire/presentation/Placeholder.py +101 -0
- spire/presentation/PlaceholderSize.py +23 -0
- spire/presentation/PlaceholderType.py +49 -0
- spire/presentation/PptObject.py +39 -0
- spire/presentation/Presentation.py +1389 -0
- spire/presentation/PresetCameraType.py +76 -0
- spire/presentation/PresetLightRigType.py +61 -0
- spire/presentation/PresetMaterialType.py +47 -0
- spire/presentation/PresetShadowValue.py +36 -0
- spire/presentation/RectangleAlignment.py +25 -0
- spire/presentation/RelativeRectangle.py +207 -0
- spire/presentation/Section.py +187 -0
- spire/presentation/SectionList.py +197 -0
- spire/presentation/Shape.py +631 -0
- spire/presentation/ShapeAdjust.py +65 -0
- spire/presentation/ShapeAlignment.py +34 -0
- spire/presentation/ShapeArrange.py +26 -0
- spire/presentation/ShapeBevelStyle.py +89 -0
- spire/presentation/ShapeCollection.py +75 -0
- spire/presentation/ShapeElementFillSource.py +29 -0
- spire/presentation/ShapeElementStrokeSource.py +21 -0
- spire/presentation/ShapeLocking.py +43 -0
- spire/presentation/ShapeNode.py +99 -0
- spire/presentation/ShapeStyle.py +221 -0
- spire/presentation/ShapeThreeD.py +201 -0
- spire/presentation/ShapeType.py +202 -0
- spire/presentation/SimpleShapeBaseLocking.py +223 -0
- spire/presentation/SlideBackground.py +169 -0
- spire/presentation/SlideColorScheme.py +61 -0
- spire/presentation/SlideLayoutType.py +87 -0
- spire/presentation/SlideList.py +355 -0
- spire/presentation/SlideOrienation.py +19 -0
- spire/presentation/SlidePicture.py +97 -0
- spire/presentation/SlidePictureLocking.py +39 -0
- spire/presentation/SlideShowType.py +21 -0
- spire/presentation/SlideSize.py +121 -0
- spire/presentation/SlideSizeType.py +49 -0
- spire/presentation/SystemColorType.py +46 -0
- spire/presentation/TabAlignmentType.py +20 -0
- spire/presentation/TabData.py +61 -0
- spire/presentation/TabStop.py +88 -0
- spire/presentation/TextAlignmentType.py +27 -0
- spire/presentation/TextAnchorType.py +31 -0
- spire/presentation/TextAutofitType.py +23 -0
- spire/presentation/TextBulletType.py +25 -0
- spire/presentation/TextCapType.py +23 -0
- spire/presentation/TextCharacterProperties.py +662 -0
- spire/presentation/TextFont.py +106 -0
- spire/presentation/TextHighLightingOptions.py +83 -0
- spire/presentation/TextHorizontalOverflowType.py +21 -0
- spire/presentation/TextLineFormat.py +403 -0
- spire/presentation/TextLineStyle.py +27 -0
- spire/presentation/TextParagraph.py +132 -0
- spire/presentation/TextParagraphProperties.py +517 -0
- spire/presentation/TextRange.py +160 -0
- spire/presentation/TextShapeType.py +101 -0
- spire/presentation/TextStrikethroughType.py +23 -0
- spire/presentation/TextStyle.py +85 -0
- spire/presentation/TextUnderlineType.py +53 -0
- spire/presentation/TextVerticalOverflowType.py +23 -0
- spire/presentation/Theme.py +119 -0
- spire/presentation/TileFlipMode.py +25 -0
- spire/presentation/TriState.py +17 -0
- spire/presentation/VerticalTextType.py +31 -0
- spire/presentation/VideoData.py +98 -0
- spire/presentation/VideoPlayMode.py +23 -0
- spire/presentation/_Presentation.py +171 -0
- spire/presentation/__init__.py +431 -0
- spire/presentation/animation/AnimateType.py +24 -0
- spire/presentation/animation/AnimationCalculationMode.py +23 -0
- spire/presentation/animation/AnimationColorBehavior.py +146 -0
- spire/presentation/animation/AnimationColorDirection.py +21 -0
- spire/presentation/animation/AnimationColorTransform.py +86 -0
- spire/presentation/animation/AnimationColorspace.py +21 -0
- spire/presentation/animation/AnimationCommandBehavior.py +82 -0
- spire/presentation/animation/AnimationCommandType.py +23 -0
- spire/presentation/animation/AnimationEffect.py +341 -0
- spire/presentation/animation/AnimationEffectCollection.py +178 -0
- spire/presentation/animation/AnimationEffectSubtype.py +164 -0
- spire/presentation/animation/AnimationEffectType.py +466 -0
- spire/presentation/animation/AnimationFilterEffect.py +92 -0
- spire/presentation/animation/AnimationMotion.py +192 -0
- spire/presentation/animation/AnimationMotionOrigin.py +21 -0
- spire/presentation/animation/AnimationMotionPathEditMode.py +21 -0
- spire/presentation/animation/AnimationProperty.py +173 -0
- spire/presentation/animation/AnimationRepeatType.py +21 -0
- spire/presentation/animation/AnimationRestartType.py +23 -0
- spire/presentation/animation/AnimationRotation.py +60 -0
- spire/presentation/animation/AnimationScale.py +121 -0
- spire/presentation/animation/AnimationSet.py +35 -0
- spire/presentation/animation/AnimationTriggerType.py +25 -0
- spire/presentation/animation/BehaviorAccumulateType.py +21 -0
- spire/presentation/animation/BehaviorAdditiveType.py +27 -0
- spire/presentation/animation/CommonBehavior.py +110 -0
- spire/presentation/animation/CommonBehaviorCollection.py +211 -0
- spire/presentation/animation/FilterEffectSubtype.py +70 -0
- spire/presentation/animation/FilterEffectType.py +71 -0
- spire/presentation/animation/FilterEffectsType.py +21 -0
- spire/presentation/animation/FilterRevealType.py +23 -0
- spire/presentation/animation/GraphicAnimation.py +60 -0
- spire/presentation/animation/GraphicAnimationCollection.py +134 -0
- spire/presentation/animation/GraphicBuildType.py +25 -0
- spire/presentation/animation/MotionCmdPath.py +115 -0
- spire/presentation/animation/MotionCommandPathType.py +25 -0
- spire/presentation/animation/MotionPath.py +120 -0
- spire/presentation/animation/MotionPathPointsType.py +33 -0
- spire/presentation/animation/ParagraphBuildType.py +31 -0
- spire/presentation/animation/PropertyValueType.py +23 -0
- spire/presentation/animation/SequenceCollection.py +111 -0
- spire/presentation/animation/TextAnimation.py +81 -0
- spire/presentation/animation/TextAnimationCollection.py +162 -0
- spire/presentation/animation/TimeAnimationValue.py +73 -0
- spire/presentation/animation/TimeAnimationValueCollection.py +54 -0
- spire/presentation/animation/TimeLine.py +78 -0
- spire/presentation/animation/TimeNode.py +62 -0
- spire/presentation/animation/TimeNodeAudio.py +128 -0
- spire/presentation/animation/TimeNodeMedia.py +30 -0
- spire/presentation/animation/TimeNodePresetClassType.py +29 -0
- spire/presentation/animation/TimeNodes.py +109 -0
- spire/presentation/animation/Timing.py +249 -0
- spire/presentation/animation/__init__.py +0 -0
- spire/presentation/charts/AxisPositionType.py +23 -0
- spire/presentation/charts/AxisType.py +21 -0
- spire/presentation/charts/CellRange.py +200 -0
- spire/presentation/charts/CellRanges.py +126 -0
- spire/presentation/charts/ChartAxis.py +828 -0
- spire/presentation/charts/ChartBaseUnitType.py +18 -0
- spire/presentation/charts/ChartCategory.py +40 -0
- spire/presentation/charts/ChartCategoryCollection.py +195 -0
- spire/presentation/charts/ChartCrossesType.py +21 -0
- spire/presentation/charts/ChartData.py +267 -0
- spire/presentation/charts/ChartDataLabel.py +481 -0
- spire/presentation/charts/ChartDataLabelCollection.py +464 -0
- spire/presentation/charts/ChartDataLabelPosition.py +35 -0
- spire/presentation/charts/ChartDataPoint.py +246 -0
- spire/presentation/charts/ChartDataPointCollection.py +75 -0
- spire/presentation/charts/ChartDataTable.py +164 -0
- spire/presentation/charts/ChartDisplayUnitType.py +37 -0
- spire/presentation/charts/ChartEffectFormat.py +76 -0
- spire/presentation/charts/ChartLegend.py +260 -0
- spire/presentation/charts/ChartLegendPositionType.py +27 -0
- spire/presentation/charts/ChartMarkerType.py +39 -0
- spire/presentation/charts/ChartPlotArea.py +150 -0
- spire/presentation/charts/ChartRotationThreeD.py +72 -0
- spire/presentation/charts/ChartSeriesDataFormat.py +600 -0
- spire/presentation/charts/ChartSeriesFormatCollection.py +238 -0
- spire/presentation/charts/ChartShapeType.py +29 -0
- spire/presentation/charts/ChartStyle.py +61 -0
- spire/presentation/charts/ChartTextArea.py +158 -0
- spire/presentation/charts/ChartType.py +95 -0
- spire/presentation/charts/ChartWallsOrFloor.py +114 -0
- spire/presentation/charts/CrossBetweenType.py +20 -0
- spire/presentation/charts/DataLabelShapeType.py +28 -0
- spire/presentation/charts/DisplayBlanksAsType.py +17 -0
- spire/presentation/charts/ErrorBarSimpleType.py +21 -0
- spire/presentation/charts/ErrorValueType.py +25 -0
- spire/presentation/charts/Geography.py +12 -0
- spire/presentation/charts/HistogramAxisFormat.py +26 -0
- spire/presentation/charts/IChart.py +905 -0
- spire/presentation/charts/IChartAxis.py +826 -0
- spire/presentation/charts/IChartEffectFormat.py +87 -0
- spire/presentation/charts/IChartGridLine.py +337 -0
- spire/presentation/charts/IErrorBarsFormat.py +128 -0
- spire/presentation/charts/ITrendlineLabel.py +73 -0
- spire/presentation/charts/ITrendlines.py +285 -0
- spire/presentation/charts/InteriorColorPattern.py +35 -0
- spire/presentation/charts/LayoutProperty.py +124 -0
- spire/presentation/charts/LegendEntry.py +30 -0
- spire/presentation/charts/LegendEntryCollection.py +52 -0
- spire/presentation/charts/PictureType.py +23 -0
- spire/presentation/charts/ProjectionType.py +22 -0
- spire/presentation/charts/QuartileCalculation.py +17 -0
- spire/presentation/charts/TickLabelPositionType.py +23 -0
- spire/presentation/charts/TickMarkType.py +23 -0
- spire/presentation/charts/TreeMapLabelOption.py +21 -0
- spire/presentation/charts/TrendlinesType.py +27 -0
- spire/presentation/charts/__init__.py +0 -0
- spire/presentation/collections/CommentAuthorCollection.py +60 -0
- spire/presentation/collections/CommentAuthorList.py +168 -0
- spire/presentation/collections/CommentCollection.py +44 -0
- spire/presentation/collections/CommentList.py +167 -0
- spire/presentation/collections/EffectDataCollection.py +101 -0
- spire/presentation/collections/EffectStyleCollection.py +73 -0
- spire/presentation/collections/EffectStyleList.py +69 -0
- spire/presentation/collections/EmbedImageList.py +121 -0
- spire/presentation/collections/FillFormatCollection.py +45 -0
- spire/presentation/collections/FillFormatList.py +13 -0
- spire/presentation/collections/FillListBase.py +78 -0
- spire/presentation/collections/FillStyleCollection.py +76 -0
- spire/presentation/collections/FillStyleList.py +32 -0
- spire/presentation/collections/GradientStopCollection.py +40 -0
- spire/presentation/collections/GradientStopDataCollection.py +76 -0
- spire/presentation/collections/GradientStopList.py +171 -0
- spire/presentation/collections/IMasterLayouts.py +78 -0
- spire/presentation/collections/ImageCollection.py +39 -0
- spire/presentation/collections/ImageTransformEffectCollection.py +39 -0
- spire/presentation/collections/LineStyleCollection.py +62 -0
- spire/presentation/collections/LineStyleList.py +79 -0
- spire/presentation/collections/MasterSlideCollection.py +40 -0
- spire/presentation/collections/MasterSlideList.py +140 -0
- spire/presentation/collections/OleObjectCollection.py +120 -0
- spire/presentation/collections/OleObjectProperties.py +154 -0
- spire/presentation/collections/ParagraphCollection.py +90 -0
- spire/presentation/collections/ParagraphList.py +195 -0
- spire/presentation/collections/ShapeAdjustCollection.py +57 -0
- spire/presentation/collections/ShapeAdjustmentList.py +43 -0
- spire/presentation/collections/ShapeList.py +1132 -0
- spire/presentation/collections/SlideCollection.py +56 -0
- spire/presentation/collections/SlideColorSchemeCollection.py +122 -0
- spire/presentation/collections/TabStopCollection.py +57 -0
- spire/presentation/collections/TabStopList.py +127 -0
- spire/presentation/collections/TagCollection.py +58 -0
- spire/presentation/collections/TagList.py +174 -0
- spire/presentation/collections/TextLineFormatCollection.py +43 -0
- spire/presentation/collections/TextLineFormatList.py +61 -0
- spire/presentation/collections/TextRangeCollection.py +60 -0
- spire/presentation/collections/TextRangeList.py +145 -0
- spire/presentation/collections/VideoCollection.py +112 -0
- spire/presentation/collections/WavAudioCollection.py +110 -0
- spire/presentation/collections/__init__.py +0 -0
- spire/presentation/common/Boolean.py +194 -0
- spire/presentation/common/Byte.py +258 -0
- spire/presentation/common/Char.py +742 -0
- spire/presentation/common/Color.py +2189 -0
- spire/presentation/common/Common.py +163 -0
- spire/presentation/common/CultureInfo.py +567 -0
- spire/presentation/common/DateTime.py +1163 -0
- spire/presentation/common/Double.py +440 -0
- spire/presentation/common/EmfType.py +25 -0
- spire/presentation/common/Encoding.py +930 -0
- spire/presentation/common/FontStyle.py +27 -0
- spire/presentation/common/GraphicsUnit.py +29 -0
- spire/presentation/common/ICollection.py +73 -0
- spire/presentation/common/IDictionary.py +124 -0
- spire/presentation/common/IEnumerable.py +44 -0
- spire/presentation/common/IEnumerator.py +62 -0
- spire/presentation/common/IList.py +148 -0
- spire/presentation/common/Int16.py +274 -0
- spire/presentation/common/Int32.py +282 -0
- spire/presentation/common/Int64.py +258 -0
- spire/presentation/common/License.py +187 -0
- spire/presentation/common/PixelFormat.py +45 -0
- spire/presentation/common/Point.py +300 -0
- spire/presentation/common/PointF.py +276 -0
- spire/presentation/common/Rectangle.py +451 -0
- spire/presentation/common/RectangleF.py +438 -0
- spire/presentation/common/Regex.py +964 -0
- spire/presentation/common/RegexOptions.py +31 -0
- spire/presentation/common/Single.py +418 -0
- spire/presentation/common/Size.py +273 -0
- spire/presentation/common/SizeF.py +261 -0
- spire/presentation/common/SpireObject.py +81 -0
- spire/presentation/common/Stream.py +552 -0
- spire/presentation/common/String.py +1880 -0
- spire/presentation/common/TimeSpan.py +874 -0
- spire/presentation/common/UInt16.py +274 -0
- spire/presentation/common/UInt32.py +274 -0
- spire/presentation/common/UInt64.py +274 -0
- spire/presentation/common/__init__.py +383 -0
- spire/presentation/diagrams/ISmartArt.py +142 -0
- spire/presentation/diagrams/ISmartArtNode.py +347 -0
- spire/presentation/diagrams/ISmartArtNodeCollection.py +196 -0
- spire/presentation/diagrams/SmartArtColorType.py +51 -0
- spire/presentation/diagrams/SmartArtLayoutType.py +99 -0
- spire/presentation/diagrams/SmartArtStyleType.py +43 -0
- spire/presentation/diagrams/__init__.py +0 -0
- spire/presentation/drawing/Backdrop.py +96 -0
- spire/presentation/drawing/BackgroundType.py +21 -0
- spire/presentation/drawing/BevelColorType.py +19 -0
- spire/presentation/drawing/BevelPresetType.py +41 -0
- spire/presentation/drawing/BlackWhiteMode.py +39 -0
- spire/presentation/drawing/BlendEffect.py +60 -0
- spire/presentation/drawing/BlendMode.py +27 -0
- spire/presentation/drawing/BlurNode.py +29 -0
- spire/presentation/drawing/ColorFormat.py +341 -0
- spire/presentation/drawing/ColorScheme.py +274 -0
- spire/presentation/drawing/ColorSchemeIndex.py +25 -0
- spire/presentation/drawing/ColorType.py +27 -0
- spire/presentation/drawing/EffectDag.py +200 -0
- spire/presentation/drawing/EffectFillType.py +25 -0
- spire/presentation/drawing/EffectNode.py +13 -0
- spire/presentation/drawing/EffectStyle.py +60 -0
- spire/presentation/drawing/ExtensionList.py +25 -0
- spire/presentation/drawing/FillFormat.py +195 -0
- spire/presentation/drawing/FillFormatType.py +29 -0
- spire/presentation/drawing/FillOverlayEffect.py +85 -0
- spire/presentation/drawing/FormatScheme.py +126 -0
- spire/presentation/drawing/FormatThreeD.py +91 -0
- spire/presentation/drawing/GlowEffect.py +67 -0
- spire/presentation/drawing/GlowNode.py +36 -0
- spire/presentation/drawing/GradientFillFormat.py +132 -0
- spire/presentation/drawing/GradientShapeType.py +25 -0
- spire/presentation/drawing/GradientStop.py +40 -0
- spire/presentation/drawing/GradientStopData.py +36 -0
- spire/presentation/drawing/GradientStyle.py +26 -0
- spire/presentation/drawing/GraphicFrame.py +185 -0
- spire/presentation/drawing/GraphicalNodeLocking.py +121 -0
- spire/presentation/drawing/IImageData.py +105 -0
- spire/presentation/drawing/ImageTransform.py +134 -0
- spire/presentation/drawing/ImageTransformBase.py +13 -0
- spire/presentation/drawing/InnerShadowEffect.py +95 -0
- spire/presentation/drawing/InnerShadowNode.py +55 -0
- spire/presentation/drawing/OuterShadowEffect.py +227 -0
- spire/presentation/drawing/OuterShadowNode.py +157 -0
- spire/presentation/drawing/PatternFillFormat.py +97 -0
- spire/presentation/drawing/PatternFillType.py +127 -0
- spire/presentation/drawing/PenAlignmentType.py +21 -0
- spire/presentation/drawing/PictureData.py +61 -0
- spire/presentation/drawing/PictureFillFormat.py +257 -0
- spire/presentation/drawing/PictureFillType.py +19 -0
- spire/presentation/drawing/PresetShadow.py +115 -0
- spire/presentation/drawing/PresetShadowNode.py +72 -0
- spire/presentation/drawing/ReflectionEffect.py +301 -0
- spire/presentation/drawing/ReflectionNode.py +197 -0
- spire/presentation/drawing/SchemeColor.py +32 -0
- spire/presentation/drawing/SoftEdgeEffect.py +48 -0
- spire/presentation/drawing/SoftEdgeNode.py +25 -0
- spire/presentation/drawing/__init__.py +0 -0
- spire/presentation/export/PdfConformanceLevel.py +30 -0
- spire/presentation/export/SaveToHtmlOption.py +37 -0
- spire/presentation/export/SaveToPdfOption.py +109 -0
- spire/presentation/export/SaveToPptxOption.py +37 -0
- spire/presentation/export/__init__.py +0 -0
- spire/presentation/lib/Spire.Presentation.Base.dylib +0 -0
- spire/presentation/lib/__init__.py +0 -0
- spire/presentation/lib/libSkiaSharp.dylib +0 -0
- spire/presentation/license/LicenseProvider.py +112 -0
- spire/presentation/license/__init__.py +0 -0
- spire/presentation/table/Cell.py +475 -0
- spire/presentation/table/CellCollection.py +158 -0
- spire/presentation/table/ColumnCollection.py +42 -0
- spire/presentation/table/ColumnList.py +119 -0
- spire/presentation/table/ITable.py +689 -0
- spire/presentation/table/RowList.py +126 -0
- spire/presentation/table/TableBorderType.py +39 -0
- spire/presentation/table/TableColumn.py +39 -0
- spire/presentation/table/TableRow.py +39 -0
- spire/presentation/table/TableRowCollection.py +45 -0
- spire/presentation/table/TableStylePreset.py +88 -0
- spire/presentation/table/__init__.py +0 -0
- spire/presentation/transition/BlindsSlideTransition.py +45 -0
- spire/presentation/transition/CoverSlideTransition.py +58 -0
- spire/presentation/transition/FlythroughTransition.py +51 -0
- spire/presentation/transition/GlitterTransition.py +49 -0
- spire/presentation/transition/GlitterTransitionDirection.py +31 -0
- spire/presentation/transition/InvXTransition.py +47 -0
- spire/presentation/transition/LRTransition.py +47 -0
- spire/presentation/transition/OptionalBlackTransition.py +52 -0
- spire/presentation/transition/RevealTransition.py +51 -0
- spire/presentation/transition/ShredTransition.py +52 -0
- spire/presentation/transition/SideDirectionTransition.py +50 -0
- spire/presentation/transition/SlideShowTransition.py +262 -0
- spire/presentation/transition/SplitSlideTransition.py +53 -0
- spire/presentation/transition/StripsSlideTransition.py +52 -0
- spire/presentation/transition/Transition.py +33 -0
- spire/presentation/transition/TransitionCornerDirection.py +25 -0
- spire/presentation/transition/TransitionDirection.py +21 -0
- spire/presentation/transition/TransitionEightDirection.py +33 -0
- spire/presentation/transition/TransitionFlythroughInOutDirection.py +23 -0
- spire/presentation/transition/TransitionInOutDirection.py +21 -0
- spire/presentation/transition/TransitionRevealLRDirection.py +23 -0
- spire/presentation/transition/TransitionShredInOutDirection.py +23 -0
- spire/presentation/transition/TransitionSideDirectionType.py +23 -0
- spire/presentation/transition/TransitionSoundMode.py +21 -0
- spire/presentation/transition/TransitionSpeed.py +23 -0
- spire/presentation/transition/TransitionSplitDirection.py +23 -0
- spire/presentation/transition/TransitionTwoDirection.py +19 -0
- spire/presentation/transition/TransitionType.py +127 -0
- spire/presentation/transition/WheelSlideTransition.py +46 -0
- spire/presentation/transition/ZoomSlideTransition.py +48 -0
- spire/presentation/transition/__init__.py +0 -0
- spire_presentation-11.2.0.dist-info/METADATA +138 -0
- spire_presentation-11.2.0.dist-info/RECORD +440 -0
- spire_presentation-11.2.0.dist-info/WHEEL +5 -0
- spire_presentation-11.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class TextFont (SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
Represents an immutable font definition.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
FontName (str): Gets or sets the font name.
|
|
15
|
+
"""
|
|
16
|
+
@dispatch
|
|
17
|
+
def __init__(self):
|
|
18
|
+
"""
|
|
19
|
+
Initializes a new instance of the TextFont class with default font 'Arail'.
|
|
20
|
+
"""
|
|
21
|
+
GetDllLibPpt().Creat_TextFont.argtypes=[c_wchar_p]
|
|
22
|
+
GetDllLibPpt().Creat_TextFont.restype = c_void_p
|
|
23
|
+
intPtr = CallCFunction(GetDllLibPpt().Creat_TextFont,'Arail')
|
|
24
|
+
super(TextFont, self).__init__(intPtr)
|
|
25
|
+
|
|
26
|
+
@dispatch
|
|
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
|
+
"""
|
|
34
|
+
fontNamePtr = StrToPtr(fontName)
|
|
35
|
+
GetDllLibPpt().Creat_TextFont.argtypes=[c_char_p]
|
|
36
|
+
GetDllLibPpt().Creat_TextFont.restype = c_void_p
|
|
37
|
+
intPtr = CallCFunction(GetDllLibPpt().Creat_TextFont,fontNamePtr)
|
|
38
|
+
super(TextFont, self).__init__(intPtr)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
|
|
42
|
+
def FontName(self)->str:
|
|
43
|
+
"""
|
|
44
|
+
Gets or sets the font name.
|
|
45
|
+
"""
|
|
46
|
+
GetDllLibPpt().TextFont_get_FontName.argtypes=[c_void_p]
|
|
47
|
+
GetDllLibPpt().TextFont_get_FontName.restype=c_void_p
|
|
48
|
+
ret = PtrToStr(CallCFunction(GetDllLibPpt().TextFont_get_FontName,self.Ptr))
|
|
49
|
+
return ret
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@FontName.setter
|
|
53
|
+
def FontName(self, value:str):
|
|
54
|
+
valuePtr = StrToPtr(value)
|
|
55
|
+
GetDllLibPpt().TextFont_set_FontName.argtypes=[c_void_p, c_char_p]
|
|
56
|
+
CallCFunction(GetDllLibPpt().TextFont_set_FontName,self.Ptr,valuePtr)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def GetFontName(self ,theme:'Theme')->str:
|
|
60
|
+
"""
|
|
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.
|
|
68
|
+
"""
|
|
69
|
+
intPtrtheme:c_void_p = theme.Ptr
|
|
70
|
+
|
|
71
|
+
GetDllLibPpt().TextFont_GetFontName.argtypes=[c_void_p ,c_void_p]
|
|
72
|
+
GetDllLibPpt().TextFont_GetFontName.restype=c_void_p
|
|
73
|
+
ret = PtrToStr(CallCFunction(GetDllLibPpt().TextFont_GetFontName,self.Ptr, intPtrtheme))
|
|
74
|
+
return ret
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def Equals(self ,obj:'SpireObject')->bool:
|
|
79
|
+
"""
|
|
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.
|
|
87
|
+
"""
|
|
88
|
+
intPtrobj:c_void_p = obj.Ptr
|
|
89
|
+
|
|
90
|
+
GetDllLibPpt().TextFont_Equals.argtypes=[c_void_p ,c_void_p]
|
|
91
|
+
GetDllLibPpt().TextFont_Equals.restype=c_bool
|
|
92
|
+
ret = CallCFunction(GetDllLibPpt().TextFont_Equals,self.Ptr, intPtrobj)
|
|
93
|
+
return ret
|
|
94
|
+
|
|
95
|
+
def GetHashCode(self)->int:
|
|
96
|
+
"""
|
|
97
|
+
Gets the hash code for the object.
|
|
98
|
+
|
|
99
|
+
Returns:
|
|
100
|
+
int: Hash code value.
|
|
101
|
+
"""
|
|
102
|
+
GetDllLibPpt().TextFont_GetHashCode.argtypes=[c_void_p]
|
|
103
|
+
GetDllLibPpt().TextFont_GetHashCode.restype=c_int
|
|
104
|
+
ret = CallCFunction(GetDllLibPpt().TextFont_GetHashCode,self.Ptr)
|
|
105
|
+
return ret
|
|
106
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class TextHighLightingOptions (SpireObject) :
|
|
10
|
+
"""
|
|
11
|
+
Configuration options for text highlighting operations.
|
|
12
|
+
|
|
13
|
+
Provides settings to control how text is searched and highlighted
|
|
14
|
+
during text processing operations.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
@dispatch
|
|
18
|
+
def __init__(self):
|
|
19
|
+
"""
|
|
20
|
+
Initialize a new instance with default highlighting options.
|
|
21
|
+
|
|
22
|
+
Default options are case-insensitive and allow partial word matches.
|
|
23
|
+
"""
|
|
24
|
+
GetDllLibPpt().TextHighLightingOptions_Create.restype = c_void_p
|
|
25
|
+
intPtr = CallCFunction(GetDllLibPpt().TextHighLightingOptions_Create)
|
|
26
|
+
super(TextHighLightingOptions, self).__init__(intPtr)
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
"""
|
|
30
|
+
@property
|
|
31
|
+
def CaseSensitive(self)->bool:
|
|
32
|
+
"""
|
|
33
|
+
Enable or disable case-sensitive text search.
|
|
34
|
+
|
|
35
|
+
When set to True, searches will distinguish between uppercase and lowercase letters.
|
|
36
|
+
When False (default), searches will ignore case differences.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
bool: Current case-sensitivity setting
|
|
40
|
+
"""
|
|
41
|
+
GetDllLibPpt().TextHighLightingOptions_get_CaseSensitive.argtypes=[c_void_p]
|
|
42
|
+
GetDllLibPpt().TextHighLightingOptions_get_CaseSensitive.restype=c_bool
|
|
43
|
+
ret = CallCFunction(GetDllLibPpt().TextHighLightingOptions_get_CaseSensitive,self.Ptr)
|
|
44
|
+
return ret
|
|
45
|
+
|
|
46
|
+
@CaseSensitive.setter
|
|
47
|
+
def CaseSensitive(self, value:bool):
|
|
48
|
+
"""
|
|
49
|
+
Configure case-sensitivity for text search operations.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
value: True for case-sensitive search, False for case-insensitive
|
|
53
|
+
"""
|
|
54
|
+
GetDllLibPpt().TextHighLightingOptions_set_CaseSensitive.argtypes=[c_void_p, c_bool]
|
|
55
|
+
CallCFunction(GetDllLibPpt().TextHighLightingOptions_set_CaseSensitive,self.Ptr, value)
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def WholeWordsOnly(self)->bool:
|
|
59
|
+
"""
|
|
60
|
+
Require whole-word matching for text search.
|
|
61
|
+
|
|
62
|
+
When set to True, searches will only match complete words.
|
|
63
|
+
When False (default), searches will match partial words within text.
|
|
64
|
+
|
|
65
|
+
Returns:
|
|
66
|
+
bool: Current whole-word matching setting
|
|
67
|
+
"""
|
|
68
|
+
GetDllLibPpt().TextHighLightingOptions_get_WholeWordsOnly.argtypes=[c_void_p]
|
|
69
|
+
GetDllLibPpt().TextHighLightingOptions_get_WholeWordsOnly.restype=c_bool
|
|
70
|
+
ret = CallCFunction(GetDllLibPpt().TextHighLightingOptions_get_WholeWordsOnly,self.Ptr)
|
|
71
|
+
return ret
|
|
72
|
+
|
|
73
|
+
@WholeWordsOnly.setter
|
|
74
|
+
def WholeWordsOnly(self, value:bool):
|
|
75
|
+
"""
|
|
76
|
+
Configure whole-word matching requirement.
|
|
77
|
+
|
|
78
|
+
Args:
|
|
79
|
+
value: True to require whole-word matches, False to allow partial matches
|
|
80
|
+
"""
|
|
81
|
+
GetDllLibPpt().TextHighLightingOptions_set_WholeWordsOnly.argtypes=[c_void_p, c_bool]
|
|
82
|
+
CallCFunction(GetDllLibPpt().TextHighLightingOptions_set_WholeWordsOnly,self.Ptr, value)
|
|
83
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class TextHorizontalOverflowType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents text horizontal overflow type.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No overflow handling specified.
|
|
15
|
+
Overflow: Text overflows horizontally.
|
|
16
|
+
Clip: Text is clipped at the boundary.
|
|
17
|
+
"""
|
|
18
|
+
none = -1
|
|
19
|
+
Overflow = 0
|
|
20
|
+
Clip = 1
|
|
21
|
+
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class TextLineFormat ( IActiveSlide, IChartGridLine) :
|
|
10
|
+
"""
|
|
11
|
+
Represents the formatting properties for a line in a presentation.
|
|
12
|
+
"""
|
|
13
|
+
@dispatch
|
|
14
|
+
|
|
15
|
+
def Equals(self ,obj:SpireObject)->bool:
|
|
16
|
+
"""
|
|
17
|
+
Determines if two LineFormat objects are equivalent.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
obj: LineFormat object to compare with current instance
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
bool: True if objects are equal, False otherwise
|
|
24
|
+
"""
|
|
25
|
+
intPtrobj:c_void_p = obj.Ptr
|
|
26
|
+
|
|
27
|
+
GetDllLibPpt().TextLineFormat_Equals.argtypes=[c_void_p ,c_void_p]
|
|
28
|
+
GetDllLibPpt().TextLineFormat_Equals.restype=c_bool
|
|
29
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_Equals,self.Ptr, intPtrobj)
|
|
30
|
+
return ret
|
|
31
|
+
|
|
32
|
+
@dispatch
|
|
33
|
+
|
|
34
|
+
def Equals(self ,lf:'TextLineFormat')->bool:
|
|
35
|
+
"""
|
|
36
|
+
Determines if two LineFormat instances are equivalent.
|
|
37
|
+
|
|
38
|
+
Args:
|
|
39
|
+
lf: LineFormat object to compare with current instance
|
|
40
|
+
|
|
41
|
+
Returns:
|
|
42
|
+
bool: True if objects are equal, False otherwise
|
|
43
|
+
"""
|
|
44
|
+
intPtrlf:c_void_p = lf.Ptr
|
|
45
|
+
|
|
46
|
+
GetDllLibPpt().TextLineFormat_EqualsL.argtypes=[c_void_p ,c_void_p]
|
|
47
|
+
GetDllLibPpt().TextLineFormat_EqualsL.restype=c_bool
|
|
48
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_EqualsL,self.Ptr, intPtrlf)
|
|
49
|
+
return ret
|
|
50
|
+
|
|
51
|
+
@property
|
|
52
|
+
|
|
53
|
+
def FillFormat(self)->'LineFillFormat':
|
|
54
|
+
"""
|
|
55
|
+
Gets the fill formatting properties of the line.
|
|
56
|
+
|
|
57
|
+
Read-only access to complex fill definitions.
|
|
58
|
+
"""
|
|
59
|
+
GetDllLibPpt().TextLineFormat_get_FillFormat.argtypes=[c_void_p]
|
|
60
|
+
GetDllLibPpt().TextLineFormat_get_FillFormat.restype=c_void_p
|
|
61
|
+
intPtr = CallCFunction(GetDllLibPpt().TextLineFormat_get_FillFormat,self.Ptr)
|
|
62
|
+
ret = None if intPtr==None else LineFillFormat(intPtr)
|
|
63
|
+
return ret
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
|
|
68
|
+
def FillType(self)->'FillFormatType':
|
|
69
|
+
"""
|
|
70
|
+
Gets or sets the base type of fill formatting.
|
|
71
|
+
|
|
72
|
+
Determines what kind of fill (solid, gradient, pattern, etc.) is applied.
|
|
73
|
+
"""
|
|
74
|
+
GetDllLibPpt().TextLineFormat_get_FillType.argtypes=[c_void_p]
|
|
75
|
+
GetDllLibPpt().TextLineFormat_get_FillType.restype=c_int
|
|
76
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_FillType,self.Ptr)
|
|
77
|
+
objwraped = FillFormatType(ret)
|
|
78
|
+
return objwraped
|
|
79
|
+
|
|
80
|
+
@FillType.setter
|
|
81
|
+
def FillType(self, value:'FillFormatType'):
|
|
82
|
+
GetDllLibPpt().TextLineFormat_set_FillType.argtypes=[c_void_p, c_int]
|
|
83
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_FillType,self.Ptr, value.value)
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
|
|
87
|
+
def Gradient(self)->'GradientFillFormat':
|
|
88
|
+
"""
|
|
89
|
+
Gets the gradient fill formatting properties.
|
|
90
|
+
|
|
91
|
+
Read-only access to gradient fill definitions.
|
|
92
|
+
"""
|
|
93
|
+
GetDllLibPpt().TextLineFormat_get_Gradient.argtypes=[c_void_p]
|
|
94
|
+
GetDllLibPpt().TextLineFormat_get_Gradient.restype=c_void_p
|
|
95
|
+
intPtr = CallCFunction(GetDllLibPpt().TextLineFormat_get_Gradient,self.Ptr)
|
|
96
|
+
ret = None if intPtr==None else GradientFillFormat(intPtr)
|
|
97
|
+
return ret
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
|
|
102
|
+
def Pattern(self)->'PatternFillFormat':
|
|
103
|
+
"""
|
|
104
|
+
Gets the pattern fill formatting properties.
|
|
105
|
+
|
|
106
|
+
Read-only access to pattern fill definitions.
|
|
107
|
+
"""
|
|
108
|
+
GetDllLibPpt().TextLineFormat_get_Pattern.argtypes=[c_void_p]
|
|
109
|
+
GetDllLibPpt().TextLineFormat_get_Pattern.restype=c_void_p
|
|
110
|
+
intPtr = CallCFunction(GetDllLibPpt().TextLineFormat_get_Pattern,self.Ptr)
|
|
111
|
+
ret = None if intPtr==None else PatternFillFormat(intPtr)
|
|
112
|
+
return ret
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
|
|
117
|
+
def SolidFillColor(self)->'ColorFormat':
|
|
118
|
+
"""
|
|
119
|
+
Gets the solid fill color properties.
|
|
120
|
+
|
|
121
|
+
Read-only access to solid color fill definitions.
|
|
122
|
+
"""
|
|
123
|
+
GetDllLibPpt().TextLineFormat_get_SolidFillColor.argtypes=[c_void_p]
|
|
124
|
+
GetDllLibPpt().TextLineFormat_get_SolidFillColor.restype=c_void_p
|
|
125
|
+
intPtr = CallCFunction(GetDllLibPpt().TextLineFormat_get_SolidFillColor,self.Ptr)
|
|
126
|
+
ret = None if intPtr==None else ColorFormat(intPtr)
|
|
127
|
+
return ret
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
|
|
132
|
+
def RotateWithShape(self)->'TriState':
|
|
133
|
+
"""
|
|
134
|
+
Determines if fill rotates with shape transformation.
|
|
135
|
+
|
|
136
|
+
Read/write property controlling fill rotation behavior.
|
|
137
|
+
"""
|
|
138
|
+
GetDllLibPpt().TextLineFormat_get_RotateWithShape.argtypes=[c_void_p]
|
|
139
|
+
GetDllLibPpt().TextLineFormat_get_RotateWithShape.restype=c_int
|
|
140
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_RotateWithShape,self.Ptr)
|
|
141
|
+
objwraped = TriState(ret)
|
|
142
|
+
return objwraped
|
|
143
|
+
|
|
144
|
+
@RotateWithShape.setter
|
|
145
|
+
def RotateWithShape(self, value:'TriState'):
|
|
146
|
+
GetDllLibPpt().TextLineFormat_set_RotateWithShape.argtypes=[c_void_p, c_int]
|
|
147
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_RotateWithShape,self.Ptr, value.value)
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def Width(self)->float:
|
|
151
|
+
"""
|
|
152
|
+
Gets or sets the width of the line.
|
|
153
|
+
|
|
154
|
+
Read/write property controlling line thickness.
|
|
155
|
+
"""
|
|
156
|
+
GetDllLibPpt().TextLineFormat_get_Width.argtypes=[c_void_p]
|
|
157
|
+
GetDllLibPpt().TextLineFormat_get_Width.restype=c_double
|
|
158
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_Width,self.Ptr)
|
|
159
|
+
return ret
|
|
160
|
+
|
|
161
|
+
@Width.setter
|
|
162
|
+
def Width(self, value:float):
|
|
163
|
+
GetDllLibPpt().TextLineFormat_set_Width.argtypes=[c_void_p, c_double]
|
|
164
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_Width,self.Ptr, value)
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
|
|
168
|
+
def DashStyle(self)->'LineDashStyleType':
|
|
169
|
+
"""
|
|
170
|
+
Gets or sets the dash pattern of the line.
|
|
171
|
+
|
|
172
|
+
Read/write property controlling line dash appearance.
|
|
173
|
+
"""
|
|
174
|
+
GetDllLibPpt().TextLineFormat_get_DashStyle.argtypes=[c_void_p]
|
|
175
|
+
GetDllLibPpt().TextLineFormat_get_DashStyle.restype=c_int
|
|
176
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_DashStyle,self.Ptr)
|
|
177
|
+
objwraped = LineDashStyleType(ret)
|
|
178
|
+
return objwraped
|
|
179
|
+
|
|
180
|
+
@DashStyle.setter
|
|
181
|
+
def DashStyle(self, value:'LineDashStyleType'):
|
|
182
|
+
GetDllLibPpt().TextLineFormat_set_DashStyle.argtypes=[c_void_p, c_int]
|
|
183
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_DashStyle,self.Ptr, value.value)
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
|
|
187
|
+
def CapStyle(self)->'LineCapStyle':
|
|
188
|
+
"""
|
|
189
|
+
Gets or sets the line end cap style.
|
|
190
|
+
|
|
191
|
+
Read/write property controlling line end appearance.
|
|
192
|
+
"""
|
|
193
|
+
GetDllLibPpt().TextLineFormat_get_CapStyle.argtypes=[c_void_p]
|
|
194
|
+
GetDllLibPpt().TextLineFormat_get_CapStyle.restype=c_int
|
|
195
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_CapStyle,self.Ptr)
|
|
196
|
+
objwraped = LineCapStyle(ret)
|
|
197
|
+
return objwraped
|
|
198
|
+
|
|
199
|
+
@CapStyle.setter
|
|
200
|
+
def CapStyle(self, value:'LineCapStyle'):
|
|
201
|
+
GetDllLibPpt().TextLineFormat_set_CapStyle.argtypes=[c_void_p, c_int]
|
|
202
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_CapStyle,self.Ptr, value.value)
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
|
|
206
|
+
def Style(self)->'TextLineStyle':
|
|
207
|
+
"""
|
|
208
|
+
Gets or sets the overall line style.
|
|
209
|
+
|
|
210
|
+
Read/write property controlling line appearance.
|
|
211
|
+
"""
|
|
212
|
+
GetDllLibPpt().TextLineFormat_get_Style.argtypes=[c_void_p]
|
|
213
|
+
GetDllLibPpt().TextLineFormat_get_Style.restype=c_int
|
|
214
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_Style,self.Ptr)
|
|
215
|
+
objwraped = TextLineStyle(ret)
|
|
216
|
+
return objwraped
|
|
217
|
+
|
|
218
|
+
@Style.setter
|
|
219
|
+
def Style(self, value:'TextLineStyle'):
|
|
220
|
+
GetDllLibPpt().TextLineFormat_set_Style.argtypes=[c_void_p, c_int]
|
|
221
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_Style,self.Ptr, value.value)
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
|
|
225
|
+
def Alignment(self)->'PenAlignmentType':
|
|
226
|
+
"""
|
|
227
|
+
Gets or sets the line alignment.
|
|
228
|
+
|
|
229
|
+
Read/write property controlling line positioning.
|
|
230
|
+
"""
|
|
231
|
+
GetDllLibPpt().TextLineFormat_get_Alignment.argtypes=[c_void_p]
|
|
232
|
+
GetDllLibPpt().TextLineFormat_get_Alignment.restype=c_int
|
|
233
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_Alignment,self.Ptr)
|
|
234
|
+
objwraped = PenAlignmentType(ret)
|
|
235
|
+
return objwraped
|
|
236
|
+
|
|
237
|
+
@Alignment.setter
|
|
238
|
+
def Alignment(self, value:'PenAlignmentType'):
|
|
239
|
+
GetDllLibPpt().TextLineFormat_set_Alignment.argtypes=[c_void_p, c_int]
|
|
240
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_Alignment,self.Ptr, value.value)
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
|
|
244
|
+
def JoinStyle(self)->'LineJoinType':
|
|
245
|
+
"""
|
|
246
|
+
Gets or sets the line join style.
|
|
247
|
+
|
|
248
|
+
Read/write property controlling corner appearance.
|
|
249
|
+
"""
|
|
250
|
+
GetDllLibPpt().TextLineFormat_get_JoinStyle.argtypes=[c_void_p]
|
|
251
|
+
GetDllLibPpt().TextLineFormat_get_JoinStyle.restype=c_int
|
|
252
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_JoinStyle,self.Ptr)
|
|
253
|
+
objwraped = LineJoinType(ret)
|
|
254
|
+
return objwraped
|
|
255
|
+
|
|
256
|
+
@JoinStyle.setter
|
|
257
|
+
def JoinStyle(self, value:'LineJoinType'):
|
|
258
|
+
GetDllLibPpt().TextLineFormat_set_JoinStyle.argtypes=[c_void_p, c_int]
|
|
259
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_JoinStyle,self.Ptr, value.value)
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
def MiterLimit(self)->float:
|
|
263
|
+
"""
|
|
264
|
+
Gets or sets the miter limit for corners.
|
|
265
|
+
|
|
266
|
+
Read/write property controlling angle sharpness.
|
|
267
|
+
"""
|
|
268
|
+
GetDllLibPpt().TextLineFormat_get_MiterLimit.argtypes=[c_void_p]
|
|
269
|
+
GetDllLibPpt().TextLineFormat_get_MiterLimit.restype=c_float
|
|
270
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_MiterLimit,self.Ptr)
|
|
271
|
+
return ret
|
|
272
|
+
|
|
273
|
+
@MiterLimit.setter
|
|
274
|
+
def MiterLimit(self, value:float):
|
|
275
|
+
GetDllLibPpt().TextLineFormat_set_MiterLimit.argtypes=[c_void_p, c_float]
|
|
276
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_MiterLimit,self.Ptr, value)
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
|
|
280
|
+
def LineBeginType(self)->'LineEndType':
|
|
281
|
+
"""
|
|
282
|
+
Gets or sets the arrowhead style at line start.
|
|
283
|
+
|
|
284
|
+
Read/write property controlling start decoration.
|
|
285
|
+
"""
|
|
286
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginType.argtypes=[c_void_p]
|
|
287
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginType.restype=c_int
|
|
288
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineBeginType,self.Ptr)
|
|
289
|
+
objwraped = LineEndType(ret)
|
|
290
|
+
return objwraped
|
|
291
|
+
|
|
292
|
+
@LineBeginType.setter
|
|
293
|
+
def LineBeginType(self, value:'LineEndType'):
|
|
294
|
+
GetDllLibPpt().TextLineFormat_set_LineBeginType.argtypes=[c_void_p, c_int]
|
|
295
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineBeginType,self.Ptr, value.value)
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
|
|
299
|
+
def LineEndType(self)->'LineEndType':
|
|
300
|
+
"""
|
|
301
|
+
Gets or sets the arrowhead style at line end.
|
|
302
|
+
|
|
303
|
+
Read/write property controlling end decoration.
|
|
304
|
+
"""
|
|
305
|
+
GetDllLibPpt().TextLineFormat_get_LineEndType.argtypes=[c_void_p]
|
|
306
|
+
GetDllLibPpt().TextLineFormat_get_LineEndType.restype=c_int
|
|
307
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineEndType,self.Ptr)
|
|
308
|
+
objwraped = LineEndType(ret)
|
|
309
|
+
return objwraped
|
|
310
|
+
|
|
311
|
+
@LineEndType.setter
|
|
312
|
+
def LineEndType(self, value:'LineEndType'):
|
|
313
|
+
GetDllLibPpt().TextLineFormat_set_LineEndType.argtypes=[c_void_p, c_int]
|
|
314
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineEndType,self.Ptr, value.value)
|
|
315
|
+
|
|
316
|
+
@property
|
|
317
|
+
|
|
318
|
+
def LineBeginWidth(self)->'LineEndWidth':
|
|
319
|
+
"""
|
|
320
|
+
Gets or sets the arrowhead width at line start.
|
|
321
|
+
|
|
322
|
+
Read/write property controlling start decoration size.
|
|
323
|
+
"""
|
|
324
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginWidth.argtypes=[c_void_p]
|
|
325
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginWidth.restype=c_int
|
|
326
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineBeginWidth,self.Ptr)
|
|
327
|
+
objwraped = LineEndWidth(ret)
|
|
328
|
+
return objwraped
|
|
329
|
+
|
|
330
|
+
@LineBeginWidth.setter
|
|
331
|
+
def LineBeginWidth(self, value:'LineEndWidth'):
|
|
332
|
+
GetDllLibPpt().TextLineFormat_set_LineBeginWidth.argtypes=[c_void_p, c_int]
|
|
333
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineBeginWidth,self.Ptr, value.value)
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
|
|
337
|
+
def LineEndWidth(self)->'LineEndWidth':
|
|
338
|
+
"""
|
|
339
|
+
Gets or sets the arrowhead width at line end.
|
|
340
|
+
|
|
341
|
+
Read/write property controlling end decoration size.
|
|
342
|
+
"""
|
|
343
|
+
GetDllLibPpt().TextLineFormat_get_LineEndWidth.argtypes=[c_void_p]
|
|
344
|
+
GetDllLibPpt().TextLineFormat_get_LineEndWidth.restype=c_int
|
|
345
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineEndWidth,self.Ptr)
|
|
346
|
+
objwraped = LineEndWidth(ret)
|
|
347
|
+
return objwraped
|
|
348
|
+
|
|
349
|
+
@LineEndWidth.setter
|
|
350
|
+
def LineEndWidth(self, value:'LineEndWidth'):
|
|
351
|
+
GetDllLibPpt().TextLineFormat_set_LineEndWidth.argtypes=[c_void_p, c_int]
|
|
352
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineEndWidth,self.Ptr, value.value)
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
|
|
356
|
+
def LineBeginLength(self)->'LineEndLength':
|
|
357
|
+
"""
|
|
358
|
+
Gets or sets the arrowhead length at line start.
|
|
359
|
+
|
|
360
|
+
Read/write property controlling start decoration size.
|
|
361
|
+
"""
|
|
362
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginLength.argtypes=[c_void_p]
|
|
363
|
+
GetDllLibPpt().TextLineFormat_get_LineBeginLength.restype=c_int
|
|
364
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineBeginLength,self.Ptr)
|
|
365
|
+
objwraped = LineEndLength(ret)
|
|
366
|
+
return objwraped
|
|
367
|
+
|
|
368
|
+
@LineBeginLength.setter
|
|
369
|
+
def LineBeginLength(self, value:'LineEndLength'):
|
|
370
|
+
GetDllLibPpt().TextLineFormat_set_LineBeginLength.argtypes=[c_void_p, c_int]
|
|
371
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineBeginLength,self.Ptr, value.value)
|
|
372
|
+
|
|
373
|
+
@property
|
|
374
|
+
|
|
375
|
+
def LineEndLength(self)->'LineEndLength':
|
|
376
|
+
"""
|
|
377
|
+
Gets or sets the arrowhead length at line end.
|
|
378
|
+
|
|
379
|
+
Read/write property controlling end decoration size.
|
|
380
|
+
"""
|
|
381
|
+
GetDllLibPpt().TextLineFormat_get_LineEndLength.argtypes=[c_void_p]
|
|
382
|
+
GetDllLibPpt().TextLineFormat_get_LineEndLength.restype=c_int
|
|
383
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_get_LineEndLength,self.Ptr)
|
|
384
|
+
objwraped = LineEndLength(ret)
|
|
385
|
+
return objwraped
|
|
386
|
+
|
|
387
|
+
@LineEndLength.setter
|
|
388
|
+
def LineEndLength(self, value:'LineEndLength'):
|
|
389
|
+
GetDllLibPpt().TextLineFormat_set_LineEndLength.argtypes=[c_void_p, c_int]
|
|
390
|
+
CallCFunction(GetDllLibPpt().TextLineFormat_set_LineEndLength,self.Ptr, value.value)
|
|
391
|
+
|
|
392
|
+
def GetHashCode(self)->int:
|
|
393
|
+
"""
|
|
394
|
+
Generates a hash code for the LineFormat object.
|
|
395
|
+
|
|
396
|
+
Returns:
|
|
397
|
+
int: Hash code representing object state
|
|
398
|
+
"""
|
|
399
|
+
GetDllLibPpt().TextLineFormat_GetHashCode.argtypes=[c_void_p]
|
|
400
|
+
GetDllLibPpt().TextLineFormat_GetHashCode.restype=c_int
|
|
401
|
+
ret = CallCFunction(GetDllLibPpt().TextLineFormat_GetHashCode,self.Ptr)
|
|
402
|
+
return ret
|
|
403
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
from plum import dispatch
|
|
3
|
+
from typing import TypeVar,Union,Generic,List,Tuple
|
|
4
|
+
from spire.presentation.common import *
|
|
5
|
+
from spire.presentation import *
|
|
6
|
+
from ctypes import *
|
|
7
|
+
import abc
|
|
8
|
+
|
|
9
|
+
class TextLineStyle(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents the style of a line.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No line style.
|
|
15
|
+
Single: Single line style.
|
|
16
|
+
ThinThin: Double line with two thin lines.
|
|
17
|
+
ThinThick: Double line with thin then thick lines.
|
|
18
|
+
ThickThin: Double line with thick then thin lines.
|
|
19
|
+
ThickBetweenThin: Double line with thick between thin lines.
|
|
20
|
+
"""
|
|
21
|
+
none = -1
|
|
22
|
+
Single = 0
|
|
23
|
+
ThinThin = 1
|
|
24
|
+
ThinThick = 2
|
|
25
|
+
ThickThin = 3
|
|
26
|
+
ThickBetweenThin = 4
|
|
27
|
+
|