Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scanny/python-pptx
/ types & classes
Types & classes
848 in github.com/scanny/python-pptx
⨍
Functions
5,025
◇
Types & classes
848
↳
Endpoints
20
↓ 193 callers
Class
ZeroOrOne
Defines an optional child element for MetaOxmlElement.
src/pptx/oxml/xmlchemy.py:558
↓ 77 callers
Class
Emu
Convenience constructor for length in english metric units.
src/pptx/util.py:82
↓ 70 callers
Class
OptionalAttribute
Defines an optional attribute on a custom element class. An optional attribute returns a default value when not present for reading. When assigne
src/pptx/oxml/xmlchemy.py:177
↓ 63 callers
Class
PackURI
Proxy for a pack URI (partname). Provides utility properties the baseURI and the filename slice. Behaves as |str| otherwise.
src/pptx/opc/packuri.py:9
↓ 57 callers
Class
Inches
Convenience constructor for length in inches.
src/pptx/util.py:58
↓ 51 callers
Class
Choice
Defines a child element belonging to a group, only one of which may appear as a child.
src/pptx/oxml/xmlchemy.py:415
↓ 49 callers
Class
RequiredAttribute
Defines a required attribute on a custom element class. A required attribute is assumed to be present for reading, so does not have a default val
src/pptx/oxml/xmlchemy.py:231
↓ 47 callers
Class
OneAndOnlyOne
Defines a required child element for MetaOxmlElement.
src/pptx/oxml/xmlchemy.py:474
↓ 30 callers
Class
ZeroOrMore
Defines an optional repeating child element for MetaOxmlElement.
src/pptx/oxml/xmlchemy.py:541
↓ 27 callers
Class
_Cell
Table cell
src/pptx/table.py:168
↓ 25 callers
Class
TextFrame
The part of a shape that contains its text. Not all shapes have a text frame. Corresponds to the `p:txBody` element that can appear as a chil
src/pptx/text/text.py:36
↓ 25 callers
Class
_BaseAxis
Base class for chart axis objects. All axis objects share these properties.
src/pptx/chart/axis.py:19
↓ 23 callers
Class
_Relationships
Collection of |_Relationship| instances having `dict` semantics. Relationships are keyed by their rId, but may also be found in other ways, such
src/pptx/opc/package.py:493
↓ 20 callers
Class
DataLabels
Provides access to properties of data labels for a plot or a series. This is not a collection and does not provide access to individual data
src/pptx/chart/datalabel.py:9
↓ 20 callers
Class
Font
Character properties object, providing font size, font name, bold, italic, etc. Corresponds to `a:rPr` child element of a run. Also appears as `a
src/pptx/text/text.py:280
↓ 18 callers
Class
CategoryChartData
Accumulates data specifying the categories and series values for a chart and acts as a proxy for the chart data table that will be written to
src/pptx/chart/data.py:255
↓ 18 callers
Class
Chart
A chart object.
src/pptx/chart/chart.py:18
↓ 18 callers
Class
_Paragraph
Paragraph object. Not intended to be constructed directly.
src/pptx/text/text.py:467
↓ 17 callers
Class
BaseShape
Base class for shape objects. Subclasses include |Shape|, |Picture|, and |GraphicFrame|.
src/pptx/shapes/base.py:21
↓ 17 callers
Class
FreeformBuilder
Allows a freeform shape to be specified and created. The initial pen position is provided on construction. From there, drawing proceeds using
src/pptx/shapes/freeform.py:26
↓ 16 callers
Class
Connector
Connector (line) shape. A connector is a linear shape having end-points that can be connected to other objects (but not to other connectors).
src/pptx/shapes/connector.py:16
↓ 16 callers
Class
Shape
A shape that can appear on a slide. Corresponds to the `p:sp` element that can appear in any of the slide-type parts (slide, slideLayout, sli
src/pptx/shapes/autoshape.py:255
↓ 14 callers
Class
PresentationPart
Top level class in object model. Represents the contents of the /ppt directory of a .pptx file.
src/pptx/parts/presentation.py:19
↓ 14 callers
Class
RGBColor
Immutable value object defining a particular RGB color.
src/pptx/dml/color.py:275
↓ 13 callers
Class
Category
A chart category, primarily having a label to be displayed on the category axis, but also able to be configured in a hierarchy for support
src/pptx/chart/data.py:509
↓ 13 callers
Class
Presentation
PresentationML (PML) presentation. Not intended to be constructed directly. Use :func:`pptx.Presentation` to open or create a presentation.
src/pptx/presentation.py:18
↓ 13 callers
Class
Slide
Slide object. Provides access to shapes and slide-level properties.
src/pptx/slide.py:176
↓ 13 callers
Class
_BaseGroupShapes
Base class for shape-trees that can add shapes.
src/pptx/shapes/shapetree.py:226
↓ 12 callers
Class
Categories
A sequence of |data.Category| objects, also having certain hierarchical graph behaviors for support of multi-level (nested) categories.
src/pptx/chart/data.py:342
↓ 12 callers
Class
SlideShapes
Sequence of shapes appearing on a slide. The first shape in the sequence is the backmost in z-order and the last shape is topmost. Supports i
src/pptx/shapes/shapetree.py:538
↓ 11 callers
Class
SlideLayouts
Sequence of slide layouts belonging to a slide-master. Supports indexed access, len(), iteration, index() and remove().
src/pptx/slide.py:344
↓ 11 callers
Class
_OleObjectElementCreator
Functional service object for creating a new OLE-object p:graphicFrame element. It's entire external interface is its :meth:`graphicFrame` class
src/pptx/shapes/shapetree.py:1000
↓ 10 callers
Class
Part
Base class for package parts. Provides common properties and methods, but intended to be subclassed in client code to implement specific part
src/pptx/opc/package.py:281
↓ 10 callers
Class
ValueAxis
An axis having continuous (as opposed to discrete) values. The vertical axis is generally a value axis, however both axes of an XY-type chart
src/pptx/chart/axis.py:421
↓ 10 callers
Class
XyChartData
A specialized ChartData object suitable for use with an XY (aka. scatter) chart. Unlike ChartData, it has no category sequence. Rather, each
src/pptx/chart/data.py:684
↓ 10 callers
Class
ZeroOrOneChoice
An `EG_*` element group where at most one of its members may appear as a child.
src/pptx/oxml/xmlchemy.py:600
↓ 10 callers
Class
_MoviePicElementCreator
Functional service object for creating a new movie p:pic element. It's entire external interface is its :meth:`new_movie_pic` class method that r
src/pptx/shapes/shapetree.py:870
↓ 10 callers
Class
_NameTable
An OpenType font table having the tag 'name' and containing the name-related strings for the font.
src/pptx/text/fonts.py:276
↓ 10 callers
Class
_Relationship
Value object describing link from a part or package to another part.
src/pptx/opc/package.py:680
↓ 9 callers
Class
ActionSetting
Properties specifying how a shape or run reacts to mouse actions.
src/pptx/action.py:21
↓ 9 callers
Class
CategoryWorkbookWriter
Determines Excel worksheet layout and can write an Excel workbook from a CategoryChartData object. Serves as the authority for Excel workshee
src/pptx/chart/xlsx.py:47
↓ 9 callers
Class
ChartFormat
The |ChartFormat| object provides access to visual shape properties for chart elements like |Axis|, |Series|, and |MajorGridlines|. It has tw
src/pptx/dml/chtfmt.py:15
↓ 9 callers
Class
FillFormat
Provides access to the current fill properties. Also provides methods to change the fill type.
src/pptx/dml/fill.py:27
↓ 9 callers
Class
GraphicFrame
Container shape for table, chart, smart art, and media objects. Corresponds to a `p:graphicFrame` element in the shape tree.
src/pptx/shapes/graphfrm.py:31
↓ 9 callers
Class
LineFormat
Provides access to line properties such as color, style, and width. A LineFormat object is typically accessed via the ``.line`` property of a
src/pptx/dml/line.py:10
↓ 9 callers
Class
Pt
Convenience value class for specifying a length in points.
src/pptx/util.py:97
↓ 9 callers
Class
SlideLayout
Slide layout object. Provides access to placeholders, regular shapes, and slide layout-level properties.
src/pptx/slide.py:296
↓ 9 callers
Class
SlidePart
Slide part. Corresponds to package files ppt/slides/slide[1-9][0-9]*.xml.
src/pptx/parts/slide.py:158
↓ 9 callers
Class
Slides
Sequence of slides belonging to an instance of |Presentation|. Has list semantics for access to individual slides. Supports indexed access, len()
src/pptx/slide.py:238
↓ 9 callers
Class
Table
A DrawingML table object. Not intended to be constructed directly, use :meth:`.Slide.shapes.add_table` to add a table to a slide.
src/pptx/table.py:22
↓ 9 callers
Class
TcRange
A 2D block of `a:tc` cell elements in a table. This object assumes the structure of the underlying table does not change during its lifetime.
src/pptx/oxml/table.py:449
↓ 9 callers
Class
TickLabels
A service class providing access to formatting of axis tick mark labels.
src/pptx/chart/axis.py:339
↓ 9 callers
Class
_LineSource
Generates all the possible even-word line breaks in a string of text, each in the form of a (line, remainder) 2-tuple where *line* contains t
src/pptx/text/layout.py:215
↓ 8 callers
Class
BubbleChartData
A specialized ChartData object suitable for use with a bubble chart. A bubble chart is essentially an XY chart where the markers are scaled t
src/pptx/chart/data.py:710
↓ 8 callers
Class
DataLabel
The data label associated with an individual data point.
src/pptx/chart/datalabel.py:143
↓ 8 callers
Class
Image
Immutable value object representing an image such as a JPEG, PNG, or GIF.
src/pptx/parts/image.py:142
↓ 8 callers
Class
Legend
Represents the legend in a chart. A chart can have at most one legend.
src/pptx/chart/legend.py:10
↓ 8 callers
Class
OpcPackage
Main API class for |python-opc|. A new instance is constructed by calling the :meth:`open` classmethod with a path to a package file or file-
src/pptx/opc/package.py:69
↓ 8 callers
Class
_BaseShapes
Base class for a shape collection appearing in a slide-type object. Subclasses include Slide, SlideLayout, and SlideMaster. Provides common metho
src/pptx/shapes/shapetree.py:77
↓ 8 callers
Class
_CategorySeriesXmlWriter
Generates XML snippets particular to a category chart series.
src/pptx/chart/xmlwriter.py:1364
↓ 7 callers
Class
AdjustmentCollection
Sequence of |Adjustment| instances for an auto shape. Each represents an available adjustment for a shape of its type. Supports `len()` and index
src/pptx/shapes/autoshape.py:89
↓ 7 callers
Class
Categories
A sequence of |category.Category| objects, each representing a category label on the chart. Provides properties for dealing with hierarchical
src/pptx/chart/category.py:14
↓ 7 callers
Class
Marker
Represents a data point marker, such as a diamond or circle, on a line-type chart.
src/pptx/chart/marker.py:13
↓ 7 callers
Class
Picture
A picture shape, one that places an image on a slide. Based on the `p:pic` element.
src/pptx/shapes/picture.py:142
↓ 7 callers
Class
_BasePlot
A distinct plot that appears in the plot area of a chart. A chart may have more than one plot, in which case they appear as superimposed
src/pptx/chart/plot.py:18
↓ 7 callers
Class
_BaseSlidePlaceholder
Base class for placeholders on slides. Provides common behaviors such as inherited dimensions.
src/pptx/shapes/placeholder.py:127
↓ 7 callers
Class
_Font
A wrapper around an OTF/TTF font file stream that knows how to parse it for its name and style characteristics, e.g. bold and italic.
src/pptx/text/fonts.py:96
↓ 6 callers
Class
AutoShapeType
Provides access to metadata for an auto-shape of type identified by `autoshape_type_id`. Instances are cached, so no more than one instance for a
src/pptx/shapes/autoshape.py:160
↓ 6 callers
Class
Category
An extension of `str` that provides the category label as its string value, and additional attributes representing other aspects of the c
src/pptx/chart/category.py:145
↓ 6 callers
Class
CategorySeriesData
The data specific to a particular category chart series. It provides access to the series label, the series data points, and an optional
src/pptx/chart/data.py:634
↓ 6 callers
Class
ChartWorkbook
Provides access to external chart data in a linked or embedded Excel workbook.
src/pptx/parts/chart.py:57
↓ 6 callers
Class
Mm
Convenience constructor for length in millimeters.
src/pptx/util.py:89
↓ 6 callers
Class
NotesSlide
Notes slide object. Provides access to slide notes placeholder and other shapes on the notes handout page.
src/pptx/slide.py:101
↓ 6 callers
Class
PackageReader
Provides access to package-parts of an OPC package with dict semantics. The package may be in zip-format (a .pptx file) or expanded into a direct
src/pptx/opc/serialized.py:22
↓ 6 callers
Class
_GradFill
Proxies an `a:gradFill` element.
src/pptx/dml/fill.py:221
↓ 6 callers
Class
_ImageParts
Provides access to the image parts in a package.
src/pptx/package.py:125
↓ 6 callers
Class
_PattFill
Provides access to patterned fill properties.
src/pptx/dml/fill.py:296
↓ 6 callers
Class
_Run
Text run object. Corresponds to `a:r` child element in a paragraph.
src/pptx/text/text.py:635
↓ 5 callers
Class
AxisTitle
Provides properties for manipulating axis title.
src/pptx/chart/axis.py:245
↓ 5 callers
Class
BasePlaceholder
NOTE: This class is deprecated and will be removed from a future release along with the properties *idx*, *orient*, *ph_type*, and *sz*. The
src/pptx/shapes/placeholder.py:174
↓ 5 callers
Class
ChartTitle
Provides properties for manipulating a chart title.
src/pptx/chart/chart.py:202
↓ 5 callers
Class
Hyperlink
Represents a hyperlink action on a shape or text run.
src/pptx/action.py:193
↓ 5 callers
Class
Movie
A movie shape, one that places a video on a slide. Like |Picture|, a movie shape is based on the `p:pic` element. A movie is composed of a video
src/pptx/shapes/picture.py:98
↓ 5 callers
Class
Package
An overall .pptx package.
src/pptx/package.py:16
↓ 5 callers
Class
SlideMaster
Slide master object. Provides access to slide layouts. Access to placeholders, regular shapes, and slide master-level properties is inherited
src/pptx/slide.py:414
↓ 5 callers
Class
SlideMasters
Sequence of |SlideMaster| objects belonging to a presentation. Has list access semantics, supporting indexed access, len(), and iteration.
src/pptx/slide.py:429
↓ 5 callers
Class
TextFitter
Value object that knows how to fit text into given rectangular extents.
src/pptx/text/layout.py:13
↓ 5 callers
Class
Video
Immutable value object representing a video such as MP4.
src/pptx/media.py:14
↓ 5 callers
Class
_CellCollection
Horizontal sequence of row cells
src/pptx/table.py:427
↓ 5 callers
Class
_Close
Specifies adding a `<a:close/>` element to the current contour.
src/pptx/shapes/freeform.py:286
↓ 5 callers
Class
_ColumnCollection
Sequence of table columns.
src/pptx/table.py:451
↓ 5 callers
Class
_GradientStop
A single gradient stop. A gradient stop defines a color and a position.
src/pptx/dml/fill.py:370
↓ 5 callers
Class
_LineSegment
Specifies a straight line segment ending at the specified point.
src/pptx/shapes/freeform.py:299
↓ 5 callers
Class
_RelatableMixin
Provide relationship methods required by both the package and each part.
src/pptx/opc/package.py:30
↓ 5 callers
Class
_RowCollection
Sequence of table rows
src/pptx/table.py:475
↓ 5 callers
Class
_Stream
A thin wrapper around a binary file that facilitates reading C-struct values.
src/pptx/text/fonts.py:191
↓ 5 callers
Class
_ZipPkgWriter
Implements |PhysPkgWriter| interface for a zip-file (.pptx file) OPC package.
src/pptx/opc/serialized.py:217
↓ 4 callers
Class
BarPlot
A bar chart-style plot.
src/pptx/chart/plot.py:125
↓ 4 callers
Class
Element
<xsd:element> object
lab/parse_xsd/parse_xsd.py:304
↓ 4 callers
Class
ElementProxy
Base class for lxml element proxy classes. An element proxy class is one whose primary responsibilities are fulfilled by manipulating the att
src/pptx/shared.py:13
next →
1–100 of 848, ranked by callers