Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scanny/python-pptx
/ functions
Functions
5,025 in github.com/scanny/python-pptx
⨍
Functions
5,025
◇
Types & classes
848
↳
Endpoints
20
↓ 1 callers
Method
_tbl_tmpl
(cls)
src/pptx/oxml/table.py:165
↓ 1 callers
Method
_textbox_sp_tmpl
()
src/pptx/oxml/shapes/autoshape.py:415
↓ 1 callers
Method
_tint
(self, value)
src/pptx/dml/color.py:181
↓ 1 callers
Method
_txBody_tmpl
(cls)
src/pptx/oxml/text.py:191
↓ 1 callers
Method
_update_adjustments_with_actuals
Update |Adjustment| instances in `adjustments` with actual values held in `guides`. `guides` is a list of `a:gd` elements. Guides with a name
src/pptx/shapes/autoshape.py:131
↓ 1 callers
Method
_validate_brightness_value
(self, value)
src/pptx/dml/color.py:99
↓ 1 callers
Method
_xml
Return (as unicode text) the XML for a chart of *chart_type* populated with the values in this chart data object. The XML is
src/pptx/chart/data.py:119
↓ 1 callers
Method
_xml
Return a string containing the XML of this element and all its children with a starting indent of *indent* spaces.
tests/unitutil/cxml.py:169
↓ 1 callers
Function
a_cNvPr
()
tests/oxml/unitdata/shape.py:134
↓ 1 callers
Function
a_cNvSpPr
()
tests/oxml/unitdata/shape.py:138
↓ 1 callers
Function
a_t
()
tests/oxml/unitdata/text.py:72
↓ 1 callers
Method
add_close
Return a newly created `a:close` element. The new `a:close` element is appended to this `a:path` element.
src/pptx/oxml/shapes/autoshape.py:102
↓ 1 callers
Method
add_cxnSp
Return new `p:cxnSp` appended to the group/shapetree with the specified attribues.
src/pptx/oxml/shapes/groupshape.py:51
↓ 1 callers
Method
add_data_point
Return a CategoryDataPoint object newly created with value *value*, an optional *number_format*, and appended to this sequence.
src/pptx/chart/data.py:642
↓ 1 callers
Method
add_freeform_sp
Append a new freeform `p:sp` with specified position and size.
src/pptx/oxml/shapes/groupshape.py:69
↓ 1 callers
Method
add_gridCol
A newly appended `a:gridCol` child element having its `w` attribute set to `width`.
src/pptx/oxml/table.py:411
↓ 1 callers
Method
add_hlinkClick
Add an `a:hlinkClick` child element with r:id attribute set to `rId`.
src/pptx/oxml/text.py:332
↓ 1 callers
Method
add_line_break
Add line break at end of this paragraph.
src/pptx/text/text.py:474
↓ 1 callers
Method
add_lnTo
Return a newly created `a:lnTo` subtree with end point *(x, y)*. The new `a:lnTo` element is appended to this `a:path` element.
src/pptx/oxml/shapes/autoshape.py:109
↓ 1 callers
Method
add_noFill_bgPr
Return a new `p:bgPr` element with noFill properties.
src/pptx/oxml/slide.py:51
↓ 1 callers
Method
add_paragraph
Return new |_Paragraph| instance appended to the sequence of paragraphs contained in this text frame.
src/pptx/text/text.py:48
↓ 1 callers
Method
add_path
(self, w: Length, h: Length)
src/pptx/oxml/shapes/autoshape.py:202
↓ 1 callers
Method
add_run
Return a new run appended to the runs in this paragraph.
src/pptx/text/text.py:478
↓ 1 callers
Method
add_slide
Return (rId, slide) pair of a newly created blank slide. New slide inherits appearance from `slide_layout`.
src/pptx/parts/presentation.py:25
↓ 1 callers
Method
add_tc
A newly added minimal valid `a:tc` child element.
src/pptx/oxml/table.py:436
↓ 1 callers
Method
add_tr
Return a newly created `a:tr` child element having its `h` attribute set to `height`.
src/pptx/oxml/table.py:44
↓ 1 callers
Method
add_video
Add a new `p:video` child element for movie having *shape_id*.
src/pptx/oxml/slide.py:315
↓ 1 callers
Function
an_ln
()
tests/oxml/unitdata/dml.py:89
↓ 1 callers
Function
an_nvGraphicFramePr
()
tests/oxml/unitdata/shape.py:186
↓ 1 callers
Function
an_nvPicPr
()
tests/oxml/unitdata/shape.py:190
↓ 1 callers
Function
an_r
()
tests/oxml/unitdata/text.py:80
↓ 1 callers
Method
append_ps_from
Append `a:p` elements taken from `spanned_tc`. Any non-empty paragraph elements in `spanned_tc` are removed and appended to the text-
src/pptx/oxml/table.py:219
↓ 1 callers
Method
bubble_sizes_ref
The Excel worksheet reference for the range containing the bubble sizes for *series*.
src/pptx/chart/data.py:727
↓ 1 callers
Method
chart_type
Member of :ref:`XlChartType` enumeration specifying type of this chart. If the chart has two plots, for example, a line plot overlayed on a b
src/pptx/chart/chart.py:80
↓ 1 callers
Function
class_template
(element)
lab/cust-elm-classes/gen_oxml_classes.py:179
↓ 1 callers
Method
clear
Remove all content from this paragraph. Paragraph properties are preserved. Content includes runs, line breaks, and fields.
src/pptx/text/text.py:497
↓ 1 callers
Function
cls_qname
(obj: object)
features/steps/helpers.py:24
↓ 1 callers
Function
count
Local implementation of `itertools.count()` to allow v2.6 compatibility.
tests/unitutil/__init__.py:6
↓ 1 callers
Method
crop
Set `a:srcRect` child to crop according to *cropping* values.
src/pptx/oxml/dml/fill.py:43
↓ 1 callers
Method
crop_to_fit
Set cropping values in `p:blipFill/a:srcRect` such that an image of *image_size* will stretch to exactly fit *view_size* when its asp
src/pptx/oxml/shapes/picture.py:39
↓ 1 callers
Method
data_point_offset
The total integer number of data points appearing in the series of this chart that are prior to *series* in this sequence.
src/pptx/chart/data.py:42
↓ 1 callers
Function
element_defs
(tags)
lab/parse_xsd/parse_xsd.py:339
↓ 1 callers
Function
empty_cell
()
lab/parse_xsd/objectify_lab.py:57
↓ 1 callers
Method
factory
Return a new |EmbeddedPackagePart| subclass instance added to *package*. The subclass is determined by `prog_id` which corresponds to the "ap
src/pptx/parts/embeddedpackage.py:25
↓ 1 callers
Method
fill
|FillFormat| instance for this font. Provides access to fill properties such as fill color.
src/pptx/text/text.py:313
↓ 1 callers
Method
font
(cls, font_path, point_size)
src/pptx/text/layout.py:300
↓ 1 callers
Method
from_clark_name
(cls, clark_name: str)
src/pptx/oxml/ns.py:50
↓ 1 callers
Method
from_merge_origin
Return instance created from merge-origin tc element.
src/pptx/oxml/table.py:464
↓ 1 callers
Method
get_complexType
Return complex type element with name *typename*
lab/parse_xsd/parse_xsd.py:80
↓ 1 callers
Method
get_dLbl
Return the `c:dLbl` element representing the label for the data point at offset *idx* in this series, or |None| if not present.
src/pptx/oxml/chart/series.py:176
↓ 1 callers
Method
get_dLbl_for_point
Return the `c:dLbl` child representing the label for the data point at index *idx*.
src/pptx/oxml/chart/datalabel.py:171
↓ 1 callers
Method
get_or_add_bgPr
Return `p:bg/p:bgPr` grandchild. If no such grandchild is present, any existing `p:bg` child is first removed and a new default `p:bg
src/pptx/oxml/slide.py:107
↓ 1 callers
Method
get_or_add_childTnLst
Return parent element for a new `p:video` child element. The `p:video` element causes play controls to appear under a video shape (pi
src/pptx/oxml/slide.py:178
↓ 1 callers
Method
get_or_add_dLbl
Return the `c:dLbl` element representing the label of the point at offset *idx* in this series, newly created if not yet present.
src/pptx/oxml/chart/series.py:186
↓ 1 callers
Method
get_or_add_dLbl_for_point
Return the `c:dLbl` element representing the label of the point at index *idx*.
src/pptx/oxml/chart/datalabel.py:181
↓ 1 callers
Method
get_or_add_ln
Return the `a:ln` element containing the line format properties XML for this shape.
src/pptx/shapes/autoshape.py:289
↓ 1 callers
Function
grammar
()
tests/unitutil/cxml.py:238
↓ 1 callers
Method
graphicFrame
Return new `p:graphicFrame` element containing embedded `ole_object_file`.
src/pptx/shapes/shapetree.py:1037
↓ 1 callers
Method
graphicFrame
(self)
tests/shapes/test_base.py:421
↓ 1 callers
Method
i_image_parts
(self, request, idxs)
tests/test_package.py:117
↓ 1 callers
Method
i_media_parts
(self, request, idxs)
tests/test_package.py:124
↓ 1 callers
Function
iter_corner
()
features/steps/shapes.py:111
↓ 1 callers
Method
iter_sers
Generate each of the `c:ser` elements in this chart, ordered first by the document order of the containing xChart element, then by th
src/pptx/oxml/chart/chart.py:184
↓ 1 callers
Method
iter_sers
Generate each ``<c:ser>`` child element in this xChart in c:order/@val sequence (not document or c:idx order).
src/pptx/oxml/chart/plot.py:83
↓ 1 callers
Method
iter_values
Generate each float Y value in this series, in the order they appear on the chart. A value of `None` represents a missing Y value
src/pptx/chart/series.py:174
↓ 1 callers
Function
load_adjustment_values
load adjustment values and their default values from XML
spec/gen_spec/gen_spec.py:177
↓ 1 callers
Method
load_adjustment_values
load adjustment values for auto shape types in self
spec/gen_spec/gen_spec.py:102
↓ 1 callers
Method
load_rels_from_xml
load _Relationships for this part from `xml_rels`. Part references are resolved using the `parts` dict that maps each partname to the loaded
src/pptx/opc/package.py:330
↓ 1 callers
Function
make_bubble_chart_data
Return an |BubbleChartData| object populated with *ser_count* series, each having *point_count* data points.
tests/chart/test_xmlwriter.py:659
↓ 1 callers
Function
make_xy_chart_data
Return an |XyChartData| object populated with *ser_count* series each having *point_count* data points. Values are auto-generated.
tests/chart/test_xmlwriter.py:705
↓ 1 callers
Method
merge
Create merged cell from this cell to `other_cell`. This cell and `other_cell` specify opposite corners of the merged cell range. Either
src/pptx/table.py:260
↓ 1 callers
Method
move_to
Move pen to (x, y) (local coordinates) without drawing line. Returns this |FreeformBuilder| object so it can be used in chained calls.
src/pptx/shapes/freeform.py:111
↓ 1 callers
Function
namespaces
Return a dict containing the subset namespace prefix mappings specified by *prefixes*. Any number of namespace prefixes can be supplied, e.g. nam
src/pptx/oxml/ns.py:94
↓ 1 callers
Method
new
Return new |ImagePart| instance containing `image`. `image` is an |Image| object.
src/pptx/parts/image.py:41
↓ 1 callers
Method
new
Return new |ChartPart| instance added to `package`. Returned chart-part contains a chart of `chart_type` depicting `chart_data`.
src/pptx/parts/chart.py:29
↓ 1 callers
Method
new
Return new |EmbeddedPackagePart| subclass object. The returned part object contains `blob` and is added to `package`.
src/pptx/parts/embeddedpackage.py:51
↓ 1 callers
Method
new
Return new `p:sld` element configured as base slide shape.
src/pptx/oxml/slide.py:169
↓ 1 callers
Method
new
Return a new `a:tc` element subtree.
src/pptx/oxml/table.py:307
↓ 1 callers
Method
new_a_txBody
Return a new `a:txBody` element tree. Suitable for use in a table cell and possibly other situations.
src/pptx/oxml/text.py:135
↓ 1 callers
Method
new_chart
Return a new `c:chart` element.
src/pptx/oxml/chart/chart.py:70
↓ 1 callers
Method
new_coreProperties
Return a new `cp:coreProperties` element
src/pptx/oxml/coreprops.py:48
↓ 1 callers
Method
new_cxnSp
Return a new `p:cxnSp` element tree configured as a base connector.
src/pptx/oxml/shapes/connector.py:36
↓ 1 callers
Method
new_dLbl
Return a newly created "loose" `c:dLbl` element. The `c:dLbl` element contains the same (fairly extensive) default subtree added by P
src/pptx/oxml/chart/datalabel.py:76
↓ 1 callers
Method
new_dPt
Return a newly created "loose" `c:dPt` element containing its default subtree.
src/pptx/oxml/chart/series.py:58
↓ 1 callers
Method
new_freeform_sp
Return new `p:sp` element tree configured as freeform shape. The returned shape has a `a:custGeom` subtree but no paths in its path l
src/pptx/oxml/shapes/autoshape.py:295
↓ 1 callers
Method
new_grpSp
Return new "loose" `p:grpSp` element having `id_` and `name`.
src/pptx/oxml/shapes/groupshape.py:166
↓ 1 callers
Method
new_ole_object_graphicFrame
Return newly-created `p:graphicFrame` for embedded OLE-object. `ole_object_rId` identifies the relationship to the OLE-object part.
src/pptx/oxml/shapes/graphfrm.py:223
↓ 1 callers
Method
new_p_txBody
Return a new `p:txBody` element tree, suitable for use in an `p:sp` element.
src/pptx/oxml/text.py:145
↓ 1 callers
Method
new_ph_pic
Return a new `p:pic` placeholder element populated with the supplied parameters.
src/pptx/oxml/shapes/picture.py:61
↓ 1 callers
Function
nsdecls
(*prefixes)
lab/parse_xsd/objectify_lab.py:26
↓ 1 callers
Function
nsdecls
Return a string containing a namespace declaration for each of *nspfxs*, in the order they are specified.
tests/unitutil/cxml.py:57
↓ 1 callers
Function
nsuri
Return the namespace URI corresponding to `nspfx`. Example: >>> nsuri("p") "http://schemas.openxmlformats.org/presentationml/200
src/pptx/oxml/ns.py:109
↓ 1 callers
Function
open_mock
Return a mock for the builtin `open()` method in `module_name`.
tests/unitutil/mock.py:111
↓ 1 callers
Function
oxml_to_encoded_bytes
( element: BaseOxmlElement, encoding: str = "utf-8", pretty_print: bool = False, standalone: b
src/pptx/opc/oxml.py:36
↓ 1 callers
Function
oxml_tostring
( elm: BaseOxmlElement, encoding: str | None = None, pretty_print: bool = False, standalone: b
src/pptx/opc/oxml.py:47
↓ 1 callers
Method
parent_bldr
(self, choice_tag=None)
tests/oxml/test_xmlchemy.py:463
↓ 1 callers
Function
parse_args
Return arguments object formed by parsing the command line used to launch the program.
spec/gen_spec/gen_spec.py:351
↓ 1 callers
Function
print_mso_auto_shape_type_constants
print symbolic constant definitions for msoAutoShapeType
spec/gen_spec/gen_spec.py:205
↓ 1 callers
Function
print_mso_auto_shape_type_enum
print symbolic constant definitions for msoAutoShapeType
spec/gen_spec/gen_spec.py:212
↓ 1 callers
Function
print_mso_auto_shape_type_spec
print spec dictionary for msoAutoShapeType
spec/gen_spec/gen_spec.py:219
← previous
next →
501–600 of 5,025, ranked by callers