Aspose.Slides FOSS for Python

المعلومات العامة

Aspose.Slides FOSS لـ Python API منظم في aspose.slides_foss وكل الطبقات العامة تعيش تحت سياسات القانون. aspose.slides_foss أو إحدى وحداتها الفرعية.

import aspose.slides_foss as slides
from aspose.slides_foss.export import SaveFormat
from aspose.slides_foss import ShapeType, FillType, NullableBool
from aspose.slides_foss.drawing import Color, PointF

فئات الأساسية

ClassDescription
AdjustValueRepresents a geometry shape’s adjustment value.
AdjustValueCollectionReprasents a collection of shape’s adjustments.
AutoShapeRepresents an AutoShape.
BackgroundRepresents background of a slide.
BaseHandoutNotesSlideHeaderFooterManagerClass in the Slides PYTHON API.
BasePortionFormatخصائص تنسيق جزء النص المشترك.
BaseShapeLockClass in the Slides PYTHON API.
BaseSlideتمثل بيانات مشتركة لجميع أنواع الشرائح.
BulletFormatيمثل خصائص تنسيق الرسالة.
CameraRepresents Camera.
CellRepresents a cell of a table.
CellCollectionRepresents a collection of cells.
CellFormatRepresents format of a table cell.
ColorFormatRepresents a color used in a presentation.
ColumnRepresents a column in a table.
ColumnCollectionRepresents collection of columns in a table.
CommentRepresents a comment on a slide.
CommentAuthorRepresents an author of comments.
CommentAuthorCollectionRepresents a collection of comment authors.
CommentCollectionRepresents a collection of comments of one author.
ConnectorRepresents a connector.
DocumentPropertiesRepresents properties of a presentation.
EffectFormatيمثل خصائص التأثير للشكل.
FillFormatيمثل خيارات التنسيق لملء.
FontDataRepresents a font definition.
FontsFonts collection.
GeometryShapeClass with 1 method and 31 properties.
GlobalLayoutSlideCollectionيمثل مجموعة من جميع شرائح التخطيط في العرض التقديمي.
GradientFormatRepresent a gradient format.
GradientStopRepresents a gradient format.
GradientStopCollectionRepresnts a collection of gradient stops.
GraphicalObjectClass with 1 method and 29 properties.
GraphicalObjectLockClass extending BaseShapeLock.
GroupShapeRepresents a group of shapes on a slide.
GroupShapeLockDetermines which operations are disabled on the parent GroupShape.
HeadingPairRepresents a ‘Heading pair’ property of the document.
ImageRepresents a raster or vector image.
ImageCollectionRepresents collection of PPImage.
Imagesطرق للتعديل والعمل عليها .
LayoutSlideRepresents a layout slide.
LayoutSlideCollectionيمثل فئة أساسية لجمع شرائح التخطيط.
LightRigRepresents LightRig.
LineFillFormatيمثل خصائص لملء الخطوط.
LineFormatRepresents format of a line.
MasterLayoutSlideCollectionيمثل مجموعة من جميع شرائح التخطيط للشريحة الرئيسية المحددة.
MasterSlideRepresents a master slide in a presentation.
MasterSlideCollectionRepresents a collection of master slides.
NotesSizeRepresents a size of notes slide.
NotesSlideRepresents a notes slide in a presentation.
NotesSlideHeaderFooterManagerيمثل المدير الذي يحمل سلوك مساحات حفظ النقاط، بما في ذلك مسحات احتفاظ الرأس.
NotesSlideManagerNotes slide manager.
PPImageRepresents an image in a presentation.
PVIObjectيحتوي على البنية التحتية للخدمات الأساسية للأجسام التي يمكن أن تكون موضوعًا لورث قيمة العقار.
ParagraphRepresents a paragraph of text.
ParagraphCollectionRepresents a collection of a paragraphs.
ParagraphFormatتحتوي هذه الفئة على خصائص تشكيل الفقرة.
PatternFormatRepresents a pattern to fill a shape.
PictureRepresents a picture in a presentation.
PictureFillFormatيمثل نمط ملء الصورة.
PictureFrameيمثل إطار مع صورة في الداخل.
PictureFrameLockDetermines which operations are disabled on the parent PictureFrame.
Portionيمثل جزء من النص داخل فقرة نصية.
PortionCollectionRepresents a collection of portions.
PortionFormatتحتوي هذه الفئة على خصائص تنسيق جزء النص.
PresentationRepresents a Microsoft PowerPoint presentation.
RowRepresents a row in a table.
RowCollectionيمثل مجموعة صفوف الجدول.
ShapeRepresents a shape on a slide.
ShapeBevelتحتوي على خصائص إعفاء الوجه الرئيسي للشكل.
ShapeCollectionRepresents a collection of shapes.
ShapeFrameRepresents shape frame’s properties.
SlideRepresents a slide in a presentation.
SlideCollectionRepresents a collection of a slides.
TableRepresents a table on a slide.
TableFormatRepresents format of a table.
TextFrameRepresents a TextFrame.
TextFrameFormatContains the TextFrame’s formatTextFrameFormatting properties.
ThreeDFormatRepresents 3-D properties.

إحصاءات

EnumerationDescription
BackgroundTypeيحدد مصدر ملء خلفية الشريحة.
BevelPresetTypeالثوابت التي تحدد الحافة ثلاثية الأبعاد للشكل.
BulletTypeيمثل نوع الرصاصات الممتدة.
CameraPresetTypeالثوابت التي تحدد نوع إعداد الكاميرا المسبق.
ColorTypeيمثل أنماط الألوان المختلفة.
FillBlendModeDetermines blend mode.
FillTypeيحدد نوع التعبئة الداخلية لمختلف الكائنات المرئية.
FontAlignmentيمثل ترتيب الخطوط الرأسية.
GradientDirectionيمثل نمط التدرج.
GradientShapeيمثل شكل التعبئة المتدرجة.
LightRigPresetTypeالثوابت التي تحدد أنواع الضوء المحددة مسبقاً.
LightingDirectionالثوابت التي تحدد اتجاه الضوء.
LineAlignmentيمثل نوع مواصفات الخطوط.
LineArrowheadLengthRepresents the length of an arrowhead.
LineArrowheadStyleRepresents the style of an arrowhead.
LineArrowheadWidthRepresents the width of an arrowhead.
LineCapStyleيمثل نمط خط القبعة.
LineDashStyleيمثل نمط الخط المخطوط.
LineJoinStyleيمثل الخطوط التي تجتمع في النمط.
LineStyleRepresents the style of a line.
MaterialPresetTypeالثوابت التي تحدد المادة من الشكل.
NullableBoolتمثل قيم بولية ثلاثية.
NumberedBulletStyleيمثل أسلوب الرصاصات المرقمة.
OrientationRepresents the orientation of a shape.
PatternStyleيمثل نمط النمط.
PictureFillModeيحدد كيف ستملأ الصورة المساحة.
PresetColorيمثل إعدادات الألوان المحددة مسبقاً.
PresetShadowTypeيمثل إعداد مسبق لتأثير الظل.
RectangleAlignmentDefines 2-dimension allignment.
SchemeColorRepresents colors in a color scheme.
ShapeTypeيمثل الهندسة المحددة مسبقاً للأشكال الهندسية.
SlideLayoutTypeيمثل نوع تخطيط الشريحة.
SourceFormatيمثل شكل الملف المصدر.
TableStylePresetيمثل أنماط الطاولة المبنة.
TextAlignmentيمثل أنماط الموافقة النصية المختلفة.
TextAnchorTypeترتيب مربع نص داخل منطقة نص.
TextAutofitTypeيمثل وضع التثبيت الآلي للنص.
TextCapTypeيمثل نوع النص بالترجمة الكبيرة.
TextShapeTypeيمثل شكل التفاف النصي.
TextStrikethroughTypeيمثل نوع النص الذي يمر.
TextUnderlineTypeيمثل نوع النص الموضح.
TextVerticalTypeيحدد وضع الكتابة الرأسي للنص.
TileFlipيحدد وضع التحول.

الحزم الفرعية

ClassDescription
AnimationTimeLineRepresents timeline of animation.
Behaviorتمثل سلوك الفئة الأساسية للتأثير.
BehaviorCollectionيمثل مجموعة من تأثيرات السلوك.
BehaviorFactoryمصنع لخلق حالات تأثير السلوك.
BehaviorPropertyتمثل أنواع الممتلكات للسلوك الحيوي.
BehaviorPropertyCollectionيمثل مجموعة من خصائص السلوك.
ColorEffectتمثل تأثير اللون سلوك التأثير.
ColorOffsetRepresent color offset.
CommandEffectتمثل تأثير الأمر سلوك التأثير.
EffectRepresents animation effect.
FilterEffectتمثل سلوك التأثير الفلتر للتأثر.
MotionCmdPathRepresent one command of a path.
MotionEffectتمثل حركة تأثير سلوك التأثير.
MotionPathRepresent motion path.
PointRepresents animation point.
PointCollectionRepresents a collection of animation points.
PropertyEffectتمثل السلوك الخاص بالآثار من الآثارا.
RotationEffectتمثل تأثير الدوران سلوك التأثير.
ScaleEffectتمثل سلوك التأثير على نطاق واسع.
SequenceRepresents sequence (collection of effects).
SequenceCollectionيمثل مجموعة من التسلسلات التفاعلية.
SetEffectتمثل سلوك التأثير المحدد للتأثر.
TextAnimationRepresent text animation.
TextAnimationCollectionيمثل مجموعة من الرسوم المتحركة النصية.
TimingRepresents animation timing.
EnumerationDescription
AfterAnimationTypeيمثل نوع الرسوم المتحركة بعد تأثير الرسم.
AnimateTextTypeيمثل النوع النصي المتحرك لفعل الرسوم المُحركة.
BehaviorAccumulateTypeيمثل أنواع تراكم سلوكيات التأثير.
BehaviorAdditiveTypeيمثل نوع الإضافية للسلوك التأثير.
BuildTypeيحدد كيفية ظهور النص على الشكل أثناء التحريك.
ColorDirectionيمثل اتجاه اللون للاستخدامات التأثيرية لللون.
ColorSpaceيمثل مساحة الألوان للسلوك التأثير اللون.
CommandEffectTypeيمثل نوع تأثير الأوامر للسلوك التأثير.
EffectChartMajorGroupingTypeيمثل نوع تأثير الرسوم المتحركة لعنصر البيانات.
EffectChartMinorGroupingTypeيمثل نوع تأثير الرسوم المتحركة لعنصر البيانات في السلسلة أو الفئة.
EffectFillTypeRepresent fill types.
EffectPresetClassTypeتمثل أنواع الفئات التأثيرية.
EffectRestartTypeتمثل أنواع إعادة التشغيل للتوقيت.
EffectSubtypeيمثل أنواع فرعية من تأثير الرسوم المتحركة.
EffectTriggerTypeتمثل نوع التأثير المُشعل.
EffectTypeيمثل نوع تأثير الرسوم المتحركة.
FilterEffectRevealTypeيمثل نوع الكشف عن الفلتر.
FilterEffectSubtypeيمثل نوع فرعي من تأثير المرشح.
FilterEffectTypeيمثل أنواع تأثير المرشح.
MotionCommandPathTypeتمثل أنواع الأوامر للسلوك التأثير الحركة الرسوم المتحركة.
MotionOriginTypeيحدد ما هو أصل مسار الحركة بالنسبة.
MotionPathEditModeSpecifies how the motion path moves when the target shape is moved.
MotionPathPointsTypeتمثل أنواع النقاط في مسار الحركة التليفزيونية.
PropertyCalcModeTypeتمثل وضع الحساب الخاص بخصائص الرسوم المتحركة.
PropertyValueTypeتمثل أنواع قيمة العقارات.
ClassDescription
AxesManagerيوفر الوصول إلى محاور الرسم البياني.
Axisيُحوي الجسم الذي يمثل محور الرسم البياني.
BaseChartValueفئة أساسية لأنواع القيم في الرسم البياني.
ChartRepresents a chart on a slide.
ChartCategoryRepresents a chart category.
ChartCategoryCollectionيمثل مجموعة من فئات الرسم البياني.
ChartDataتمثل البيانات المستخدمة في رسم الرسم البياني.
ChartDataCellيمثل خلية في دفتر بيانات الرسم البياني.
ChartDataPointيمثل نقطة بيانات سلسلة.
ChartDataPointCollectionيمثل مجموعة من نقاط البيانات لسلسلة.
ChartDataWorkbookيوفر الوصول إلى دفتر عمل Excel المضمن لبيانات الرسم البياني.
ChartDataWorksheetيمثل ورقة عمل في دفتر بيانات الرسم البياني.
ChartLinesFormatيمثل خصائص تصميم خطوط الشبكة.
ChartPlotAreaيمثل المستطيل حيث يجب رسم الرسم البياني.
ChartPortionFormatChart portion formatting — wraps inside .
ChartSeriesRepresents a chart series.
ChartSeriesCollectionيمثل مجموعة من سلسلة الرسوم البيانية.
ChartSeriesGroupRepresents group of series.
ChartSeriesGroupCollectionCollection of ChartSeriesGroup objects.
ChartSeriesReadonlyCollectionعرض القراءة فقط لسلسلات الرسم البياني التي تنتمي إلى مجموعة واحدة من السلسلة.
ChartTextFormatيحدد التنسيق النصي الافتراضي لعناصر نص الرسم البياني.
ChartTitleيمثل خصائص عنوان الرسم البياني.
ChartWallRepresents walls on 3D charts.
DataLabelيمثل علامة نقطة بيانات سلسلة.
DataLabelCollectionيمثل علامات سلسلة من الرسوم البيانية.
DataLabelFormatRepresents formatting options for DataLabel.
DataSourceTypeForErrorBarsCustomValuesSpecifies types of values in ChartDataPoint.ErrorBarsCustomValues properties list.
DataTableيمثل خصائص جدول البيانات.
DoubleChartValueيمثل قيمة مزدوجة مدعومة بخلية دفتر العمل أو حرفي.
ErrorBarsCustomValuesيحدد قيم شريط الخطأ لنقطة بيانات واحدة.
ErrorBarsFormatيمثل شريط الخطأ من سلسلة الرسوم البيانية.
FormatRepresents chart format properties (fill, line, effect, 3D).
LegendRepresents chart’s legend properties.
LegendEntryCollectionCollection of legend entries.
LegendEntryPropertiesيمثل خصائص الأسطورة من إدخال الرسم البياني.
MarkerRepresents a chart marker (symbol at data points).
Rotation3DRepresents 3D rotation of a chart.
StringChartValueيمثل قيمة سلسلة مدعومة بخلايا دفتر العمل أو حرفي.
StringOrDoubleChartValueيمثل قيمة يمكن أن تكون سلسلة أو مزدوجة، مدعومة بخلية أو حرفية.
TrendlineRepresents a trend line of a chart series.
TrendlineCollectionيمثل مجموعة من كائنات خط الاتجاه لسلسلة الرسوم البيانية.
EnumerationDescription
AxisPositionTypeDetermines a position of axis.
BubbleSizeRepresentationTypeيحدد الطرق الممكنة لتمثيل البيانات كحجم الرسم البياني الفقاعي.
CategoryAxisTypeRepresents a type of a category axis.
ChartDataSourceTypeيمثل نوع من مصادر البيانات في الرسم البياني.
ChartTypeRepresents a type of chart.
CombinableSeriesTypesGroupإحصاء مجموعات أنواع السلسلة القابلة للجمع.
CrossesTypeيحدد أين سيتم عبور المحور.
DataSourceTypeData source types.
DisplayBlanksAsTypeيحدد كيفية عرض البيانات المفقودة.
DisplayUnitTypeيحدد عدد البيانات المعروضة.
ErrorBarTypeRepresents type of error bar.
ErrorBarValueTypeRepresents type of error bar value.
LayoutTargetTypeIf layout of the plot area defined manually this property specifies whether to layout the plot area by its inside (not including axis and axis labels) or outside (including axis and axis labels).
LegendDataLabelPositionيحدد موقع علامات البيانات.
LegendPositionTypeDetermines a position of legend on a chart.
MarkerStyleTypeDetermines form of marker on chart’s data point.
PieSplitTypeRepresents a type of splitting points in the second pie or bar on a pie-of-pie or bar-of-pie chart.
StyleTypeRepresents chart style.
TickLabelPositionTypeيمثل نوع الموقع للوصفات التي تميز بالعلامات على المحور المحدد.
TickMarkTypeيمثل نوع علامة التشنج للمحور المحدد.
TimeUnitTypeRepresents the base unit for the category axis.
TrendlineTypeRepresents type of trend line.
ClassDescription
ColorRepresents an ARGB color, equivalent to System.Drawing.Color.
PointFRepresents a 2D point with float coordinates, equivalent to System.Drawing.PointF.
SizeRepresents a 2D size with integer dimensions, equivalent to System.Drawing.Size.
SizeFRepresents a 2D size with float dimensions, equivalent to System.Drawing.SizeF.
ClassDescription
Blurيمثل تأثير التبقع الذي يتم تطبيقه على الشكل بأكمله، بما في ذلك ملئها.
FillOverlayRepresents a Fill Overlay effect.
Glowيمثل تأثير الوهج، حيث يتم إضافة مظهر ملون غير واضح خارج حواف الكائن.
ImageTransformOperationClass with 3 properties.
InnerShadowRepresents a Inner Shadow effect.
OuterShadowRepresents an Outer Shadow effect.
PresetShadowRepresents a Preset Shadow effect.
ReflectionRepresents a Reflection effect.
SoftEdgeيمثل تأثير حافة ناعمة.
EnumerationDescription
SaveFormatالثوابت التي تحدد شكل العرض المحفوظ.
ClassDescription
CornerDirectionTransitionتأثير الانتقال في اتجاه الزاوية.
EightDirectionTransitionثمانية اتجاهات تأثير الانتقال المنزلق.
EmptyTransitionتأثير الانتقال الفارغ.
FlyThroughTransitionتأثير الانتقال المنزلق عبر الطيران.
GlitterTransitionتأثير الانتقال المشرق.
ClassDescription
FillFormatCollectionيمثل مجموعة من أنماط التعبئة.
FormatSchemeيخزن التنسيقات المحددة حسب الموضوع للأشكال.
LineFormatCollectionيمثل مجموعة من أنماط الخط.

مرجع سريع

import aspose.slides_foss as slides
from aspose.slides_foss import ShapeType, FillType, NullableBool
from aspose.slides_foss.drawing import Color
from aspose.slides_foss.export import SaveFormat

with slides.Presentation() as prs:
    slide = prs.slides[0]

    # Add shape with text
    shape = slide.shapes.add_auto_shape(ShapeType.RECTANGLE, 50, 50, 400, 120)
    tf = shape.add_text_frame("Slide content")

    # Format the text
    fmt = tf.paragraphs[0].portions[0].portion_format
    fmt.font_height = 24
    fmt.font_bold = NullableBool.TRUE
    fmt.fill_format.fill_type = FillType.SOLID
    fmt.fill_format.solid_fill_color.color = Color.from_argb(255, 0, 70, 127)

    # Fill the shape
    shape.fill_format.fill_type = FillType.SOLID
    shape.fill_format.solid_fill_color.color = Color.from_argb(255, 230, 240, 255)

    prs.save("demo.pptx", SaveFormat.PPTX)

انظر أيضاً

 العربية