Aspose.Slides FOSS for Python

Properties

ה-Aspose.Slides FOSS עבור API של Python מאורגן ב- 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מייצג אוסף של כל ה-Layout Slides בהצגה.
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.
GroupShapeLockקובע אילו פעולות מופעלות על קבוצת ההורים.
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מייצג מסגרת עם תמונה בפנים.
PictureFrameLockקובע אילו פעולות מופעלות על 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.

Properties

EnumerationDescription
BackgroundTypeהגדר את מקור המלאה של רקע הזין.
BevelPresetTypeקבועים שמגדירים את 3D bevel של צורה.
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מציג את התוויות של סדרת תרשים.
DataLabelFormatמציג אפשרויות פורמט עבור 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מייצג אוסף של אובייקטים Trendline עבור סדרת תרשים.
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.
PointFמייצג נקודה 2D עם קואורדינטים של שקיות, שווה ערך ל- System.Drawing.PointF.
Sizeהוא מייצג גודל 2D עם מימדים מלאים, שווה ערך ל- System.Drawing.Size.
SizeFהוא מייצג גודל 2D עם מימדים שטוחים, שווה ערך ל- System.Drawing.SizeF.
ClassDescription
Blurמייצג אפקט 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אפקט מעבר Fly-through Slide.
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)

ראה גם

 עברית