MCPcopy Create free account

hub / github.com/scanny/python-pptx / functions

Functions5,025 in github.com/scanny/python-pptx

↓ 1 callersMethod_tbl_tmpl
(cls)
src/pptx/oxml/table.py:165
↓ 1 callersMethod_textbox_sp_tmpl
()
src/pptx/oxml/shapes/autoshape.py:415
↓ 1 callersMethod_tint
(self, value)
src/pptx/dml/color.py:181
↓ 1 callersMethod_txBody_tmpl
(cls)
src/pptx/oxml/text.py:191
↓ 1 callersMethod_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 callersMethod_validate_brightness_value
(self, value)
src/pptx/dml/color.py:99
↓ 1 callersMethod_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 callersMethod_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 callersFunctiona_cNvPr
()
tests/oxml/unitdata/shape.py:134
↓ 1 callersFunctiona_cNvSpPr
()
tests/oxml/unitdata/shape.py:138
↓ 1 callersFunctiona_t
()
tests/oxml/unitdata/text.py:72
↓ 1 callersMethodadd_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 callersMethodadd_cxnSp
Return new `p:cxnSp` appended to the group/shapetree with the specified attribues.
src/pptx/oxml/shapes/groupshape.py:51
↓ 1 callersMethodadd_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 callersMethodadd_freeform_sp
Append a new freeform `p:sp` with specified position and size.
src/pptx/oxml/shapes/groupshape.py:69
↓ 1 callersMethodadd_gridCol
A newly appended `a:gridCol` child element having its `w` attribute set to `width`.
src/pptx/oxml/table.py:411
↓ 1 callersMethodadd_hlinkClick
Add an `a:hlinkClick` child element with r:id attribute set to `rId`.
src/pptx/oxml/text.py:332
↓ 1 callersMethodadd_line_break
Add line break at end of this paragraph.
src/pptx/text/text.py:474
↓ 1 callersMethodadd_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 callersMethodadd_noFill_bgPr
Return a new `p:bgPr` element with noFill properties.
src/pptx/oxml/slide.py:51
↓ 1 callersMethodadd_paragraph
Return new |_Paragraph| instance appended to the sequence of paragraphs contained in this text frame.
src/pptx/text/text.py:48
↓ 1 callersMethodadd_path
(self, w: Length, h: Length)
src/pptx/oxml/shapes/autoshape.py:202
↓ 1 callersMethodadd_run
Return a new run appended to the runs in this paragraph.
src/pptx/text/text.py:478
↓ 1 callersMethodadd_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 callersMethodadd_tc
A newly added minimal valid `a:tc` child element.
src/pptx/oxml/table.py:436
↓ 1 callersMethodadd_tr
Return a newly created `a:tr` child element having its `h` attribute set to `height`.
src/pptx/oxml/table.py:44
↓ 1 callersMethodadd_video
Add a new `p:video` child element for movie having *shape_id*.
src/pptx/oxml/slide.py:315
↓ 1 callersFunctionan_ln
()
tests/oxml/unitdata/dml.py:89
↓ 1 callersFunctionan_nvGraphicFramePr
()
tests/oxml/unitdata/shape.py:186
↓ 1 callersFunctionan_nvPicPr
()
tests/oxml/unitdata/shape.py:190
↓ 1 callersFunctionan_r
()
tests/oxml/unitdata/text.py:80
↓ 1 callersMethodappend_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 callersMethodbubble_sizes_ref
The Excel worksheet reference for the range containing the bubble sizes for *series*.
src/pptx/chart/data.py:727
↓ 1 callersMethodchart_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 callersFunctionclass_template
(element)
lab/cust-elm-classes/gen_oxml_classes.py:179
↓ 1 callersMethodclear
Remove all content from this paragraph. Paragraph properties are preserved. Content includes runs, line breaks, and fields.
src/pptx/text/text.py:497
↓ 1 callersFunctioncls_qname
(obj: object)
features/steps/helpers.py:24
↓ 1 callersFunctioncount
Local implementation of `itertools.count()` to allow v2.6 compatibility.
tests/unitutil/__init__.py:6
↓ 1 callersMethodcrop
Set `a:srcRect` child to crop according to *cropping* values.
src/pptx/oxml/dml/fill.py:43
↓ 1 callersMethodcrop_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 callersMethoddata_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 callersFunctionelement_defs
(tags)
lab/parse_xsd/parse_xsd.py:339
↓ 1 callersFunctionempty_cell
()
lab/parse_xsd/objectify_lab.py:57
↓ 1 callersMethodfactory
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 callersMethodfill
|FillFormat| instance for this font. Provides access to fill properties such as fill color.
src/pptx/text/text.py:313
↓ 1 callersMethodfont
(cls, font_path, point_size)
src/pptx/text/layout.py:300
↓ 1 callersMethodfrom_clark_name
(cls, clark_name: str)
src/pptx/oxml/ns.py:50
↓ 1 callersMethodfrom_merge_origin
Return instance created from merge-origin tc element.
src/pptx/oxml/table.py:464
↓ 1 callersMethodget_complexType
Return complex type element with name *typename*
lab/parse_xsd/parse_xsd.py:80
↓ 1 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_or_add_ln
Return the `a:ln` element containing the line format properties XML for this shape.
src/pptx/shapes/autoshape.py:289
↓ 1 callersFunctiongrammar
()
tests/unitutil/cxml.py:238
↓ 1 callersMethodgraphicFrame
Return new `p:graphicFrame` element containing embedded `ole_object_file`.
src/pptx/shapes/shapetree.py:1037
↓ 1 callersMethodgraphicFrame
(self)
tests/shapes/test_base.py:421
↓ 1 callersMethodi_image_parts
(self, request, idxs)
tests/test_package.py:117
↓ 1 callersMethodi_media_parts
(self, request, idxs)
tests/test_package.py:124
↓ 1 callersFunctioniter_corner
()
features/steps/shapes.py:111
↓ 1 callersMethoditer_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 callersMethoditer_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 callersMethoditer_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 callersFunctionload_adjustment_values
load adjustment values and their default values from XML
spec/gen_spec/gen_spec.py:177
↓ 1 callersMethodload_adjustment_values
load adjustment values for auto shape types in self
spec/gen_spec/gen_spec.py:102
↓ 1 callersMethodload_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 callersFunctionmake_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 callersFunctionmake_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 callersMethodmerge
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 callersMethodmove_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 callersFunctionnamespaces
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 callersMethodnew
Return new |ImagePart| instance containing `image`. `image` is an |Image| object.
src/pptx/parts/image.py:41
↓ 1 callersMethodnew
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 callersMethodnew
Return new |EmbeddedPackagePart| subclass object. The returned part object contains `blob` and is added to `package`.
src/pptx/parts/embeddedpackage.py:51
↓ 1 callersMethodnew
Return new `p:sld` element configured as base slide shape.
src/pptx/oxml/slide.py:169
↓ 1 callersMethodnew
Return a new `a:tc` element subtree.
src/pptx/oxml/table.py:307
↓ 1 callersMethodnew_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 callersMethodnew_chart
Return a new `c:chart` element.
src/pptx/oxml/chart/chart.py:70
↓ 1 callersMethodnew_coreProperties
Return a new `cp:coreProperties` element
src/pptx/oxml/coreprops.py:48
↓ 1 callersMethodnew_cxnSp
Return a new `p:cxnSp` element tree configured as a base connector.
src/pptx/oxml/shapes/connector.py:36
↓ 1 callersMethodnew_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 callersMethodnew_dPt
Return a newly created "loose" `c:dPt` element containing its default subtree.
src/pptx/oxml/chart/series.py:58
↓ 1 callersMethodnew_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 callersMethodnew_grpSp
Return new "loose" `p:grpSp` element having `id_` and `name`.
src/pptx/oxml/shapes/groupshape.py:166
↓ 1 callersMethodnew_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 callersMethodnew_p_txBody
Return a new `p:txBody` element tree, suitable for use in an `p:sp` element.
src/pptx/oxml/text.py:145
↓ 1 callersMethodnew_ph_pic
Return a new `p:pic` placeholder element populated with the supplied parameters.
src/pptx/oxml/shapes/picture.py:61
↓ 1 callersFunctionnsdecls
(*prefixes)
lab/parse_xsd/objectify_lab.py:26
↓ 1 callersFunctionnsdecls
Return a string containing a namespace declaration for each of *nspfxs*, in the order they are specified.
tests/unitutil/cxml.py:57
↓ 1 callersFunctionnsuri
Return the namespace URI corresponding to `nspfx`. Example: >>> nsuri("p") "http://schemas.openxmlformats.org/presentationml/200
src/pptx/oxml/ns.py:109
↓ 1 callersFunctionopen_mock
Return a mock for the builtin `open()` method in `module_name`.
tests/unitutil/mock.py:111
↓ 1 callersFunctionoxml_to_encoded_bytes
( element: BaseOxmlElement, encoding: str = "utf-8", pretty_print: bool = False, standalone: b
src/pptx/opc/oxml.py:36
↓ 1 callersFunctionoxml_tostring
( elm: BaseOxmlElement, encoding: str | None = None, pretty_print: bool = False, standalone: b
src/pptx/opc/oxml.py:47
↓ 1 callersMethodparent_bldr
(self, choice_tag=None)
tests/oxml/test_xmlchemy.py:463
↓ 1 callersFunctionparse_args
Return arguments object formed by parsing the command line used to launch the program.
spec/gen_spec/gen_spec.py:351
↓ 1 callersFunctionprint_mso_auto_shape_type_constants
print symbolic constant definitions for msoAutoShapeType
spec/gen_spec/gen_spec.py:205
↓ 1 callersFunctionprint_mso_auto_shape_type_enum
print symbolic constant definitions for msoAutoShapeType
spec/gen_spec/gen_spec.py:212
↓ 1 callersFunctionprint_mso_auto_shape_type_spec
print spec dictionary for msoAutoShapeType
spec/gen_spec/gen_spec.py:219
← previousnext →501–600 of 5,025, ranked by callers