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,160 @@
|
|
|
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
|
+
|
|
8
|
+
class TextRange ( TextCharacterProperties) :
|
|
9
|
+
"""
|
|
10
|
+
Represents a segment of formatted text within a presentation.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
@dispatch
|
|
14
|
+
def __init__(self):
|
|
15
|
+
"""
|
|
16
|
+
Initializes a new empty TextRange instance.
|
|
17
|
+
"""
|
|
18
|
+
GetDllLibPpt().TextRange_Create.argtypes=[c_wchar_p]
|
|
19
|
+
GetDllLibPpt().TextRange_Create.restype = c_void_p
|
|
20
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_Create,None)
|
|
21
|
+
super(TextRange, self).__init__(intPtr)
|
|
22
|
+
|
|
23
|
+
@dispatch
|
|
24
|
+
def __init__(self,value:str):
|
|
25
|
+
"""
|
|
26
|
+
Initializes a new TextRange instance with specified text.
|
|
27
|
+
|
|
28
|
+
Args:
|
|
29
|
+
value: The initial text content for the range.
|
|
30
|
+
"""
|
|
31
|
+
valuePtr = StrToPtr(value)
|
|
32
|
+
GetDllLibPpt().TextRange_Create.argtypes=[c_char_p]
|
|
33
|
+
GetDllLibPpt().TextRange_Create.restype = c_void_p
|
|
34
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_Create,valuePtr)
|
|
35
|
+
super(TextRange, self).__init__(intPtr)
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
"""
|
|
39
|
+
@property
|
|
40
|
+
|
|
41
|
+
def Format(self)->'DefaultTextRangeProperties':
|
|
42
|
+
"""
|
|
43
|
+
Gets the formatting properties of the text range.
|
|
44
|
+
|
|
45
|
+
Returns:
|
|
46
|
+
DefaultTextRangeProperties: Read-only formatting properties.
|
|
47
|
+
"""
|
|
48
|
+
GetDllLibPpt().TextRange_get_Format.argtypes=[c_void_p]
|
|
49
|
+
GetDllLibPpt().TextRange_get_Format.restype=c_void_p
|
|
50
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_get_Format,self.Ptr)
|
|
51
|
+
ret = None if intPtr==None else DefaultTextRangeProperties(intPtr)
|
|
52
|
+
return ret
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
|
|
56
|
+
def DisplayFormat(self)->'DefaultTextRangeProperties':
|
|
57
|
+
"""
|
|
58
|
+
Gets the display formatting properties of the text range.
|
|
59
|
+
|
|
60
|
+
Returns:
|
|
61
|
+
DefaultTextRangeProperties: Read-only display formatting properties.
|
|
62
|
+
"""
|
|
63
|
+
GetDllLibPpt().TextRange_get_DisplayFormat.argtypes=[c_void_p]
|
|
64
|
+
GetDllLibPpt().TextRange_get_DisplayFormat.restype=c_void_p
|
|
65
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_get_DisplayFormat,self.Ptr)
|
|
66
|
+
ret = None if intPtr==None else DefaultTextRangeProperties(intPtr)
|
|
67
|
+
return ret
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
|
|
71
|
+
def Paragraph(self)->'TextParagraph':
|
|
72
|
+
"""
|
|
73
|
+
Gets the parent paragraph containing this text range.
|
|
74
|
+
|
|
75
|
+
Returns:
|
|
76
|
+
TextParagraph: The parent paragraph object.
|
|
77
|
+
"""
|
|
78
|
+
from spire.presentation.TextParagraph import TextParagraph
|
|
79
|
+
GetDllLibPpt().TextRange_get_Paragraph.argtypes=[c_void_p]
|
|
80
|
+
GetDllLibPpt().TextRange_get_Paragraph.restype=c_void_p
|
|
81
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_get_Paragraph,self.Ptr)
|
|
82
|
+
ret = None if intPtr==None else TextParagraph(intPtr)
|
|
83
|
+
return ret
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
|
|
88
|
+
def Text(self)->str:
|
|
89
|
+
"""
|
|
90
|
+
Gets or sets the text content of the range.
|
|
91
|
+
|
|
92
|
+
Returns:
|
|
93
|
+
str: The current text content.
|
|
94
|
+
"""
|
|
95
|
+
GetDllLibPpt().TextRange_get_Text.argtypes=[c_void_p]
|
|
96
|
+
GetDllLibPpt().TextRange_get_Text.restype=c_void_p
|
|
97
|
+
ret = PtrToStr(CallCFunction(GetDllLibPpt().TextRange_get_Text,self.Ptr))
|
|
98
|
+
return ret
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
@Text.setter
|
|
102
|
+
def Text(self, value:str):
|
|
103
|
+
valuePtr = StrToPtr(value)
|
|
104
|
+
GetDllLibPpt().TextRange_set_Text.argtypes=[c_void_p, c_char_p]
|
|
105
|
+
CallCFunction(GetDllLibPpt().TextRange_set_Text,self.Ptr,valuePtr)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
|
|
109
|
+
def Field(self)->'Field':
|
|
110
|
+
"""
|
|
111
|
+
Gets the field associated with this text range (if applicable).
|
|
112
|
+
|
|
113
|
+
Returns:
|
|
114
|
+
Field: The associated field object, or None if not a field.
|
|
115
|
+
"""
|
|
116
|
+
GetDllLibPpt().TextRange_get_Field.argtypes=[c_void_p]
|
|
117
|
+
GetDllLibPpt().TextRange_get_Field.restype=c_void_p
|
|
118
|
+
intPtr = CallCFunction(GetDllLibPpt().TextRange_get_Field,self.Ptr)
|
|
119
|
+
ret = None if intPtr==None else Field(intPtr)
|
|
120
|
+
return ret
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def AddField(self ,fieldType:'FieldType'):
|
|
125
|
+
"""
|
|
126
|
+
Converts the text range into a field of specified type.
|
|
127
|
+
|
|
128
|
+
Args:
|
|
129
|
+
fieldType: The type of field to create.
|
|
130
|
+
"""
|
|
131
|
+
intPtrfieldType:c_void_p = fieldType.Ptr
|
|
132
|
+
|
|
133
|
+
GetDllLibPpt().TextRange_AddField.argtypes=[c_void_p ,c_void_p]
|
|
134
|
+
CallCFunction(GetDllLibPpt().TextRange_AddField,self.Ptr, intPtrfieldType)
|
|
135
|
+
|
|
136
|
+
def RemoveField(self):
|
|
137
|
+
"""
|
|
138
|
+
Removes field formatting from the text range.
|
|
139
|
+
"""
|
|
140
|
+
GetDllLibPpt().TextRange_RemoveField.argtypes=[c_void_p]
|
|
141
|
+
CallCFunction(GetDllLibPpt().TextRange_RemoveField,self.Ptr)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def Equals(self ,obj:'SpireObject')->bool:
|
|
145
|
+
"""
|
|
146
|
+
Determines if the current object is equal to another object.
|
|
147
|
+
|
|
148
|
+
Args:
|
|
149
|
+
obj: The object to compare with the current object.
|
|
150
|
+
|
|
151
|
+
Returns:
|
|
152
|
+
bool: True if the objects are equal; otherwise False.
|
|
153
|
+
"""
|
|
154
|
+
intPtrobj:c_void_p = obj.Ptr
|
|
155
|
+
|
|
156
|
+
GetDllLibPpt().TextRange_Equals.argtypes=[c_void_p ,c_void_p]
|
|
157
|
+
GetDllLibPpt().TextRange_Equals.restype=c_bool
|
|
158
|
+
ret = CallCFunction(GetDllLibPpt().TextRange_Equals,self.Ptr, intPtrobj)
|
|
159
|
+
return ret
|
|
160
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
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 TextShapeType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Enum representing text wrapping shapes.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
UnDefined: Undefined shape
|
|
15
|
+
none: No wrapping shape
|
|
16
|
+
Plain: Plain shape
|
|
17
|
+
Stop: Stop shape
|
|
18
|
+
Triangle: Triangle shape
|
|
19
|
+
TriangleInverted: Inverted triangle shape
|
|
20
|
+
Chevron: Chevron shape
|
|
21
|
+
ChevronInverted: Inverted chevron shape
|
|
22
|
+
RingInside: Inside ring shape
|
|
23
|
+
RingOutside: Outside ring shape
|
|
24
|
+
ArchUp: Upward arch shape
|
|
25
|
+
ArchDown: Downward arch shape
|
|
26
|
+
Circle: Circle shape
|
|
27
|
+
Button: Button shape
|
|
28
|
+
ArchUpPour: Upward arch pour shape
|
|
29
|
+
ArchDownPour: Downward arch pour shape
|
|
30
|
+
CirclePour: Circle pour shape
|
|
31
|
+
ButtonPour: Button pour shape
|
|
32
|
+
CurveUp: Upward curve shape
|
|
33
|
+
CurveDown: Downward curve shape
|
|
34
|
+
CanUp: Upward can shape
|
|
35
|
+
CanDown: Downward can shape
|
|
36
|
+
Wave1: Wave type 1 shape
|
|
37
|
+
Wave2: Wave type 2 shape
|
|
38
|
+
DoubleWave1: Double wave type 1 shape
|
|
39
|
+
Wave4: Wave type 4 shape
|
|
40
|
+
Inflate: Inflate shape
|
|
41
|
+
Deflate: Deflate shape
|
|
42
|
+
InflateBottom: Bottom inflate shape
|
|
43
|
+
DeflateBottom: Bottom deflate shape
|
|
44
|
+
InflateTop: Top inflate shape
|
|
45
|
+
DeflateTop: Top deflate shape
|
|
46
|
+
DeflateInflate: Deflate-inflate shape
|
|
47
|
+
DeflateInflateDeflate: Deflate-inflate-deflate shape
|
|
48
|
+
FadeRight: Right fade shape
|
|
49
|
+
FadeLeft: Left fade shape
|
|
50
|
+
FadeUp: Upward fade shape
|
|
51
|
+
FadeDown: Downward fade shape
|
|
52
|
+
SlantUp: Upward slant shape
|
|
53
|
+
SlantDown: Downward slant shape
|
|
54
|
+
CascadeUp: Upward cascade shape
|
|
55
|
+
CascadeDown: Downward cascade shape
|
|
56
|
+
Custom: Custom shape
|
|
57
|
+
"""
|
|
58
|
+
UnDefined = -1
|
|
59
|
+
none = 0
|
|
60
|
+
Plain = 1
|
|
61
|
+
Stop = 2
|
|
62
|
+
Triangle = 3
|
|
63
|
+
TriangleInverted = 4
|
|
64
|
+
Chevron = 5
|
|
65
|
+
ChevronInverted = 6
|
|
66
|
+
RingInside = 7
|
|
67
|
+
RingOutside = 8
|
|
68
|
+
ArchUp = 9
|
|
69
|
+
ArchDown = 10
|
|
70
|
+
Circle = 11
|
|
71
|
+
Button = 12
|
|
72
|
+
ArchUpPour = 13
|
|
73
|
+
ArchDownPour = 14
|
|
74
|
+
CirclePour = 15
|
|
75
|
+
ButtonPour = 16
|
|
76
|
+
CurveUp = 17
|
|
77
|
+
CurveDown = 18
|
|
78
|
+
CanUp = 19
|
|
79
|
+
CanDown = 20
|
|
80
|
+
Wave1 = 21
|
|
81
|
+
Wave2 = 22
|
|
82
|
+
DoubleWave1 = 23
|
|
83
|
+
Wave4 = 24
|
|
84
|
+
Inflate = 25
|
|
85
|
+
Deflate = 26
|
|
86
|
+
InflateBottom = 27
|
|
87
|
+
DeflateBottom = 28
|
|
88
|
+
InflateTop = 29
|
|
89
|
+
DeflateTop = 30
|
|
90
|
+
DeflateInflate = 31
|
|
91
|
+
DeflateInflateDeflate = 32
|
|
92
|
+
FadeRight = 33
|
|
93
|
+
FadeLeft = 34
|
|
94
|
+
FadeUp = 35
|
|
95
|
+
FadeDown = 36
|
|
96
|
+
SlantUp = 37
|
|
97
|
+
SlantDown = 38
|
|
98
|
+
CascadeUp = 39
|
|
99
|
+
CascadeDown = 40
|
|
100
|
+
Custom = 41
|
|
101
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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 TextStrikethroughType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Enum representing text strikethrough types.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
UnDefined: Undefined strikethrough
|
|
15
|
+
none: No strikethrough
|
|
16
|
+
Single: Single line strikethrough
|
|
17
|
+
Double: Double line strikethrough
|
|
18
|
+
"""
|
|
19
|
+
UnDefined = -1
|
|
20
|
+
none = 0
|
|
21
|
+
Single = 1
|
|
22
|
+
Double = 2
|
|
23
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
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 TextStyle ( IActiveSlide, IActivePresentation) :
|
|
10
|
+
"""
|
|
11
|
+
Represents text styling properties for presentation elements.
|
|
12
|
+
|
|
13
|
+
This class provides access to different levels of text formatting styles.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
def GetListLevelTextStyle(self ,index:int)->'TextParagraphProperties':
|
|
17
|
+
"""Retrieves paragraph properties for a specific list level if exists.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
index: Zero-based index of the text level (0-8 for PowerPoint)
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
TextParagraphProperties for the specified level if exists,
|
|
24
|
+
otherwise None.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
GetDllLibPpt().TextStyle_GetListLevelTextStyle.argtypes=[c_void_p ,c_int]
|
|
28
|
+
GetDllLibPpt().TextStyle_GetListLevelTextStyle.restype=c_void_p
|
|
29
|
+
intPtr = CallCFunction(GetDllLibPpt().TextStyle_GetListLevelTextStyle,self.Ptr, index)
|
|
30
|
+
ret = None if intPtr==None else TextParagraphProperties(intPtr)
|
|
31
|
+
return ret
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def GetOrCreateListLevelTextStyle(self ,index:int)->'TextParagraphProperties':
|
|
36
|
+
"""
|
|
37
|
+
Retrieves or creates paragraph properties for a specific list level.
|
|
38
|
+
|
|
39
|
+
Args:
|
|
40
|
+
index: Zero-based index of the text level (0-8 for PowerPoint)
|
|
41
|
+
|
|
42
|
+
Returns:
|
|
43
|
+
Existing or newly created TextParagraphProperties for the level.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
GetDllLibPpt().TextStyle_GetOrCreateListLevelTextStyle.argtypes=[c_void_p ,c_int]
|
|
47
|
+
GetDllLibPpt().TextStyle_GetOrCreateListLevelTextStyle.restype=c_void_p
|
|
48
|
+
intPtr = CallCFunction(GetDllLibPpt().TextStyle_GetOrCreateListLevelTextStyle,self.Ptr, index)
|
|
49
|
+
ret = None if intPtr==None else TextParagraphProperties(intPtr)
|
|
50
|
+
return ret
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
|
|
55
|
+
def DefaultParagraphStyle(self)->'TextParagraphProperties':
|
|
56
|
+
"""
|
|
57
|
+
Provides access to default paragraph formatting properties.
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
TextParagraphProperties object containing default formatting.
|
|
61
|
+
"""
|
|
62
|
+
GetDllLibPpt().TextStyle_get_DefaultParagraphStyle.argtypes=[c_void_p]
|
|
63
|
+
GetDllLibPpt().TextStyle_get_DefaultParagraphStyle.restype=c_void_p
|
|
64
|
+
intPtr = CallCFunction(GetDllLibPpt().TextStyle_get_DefaultParagraphStyle,self.Ptr)
|
|
65
|
+
ret = None if intPtr==None else TextParagraphProperties(intPtr)
|
|
66
|
+
return ret
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def Equals(self ,obj:'SpireObject')->bool:
|
|
71
|
+
"""Determines whether this style equals another object.
|
|
72
|
+
|
|
73
|
+
Args:
|
|
74
|
+
obj: The SpireObject to compare with
|
|
75
|
+
|
|
76
|
+
Returns:
|
|
77
|
+
True if objects are equivalent, False otherwise.
|
|
78
|
+
"""
|
|
79
|
+
intPtrobj:c_void_p = obj.Ptr
|
|
80
|
+
|
|
81
|
+
GetDllLibPpt().TextStyle_Equals.argtypes=[c_void_p ,c_void_p]
|
|
82
|
+
GetDllLibPpt().TextStyle_Equals.restype=c_bool
|
|
83
|
+
ret = CallCFunction(GetDllLibPpt().TextStyle_Equals,self.Ptr, intPtrobj)
|
|
84
|
+
return ret
|
|
85
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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 TextUnderlineType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents the type of text underline.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
UnDefined: Undefined underline type.
|
|
15
|
+
none: No underline.
|
|
16
|
+
Words: Words underline.
|
|
17
|
+
Single: Single underline.
|
|
18
|
+
Double: Double underline.
|
|
19
|
+
Heavy: Heavy underline.
|
|
20
|
+
Dotted: Dotted underline.
|
|
21
|
+
HeavyDotted: Heavy dotted underline.
|
|
22
|
+
Dashed: Dashed underline.
|
|
23
|
+
HeavyDashed: Heavy dashed underline.
|
|
24
|
+
LongDashed: Long dashed underline.
|
|
25
|
+
HeavyLongDashed: Heavy long dashed underline.
|
|
26
|
+
DotDash: Dot-dash underline.
|
|
27
|
+
HeavyDotDash: Heavy dot-dash underline.
|
|
28
|
+
DotDotDash: Dot-dot-dash underline.
|
|
29
|
+
HeavyDotDotDash: Heavy dot-dot-dash underline.
|
|
30
|
+
Wavy: Wavy underline.
|
|
31
|
+
HeavyWavy: Heavy wavy underline.
|
|
32
|
+
DoubleWavy: Double wavy underline.
|
|
33
|
+
"""
|
|
34
|
+
UnDefined = -1
|
|
35
|
+
none = 0
|
|
36
|
+
Words = 1
|
|
37
|
+
Single = 2
|
|
38
|
+
Double = 3
|
|
39
|
+
Heavy = 4
|
|
40
|
+
Dotted = 5
|
|
41
|
+
HeavyDotted = 6
|
|
42
|
+
Dashed = 7
|
|
43
|
+
HeavyDashed = 8
|
|
44
|
+
LongDashed = 9
|
|
45
|
+
HeavyLongDashed = 10
|
|
46
|
+
DotDash = 11
|
|
47
|
+
HeavyDotDash = 12
|
|
48
|
+
DotDotDash = 13
|
|
49
|
+
HeavyDotDotDash = 14
|
|
50
|
+
Wavy = 15
|
|
51
|
+
HeavyWavy = 16
|
|
52
|
+
DoubleWavy = 17
|
|
53
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
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 TextVerticalOverflowType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents text vertical overflow type.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No overflow.
|
|
15
|
+
Overflow: Overflow behavior.
|
|
16
|
+
Ellipsis: Ellipsis behavior.
|
|
17
|
+
Clip: Clip behavior.
|
|
18
|
+
"""
|
|
19
|
+
none = -1
|
|
20
|
+
Overflow = 0
|
|
21
|
+
Ellipsis = 1
|
|
22
|
+
Clip = 2
|
|
23
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
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 Theme ( IActivePresentation) :
|
|
10
|
+
"""
|
|
11
|
+
Represents a theme with color schemes, font schemes, and format schemes.
|
|
12
|
+
|
|
13
|
+
"""
|
|
14
|
+
@property
|
|
15
|
+
|
|
16
|
+
def Name(self)->str:
|
|
17
|
+
"""
|
|
18
|
+
Gets or sets the name of the theme.
|
|
19
|
+
|
|
20
|
+
Returns:
|
|
21
|
+
str: Current name of the theme.
|
|
22
|
+
"""
|
|
23
|
+
GetDllLibPpt().Theme_get_Name.argtypes=[c_void_p]
|
|
24
|
+
GetDllLibPpt().Theme_get_Name.restype=c_void_p
|
|
25
|
+
ret = PtrToStr(CallCFunction(GetDllLibPpt().Theme_get_Name,self.Ptr))
|
|
26
|
+
return ret
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@Name.setter
|
|
30
|
+
def Name(self, value:str):
|
|
31
|
+
"""
|
|
32
|
+
Sets the name of the theme.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
value (str): New name to set.
|
|
36
|
+
"""
|
|
37
|
+
valuePtr = StrToPtr(value)
|
|
38
|
+
GetDllLibPpt().Theme_set_Name.argtypes=[c_void_p, c_char_p]
|
|
39
|
+
CallCFunction(GetDllLibPpt().Theme_set_Name,self.Ptr,valuePtr)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
|
|
43
|
+
def ColorScheme(self)->'ColorScheme':
|
|
44
|
+
"""
|
|
45
|
+
Gets the color scheme of the theme.
|
|
46
|
+
|
|
47
|
+
Returns:
|
|
48
|
+
ColorScheme: Current color scheme.
|
|
49
|
+
"""
|
|
50
|
+
GetDllLibPpt().Theme_get_ColorScheme.argtypes=[c_void_p]
|
|
51
|
+
GetDllLibPpt().Theme_get_ColorScheme.restype=c_void_p
|
|
52
|
+
intPtr = CallCFunction(GetDllLibPpt().Theme_get_ColorScheme,self.Ptr)
|
|
53
|
+
ret = None if intPtr==None else ColorScheme(intPtr)
|
|
54
|
+
return ret
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
|
|
59
|
+
def FontScheme(self)->'FontScheme':
|
|
60
|
+
"""
|
|
61
|
+
Gets the shape format scheme.
|
|
62
|
+
|
|
63
|
+
Returns:
|
|
64
|
+
FormatScheme: Current format scheme.
|
|
65
|
+
"""
|
|
66
|
+
GetDllLibPpt().Theme_get_FontScheme.argtypes=[c_void_p]
|
|
67
|
+
GetDllLibPpt().Theme_get_FontScheme.restype=c_void_p
|
|
68
|
+
intPtr = CallCFunction(GetDllLibPpt().Theme_get_FontScheme,self.Ptr)
|
|
69
|
+
ret = None if intPtr==None else FontScheme(intPtr)
|
|
70
|
+
return ret
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
|
|
75
|
+
def FormatScheme(self)->'FormatScheme':
|
|
76
|
+
"""
|
|
77
|
+
Gets the parent presentation.
|
|
78
|
+
|
|
79
|
+
Returns:
|
|
80
|
+
Presentation: Parent presentation object.
|
|
81
|
+
"""
|
|
82
|
+
GetDllLibPpt().Theme_get_FormatScheme.argtypes=[c_void_p]
|
|
83
|
+
GetDllLibPpt().Theme_get_FormatScheme.restype=c_void_p
|
|
84
|
+
intPtr = CallCFunction(GetDllLibPpt().Theme_get_FormatScheme,self.Ptr)
|
|
85
|
+
ret = None if intPtr==None else FormatScheme(intPtr)
|
|
86
|
+
return ret
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
|
|
91
|
+
def Presentation(self)->'Presentation':
|
|
92
|
+
"""
|
|
93
|
+
Determines if this theme equals another object.
|
|
94
|
+
|
|
95
|
+
Args:
|
|
96
|
+
obj (SpireObject): Object to compare with.
|
|
97
|
+
|
|
98
|
+
Returns:
|
|
99
|
+
bool: True if objects are equal, False otherwise.
|
|
100
|
+
"""
|
|
101
|
+
GetDllLibPpt().Theme_get_Presentation.argtypes=[c_void_p]
|
|
102
|
+
GetDllLibPpt().Theme_get_Presentation.restype=c_void_p
|
|
103
|
+
intPtr = CallCFunction(GetDllLibPpt().Theme_get_Presentation,self.Ptr)
|
|
104
|
+
ret = None if intPtr==None else Presentation(intPtr)
|
|
105
|
+
return ret
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def Equals(self ,obj:'SpireObject')->bool:
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
intPtrobj:c_void_p = obj.Ptr
|
|
114
|
+
|
|
115
|
+
GetDllLibPpt().Theme_Equals.argtypes=[c_void_p ,c_void_p]
|
|
116
|
+
GetDllLibPpt().Theme_Equals.restype=c_bool
|
|
117
|
+
ret = CallCFunction(GetDllLibPpt().Theme_Equals,self.Ptr, intPtrobj)
|
|
118
|
+
return ret
|
|
119
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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 TileFlipMode(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Defines tile flipping mode.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
UnDefined: Undefined flipping mode
|
|
15
|
+
none: No flipping
|
|
16
|
+
Horizontal: Horizontal flipping
|
|
17
|
+
Vertical: Vertical flipping
|
|
18
|
+
HorizontalAndVertical: Both horizontal and vertical flipping
|
|
19
|
+
"""
|
|
20
|
+
UnDefined = -1
|
|
21
|
+
none = 0
|
|
22
|
+
Horizontal = 1
|
|
23
|
+
Vertical = 2
|
|
24
|
+
HorizontalAndVertical = 3
|
|
25
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
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 TriState(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Represents triple boolean values.
|
|
12
|
+
|
|
13
|
+
"""
|
|
14
|
+
Null = -1
|
|
15
|
+
TFalse = 0
|
|
16
|
+
TTrue = 1
|
|
17
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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 VerticalTextType(Enum):
|
|
10
|
+
"""
|
|
11
|
+
Specifies vertical writing modes for text.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
none: No vertical text
|
|
15
|
+
Horizontal: Regular horizontal text
|
|
16
|
+
Vertical: Vertical text (top-to-bottom)
|
|
17
|
+
Vertical270: Vertical text (bottom-to-top)
|
|
18
|
+
WordArtVertical: WordArt vertical text
|
|
19
|
+
EastAsianVertical: East Asian vertical text
|
|
20
|
+
MongolianVertical: Mongolian vertical text
|
|
21
|
+
WordArtVerticalRightToLeft: WordArt vertical right-to-left
|
|
22
|
+
"""
|
|
23
|
+
none = -1
|
|
24
|
+
Horizontal = 0
|
|
25
|
+
Vertical = 1
|
|
26
|
+
Vertical270 = 2
|
|
27
|
+
WordArtVertical = 3
|
|
28
|
+
EastAsianVertical = 4
|
|
29
|
+
MongolianVertical = 5
|
|
30
|
+
WordArtVerticalRightToLeft = 6
|
|
31
|
+
|