spire-presentation 10.6.4__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spire/__init__.py +0 -0
- spire/presentation/ActiveSlide.py +207 -0
- spire/presentation/AnimateType.py +16 -0
- spire/presentation/AnimationCalculationMode.py +19 -0
- spire/presentation/AnimationColorBehavior.py +117 -0
- spire/presentation/AnimationColorDirection.py +18 -0
- spire/presentation/AnimationColorTransform.py +68 -0
- spire/presentation/AnimationColorspace.py +18 -0
- spire/presentation/AnimationCommandBehavior.py +71 -0
- spire/presentation/AnimationCommandType.py +19 -0
- spire/presentation/AnimationEffect.py +279 -0
- spire/presentation/AnimationEffectCollection.py +152 -0
- spire/presentation/AnimationEffectSubtype.py +65 -0
- spire/presentation/AnimationEffectType.py +166 -0
- spire/presentation/AnimationFilterEffect.py +74 -0
- spire/presentation/AnimationMotion.py +164 -0
- spire/presentation/AnimationMotionOrigin.py +18 -0
- spire/presentation/AnimationMotionPathEditMode.py +18 -0
- spire/presentation/AnimationProperty.py +138 -0
- spire/presentation/AnimationRepeatType.py +18 -0
- spire/presentation/AnimationRestartType.py +19 -0
- spire/presentation/AnimationRotation.py +68 -0
- spire/presentation/AnimationScale.py +96 -0
- spire/presentation/AnimationSet.py +35 -0
- spire/presentation/AnimationTriggerType.py +20 -0
- spire/presentation/AppException.py +14 -0
- spire/presentation/AudioCD.py +90 -0
- spire/presentation/AudioPlayMode.py +19 -0
- spire/presentation/AudioVolumeType.py +20 -0
- spire/presentation/AxisPositionType.py +19 -0
- spire/presentation/AxisType.py +18 -0
- spire/presentation/Backdrop.py +99 -0
- spire/presentation/BackgroundType.py +18 -0
- spire/presentation/BaseShapeLocking.py +24 -0
- spire/presentation/BehaviorAccumulateType.py +18 -0
- spire/presentation/BehaviorAdditiveType.py +21 -0
- spire/presentation/BevelColorType.py +17 -0
- spire/presentation/BevelPresetType.py +28 -0
- spire/presentation/BlackWhiteMode.py +27 -0
- spire/presentation/BlendEffect.py +63 -0
- spire/presentation/BlendMode.py +21 -0
- spire/presentation/BlindsSlideTransition.py +41 -0
- spire/presentation/BlurNode.py +41 -0
- spire/presentation/Camera.py +104 -0
- spire/presentation/Cell.py +526 -0
- spire/presentation/CellCollection.py +144 -0
- spire/presentation/CellRange.py +197 -0
- spire/presentation/CellRanges.py +110 -0
- spire/presentation/ChartAxis.py +843 -0
- spire/presentation/ChartBaseUnitType.py +19 -0
- spire/presentation/ChartCategory.py +34 -0
- spire/presentation/ChartCategoryCollection.py +174 -0
- spire/presentation/ChartCrossesType.py +18 -0
- spire/presentation/ChartData.py +218 -0
- spire/presentation/ChartDataLabel.py +475 -0
- spire/presentation/ChartDataLabelCollection.py +441 -0
- spire/presentation/ChartDataLabelPosition.py +25 -0
- spire/presentation/ChartDataPoint.py +232 -0
- spire/presentation/ChartDataPointCollection.py +72 -0
- spire/presentation/ChartDataTable.py +161 -0
- spire/presentation/ChartDisplayUnitType.py +26 -0
- spire/presentation/ChartEffectFormat.py +77 -0
- spire/presentation/ChartLegend.py +256 -0
- spire/presentation/ChartLegendPositionType.py +21 -0
- spire/presentation/ChartMarkerType.py +27 -0
- spire/presentation/ChartPlotArea.py +149 -0
- spire/presentation/ChartRotationThreeD.py +86 -0
- spire/presentation/ChartSeriesDataFormat.py +678 -0
- spire/presentation/ChartSeriesFormatCollection.py +212 -0
- spire/presentation/ChartShapeType.py +22 -0
- spire/presentation/ChartStyle.py +63 -0
- spire/presentation/ChartTextArea.py +182 -0
- spire/presentation/ChartType.py +96 -0
- spire/presentation/ChartWallsOrFloor.py +113 -0
- spire/presentation/ClickHyperlink.py +440 -0
- spire/presentation/ColorFormat.py +288 -0
- spire/presentation/ColorScheme.py +264 -0
- spire/presentation/ColorSchemeIndex.py +27 -0
- spire/presentation/ColorType.py +19 -0
- spire/presentation/ColumnCollection.py +57 -0
- spire/presentation/ColumnList.py +108 -0
- spire/presentation/Comment.py +175 -0
- spire/presentation/CommentAuthorCollection.py +57 -0
- spire/presentation/CommentAuthorList.py +137 -0
- spire/presentation/CommentCollection.py +57 -0
- spire/presentation/CommentList.py +180 -0
- spire/presentation/CommonBehavior.py +87 -0
- spire/presentation/CommonBehaviorCollection.py +182 -0
- spire/presentation/ConnectorLocking.py +14 -0
- spire/presentation/CoverSlideTransition.py +45 -0
- spire/presentation/CrossBetweenType.py +16 -0
- spire/presentation/DataLabelShapeType.py +30 -0
- spire/presentation/DefaultTextRangeProperties.py +567 -0
- spire/presentation/Direction.py +17 -0
- spire/presentation/DisplayBlanksAsType.py +18 -0
- spire/presentation/DocumentEditException.py +14 -0
- spire/presentation/DocumentReadException.py +14 -0
- spire/presentation/DocumentUnkownFormatException.py +14 -0
- spire/presentation/EffectDag.py +186 -0
- spire/presentation/EffectDataCollection.py +102 -0
- spire/presentation/EffectFillType.py +20 -0
- spire/presentation/EffectNode.py +14 -0
- spire/presentation/EffectStyle.py +58 -0
- spire/presentation/EffectStyleCollection.py +69 -0
- spire/presentation/EffectStyleList.py +71 -0
- spire/presentation/EmbedImageList.py +117 -0
- spire/presentation/ErrorBarSimpleType.py +16 -0
- spire/presentation/ErrorValueType.py +18 -0
- spire/presentation/ExtensionList.py +22 -0
- spire/presentation/Field.py +47 -0
- spire/presentation/FieldType.py +284 -0
- spire/presentation/FileFormat.py +42 -0
- spire/presentation/FillFormat.py +173 -0
- spire/presentation/FillFormatCollection.py +57 -0
- spire/presentation/FillFormatList.py +14 -0
- spire/presentation/FillFormatType.py +22 -0
- spire/presentation/FillListBase.py +69 -0
- spire/presentation/FillOverlayEffect.py +66 -0
- spire/presentation/FillStyleCollection.py +69 -0
- spire/presentation/FillStyleList.py +26 -0
- spire/presentation/FilterEffectSubtype.py +42 -0
- spire/presentation/FilterEffectType.py +34 -0
- spire/presentation/FilterEffectsType.py +16 -0
- spire/presentation/FilterRevealType.py +19 -0
- spire/presentation/FlythroughTransition.py +41 -0
- spire/presentation/FontAlignmentType.py +21 -0
- spire/presentation/FontCollectionIndex.py +18 -0
- spire/presentation/FontScheme.py +79 -0
- spire/presentation/FormatAndVersion.py +44 -0
- spire/presentation/FormatScheme.py +140 -0
- spire/presentation/FormatThreeD.py +81 -0
- spire/presentation/Geography.py +12 -0
- spire/presentation/GlitterTransition.py +41 -0
- spire/presentation/GlitterTransitionDirection.py +23 -0
- spire/presentation/GlowEffect.py +65 -0
- spire/presentation/GlowNode.py +42 -0
- spire/presentation/GradientFillFormat.py +147 -0
- spire/presentation/GradientShapeType.py +20 -0
- spire/presentation/GradientStop.py +48 -0
- spire/presentation/GradientStopCollection.py +57 -0
- spire/presentation/GradientStopData.py +43 -0
- spire/presentation/GradientStopDataCollection.py +100 -0
- spire/presentation/GradientStopList.py +183 -0
- spire/presentation/GradientStyle.py +21 -0
- spire/presentation/GraphicAnimation.py +56 -0
- spire/presentation/GraphicAnimationCollection.py +131 -0
- spire/presentation/GraphicBuildType.py +20 -0
- spire/presentation/GraphicFrame.py +217 -0
- spire/presentation/GraphicalNodeLocking.py +116 -0
- spire/presentation/GroupShape.py +75 -0
- spire/presentation/GroupShapeLocking.py +133 -0
- spire/presentation/HeaderType.py +20 -0
- spire/presentation/HistogramAxisFormat.py +30 -0
- spire/presentation/HyperlinkActionType.py +31 -0
- spire/presentation/IActivePresentation.py +27 -0
- spire/presentation/IActiveSlide.py +27 -0
- spire/presentation/IAudio.py +673 -0
- spire/presentation/IAudioData.py +85 -0
- spire/presentation/IAutoShape.py +560 -0
- spire/presentation/IChart.py +1010 -0
- spire/presentation/IChartAxis.py +864 -0
- spire/presentation/IChartEffectFormat.py +99 -0
- spire/presentation/IChartGridLine.py +371 -0
- spire/presentation/ICommentAuthor.py +107 -0
- spire/presentation/IDigitalSignature.py +93 -0
- spire/presentation/IDigitalSignatures.py +35 -0
- spire/presentation/IDocumentProperty.py +578 -0
- spire/presentation/IEmbedImage.py +493 -0
- spire/presentation/IErrorBarsFormat.py +140 -0
- spire/presentation/IImageData.py +123 -0
- spire/presentation/ILayout.py +120 -0
- spire/presentation/IMasterLayouts.py +60 -0
- spire/presentation/IMasterSlide.py +272 -0
- spire/presentation/INoteMasterSlide.py +195 -0
- spire/presentation/IOleObject.py +586 -0
- spire/presentation/IShape.py +631 -0
- spire/presentation/ISlide.py +767 -0
- spire/presentation/ISmartArt.py +114 -0
- spire/presentation/ISmartArtNode.py +238 -0
- spire/presentation/ISmartArtNodeCollection.py +144 -0
- spire/presentation/ITable.py +709 -0
- spire/presentation/ITextFrameProperties.py +459 -0
- spire/presentation/ITrendlineLabel.py +66 -0
- spire/presentation/ITrendlines.py +227 -0
- spire/presentation/IVideo.py +682 -0
- spire/presentation/ImageCollection.py +57 -0
- spire/presentation/ImageTransform.py +128 -0
- spire/presentation/ImageTransformBase.py +14 -0
- spire/presentation/ImageTransformEffectCollection.py +57 -0
- spire/presentation/ImportDataFormat.py +18 -0
- spire/presentation/InnerShadowEffect.py +98 -0
- spire/presentation/InnerShadowNode.py +65 -0
- spire/presentation/InsertPlaceholderType.py +22 -0
- spire/presentation/InteriorColorPattern.py +35 -0
- spire/presentation/InvXTransition.py +39 -0
- spire/presentation/KnownColors.py +156 -0
- spire/presentation/LRTransition.py +41 -0
- spire/presentation/LayoutProperty.py +123 -0
- spire/presentation/LegendEntry.py +29 -0
- spire/presentation/LegendEntryCollection.py +42 -0
- spire/presentation/LicenseProvider.py +112 -0
- spire/presentation/LightRig.py +95 -0
- spire/presentation/LightingDirectionType.py +24 -0
- spire/presentation/LineCapStyle.py +19 -0
- spire/presentation/LineDashStyleType.py +28 -0
- spire/presentation/LineEndLength.py +19 -0
- spire/presentation/LineEndType.py +22 -0
- spire/presentation/LineEndWidth.py +19 -0
- spire/presentation/LineFillFormat.py +123 -0
- spire/presentation/LineJoinType.py +19 -0
- spire/presentation/LineStyleCollection.py +69 -0
- spire/presentation/LineStyleList.py +69 -0
- spire/presentation/LineText.py +48 -0
- spire/presentation/LinearGradientFill.py +50 -0
- spire/presentation/LocaleFonts.py +89 -0
- spire/presentation/MasterSlideCollection.py +57 -0
- spire/presentation/MasterSlideList.py +126 -0
- spire/presentation/MasterTheme.py +91 -0
- spire/presentation/MetaCharacterType.py +21 -0
- spire/presentation/MotionCmdPath.py +87 -0
- spire/presentation/MotionCommandPathType.py +20 -0
- spire/presentation/MotionPath.py +98 -0
- spire/presentation/MotionPathPointsType.py +24 -0
- spire/presentation/NotesSlide.py +96 -0
- spire/presentation/NumberedBulletStyle.py +57 -0
- spire/presentation/OleObject.py +116 -0
- spire/presentation/OleObjectCollection.py +134 -0
- spire/presentation/OleObjectProperties.py +165 -0
- spire/presentation/OptionalBlackTransition.py +44 -0
- spire/presentation/Order.py +17 -0
- spire/presentation/OuterShadowEffect.py +202 -0
- spire/presentation/OuterShadowNode.py +139 -0
- spire/presentation/PageSlideCount.py +21 -0
- spire/presentation/ParagraphBuildType.py +23 -0
- spire/presentation/ParagraphCollection.py +100 -0
- spire/presentation/ParagraphList.py +172 -0
- spire/presentation/ParagraphProperties.py +532 -0
- spire/presentation/PatternFillFormat.py +106 -0
- spire/presentation/PatternFillType.py +71 -0
- spire/presentation/PdfConformanceLevel.py +22 -0
- spire/presentation/PenAlignmentType.py +18 -0
- spire/presentation/PictureData.py +61 -0
- spire/presentation/PictureFillFormat.py +251 -0
- spire/presentation/PictureFillType.py +17 -0
- spire/presentation/PictureShape.py +103 -0
- spire/presentation/PictureType.py +19 -0
- spire/presentation/Placeholder.py +87 -0
- spire/presentation/PlaceholderSize.py +19 -0
- spire/presentation/PlaceholderType.py +32 -0
- spire/presentation/PptObject.py +36 -0
- spire/presentation/Presentation.py +1288 -0
- spire/presentation/PresentationTranslator.py +31 -0
- spire/presentation/PresetCameraType.py +78 -0
- spire/presentation/PresetLightRigType.py +43 -0
- spire/presentation/PresetMaterialType.py +31 -0
- spire/presentation/PresetShadow.py +100 -0
- spire/presentation/PresetShadowNode.py +67 -0
- spire/presentation/PresetShadowValue.py +35 -0
- spire/presentation/ProjectionType.py +16 -0
- spire/presentation/PropertyValueType.py +19 -0
- spire/presentation/QuartileCalculation.py +17 -0
- spire/presentation/RectangleAlignment.py +25 -0
- spire/presentation/ReflectionEffect.py +281 -0
- spire/presentation/ReflectionNode.py +184 -0
- spire/presentation/RelativeRectangle.py +162 -0
- spire/presentation/RevealTransition.py +41 -0
- spire/presentation/RowList.py +108 -0
- spire/presentation/SaveToHtmlOption.py +31 -0
- spire/presentation/SaveToPdfOption.py +102 -0
- spire/presentation/SaveToPptxOption.py +31 -0
- spire/presentation/SchemeColor.py +33 -0
- spire/presentation/Section.py +173 -0
- spire/presentation/SectionList.py +187 -0
- spire/presentation/SequenceCollection.py +109 -0
- spire/presentation/Shape.py +616 -0
- spire/presentation/ShapeAdjust.py +58 -0
- spire/presentation/ShapeAdjustCollection.py +71 -0
- spire/presentation/ShapeAdjustmentList.py +44 -0
- spire/presentation/ShapeAlignment.py +23 -0
- spire/presentation/ShapeArrange.py +19 -0
- spire/presentation/ShapeBevelStyle.py +67 -0
- spire/presentation/ShapeCollection.py +70 -0
- spire/presentation/ShapeElementFillSource.py +22 -0
- spire/presentation/ShapeElementStrokeSource.py +18 -0
- spire/presentation/ShapeList.py +1071 -0
- spire/presentation/ShapeLocking.py +31 -0
- spire/presentation/ShapeNode.py +78 -0
- spire/presentation/ShapeStyle.py +202 -0
- spire/presentation/ShapeThreeD.py +179 -0
- spire/presentation/ShapeType.py +204 -0
- spire/presentation/ShredTransition.py +41 -0
- spire/presentation/SideDirectionTransition.py +45 -0
- spire/presentation/SimpleShapeBaseLocking.py +182 -0
- spire/presentation/SlideBackground.py +174 -0
- spire/presentation/SlideCollection.py +57 -0
- spire/presentation/SlideColorScheme.py +56 -0
- spire/presentation/SlideColorSchemeCollection.py +114 -0
- spire/presentation/SlideLayoutType.py +51 -0
- spire/presentation/SlideList.py +300 -0
- spire/presentation/SlideOrienation.py +17 -0
- spire/presentation/SlidePicture.py +94 -0
- spire/presentation/SlidePictureLocking.py +31 -0
- spire/presentation/SlideShowTransition.py +279 -0
- spire/presentation/SlideShowType.py +16 -0
- spire/presentation/SlideSize.py +96 -0
- spire/presentation/SlideSizeType.py +32 -0
- spire/presentation/SmartArtColorType.py +51 -0
- spire/presentation/SmartArtLayoutType.py +99 -0
- spire/presentation/SmartArtStyleType.py +27 -0
- spire/presentation/SoftEdgeEffect.py +44 -0
- spire/presentation/SoftEdgeNode.py +27 -0
- spire/presentation/SplitSlideTransition.py +46 -0
- spire/presentation/StripsSlideTransition.py +41 -0
- spire/presentation/SystemColorType.py +46 -0
- spire/presentation/TabAlignmentType.py +20 -0
- spire/presentation/TabData.py +61 -0
- spire/presentation/TabStop.py +71 -0
- spire/presentation/TabStopCollection.py +57 -0
- spire/presentation/TabStopList.py +123 -0
- spire/presentation/TableBorderType.py +27 -0
- spire/presentation/TableColumn.py +32 -0
- spire/presentation/TableRow.py +32 -0
- spire/presentation/TableRowCollection.py +57 -0
- spire/presentation/TableStylePreset.py +90 -0
- spire/presentation/TagCollection.py +71 -0
- spire/presentation/TagList.py +170 -0
- spire/presentation/TextAlignmentType.py +21 -0
- spire/presentation/TextAnchorType.py +23 -0
- spire/presentation/TextAnimation.py +78 -0
- spire/presentation/TextAnimationCollection.py +141 -0
- spire/presentation/TextAutofitType.py +19 -0
- spire/presentation/TextBulletType.py +20 -0
- spire/presentation/TextCapType.py +19 -0
- spire/presentation/TextCharacterProperties.py +647 -0
- spire/presentation/TextFont.py +92 -0
- spire/presentation/TextHighLightingOptions.py +52 -0
- spire/presentation/TextHorizontalOverflowType.py +18 -0
- spire/presentation/TextLineFormat.py +418 -0
- spire/presentation/TextLineFormatCollection.py +57 -0
- spire/presentation/TextLineFormatList.py +57 -0
- spire/presentation/TextLineStyle.py +21 -0
- spire/presentation/TextParagraph.py +103 -0
- spire/presentation/TextParagraphProperties.py +496 -0
- spire/presentation/TextRange.py +132 -0
- spire/presentation/TextRangeCollection.py +69 -0
- spire/presentation/TextRangeList.py +129 -0
- spire/presentation/TextShapeType.py +58 -0
- spire/presentation/TextStrikethroughType.py +19 -0
- spire/presentation/TextStyle.py +75 -0
- spire/presentation/TextUnderlineType.py +34 -0
- spire/presentation/TextVerticalOverflowType.py +19 -0
- spire/presentation/Theme.py +111 -0
- spire/presentation/TickLabelPositionType.py +19 -0
- spire/presentation/TickMarkType.py +19 -0
- spire/presentation/TileFlipMode.py +20 -0
- spire/presentation/TimeAnimationValue.py +73 -0
- spire/presentation/TimeAnimationValueCollection.py +58 -0
- spire/presentation/TimeLine.py +69 -0
- spire/presentation/TimeNode.py +50 -0
- spire/presentation/TimeNodeAudio.py +116 -0
- spire/presentation/TimeNodeMedia.py +24 -0
- spire/presentation/TimeNodePresetClassType.py +22 -0
- spire/presentation/TimeNodes.py +85 -0
- spire/presentation/Timing.py +229 -0
- spire/presentation/Transition.py +26 -0
- spire/presentation/TransitionCornerDirection.py +20 -0
- spire/presentation/TransitionDirection.py +18 -0
- spire/presentation/TransitionEightDirection.py +24 -0
- spire/presentation/TransitionFlythroughInOutDirection.py +19 -0
- spire/presentation/TransitionInOutDirection.py +18 -0
- spire/presentation/TransitionRevealLRDirection.py +19 -0
- spire/presentation/TransitionShredInOutDirection.py +19 -0
- spire/presentation/TransitionSideDirectionType.py +19 -0
- spire/presentation/TransitionSoundMode.py +18 -0
- spire/presentation/TransitionSpeed.py +19 -0
- spire/presentation/TransitionSplitDirection.py +19 -0
- spire/presentation/TransitionTwoDirection.py +17 -0
- spire/presentation/TransitionType.py +71 -0
- spire/presentation/TreeMapLabelOption.py +18 -0
- spire/presentation/TrendlinesType.py +19 -0
- spire/presentation/TriState.py +18 -0
- spire/presentation/UOPReader.py +24 -0
- spire/presentation/UOPWriter.py +24 -0
- spire/presentation/VerticalTextType.py +23 -0
- spire/presentation/VideoCollection.py +106 -0
- spire/presentation/VideoData.py +99 -0
- spire/presentation/VideoPlayMode.py +19 -0
- spire/presentation/WavAudioCollection.py +106 -0
- spire/presentation/WheelSlideTransition.py +41 -0
- spire/presentation/ZoomSlideTransition.py +44 -0
- spire/presentation/_Presentation.py +140 -0
- spire/presentation/__init__.py +536 -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/lib/Spire.Presentation.Base.dll +0 -0
- spire/presentation/lib/__init__.py +0 -0
- spire/presentation/lib/libSkiaSharp.dll +0 -0
- spire_presentation-10.6.4.dist-info/METADATA +138 -0
- spire_presentation-10.6.4.dist-info/RECORD +438 -0
- spire_presentation-10.6.4.dist-info/WHEEL +5 -0
- spire_presentation-10.6.4.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1288 @@
|
|
|
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 spire.presentation import _Presentation
|
|
7
|
+
from ctypes import *
|
|
8
|
+
import abc
|
|
9
|
+
|
|
10
|
+
class Presentation (_Presentation) :
|
|
11
|
+
|
|
12
|
+
@dispatch
|
|
13
|
+
def __init__(self):
|
|
14
|
+
GetDllLibPpt().Presentation_CreatePresentation.restype = c_void_p
|
|
15
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_CreatePresentation)
|
|
16
|
+
super(Presentation, self).__init__(intPtr)
|
|
17
|
+
def __del__(self):
|
|
18
|
+
GetDllLibPpt().Presentation_Dispose.argtypes = [c_void_p]
|
|
19
|
+
CallCFunction(GetDllLibPpt().Presentation_Dispose,self.Ptr)
|
|
20
|
+
super(Presentation, self).__del__()
|
|
21
|
+
"""
|
|
22
|
+
<summary>
|
|
23
|
+
Represents an Presentation document.
|
|
24
|
+
</summary>
|
|
25
|
+
"""
|
|
26
|
+
@property
|
|
27
|
+
|
|
28
|
+
def SlideSize(self)->'SlideSize':
|
|
29
|
+
"""
|
|
30
|
+
<summary>
|
|
31
|
+
Get slide size.
|
|
32
|
+
</summary>
|
|
33
|
+
"""
|
|
34
|
+
GetDllLibPpt().Presentation_get_SlideSize.argtypes=[c_void_p]
|
|
35
|
+
GetDllLibPpt().Presentation_get_SlideSize.restype=c_void_p
|
|
36
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_SlideSize,self.Ptr)
|
|
37
|
+
ret = None if intPtr==None else SlideSize(intPtr)
|
|
38
|
+
return ret
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
|
|
43
|
+
def SectionList(self)->'SectionList':
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
"""
|
|
47
|
+
GetDllLibPpt().Presentation_get_SectionList.argtypes=[c_void_p]
|
|
48
|
+
GetDllLibPpt().Presentation_get_SectionList.restype=c_void_p
|
|
49
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_SectionList,self.Ptr)
|
|
50
|
+
ret = None if intPtr==None else SectionList(intPtr)
|
|
51
|
+
return ret
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def SetPageSize(self ,w:float,h:float,IsRatio:bool):
|
|
56
|
+
"""
|
|
57
|
+
<summary>
|
|
58
|
+
Set page size.
|
|
59
|
+
</summary>
|
|
60
|
+
<param name="w">Width or width ratio</param>
|
|
61
|
+
<param name="h">Height or height ratio</param>
|
|
62
|
+
<param name="IsRation">Is ratio</param>
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
GetDllLibPpt().Presentation_SetPageSize.argtypes=[c_void_p ,c_float,c_float,c_bool]
|
|
66
|
+
CallCFunction(GetDllLibPpt().Presentation_SetPageSize,self.Ptr, w,h,IsRatio)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def StrictFirstAndLastCharacters(self)->bool:
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
"""
|
|
73
|
+
GetDllLibPpt().Presentation_get_StrictFirstAndLastCharacters.argtypes=[c_void_p]
|
|
74
|
+
GetDllLibPpt().Presentation_get_StrictFirstAndLastCharacters.restype=c_bool
|
|
75
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_StrictFirstAndLastCharacters,self.Ptr)
|
|
76
|
+
return ret
|
|
77
|
+
|
|
78
|
+
@StrictFirstAndLastCharacters.setter
|
|
79
|
+
def StrictFirstAndLastCharacters(self, value:bool):
|
|
80
|
+
GetDllLibPpt().Presentation_set_StrictFirstAndLastCharacters.argtypes=[c_void_p, c_bool]
|
|
81
|
+
CallCFunction(GetDllLibPpt().Presentation_set_StrictFirstAndLastCharacters,self.Ptr, value)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
|
|
85
|
+
def WavAudios(self)->'WavAudioCollection':
|
|
86
|
+
"""
|
|
87
|
+
<summary>
|
|
88
|
+
Gets the collection of all embedded audio.
|
|
89
|
+
</summary>
|
|
90
|
+
"""
|
|
91
|
+
GetDllLibPpt().Presentation_get_WavAudios.argtypes=[c_void_p]
|
|
92
|
+
GetDllLibPpt().Presentation_get_WavAudios.restype=c_void_p
|
|
93
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_WavAudios,self.Ptr)
|
|
94
|
+
ret = None if intPtr==None else WavAudioCollection(intPtr)
|
|
95
|
+
return ret
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
|
|
100
|
+
def Videos(self)->'VideoCollection':
|
|
101
|
+
"""
|
|
102
|
+
<summary>
|
|
103
|
+
Gets the collection of all embedded video.
|
|
104
|
+
</summary>
|
|
105
|
+
"""
|
|
106
|
+
GetDllLibPpt().Presentation_get_Videos.argtypes=[c_void_p]
|
|
107
|
+
GetDllLibPpt().Presentation_get_Videos.restype=c_void_p
|
|
108
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_Videos,self.Ptr)
|
|
109
|
+
ret = None if intPtr==None else VideoCollection(intPtr)
|
|
110
|
+
return ret
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
|
|
115
|
+
def TagsList(self)->'TagCollection':
|
|
116
|
+
"""
|
|
117
|
+
<summary>
|
|
118
|
+
Gets the tags collection.
|
|
119
|
+
</summary>
|
|
120
|
+
"""
|
|
121
|
+
GetDllLibPpt().Presentation_get_TagsList.argtypes=[c_void_p]
|
|
122
|
+
GetDllLibPpt().Presentation_get_TagsList.restype=c_void_p
|
|
123
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_TagsList,self.Ptr)
|
|
124
|
+
ret = None if intPtr==None else TagCollection(intPtr)
|
|
125
|
+
return ret
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
|
|
130
|
+
def Images(self)->'ImageCollection':
|
|
131
|
+
"""
|
|
132
|
+
<summary>
|
|
133
|
+
Gets the collection of all images.
|
|
134
|
+
</summary>
|
|
135
|
+
"""
|
|
136
|
+
GetDllLibPpt().Presentation_get_Images.argtypes=[c_void_p]
|
|
137
|
+
GetDllLibPpt().Presentation_get_Images.restype=c_void_p
|
|
138
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_Images,self.Ptr)
|
|
139
|
+
ret = None if intPtr==None else ImageCollection(intPtr)
|
|
140
|
+
return ret
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
|
|
145
|
+
def DocumentProperty(self)->'IDocumentProperty':
|
|
146
|
+
"""
|
|
147
|
+
<summary>
|
|
148
|
+
Gets Standard and custom document properties.
|
|
149
|
+
</summary>
|
|
150
|
+
"""
|
|
151
|
+
GetDllLibPpt().Presentation_get_DocumentProperty.argtypes=[c_void_p]
|
|
152
|
+
GetDllLibPpt().Presentation_get_DocumentProperty.restype=c_void_p
|
|
153
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_DocumentProperty,self.Ptr)
|
|
154
|
+
ret = None if intPtr==None else IDocumentProperty(intPtr)
|
|
155
|
+
return ret
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
|
|
160
|
+
def CommentAuthors(self)->'CommentAuthorCollection':
|
|
161
|
+
"""
|
|
162
|
+
<summary>
|
|
163
|
+
Gets CommentAuthor List.
|
|
164
|
+
</summary>
|
|
165
|
+
"""
|
|
166
|
+
GetDllLibPpt().Presentation_get_CommentAuthors.argtypes=[c_void_p]
|
|
167
|
+
GetDllLibPpt().Presentation_get_CommentAuthors.restype=c_void_p
|
|
168
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_CommentAuthors,self.Ptr)
|
|
169
|
+
ret = None if intPtr==None else CommentAuthorCollection(intPtr)
|
|
170
|
+
return ret
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
def DFlag(self)->bool:
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
"""
|
|
178
|
+
GetDllLibPpt().Presentation_get_DFlag.argtypes=[c_void_p]
|
|
179
|
+
GetDllLibPpt().Presentation_get_DFlag.restype=c_bool
|
|
180
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_DFlag,self.Ptr)
|
|
181
|
+
return ret
|
|
182
|
+
|
|
183
|
+
@DFlag.setter
|
|
184
|
+
def DFlag(self, value:bool):
|
|
185
|
+
GetDllLibPpt().Presentation_set_DFlag.argtypes=[c_void_p, c_bool]
|
|
186
|
+
CallCFunction(GetDllLibPpt().Presentation_set_DFlag,self.Ptr, value)
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
|
|
190
|
+
def FormatAndVersion(self)->'FormatAndVersion':
|
|
191
|
+
"""
|
|
192
|
+
<summary>
|
|
193
|
+
Gets the the Format and Version of file;
|
|
194
|
+
read-only
|
|
195
|
+
</summary>
|
|
196
|
+
"""
|
|
197
|
+
GetDllLibPpt().Presentation_get_FormatAndVersion.argtypes=[c_void_p]
|
|
198
|
+
GetDllLibPpt().Presentation_get_FormatAndVersion.restype=c_int
|
|
199
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_FormatAndVersion,self.Ptr)
|
|
200
|
+
objwraped = FormatAndVersion(ret)
|
|
201
|
+
return objwraped
|
|
202
|
+
|
|
203
|
+
#
|
|
204
|
+
# def AddDigitalSignature(self ,certificate:'X509Certificate2',comments:str,signTime:'DateTime')->'IDigitalSignatures':
|
|
205
|
+
# """
|
|
206
|
+
# <summary>
|
|
207
|
+
# Add a DigitalSignature.
|
|
208
|
+
# </summary>
|
|
209
|
+
# <param name="certificate">Certificate object that was used to sign</param>
|
|
210
|
+
# <param name="comments">Signature Comments</param>
|
|
211
|
+
# <param name="signTime">Sign Time</param>
|
|
212
|
+
# <returns>Collection of DigitalSignature</returns>
|
|
213
|
+
# """
|
|
214
|
+
# intPtrcertificate:c_void_p = certificate.Ptr
|
|
215
|
+
# intPtrsignTime:c_void_p = signTime.Ptr
|
|
216
|
+
#
|
|
217
|
+
# GetDllLibPpt().Presentation_AddDigitalSignature.argtypes=[c_void_p ,c_void_p,c_wchar_p,c_void_p]
|
|
218
|
+
# GetDllLibPpt().Presentation_AddDigitalSignature.restype=c_void_p
|
|
219
|
+
# intPtr = CallCFunction(GetDllLibPpt().Presentation_AddDigitalSignature,self.Ptr, intPtrcertificate,comments,intPtrsignTime)
|
|
220
|
+
# ret = None if intPtr==None else IDigitalSignatures(intPtr)
|
|
221
|
+
# return ret
|
|
222
|
+
#
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
def GetDigitalSignatures(self)->'IDigitalSignatures':
|
|
227
|
+
"""
|
|
228
|
+
<summary>
|
|
229
|
+
Get collection of DigitalSignature in this file.
|
|
230
|
+
</summary>
|
|
231
|
+
<returns>Collection of DigitalSignature</returns>
|
|
232
|
+
"""
|
|
233
|
+
GetDllLibPpt().Presentation_GetDigitalSignatures.argtypes=[c_void_p]
|
|
234
|
+
GetDllLibPpt().Presentation_GetDigitalSignatures.restype=c_void_p
|
|
235
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_GetDigitalSignatures,self.Ptr)
|
|
236
|
+
ret = None if intPtr==None else IDigitalSignatures(intPtr)
|
|
237
|
+
return ret
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
def RemoveAllDigitalSignatures(self):
|
|
241
|
+
"""
|
|
242
|
+
<summary>
|
|
243
|
+
Remove all DigitalSignature in this file.
|
|
244
|
+
</summary>
|
|
245
|
+
"""
|
|
246
|
+
GetDllLibPpt().Presentation_RemoveAllDigitalSignatures.argtypes=[c_void_p]
|
|
247
|
+
CallCFunction(GetDllLibPpt().Presentation_RemoveAllDigitalSignatures,self.Ptr)
|
|
248
|
+
|
|
249
|
+
@property
|
|
250
|
+
def IsDigitallySigned(self)->bool:
|
|
251
|
+
"""
|
|
252
|
+
<summary>
|
|
253
|
+
Indicates whether this spreadsheet is digitally signed.
|
|
254
|
+
</summary>
|
|
255
|
+
"""
|
|
256
|
+
GetDllLibPpt().Presentation_get_IsDigitallySigned.argtypes=[c_void_p]
|
|
257
|
+
GetDllLibPpt().Presentation_get_IsDigitallySigned.restype=c_bool
|
|
258
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_IsDigitallySigned,self.Ptr)
|
|
259
|
+
return ret
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
def SetCustomFontsFolder(self ,fontsFolder:str):
|
|
263
|
+
"""
|
|
264
|
+
<summary>
|
|
265
|
+
Set folder where the custom font is located.
|
|
266
|
+
<param name="fontsFolder">the fonts folfer.</param></summary>
|
|
267
|
+
"""
|
|
268
|
+
|
|
269
|
+
fontsFolderPtr = StrToPtr(fontsFolder)
|
|
270
|
+
GetDllLibPpt().Presentation_SetCustomFontsFolder.argtypes=[c_void_p ,c_char_p]
|
|
271
|
+
CallCFunction(GetDllLibPpt().Presentation_SetCustomFontsFolder,self.Ptr,fontsFolderPtr)
|
|
272
|
+
|
|
273
|
+
@dispatch
|
|
274
|
+
|
|
275
|
+
def IsPasswordProtected(self ,fileName:str)->bool:
|
|
276
|
+
"""
|
|
277
|
+
<summary>
|
|
278
|
+
Determine whether the document is encrypted
|
|
279
|
+
</summary>
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
fileNamePtr = StrToPtr(fileName)
|
|
283
|
+
GetDllLibPpt().Presentation_IsPasswordProtected.argtypes=[c_void_p ,c_char_p]
|
|
284
|
+
GetDllLibPpt().Presentation_IsPasswordProtected.restype=c_bool
|
|
285
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_IsPasswordProtected,self.Ptr,fileNamePtr)
|
|
286
|
+
return ret
|
|
287
|
+
|
|
288
|
+
@dispatch
|
|
289
|
+
|
|
290
|
+
def IsPasswordProtected(self ,stream:Stream)->bool:
|
|
291
|
+
"""
|
|
292
|
+
<summary>
|
|
293
|
+
Determine whether the document is encrypted
|
|
294
|
+
<param name="stream">file stream</param></summary>
|
|
295
|
+
"""
|
|
296
|
+
intPtrstream:c_void_p = stream.Ptr
|
|
297
|
+
|
|
298
|
+
GetDllLibPpt().Presentation_IsPasswordProtectedS.argtypes=[c_void_p ,c_void_p]
|
|
299
|
+
GetDllLibPpt().Presentation_IsPasswordProtectedS.restype=c_bool
|
|
300
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_IsPasswordProtectedS,self.Ptr, intPtrstream)
|
|
301
|
+
return ret
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
def HighQualityImage(self)->bool:
|
|
305
|
+
"""
|
|
306
|
+
<summary>
|
|
307
|
+
Determine whether the document is encrypted
|
|
308
|
+
<param name="stream">file stream</param></summary>
|
|
309
|
+
"""
|
|
310
|
+
GetDllLibPpt().Presentation_get_HighQualityImage.argtypes=[c_void_p]
|
|
311
|
+
GetDllLibPpt().Presentation_get_HighQualityImage.restype=c_bool
|
|
312
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_HighQualityImage,self.Ptr)
|
|
313
|
+
return ret
|
|
314
|
+
|
|
315
|
+
@HighQualityImage.setter
|
|
316
|
+
def HighQualityImage(self, value:bool):
|
|
317
|
+
GetDllLibPpt().Presentation_set_HighQualityImage.argtypes=[c_void_p, c_bool]
|
|
318
|
+
CallCFunction(GetDllLibPpt().Presentation_set_HighQualityImage,self.Ptr, value)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
def SlideSizeAutoFit(self, value:bool):
|
|
322
|
+
GetDllLibPpt().Presentation_set_SlideSizeAutoFit.argtypes=[c_void_p, c_bool]
|
|
323
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SlideSizeAutoFit,self.Ptr, value)
|
|
324
|
+
|
|
325
|
+
def Dispose(self):
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
"""
|
|
329
|
+
GetDllLibPpt().Presentation_Dispose.argtypes=[c_void_p]
|
|
330
|
+
CallCFunction(GetDllLibPpt().Presentation_Dispose,self.Ptr)
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
|
|
334
|
+
def SaveToPdfOption(self)->'SaveToPdfOption':
|
|
335
|
+
"""
|
|
336
|
+
<summary>
|
|
337
|
+
SaveToPdfOption
|
|
338
|
+
</summary>
|
|
339
|
+
"""
|
|
340
|
+
GetDllLibPpt().Presentation_get_SaveToPdfOption.argtypes=[c_void_p]
|
|
341
|
+
GetDllLibPpt().Presentation_get_SaveToPdfOption.restype=c_void_p
|
|
342
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_SaveToPdfOption,self.Ptr)
|
|
343
|
+
ret = None if intPtr==None else SaveToPdfOption(intPtr)
|
|
344
|
+
return ret
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
@SaveToPdfOption.setter
|
|
348
|
+
def SaveToPdfOption(self, value:'SaveToPdfOption'):
|
|
349
|
+
GetDllLibPpt().Presentation_set_SaveToPdfOption.argtypes=[c_void_p, c_void_p]
|
|
350
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SaveToPdfOption,self.Ptr, value.Ptr)
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
|
|
354
|
+
def SaveToHtmlOption(self)->'SaveToHtmlOption':
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
"""
|
|
358
|
+
GetDllLibPpt().Presentation_get_SaveToHtmlOption.argtypes=[c_void_p]
|
|
359
|
+
GetDllLibPpt().Presentation_get_SaveToHtmlOption.restype=c_void_p
|
|
360
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_SaveToHtmlOption,self.Ptr)
|
|
361
|
+
ret = None if intPtr==None else SaveToHtmlOption(intPtr)
|
|
362
|
+
return ret
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
@SaveToHtmlOption.setter
|
|
366
|
+
def SaveToHtmlOption(self, value:'SaveToHtmlOption'):
|
|
367
|
+
GetDllLibPpt().Presentation_set_SaveToHtmlOption.argtypes=[c_void_p, c_void_p]
|
|
368
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SaveToHtmlOption,self.Ptr, value.Ptr)
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
|
|
372
|
+
def SaveToPptxOption(self)->'SaveToPptxOption':
|
|
373
|
+
"""
|
|
374
|
+
<summary>
|
|
375
|
+
save to pptx option.
|
|
376
|
+
</summary>
|
|
377
|
+
"""
|
|
378
|
+
GetDllLibPpt().Presentation_get_SaveToPptxOption.argtypes=[c_void_p]
|
|
379
|
+
GetDllLibPpt().Presentation_get_SaveToPptxOption.restype=c_void_p
|
|
380
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_SaveToPptxOption,self.Ptr)
|
|
381
|
+
ret = None if intPtr==None else SaveToPptxOption(intPtr)
|
|
382
|
+
return ret
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
@SaveToPptxOption.setter
|
|
386
|
+
def SaveToPptxOption(self, value:'SaveToPptxOption'):
|
|
387
|
+
GetDllLibPpt().Presentation_set_SaveToPptxOption.argtypes=[c_void_p, c_void_p]
|
|
388
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SaveToPptxOption,self.Ptr, value.Ptr)
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
def FindSlide(self ,id:int)->'ISlide':
|
|
392
|
+
"""
|
|
393
|
+
<summary>
|
|
394
|
+
Find a slide by ID.
|
|
395
|
+
</summary>
|
|
396
|
+
<param name="id"></param>
|
|
397
|
+
<returns></returns>
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
GetDllLibPpt().Presentation_FindSlide.argtypes=[c_void_p ,c_int]
|
|
401
|
+
GetDllLibPpt().Presentation_FindSlide.restype=c_void_p
|
|
402
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_FindSlide,self.Ptr, id)
|
|
403
|
+
ret = None if intPtr==None else ISlide(intPtr)
|
|
404
|
+
return ret
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
#
|
|
408
|
+
# def GetBytes(self)->List['Byte']:
|
|
409
|
+
# """
|
|
410
|
+
# <summary>
|
|
411
|
+
# Converts the document to an array of bytes.
|
|
412
|
+
# </summary>
|
|
413
|
+
# <returns>An array of bytes.</returns>
|
|
414
|
+
# """
|
|
415
|
+
# GetDllLibPpt().Presentation_GetBytes.argtypes=[c_void_p]
|
|
416
|
+
# GetDllLibPpt().Presentation_GetBytes.restype=IntPtrArray
|
|
417
|
+
# intPtrArray = CallCFunction(GetDllLibPpt().Presentation_GetBytes,self.Ptr)
|
|
418
|
+
# ret = GetVectorFromArray(intPtrArray, Byte)
|
|
419
|
+
# return ret
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
def GetStream(self)->'Stream':
|
|
424
|
+
"""
|
|
425
|
+
<summary>
|
|
426
|
+
Gets the document as a stream to read from.
|
|
427
|
+
</summary>
|
|
428
|
+
<returns>A <see cref="T:System.IO.Stream" /> to read from.</returns>
|
|
429
|
+
"""
|
|
430
|
+
GetDllLibPpt().Presentation_GetStream.argtypes=[c_void_p]
|
|
431
|
+
GetDllLibPpt().Presentation_GetStream.restype=c_void_p
|
|
432
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_GetStream,self.Ptr)
|
|
433
|
+
ret = None if intPtr==None else Stream(intPtr)
|
|
434
|
+
return ret
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
@dispatch
|
|
438
|
+
|
|
439
|
+
def LoadFromStream(self ,stream:Stream,fileFormat:FileFormat):
|
|
440
|
+
"""
|
|
441
|
+
<summary>
|
|
442
|
+
Opens the document from a stream.
|
|
443
|
+
</summary>
|
|
444
|
+
<param name="stream">The document stream.</param>
|
|
445
|
+
"""
|
|
446
|
+
intPtrstream:c_void_p = stream.Ptr
|
|
447
|
+
enumfileFormat:c_int = fileFormat.value
|
|
448
|
+
|
|
449
|
+
GetDllLibPpt().Presentation_LoadFromStream.argtypes=[c_void_p ,c_void_p,c_int]
|
|
450
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromStream,self.Ptr, intPtrstream,enumfileFormat)
|
|
451
|
+
|
|
452
|
+
@dispatch
|
|
453
|
+
|
|
454
|
+
def LoadFromStream(self ,stream:Stream,fileFormat:FileFormat,password:str):
|
|
455
|
+
"""
|
|
456
|
+
<summary>
|
|
457
|
+
Opens the document from a stream.
|
|
458
|
+
</summary>
|
|
459
|
+
<param name="stream">The document stream.</param>
|
|
460
|
+
<param name="fileFormat">The file format</param>
|
|
461
|
+
<param name="password">The password.</param>
|
|
462
|
+
"""
|
|
463
|
+
intPtrstream:c_void_p = stream.Ptr
|
|
464
|
+
enumfileFormat:c_int = fileFormat.value
|
|
465
|
+
|
|
466
|
+
passwordPtr = StrToPtr(password)
|
|
467
|
+
GetDllLibPpt().Presentation_LoadFromStreamSFP.argtypes=[c_void_p ,c_void_p,c_int,c_char_p]
|
|
468
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromStreamSFP,self.Ptr, intPtrstream,enumfileFormat,passwordPtr)
|
|
469
|
+
|
|
470
|
+
@dispatch
|
|
471
|
+
|
|
472
|
+
def LoadFromFile(self ,file:str):
|
|
473
|
+
"""
|
|
474
|
+
<summary>
|
|
475
|
+
Opens the document from a file.
|
|
476
|
+
</summary>
|
|
477
|
+
<param name="file">The document file path.</param>
|
|
478
|
+
"""
|
|
479
|
+
|
|
480
|
+
filePtr = StrToPtr(file)
|
|
481
|
+
GetDllLibPpt().Presentation_LoadFromFile.argtypes=[c_void_p ,c_char_p]
|
|
482
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromFile,self.Ptr,filePtr)
|
|
483
|
+
|
|
484
|
+
@dispatch
|
|
485
|
+
|
|
486
|
+
def LoadFromFile(self ,file:str,password:str):
|
|
487
|
+
"""
|
|
488
|
+
<summary>
|
|
489
|
+
Opens the document from a file.
|
|
490
|
+
</summary>
|
|
491
|
+
<param name="file">The document file path.</param>
|
|
492
|
+
"""
|
|
493
|
+
|
|
494
|
+
filePtr = StrToPtr(file)
|
|
495
|
+
passwordPtr = StrToPtr(password)
|
|
496
|
+
GetDllLibPpt().Presentation_LoadFromFileFP.argtypes=[c_void_p ,c_char_p,c_char_p]
|
|
497
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromFileFP,self.Ptr,filePtr,passwordPtr)
|
|
498
|
+
|
|
499
|
+
@dispatch
|
|
500
|
+
|
|
501
|
+
def LoadFromFile(self ,file:str,fileFormat:FileFormat):
|
|
502
|
+
"""
|
|
503
|
+
|
|
504
|
+
"""
|
|
505
|
+
enumfileFormat:c_int = fileFormat.value
|
|
506
|
+
|
|
507
|
+
filePtr = StrToPtr(file)
|
|
508
|
+
GetDllLibPpt().Presentation_LoadFromFileFF.argtypes=[c_void_p ,c_char_p,c_int]
|
|
509
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromFileFF,self.Ptr,filePtr,enumfileFormat)
|
|
510
|
+
|
|
511
|
+
@dispatch
|
|
512
|
+
|
|
513
|
+
def LoadFromFile(self ,file:str,fileFormat:FileFormat,password:str):
|
|
514
|
+
"""
|
|
515
|
+
|
|
516
|
+
"""
|
|
517
|
+
enumfileFormat:c_int = fileFormat.value
|
|
518
|
+
|
|
519
|
+
filePtr = StrToPtr(file)
|
|
520
|
+
passwordPtr = StrToPtr(password)
|
|
521
|
+
GetDllLibPpt().Presentation_LoadFromFileFFP.argtypes=[c_void_p ,c_char_p,c_int,c_char_p]
|
|
522
|
+
CallCFunction(GetDllLibPpt().Presentation_LoadFromFileFFP,self.Ptr,filePtr,enumfileFormat,passwordPtr)
|
|
523
|
+
|
|
524
|
+
@dispatch
|
|
525
|
+
|
|
526
|
+
def SaveToFile(self ,stream:Stream,fileFormat:FileFormat):
|
|
527
|
+
"""
|
|
528
|
+
<summary>
|
|
529
|
+
Saves the document to the specified stream.
|
|
530
|
+
</summary>
|
|
531
|
+
<param name="stream">The <see cref="T:System.IO.Stream" /> where the document will be saved.</param>
|
|
532
|
+
"""
|
|
533
|
+
intPtrstream:c_void_p = stream.Ptr
|
|
534
|
+
enumfileFormat:c_int = fileFormat.value
|
|
535
|
+
|
|
536
|
+
GetDllLibPpt().Presentation_SaveToFile.argtypes=[c_void_p ,c_void_p,c_int]
|
|
537
|
+
CallCFunction(GetDllLibPpt().Presentation_SaveToFile,self.Ptr, intPtrstream,enumfileFormat)
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
def SaveToSVG(self)->List[Stream]:
|
|
541
|
+
"""
|
|
542
|
+
<summary>
|
|
543
|
+
Saves the document to the SVG Format.
|
|
544
|
+
</summary>
|
|
545
|
+
"""
|
|
546
|
+
GetDllLibPpt().Presentation_SaveToSVG.argtypes=[c_void_p]
|
|
547
|
+
GetDllLibPpt().Presentation_SaveToSVG.restype=IntPtrArray
|
|
548
|
+
intPtrArray = CallCFunction(GetDllLibPpt().Presentation_SaveToSVG,self.Ptr)
|
|
549
|
+
ret = GetObjVectorFromArray(intPtrArray,Stream)
|
|
550
|
+
return ret
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
def OnlineSaveToFile(self ,file:str,fileFormat:'FileFormat')->bool:
|
|
556
|
+
"""
|
|
557
|
+
<summary>
|
|
558
|
+
used for online.
|
|
559
|
+
</summary>
|
|
560
|
+
"""
|
|
561
|
+
enumfileFormat:c_int = fileFormat.value
|
|
562
|
+
|
|
563
|
+
filePtr = StrToPtr(file)
|
|
564
|
+
GetDllLibPpt().Presentation_OnlineSaveToFile.argtypes=[c_void_p ,c_char_p,c_int]
|
|
565
|
+
GetDllLibPpt().Presentation_OnlineSaveToFile.restype=c_bool
|
|
566
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_OnlineSaveToFile,self.Ptr,filePtr,enumfileFormat)
|
|
567
|
+
return ret
|
|
568
|
+
|
|
569
|
+
@dispatch
|
|
570
|
+
|
|
571
|
+
def SaveToFile(self ,file:str,fileFormat:FileFormat):
|
|
572
|
+
"""
|
|
573
|
+
<summary>
|
|
574
|
+
Saves the document to the specified file.
|
|
575
|
+
</summary>
|
|
576
|
+
<param name="file">A string that contains the path of the file to which to save this document.</param>
|
|
577
|
+
<param name="fileFormat">convert to fileFormat.</param>
|
|
578
|
+
"""
|
|
579
|
+
enumfileFormat:c_int = fileFormat.value
|
|
580
|
+
|
|
581
|
+
filePtr = StrToPtr(file)
|
|
582
|
+
GetDllLibPpt().Presentation_SaveToFileFF.argtypes=[c_void_p ,c_char_p,c_int]
|
|
583
|
+
CallCFunction(GetDllLibPpt().Presentation_SaveToFileFF,self.Ptr,filePtr,enumfileFormat)
|
|
584
|
+
|
|
585
|
+
# @dispatch
|
|
586
|
+
#
|
|
587
|
+
# def SaveToHttpResponse(self ,FileName:str,fileFormat:FileFormat,response:'HttpResponse'):
|
|
588
|
+
# """
|
|
589
|
+
# <summary>
|
|
590
|
+
# Save Presation to the http response.
|
|
591
|
+
# </summary>
|
|
592
|
+
# <param name="FileName">File Name</param>
|
|
593
|
+
# <param name="response">Http response</param>
|
|
594
|
+
# <param name="saveType">Save type : attachment or inline mode</param>
|
|
595
|
+
# """
|
|
596
|
+
# enumfileFormat:c_int = fileFormat.value
|
|
597
|
+
# intPtrresponse:c_void_p = response.Ptr
|
|
598
|
+
#
|
|
599
|
+
# GetDllLibPpt().Presentation_SaveToHttpResponse.argtypes=[c_void_p ,c_wchar_p,c_int,c_void_p]
|
|
600
|
+
# CallCFunction(GetDllLibPpt().Presentation_SaveToHttpResponse,self.Ptr, FileName,enumfileFormat,intPtrresponse)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
# @dispatch
|
|
604
|
+
#
|
|
605
|
+
# def SaveToHttpResponse(self ,FileName:str,fileFormat:FileFormat,response:'HttpResponse',isInlineMode:bool):
|
|
606
|
+
# """
|
|
607
|
+
# <summary>
|
|
608
|
+
# Save Presation to the http response.
|
|
609
|
+
# </summary>
|
|
610
|
+
# <param name="FileName">File name</param>
|
|
611
|
+
# <param name="response">Http response.</param>
|
|
612
|
+
# <param name="isInlineMode">True - inline mode, False - Attachment mode.</param>
|
|
613
|
+
# """
|
|
614
|
+
# enumfileFormat:c_int = fileFormat.value
|
|
615
|
+
# intPtrresponse:c_void_p = response.Ptr
|
|
616
|
+
#
|
|
617
|
+
# GetDllLibPpt().Presentation_SaveToHttpResponseFFRI.argtypes=[c_void_p ,c_wchar_p,c_int,c_void_p,c_bool]
|
|
618
|
+
# CallCFunction(GetDllLibPpt().Presentation_SaveToHttpResponseFFRI,self.Ptr, FileName,enumfileFormat,intPtrresponse,isInlineMode)
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
def Encrypt(self ,password:str):
|
|
623
|
+
"""
|
|
624
|
+
<summary>
|
|
625
|
+
Encrypts with specified password.
|
|
626
|
+
</summary>
|
|
627
|
+
<param name="password">The password.</param>
|
|
628
|
+
"""
|
|
629
|
+
|
|
630
|
+
passwordPtr = StrToPtr(password)
|
|
631
|
+
GetDllLibPpt().Presentation_Encrypt.argtypes=[c_void_p ,c_char_p]
|
|
632
|
+
CallCFunction(GetDllLibPpt().Presentation_Encrypt,self.Ptr,passwordPtr)
|
|
633
|
+
|
|
634
|
+
def RemoveEncryption(self):
|
|
635
|
+
"""
|
|
636
|
+
<summary>
|
|
637
|
+
Removes the encryption.
|
|
638
|
+
</summary>
|
|
639
|
+
"""
|
|
640
|
+
GetDllLibPpt().Presentation_RemoveEncryption.argtypes=[c_void_p]
|
|
641
|
+
CallCFunction(GetDllLibPpt().Presentation_RemoveEncryption,self.Ptr)
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
def Protect(self ,password:str):
|
|
645
|
+
"""
|
|
646
|
+
<summary>
|
|
647
|
+
Protection for this presentation.
|
|
648
|
+
</summary>
|
|
649
|
+
<param name="password">The password.</param>
|
|
650
|
+
"""
|
|
651
|
+
|
|
652
|
+
passwordPtr = StrToPtr(password)
|
|
653
|
+
GetDllLibPpt().Presentation_Protect.argtypes=[c_void_p ,c_char_p]
|
|
654
|
+
CallCFunction(GetDllLibPpt().Presentation_Protect,self.Ptr,passwordPtr)
|
|
655
|
+
|
|
656
|
+
def RemoveProtect(self):
|
|
657
|
+
"""
|
|
658
|
+
<summary>
|
|
659
|
+
Remove proection.
|
|
660
|
+
</summary>
|
|
661
|
+
"""
|
|
662
|
+
GetDllLibPpt().Presentation_RemoveProtect.argtypes=[c_void_p]
|
|
663
|
+
CallCFunction(GetDllLibPpt().Presentation_RemoveProtect,self.Ptr)
|
|
664
|
+
|
|
665
|
+
#@dispatch
|
|
666
|
+
|
|
667
|
+
#def Print(self ,presentationPrintDocument:PresentationPrintDocument):
|
|
668
|
+
# """
|
|
669
|
+
|
|
670
|
+
# """
|
|
671
|
+
# intPtrpresentationPrintDocument:c_void_p = presentationPrintDocument.Ptr
|
|
672
|
+
|
|
673
|
+
# GetDllLibPpt().Presentation_Print.argtypes=[c_void_p ,c_void_p]
|
|
674
|
+
# CallCFunction(GetDllLibPpt().Presentation_Print,self.Ptr, intPtrpresentationPrintDocument)
|
|
675
|
+
|
|
676
|
+
# @dispatch
|
|
677
|
+
#
|
|
678
|
+
# def Print(self ,printerSettings:'PrinterSettings'):
|
|
679
|
+
# """
|
|
680
|
+
# <summary>
|
|
681
|
+
# Prints the presentation according to the specified printer settings.
|
|
682
|
+
# </summary>
|
|
683
|
+
# <param name="printerSettings">Printer settings to use.</param>
|
|
684
|
+
# """
|
|
685
|
+
# intPtrprinterSettings:c_void_p = printerSettings.Ptr
|
|
686
|
+
#
|
|
687
|
+
# GetDllLibPpt().Presentation_PrintP.argtypes=[c_void_p ,c_void_p]
|
|
688
|
+
# CallCFunction(GetDllLibPpt().Presentation_PrintP,self.Ptr, intPtrprinterSettings)
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
# @dispatch
|
|
692
|
+
#
|
|
693
|
+
# def Print(self ,printerSettings:'PrinterSettings',presName:str):
|
|
694
|
+
# """
|
|
695
|
+
# <summary>
|
|
696
|
+
# Prints the document according to the specified printer settings, using
|
|
697
|
+
# the standard (no User Interface) print controller and a presentation name.
|
|
698
|
+
# </summary>
|
|
699
|
+
# <param name="printerSettings">The .NET printer settings to use.</param>
|
|
700
|
+
# <param name="presName">The presentation name to display (for example, in a print
|
|
701
|
+
# status dialog box or printer queue) while printing the presentation.</param>
|
|
702
|
+
# """
|
|
703
|
+
# intPtrprinterSettings:c_void_p = printerSettings.Ptr
|
|
704
|
+
#
|
|
705
|
+
# GetDllLibPpt().Presentation_PrintPP.argtypes=[c_void_p ,c_void_p,c_wchar_p]
|
|
706
|
+
# CallCFunction(GetDllLibPpt().Presentation_PrintPP,self.Ptr, intPtrprinterSettings,presName)
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
#@dispatch
|
|
710
|
+
|
|
711
|
+
#def Print(self ,Name:str):
|
|
712
|
+
# """
|
|
713
|
+
#<summary>
|
|
714
|
+
# Print the whole presentation to the specified printer.
|
|
715
|
+
#</summary>
|
|
716
|
+
#<param name="Name">The name of the printer.</param>
|
|
717
|
+
# """
|
|
718
|
+
|
|
719
|
+
# GetDllLibPpt().Presentation_PrintN.argtypes=[c_void_p ,c_wchar_p]
|
|
720
|
+
# CallCFunction(GetDllLibPpt().Presentation_PrintN,self.Ptr, Name)
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
def SetFooterText(self ,text:str):
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
|
|
728
|
+
textPtr = StrToPtr(text)
|
|
729
|
+
GetDllLibPpt().Presentation_SetFooterText.argtypes=[c_void_p ,c_char_p]
|
|
730
|
+
CallCFunction(GetDllLibPpt().Presentation_SetFooterText,self.Ptr,textPtr)
|
|
731
|
+
|
|
732
|
+
@dispatch
|
|
733
|
+
|
|
734
|
+
def SetDateTime(self ,dateTime:DateTime):
|
|
735
|
+
"""
|
|
736
|
+
|
|
737
|
+
"""
|
|
738
|
+
intPtrdateTime:c_void_p = dateTime.Ptr
|
|
739
|
+
|
|
740
|
+
GetDllLibPpt().Presentation_SetDateTime.argtypes=[c_void_p ,c_void_p]
|
|
741
|
+
CallCFunction(GetDllLibPpt().Presentation_SetDateTime,self.Ptr, intPtrdateTime)
|
|
742
|
+
|
|
743
|
+
@dispatch
|
|
744
|
+
|
|
745
|
+
def SetDateTime(self ,dateTime:DateTime,format:str):
|
|
746
|
+
"""
|
|
747
|
+
|
|
748
|
+
"""
|
|
749
|
+
intPtrdateTime:c_void_p = dateTime.Ptr
|
|
750
|
+
|
|
751
|
+
formatPtr = StrToPtr(format)
|
|
752
|
+
GetDllLibPpt().Presentation_SetDateTimeDF.argtypes=[c_void_p ,c_void_p,c_char_p]
|
|
753
|
+
CallCFunction(GetDllLibPpt().Presentation_SetDateTimeDF,self.Ptr, intPtrdateTime,formatPtr)
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
def SetFooterVisible(self ,visible:bool):
|
|
757
|
+
"""
|
|
758
|
+
|
|
759
|
+
"""
|
|
760
|
+
|
|
761
|
+
GetDllLibPpt().Presentation_SetFooterVisible.argtypes=[c_void_p ,c_bool]
|
|
762
|
+
CallCFunction(GetDllLibPpt().Presentation_SetFooterVisible,self.Ptr, visible)
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
def SetDateTimeVisible(self ,visible:bool):
|
|
766
|
+
"""
|
|
767
|
+
|
|
768
|
+
"""
|
|
769
|
+
|
|
770
|
+
GetDllLibPpt().Presentation_SetDateTimeVisible.argtypes=[c_void_p ,c_bool]
|
|
771
|
+
CallCFunction(GetDllLibPpt().Presentation_SetDateTimeVisible,self.Ptr, visible)
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
def SetSlideNoVisible(self ,visible:bool):
|
|
775
|
+
"""
|
|
776
|
+
|
|
777
|
+
"""
|
|
778
|
+
|
|
779
|
+
GetDllLibPpt().Presentation_SetSlideNoVisible.argtypes=[c_void_p ,c_bool]
|
|
780
|
+
CallCFunction(GetDllLibPpt().Presentation_SetSlideNoVisible,self.Ptr, visible)
|
|
781
|
+
|
|
782
|
+
@property
|
|
783
|
+
def SlideNumberVisible(self)->bool:
|
|
784
|
+
"""
|
|
785
|
+
<summary>
|
|
786
|
+
Gets or sets value .Specifies whether the slide number placeholder is enabled for this master
|
|
787
|
+
</summary>
|
|
788
|
+
"""
|
|
789
|
+
GetDllLibPpt().Presentation_get_SlideNumberVisible.argtypes=[c_void_p]
|
|
790
|
+
GetDllLibPpt().Presentation_get_SlideNumberVisible.restype=c_bool
|
|
791
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_SlideNumberVisible,self.Ptr)
|
|
792
|
+
return ret
|
|
793
|
+
|
|
794
|
+
@SlideNumberVisible.setter
|
|
795
|
+
def SlideNumberVisible(self, value:bool):
|
|
796
|
+
GetDllLibPpt().Presentation_set_SlideNumberVisible.argtypes=[c_void_p, c_bool]
|
|
797
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SlideNumberVisible,self.Ptr, value)
|
|
798
|
+
|
|
799
|
+
@property
|
|
800
|
+
def DateTimeVisible(self)->bool:
|
|
801
|
+
"""
|
|
802
|
+
<summary>
|
|
803
|
+
Gets or sets value .Specifies whether Date-Time placeholder is enabled for this master
|
|
804
|
+
</summary>
|
|
805
|
+
"""
|
|
806
|
+
GetDllLibPpt().Presentation_get_DateTimeVisible.argtypes=[c_void_p]
|
|
807
|
+
GetDllLibPpt().Presentation_get_DateTimeVisible.restype=c_bool
|
|
808
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_DateTimeVisible,self.Ptr)
|
|
809
|
+
return ret
|
|
810
|
+
|
|
811
|
+
@DateTimeVisible.setter
|
|
812
|
+
def DateTimeVisible(self, value:bool):
|
|
813
|
+
GetDllLibPpt().Presentation_set_DateTimeVisible.argtypes=[c_void_p, c_bool]
|
|
814
|
+
CallCFunction(GetDllLibPpt().Presentation_set_DateTimeVisible,self.Ptr, value)
|
|
815
|
+
|
|
816
|
+
@property
|
|
817
|
+
def FooterVisible(self)->bool:
|
|
818
|
+
"""
|
|
819
|
+
<summary>
|
|
820
|
+
Gets or sets value .Specifies whether the Footer placeholder is enabled for this master
|
|
821
|
+
</summary>
|
|
822
|
+
"""
|
|
823
|
+
GetDllLibPpt().Presentation_get_FooterVisible.argtypes=[c_void_p]
|
|
824
|
+
GetDllLibPpt().Presentation_get_FooterVisible.restype=c_bool
|
|
825
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_FooterVisible,self.Ptr)
|
|
826
|
+
return ret
|
|
827
|
+
|
|
828
|
+
@FooterVisible.setter
|
|
829
|
+
def FooterVisible(self, value:bool):
|
|
830
|
+
GetDllLibPpt().Presentation_set_FooterVisible.argtypes=[c_void_p, c_bool]
|
|
831
|
+
CallCFunction(GetDllLibPpt().Presentation_set_FooterVisible,self.Ptr, value)
|
|
832
|
+
|
|
833
|
+
@property
|
|
834
|
+
def AutoCompressPictures(self)->bool:
|
|
835
|
+
"""
|
|
836
|
+
<summary>
|
|
837
|
+
Indicates that Compress Pictures feature automatically reduces the file size of pictures.
|
|
838
|
+
</summary>
|
|
839
|
+
"""
|
|
840
|
+
GetDllLibPpt().Presentation_get_AutoCompressPictures.argtypes=[c_void_p]
|
|
841
|
+
GetDllLibPpt().Presentation_get_AutoCompressPictures.restype=c_bool
|
|
842
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_AutoCompressPictures,self.Ptr)
|
|
843
|
+
return ret
|
|
844
|
+
|
|
845
|
+
@AutoCompressPictures.setter
|
|
846
|
+
def AutoCompressPictures(self, value:bool):
|
|
847
|
+
GetDllLibPpt().Presentation_set_AutoCompressPictures.argtypes=[c_void_p, c_bool]
|
|
848
|
+
CallCFunction(GetDllLibPpt().Presentation_set_AutoCompressPictures,self.Ptr, value)
|
|
849
|
+
|
|
850
|
+
@property
|
|
851
|
+
def BookmarkIdSeed(self)->int:
|
|
852
|
+
"""
|
|
853
|
+
<summary>
|
|
854
|
+
Bookmark ID Seed.
|
|
855
|
+
</summary>
|
|
856
|
+
"""
|
|
857
|
+
GetDllLibPpt().Presentation_get_BookmarkIdSeed.argtypes=[c_void_p]
|
|
858
|
+
GetDllLibPpt().Presentation_get_BookmarkIdSeed.restype=c_int
|
|
859
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_BookmarkIdSeed,self.Ptr)
|
|
860
|
+
return ret
|
|
861
|
+
|
|
862
|
+
@BookmarkIdSeed.setter
|
|
863
|
+
def BookmarkIdSeed(self, value:int):
|
|
864
|
+
GetDllLibPpt().Presentation_set_BookmarkIdSeed.argtypes=[c_void_p, c_int]
|
|
865
|
+
CallCFunction(GetDllLibPpt().Presentation_set_BookmarkIdSeed,self.Ptr, value)
|
|
866
|
+
|
|
867
|
+
@property
|
|
868
|
+
|
|
869
|
+
def DefaultTextStyle(self)->'TextStyle':
|
|
870
|
+
"""
|
|
871
|
+
<summary>
|
|
872
|
+
Default paragraph and list style.
|
|
873
|
+
</summary>
|
|
874
|
+
"""
|
|
875
|
+
GetDllLibPpt().Presentation_get_DefaultTextStyle.argtypes=[c_void_p]
|
|
876
|
+
GetDllLibPpt().Presentation_get_DefaultTextStyle.restype=c_void_p
|
|
877
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_DefaultTextStyle,self.Ptr)
|
|
878
|
+
ret = None if intPtr==None else TextStyle(intPtr)
|
|
879
|
+
return ret
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
@property
|
|
883
|
+
def ShowNarration(self)->bool:
|
|
884
|
+
"""
|
|
885
|
+
<summary>
|
|
886
|
+
Specifies whether slide show narration should be played when presenting
|
|
887
|
+
</summary>
|
|
888
|
+
"""
|
|
889
|
+
GetDllLibPpt().Presentation_get_ShowNarration.argtypes=[c_void_p]
|
|
890
|
+
GetDllLibPpt().Presentation_get_ShowNarration.restype=c_bool
|
|
891
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_ShowNarration,self.Ptr)
|
|
892
|
+
return ret
|
|
893
|
+
|
|
894
|
+
@ShowNarration.setter
|
|
895
|
+
def ShowNarration(self, value:bool):
|
|
896
|
+
GetDllLibPpt().Presentation_set_ShowNarration.argtypes=[c_void_p, c_bool]
|
|
897
|
+
CallCFunction(GetDllLibPpt().Presentation_set_ShowNarration,self.Ptr, value)
|
|
898
|
+
|
|
899
|
+
@property
|
|
900
|
+
def ShowAnimation(self)->bool:
|
|
901
|
+
"""
|
|
902
|
+
<summary>
|
|
903
|
+
Specifies whether slide show animation should be shown when presenting
|
|
904
|
+
</summary>
|
|
905
|
+
"""
|
|
906
|
+
GetDllLibPpt().Presentation_get_ShowAnimation.argtypes=[c_void_p]
|
|
907
|
+
GetDllLibPpt().Presentation_get_ShowAnimation.restype=c_bool
|
|
908
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_ShowAnimation,self.Ptr)
|
|
909
|
+
return ret
|
|
910
|
+
|
|
911
|
+
@ShowAnimation.setter
|
|
912
|
+
def ShowAnimation(self, value:bool):
|
|
913
|
+
GetDllLibPpt().Presentation_set_ShowAnimation.argtypes=[c_void_p, c_bool]
|
|
914
|
+
CallCFunction(GetDllLibPpt().Presentation_set_ShowAnimation,self.Ptr, value)
|
|
915
|
+
|
|
916
|
+
@property
|
|
917
|
+
def ShowLoop(self)->bool:
|
|
918
|
+
"""
|
|
919
|
+
<summary>
|
|
920
|
+
Specifies whether the slide show should be set to loop at the end
|
|
921
|
+
</summary>
|
|
922
|
+
"""
|
|
923
|
+
GetDllLibPpt().Presentation_get_ShowLoop.argtypes=[c_void_p]
|
|
924
|
+
GetDllLibPpt().Presentation_get_ShowLoop.restype=c_bool
|
|
925
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_ShowLoop,self.Ptr)
|
|
926
|
+
return ret
|
|
927
|
+
|
|
928
|
+
@ShowLoop.setter
|
|
929
|
+
def ShowLoop(self, value:bool):
|
|
930
|
+
GetDllLibPpt().Presentation_set_ShowLoop.argtypes=[c_void_p, c_bool]
|
|
931
|
+
CallCFunction(GetDllLibPpt().Presentation_set_ShowLoop,self.Ptr, value)
|
|
932
|
+
|
|
933
|
+
@property
|
|
934
|
+
def HasMacros(self)->bool:
|
|
935
|
+
"""
|
|
936
|
+
<summary>
|
|
937
|
+
Specifies whether contains VBA macros.
|
|
938
|
+
</summary>
|
|
939
|
+
"""
|
|
940
|
+
GetDllLibPpt().Presentation_get_HasMacros.argtypes=[c_void_p]
|
|
941
|
+
GetDllLibPpt().Presentation_get_HasMacros.restype=c_bool
|
|
942
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_HasMacros,self.Ptr)
|
|
943
|
+
return ret
|
|
944
|
+
|
|
945
|
+
def DeleteMacros(self):
|
|
946
|
+
"""
|
|
947
|
+
<summary>
|
|
948
|
+
Delete the Macros
|
|
949
|
+
</summary>
|
|
950
|
+
"""
|
|
951
|
+
GetDllLibPpt().Presentation_DeleteMacros.argtypes=[c_void_p]
|
|
952
|
+
CallCFunction(GetDllLibPpt().Presentation_DeleteMacros,self.Ptr)
|
|
953
|
+
|
|
954
|
+
@property
|
|
955
|
+
|
|
956
|
+
def ShowType(self)->'SlideShowType':
|
|
957
|
+
"""
|
|
958
|
+
<summary>
|
|
959
|
+
Specifies the slide show type
|
|
960
|
+
</summary>
|
|
961
|
+
"""
|
|
962
|
+
GetDllLibPpt().Presentation_get_ShowType.argtypes=[c_void_p]
|
|
963
|
+
GetDllLibPpt().Presentation_get_ShowType.restype=c_int
|
|
964
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_ShowType,self.Ptr)
|
|
965
|
+
objwraped = SlideShowType(ret)
|
|
966
|
+
return objwraped
|
|
967
|
+
|
|
968
|
+
@ShowType.setter
|
|
969
|
+
def ShowType(self, value:'SlideShowType'):
|
|
970
|
+
GetDllLibPpt().Presentation_set_ShowType.argtypes=[c_void_p, c_int]
|
|
971
|
+
CallCFunction(GetDllLibPpt().Presentation_set_ShowType,self.Ptr, value.value)
|
|
972
|
+
|
|
973
|
+
@property
|
|
974
|
+
def UseTimings(self)->bool:
|
|
975
|
+
"""
|
|
976
|
+
<summary>
|
|
977
|
+
Specifies whether slide transition timing should be used to advance slides when presenting
|
|
978
|
+
</summary>
|
|
979
|
+
"""
|
|
980
|
+
GetDllLibPpt().Presentation_get_UseTimings.argtypes=[c_void_p]
|
|
981
|
+
GetDllLibPpt().Presentation_get_UseTimings.restype=c_bool
|
|
982
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_UseTimings,self.Ptr)
|
|
983
|
+
return ret
|
|
984
|
+
|
|
985
|
+
@UseTimings.setter
|
|
986
|
+
def UseTimings(self, value:bool):
|
|
987
|
+
GetDllLibPpt().Presentation_set_UseTimings.argtypes=[c_void_p, c_bool]
|
|
988
|
+
CallCFunction(GetDllLibPpt().Presentation_set_UseTimings,self.Ptr, value)
|
|
989
|
+
|
|
990
|
+
@property
|
|
991
|
+
def EmbedTrueTypeFonts(self)->bool:
|
|
992
|
+
"""
|
|
993
|
+
<summary>
|
|
994
|
+
Indicates whther embeds TrueType fonts in a document when it's saved.
|
|
995
|
+
</summary>
|
|
996
|
+
"""
|
|
997
|
+
GetDllLibPpt().Presentation_get_EmbedTrueTypeFonts.argtypes=[c_void_p]
|
|
998
|
+
GetDllLibPpt().Presentation_get_EmbedTrueTypeFonts.restype=c_bool
|
|
999
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_EmbedTrueTypeFonts,self.Ptr)
|
|
1000
|
+
return ret
|
|
1001
|
+
|
|
1002
|
+
@EmbedTrueTypeFonts.setter
|
|
1003
|
+
def EmbedTrueTypeFonts(self, value:bool):
|
|
1004
|
+
GetDllLibPpt().Presentation_set_EmbedTrueTypeFonts.argtypes=[c_void_p, c_bool]
|
|
1005
|
+
CallCFunction(GetDllLibPpt().Presentation_set_EmbedTrueTypeFonts,self.Ptr, value)
|
|
1006
|
+
|
|
1007
|
+
@property
|
|
1008
|
+
def FirstSlideNumber(self)->int:
|
|
1009
|
+
"""
|
|
1010
|
+
<summary>
|
|
1011
|
+
Slide number that appears on the first slide in your presentation.
|
|
1012
|
+
</summary>
|
|
1013
|
+
"""
|
|
1014
|
+
GetDllLibPpt().Presentation_get_FirstSlideNumber.argtypes=[c_void_p]
|
|
1015
|
+
GetDllLibPpt().Presentation_get_FirstSlideNumber.restype=c_int
|
|
1016
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_FirstSlideNumber,self.Ptr)
|
|
1017
|
+
return ret
|
|
1018
|
+
|
|
1019
|
+
@FirstSlideNumber.setter
|
|
1020
|
+
def FirstSlideNumber(self, value:int):
|
|
1021
|
+
GetDllLibPpt().Presentation_set_FirstSlideNumber.argtypes=[c_void_p, c_int]
|
|
1022
|
+
CallCFunction(GetDllLibPpt().Presentation_set_FirstSlideNumber,self.Ptr, value)
|
|
1023
|
+
|
|
1024
|
+
@property
|
|
1025
|
+
|
|
1026
|
+
def HandoutMaster(self)->'INoteMasterSlide':
|
|
1027
|
+
"""
|
|
1028
|
+
<summary>
|
|
1029
|
+
Gets a master for all notes slides of this presentation.
|
|
1030
|
+
</summary>
|
|
1031
|
+
"""
|
|
1032
|
+
GetDllLibPpt().Presentation_get_HandoutMaster.argtypes=[c_void_p]
|
|
1033
|
+
GetDllLibPpt().Presentation_get_HandoutMaster.restype=c_void_p
|
|
1034
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_HandoutMaster,self.Ptr)
|
|
1035
|
+
ret = None if intPtr==None else INoteMasterSlide(intPtr)
|
|
1036
|
+
return ret
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
@property
|
|
1040
|
+
|
|
1041
|
+
def NotesMaster(self)->'INoteMasterSlide':
|
|
1042
|
+
"""
|
|
1043
|
+
<summary>
|
|
1044
|
+
Gets a master for all notes slides of this presentation.
|
|
1045
|
+
</summary>
|
|
1046
|
+
"""
|
|
1047
|
+
GetDllLibPpt().Presentation_get_NotesMaster.argtypes=[c_void_p]
|
|
1048
|
+
GetDllLibPpt().Presentation_get_NotesMaster.restype=c_void_p
|
|
1049
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_NotesMaster,self.Ptr)
|
|
1050
|
+
ret = None if intPtr==None else INoteMasterSlide(intPtr)
|
|
1051
|
+
return ret
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
@property
|
|
1055
|
+
|
|
1056
|
+
def NotesSlideSize(self)->'SizeF':
|
|
1057
|
+
"""
|
|
1058
|
+
<summary>
|
|
1059
|
+
Gets note slide size object.
|
|
1060
|
+
</summary>
|
|
1061
|
+
"""
|
|
1062
|
+
GetDllLibPpt().Presentation_get_NotesSlideSize.argtypes=[c_void_p]
|
|
1063
|
+
GetDllLibPpt().Presentation_get_NotesSlideSize.restype=c_void_p
|
|
1064
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_NotesSlideSize,self.Ptr)
|
|
1065
|
+
ret = None if intPtr==None else SizeF(intPtr)
|
|
1066
|
+
return ret
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
@property
|
|
1070
|
+
def SaveSubsetFonts(self)->bool:
|
|
1071
|
+
"""
|
|
1072
|
+
<summary>
|
|
1073
|
+
Indicates whther embeds subset TrueType fonts in a document when it's saved.
|
|
1074
|
+
</summary>
|
|
1075
|
+
"""
|
|
1076
|
+
GetDllLibPpt().Presentation_get_SaveSubsetFonts.argtypes=[c_void_p]
|
|
1077
|
+
GetDllLibPpt().Presentation_get_SaveSubsetFonts.restype=c_bool
|
|
1078
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_SaveSubsetFonts,self.Ptr)
|
|
1079
|
+
return ret
|
|
1080
|
+
|
|
1081
|
+
@SaveSubsetFonts.setter
|
|
1082
|
+
def SaveSubsetFonts(self, value:bool):
|
|
1083
|
+
GetDllLibPpt().Presentation_set_SaveSubsetFonts.argtypes=[c_void_p, c_bool]
|
|
1084
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SaveSubsetFonts,self.Ptr, value)
|
|
1085
|
+
|
|
1086
|
+
@property
|
|
1087
|
+
def ServerZoom(self)->float:
|
|
1088
|
+
"""
|
|
1089
|
+
<summary>
|
|
1090
|
+
Specifies a zoom level for visual representations of the document.
|
|
1091
|
+
</summary>
|
|
1092
|
+
"""
|
|
1093
|
+
GetDllLibPpt().Presentation_get_ServerZoom.argtypes=[c_void_p]
|
|
1094
|
+
GetDllLibPpt().Presentation_get_ServerZoom.restype=c_float
|
|
1095
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_ServerZoom,self.Ptr)
|
|
1096
|
+
return ret
|
|
1097
|
+
|
|
1098
|
+
@ServerZoom.setter
|
|
1099
|
+
def ServerZoom(self, value:float):
|
|
1100
|
+
GetDllLibPpt().Presentation_set_ServerZoom.argtypes=[c_void_p, c_float]
|
|
1101
|
+
CallCFunction(GetDllLibPpt().Presentation_set_ServerZoom,self.Ptr, value)
|
|
1102
|
+
|
|
1103
|
+
@property
|
|
1104
|
+
|
|
1105
|
+
def Masters(self)->'MasterSlideCollection':
|
|
1106
|
+
"""
|
|
1107
|
+
<summary>
|
|
1108
|
+
Gets a list of all master slides.
|
|
1109
|
+
</summary>
|
|
1110
|
+
"""
|
|
1111
|
+
GetDllLibPpt().Presentation_get_Masters.argtypes=[c_void_p]
|
|
1112
|
+
GetDllLibPpt().Presentation_get_Masters.restype=c_void_p
|
|
1113
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_Masters,self.Ptr)
|
|
1114
|
+
ret = None if intPtr==None else MasterSlideCollection(intPtr)
|
|
1115
|
+
return ret
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
@property
|
|
1119
|
+
|
|
1120
|
+
def Slides(self)->'SlideCollection':
|
|
1121
|
+
"""
|
|
1122
|
+
<summary>
|
|
1123
|
+
Gets a list of all slides.
|
|
1124
|
+
</summary>
|
|
1125
|
+
"""
|
|
1126
|
+
GetDllLibPpt().Presentation_get_Slides.argtypes=[c_void_p]
|
|
1127
|
+
GetDllLibPpt().Presentation_get_Slides.restype=c_void_p
|
|
1128
|
+
intPtr = CallCFunction(GetDllLibPpt().Presentation_get_Slides,self.Ptr)
|
|
1129
|
+
ret = None if intPtr==None else SlideCollection(intPtr)
|
|
1130
|
+
return ret
|
|
1131
|
+
|
|
1132
|
+
@property
|
|
1133
|
+
|
|
1134
|
+
def SlideCountPerPageForPrint(self)->'PageSlideCount':
|
|
1135
|
+
"""
|
|
1136
|
+
<summary>
|
|
1137
|
+
Number of total slides per page.
|
|
1138
|
+
</summary>
|
|
1139
|
+
"""
|
|
1140
|
+
GetDllLibPpt().Presentation_get_SlideCountPerPageForPrint.argtypes=[c_void_p]
|
|
1141
|
+
GetDllLibPpt().Presentation_get_SlideCountPerPageForPrint.restype=c_int
|
|
1142
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_SlideCountPerPageForPrint,self.Ptr)
|
|
1143
|
+
objwraped = PageSlideCount(ret)
|
|
1144
|
+
return objwraped
|
|
1145
|
+
|
|
1146
|
+
@SlideCountPerPageForPrint.setter
|
|
1147
|
+
def SlideCountPerPageForPrint(self, value:'PageSlideCount'):
|
|
1148
|
+
GetDllLibPpt().Presentation_set_SlideCountPerPageForPrint.argtypes=[c_void_p, c_int]
|
|
1149
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SlideCountPerPageForPrint,self.Ptr, value.value)
|
|
1150
|
+
|
|
1151
|
+
def SelectSlidesForPrint(self ,selectSlidesForPrint:List[str]):
|
|
1152
|
+
"""
|
|
1153
|
+
<summary>
|
|
1154
|
+
Select print slides
|
|
1155
|
+
</summary>
|
|
1156
|
+
"""
|
|
1157
|
+
#arrayselectSlidesForPrint:ArrayTypeselectSlidesForPrint = ""
|
|
1158
|
+
countselectSlidesForPrint = len(selectSlidesForPrint)
|
|
1159
|
+
ArrayTypeselectSlidesForPrint = c_wchar_p * countselectSlidesForPrint
|
|
1160
|
+
arrayselectSlidesForPrint = ArrayTypeselectSlidesForPrint()
|
|
1161
|
+
for i in range(0, countselectSlidesForPrint):
|
|
1162
|
+
arrayselectSlidesForPrint[i] = selectSlidesForPrint[i]
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
GetDllLibPpt().Presentation_SelectSlidesForPrint.argtypes=[c_void_p ,ArrayTypeselectSlidesForPrint]
|
|
1166
|
+
CallCFunction(GetDllLibPpt().Presentation_SelectSlidesForPrint,self.Ptr, arrayselectSlidesForPrint)
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
@property
|
|
1170
|
+
|
|
1171
|
+
def OrderForPrint(self)->'Order':
|
|
1172
|
+
"""
|
|
1173
|
+
<summary>
|
|
1174
|
+
The order of Print.
|
|
1175
|
+
</summary>
|
|
1176
|
+
"""
|
|
1177
|
+
GetDllLibPpt().Presentation_get_OrderForPrint.argtypes=[c_void_p]
|
|
1178
|
+
GetDllLibPpt().Presentation_get_OrderForPrint.restype=c_int
|
|
1179
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_OrderForPrint,self.Ptr)
|
|
1180
|
+
objwraped = Order(ret)
|
|
1181
|
+
return objwraped
|
|
1182
|
+
|
|
1183
|
+
@OrderForPrint.setter
|
|
1184
|
+
def OrderForPrint(self, value:'Order'):
|
|
1185
|
+
GetDllLibPpt().Presentation_set_OrderForPrint.argtypes=[c_void_p, c_int]
|
|
1186
|
+
CallCFunction(GetDllLibPpt().Presentation_set_OrderForPrint,self.Ptr, value.value)
|
|
1187
|
+
|
|
1188
|
+
@property
|
|
1189
|
+
def SlideFrameForPrint(self)->bool:
|
|
1190
|
+
"""
|
|
1191
|
+
<summary>
|
|
1192
|
+
Whether to set slideFrame for printing.
|
|
1193
|
+
</summary>
|
|
1194
|
+
"""
|
|
1195
|
+
GetDllLibPpt().Presentation_get_SlideFrameForPrint.argtypes=[c_void_p]
|
|
1196
|
+
GetDllLibPpt().Presentation_get_SlideFrameForPrint.restype=c_bool
|
|
1197
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_SlideFrameForPrint,self.Ptr)
|
|
1198
|
+
return ret
|
|
1199
|
+
|
|
1200
|
+
@SlideFrameForPrint.setter
|
|
1201
|
+
def SlideFrameForPrint(self, value:bool):
|
|
1202
|
+
GetDllLibPpt().Presentation_set_SlideFrameForPrint.argtypes=[c_void_p, c_bool]
|
|
1203
|
+
CallCFunction(GetDllLibPpt().Presentation_set_SlideFrameForPrint,self.Ptr, value)
|
|
1204
|
+
|
|
1205
|
+
@property
|
|
1206
|
+
def GrayLevelForPrint(self)->bool:
|
|
1207
|
+
"""
|
|
1208
|
+
<summary>
|
|
1209
|
+
Whether to set gray level for printing
|
|
1210
|
+
</summary>
|
|
1211
|
+
"""
|
|
1212
|
+
GetDllLibPpt().Presentation_get_GrayLevelForPrint.argtypes=[c_void_p]
|
|
1213
|
+
GetDllLibPpt().Presentation_get_GrayLevelForPrint.restype=c_bool
|
|
1214
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_GrayLevelForPrint,self.Ptr)
|
|
1215
|
+
return ret
|
|
1216
|
+
|
|
1217
|
+
@GrayLevelForPrint.setter
|
|
1218
|
+
def GrayLevelForPrint(self, value:bool):
|
|
1219
|
+
GetDllLibPpt().Presentation_set_GrayLevelForPrint.argtypes=[c_void_p, c_bool]
|
|
1220
|
+
CallCFunction(GetDllLibPpt().Presentation_set_GrayLevelForPrint,self.Ptr, value)
|
|
1221
|
+
|
|
1222
|
+
@property
|
|
1223
|
+
def IsNoteRetained(self)->bool:
|
|
1224
|
+
GetDllLibPpt().Presentation_get_IsNoteRetained.argtypes=[c_void_p]
|
|
1225
|
+
GetDllLibPpt().Presentation_get_IsNoteRetained.restype=c_bool
|
|
1226
|
+
ret = CallCFunction(GetDllLibPpt().Presentation_get_IsNoteRetained,self.Ptr)
|
|
1227
|
+
return ret
|
|
1228
|
+
|
|
1229
|
+
@IsNoteRetained.setter
|
|
1230
|
+
def IsNoteRetained(self, value:bool):
|
|
1231
|
+
GetDllLibPpt().Presentation_set_IsNoteRetained.argtypes=[c_void_p, c_bool]
|
|
1232
|
+
CallCFunction(GetDllLibPpt().Presentation_set_IsNoteRetained,self.Ptr, value)
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
def AddEmbeddedFont(self,pathName:str)->str:
|
|
1237
|
+
"""
|
|
1238
|
+
<summary>
|
|
1239
|
+
|
|
1240
|
+
</summary>
|
|
1241
|
+
"""
|
|
1242
|
+
pathNamePtr = StrToPtr(pathName)
|
|
1243
|
+
GetDllLibPpt().Presentation_AddEmbeddedFont.argtypes=[c_void_p,c_char_p]
|
|
1244
|
+
GetDllLibPpt().Presentation_AddEmbeddedFont.restype=c_void_p
|
|
1245
|
+
ret = PtrToStr(CallCFunction(GetDllLibPpt().Presentation_AddEmbeddedFont,self.Ptr,pathNamePtr))
|
|
1246
|
+
return ret
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
@staticmethod
|
|
1250
|
+
def SetDefaultFontName(value:str):
|
|
1251
|
+
"""
|
|
1252
|
+
|
|
1253
|
+
"""
|
|
1254
|
+
valuePtr = StrToPtr(value)
|
|
1255
|
+
GetDllLibPpt().Presentation_set_DefaultFontName.argtypes=[c_char_p]
|
|
1256
|
+
GetDllLibPpt().Presentation_set_DefaultFontName.restype=c_void_p
|
|
1257
|
+
CallCFunction(GetDllLibPpt().Presentation_set_DefaultFontName,valuePtr)
|
|
1258
|
+
|
|
1259
|
+
@staticmethod
|
|
1260
|
+
def ResetDefaultFontName():
|
|
1261
|
+
"""
|
|
1262
|
+
|
|
1263
|
+
"""
|
|
1264
|
+
GetDllLibPpt().Presentation_Reset_DefaultFontName.argtypes=[c_void_p]
|
|
1265
|
+
GetDllLibPpt().Presentation_Reset_DefaultFontName.restype=c_void_p
|
|
1266
|
+
CallCFunction(GetDllLibPpt().Presentation_Reset_DefaultFontName)
|
|
1267
|
+
|
|
1268
|
+
@staticmethod
|
|
1269
|
+
def SetCustomFontsDirctory(value:str):
|
|
1270
|
+
"""
|
|
1271
|
+
|
|
1272
|
+
"""
|
|
1273
|
+
valuePtr = StrToPtr(value)
|
|
1274
|
+
GetDllLibPpt().Presentation_set_CustomFontsDirctory.argtypes=[c_char_p]
|
|
1275
|
+
GetDllLibPpt().Presentation_set_CustomFontsDirctory.restype=c_void_p
|
|
1276
|
+
CallCFunction(GetDllLibPpt().Presentation_set_CustomFontsDirctory,valuePtr)
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
def ReplaceAndFormatText(self,value1:str,value2:str,format:DefaultTextRangeProperties):
|
|
1280
|
+
"""
|
|
1281
|
+
|
|
1282
|
+
"""
|
|
1283
|
+
value1Ptr = StrToPtr(value1)
|
|
1284
|
+
value2Ptr = StrToPtr(value2)
|
|
1285
|
+
GetDllLibPpt().Presentation_ReplaceAndFormatText.argtypes=[c_void_p,c_char_p,c_char_p,c_void_p]
|
|
1286
|
+
GetDllLibPpt().Presentation_ReplaceAndFormatText.restype=c_void_p
|
|
1287
|
+
CallCFunction(GetDllLibPpt().Presentation_ReplaceAndFormatText,self.Ptr,value1Ptr,value2Ptr,format.Ptr)
|
|
1288
|
+
|