Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad BinOpMod NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad BinOpMult NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BinOpDiv NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return IfExp CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad GeneratorExp TupleLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Continue Assign AttributeStore NameLoad attr NameLoad Return decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call NameLoad NameLoad NameLoad keyword Num Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Return AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Return AttributeLoad NameLoad attr Assign NameStore Str Raise Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Expr Call NameLoad NameLoad NameLoad keyword Num Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A 
Autoshape-related objects such as Shape and Adjustment.
 __future__ absolute_import print_function numbers Number warnings warn base BaseShape dml.fill FillFormat dml.line LineFormat enum.shapes MSO_AUTO_SHAPE_TYPE MSO_SHAPE_TYPE spec autoshape_types text.text TextFrame util lazyproperty Adjustment N/A object N/A N/A 
    An adjustment value for an autoshape.

    An adjustment value corresponds to the position of an adjustment handle on
    an auto shape. Adjustment handles are the small yellow diamond-shaped
    handles that appear on certain auto shapes and allow the outline of the
    shape to be adjusted. For example, a rounded rectangle has an adjustment
    handle that allows the radius of its corner rounding to be adjusted.

    Values are |float| and generally range from 0.0 to 1.0, although the value
    can be negative or greater than 1.0 in certain circumstances.
     __init__ N/A N/A self name def_val actual N/A None N/A N/A N/A N/A N/A super Adjustment self __init__ N/A N/A self name name N/A N/A self def_val def_val N/A N/A self actual actual N/A effective_value N/A N/A self N/A N/A N/A 
        Read/write |float| representing normalized adjustment value for this
        adjustment. Actual values are a large-ish integer expressed in shape
        coordinates, nominally between 0 and 100,000. The effective value is
        normalized to a corresponding value nominally between 0.0 and 1.0.
        Intuitively this represents the proportion of the width or height of
        the shape at which the adjustment value is located from its starting
        point. For simple shapes such as a rounded rectangle, this intuitive
        correspondence holds. For more complicated shapes and at more extreme
        shape proportions (e.g. width is much greater than height), the value
        can become negative or greater than 1.0.
         N/A raw_value N/A self actual N/A N/A raw_value None N/A N/A raw_value N/A self def_val N/A N/A N/A self _normalize raw_value N/A property effective_value N/A N/A self value N/A N/A N/A N/A N/A isinstance value Number N/A N/A tmpl adjustment value must be numeric, got '%s' N/A N/A ValueError N/A tmpl value N/A N/A self actual N/A N/A self _denormalize value N/A N/A effective_value setter _denormalize N/A N/A value N/A N/A N/A 
        Return integer corresponding to normalized *raw_value* on unit basis
        of 100,000. See Adjustment.normalize for additional details.
         N/A N/A int N/A value 100000.0 N/A staticmethod _normalize N/A N/A raw_value N/A N/A N/A 
        Return normalized value for *raw_value*. A normalized value is a
        |float| between 0.0 and 1.0 for nominal raw values between 0 and
        100,000. Raw values less than 0 and greater than 100,000 are valid
        and return values calculated on the same unit basis of 100,000.
         N/A N/A raw_value 100000.0 N/A staticmethod val N/A N/A self N/A N/A N/A 
        Denormalized effective value (expressed in shape coordinates),
        suitable for using in the XML.
         N/A N/A N/A N/A self actual None N/A self actual N/A self def_val N/A property N/A AdjustmentCollection N/A object N/A N/A 
    Sequence of |Adjustment| instances for an auto shape, each representing
    an available adjustment for a shape of its type. Supports ``len()`` and
    indexed access, e.g. ``shape.adjustments[1] = 0.15``.
     __init__ N/A N/A self prstGeom N/A N/A N/A N/A N/A N/A super AdjustmentCollection self __init__ N/A N/A self _adjustments_ N/A N/A self _initialized_adjustments prstGeom N/A N/A self _prstGeom prstGeom N/A __getitem__ N/A N/A self key N/A N/A N/A Provides indexed access, (e.g. 'adjustments[9]'). N/A N/A N/A N/A self _adjustments_ N/A key effective_value N/A __setitem__ N/A N/A self key value N/A N/A N/A 
        Provides item assignment via an indexed expression, e.g.
        ``adjustments[9] = 999.9``. Causes all adjustment values in
        collection to be written to the XML.
         N/A N/A N/A N/A self _adjustments_ N/A key effective_value value N/A N/A N/A self _rewrite_guides N/A _initialized_adjustments N/A N/A self prstGeom N/A N/A N/A 
        Return an initialized list of adjustment values based on the contents
        of *prstGeom*
         N/A N/A prstGeom None N/A N/A N/A N/A davs N/A N/A AutoShapeType default_adjustment_values N/A prstGeom prst N/A adjustments N/A N/A Adjustment name def_val N/A N/A name def_val davs N/A N/A N/A self _update_adjustments_with_actuals adjustments N/A prstGeom gd_lst N/A adjustments N/A _rewrite_guides N/A N/A self N/A N/A N/A 
        Write ``<a:gd>`` elements to the XML, one for each adjustment value.
        Any existing guide elements are overwritten.
         N/A guides N/A N/A N/A adj name N/A adj val N/A adj N/A self _adjustments_ N/A N/A N/A N/A self _prstGeom rewrite_guides guides N/A _update_adjustments_with_actuals N/A N/A adjustments guides N/A N/A N/A 
        Update |Adjustment| instances in *adjustments* with actual values
        held in *guides*, a list of ``<a:gd>`` elements. Guides with a name
        that does not match an adjustment object are skipped.
         N/A adjustments_by_name N/A dict N/A N/A N/A adj name adj N/A adj adjustments N/A gd guides N/A N/A name N/A gd name N/A actual N/A int N/A N/A gd fmla N/A 4 N/A N/A N/A adjustment N/A adjustments_by_name N/A name N/A N/A N/A KeyError N/A N/A N/A N/A adjustment actual actual N/A N/A staticmethod _adjustments N/A N/A self N/A N/A N/A 
        Sequence containing direct references to the |Adjustment| objects
        contained in collection.
         N/A N/A tuple N/A self _adjustments_ N/A property __len__ N/A N/A self N/A N/A N/A Implement built-in function len() N/A N/A len N/A self _adjustments_ N/A N/A AutoShapeType N/A object N/A N/A 
    Return an instance of |AutoShapeType| containing metadata for an auto
    shape of type identified by *autoshape_type_id*. Instances are cached, so
    no more than one instance for a particular auto shape type is in memory.

    Instances provide the following attributes:

    .. attribute:: autoshape_type_id

       Integer uniquely identifying this auto shape type. Corresponds to a
       value in ``pptx.constants.MSO`` like ``MSO_SHAPE.ROUNDED_RECTANGLE``.

    .. attribute:: basename

       Base part of shape name for auto shapes of this type, e.g. ``Rounded
       Rectangle`` becomes ``Rounded Rectangle 99`` when the distinguishing
       integer is added to the shape name.

    .. attribute:: prst

       String identifier for this auto shape type used in the ``<a:prstGeom>``
       element.

    .. attribute:: desc

       Informal string description of auto shape.

     N/A _instances N/A __new__ N/A N/A cls autoshape_type_id N/A N/A N/A 
        Only create new instance on first call for content_type. After that,
        use cached instance.
         N/A N/A autoshape_type_id N/A cls _instances N/A N/A inst N/A N/A N/A super AutoShapeType cls __new__ cls N/A N/A N/A cls _instances N/A autoshape_type_id inst N/A N/A N/A cls _instances N/A autoshape_type_id N/A __init__ N/A N/A self autoshape_type_id N/A N/A N/A Initialize attributes from constant values in pptx.spec N/A N/A hasattr self _loaded N/A N/A N/A N/A autoshape_type_id autoshape_types N/A N/A N/A KeyError N/A no autoshape type with id '%s' in pptx.spec.autoshape_types autoshape_type_id N/A autoshape_type N/A autoshape_types N/A autoshape_type_id N/A N/A self _autoshape_type_id autoshape_type_id N/A N/A self _basename N/A autoshape_type N/A basename N/A N/A self _loaded True N/A autoshape_type_id N/A N/A self N/A N/A N/A 
        MSO_AUTO_SHAPE_TYPE enumeration value for this auto shape type
         N/A N/A self _autoshape_type_id N/A property basename N/A N/A self N/A N/A N/A 
        Base of shape name (less the distinguishing integer) for this auto
        shape type
         N/A N/A self _basename N/A property default_adjustment_values N/A N/A cls prst N/A N/A N/A 
        Return sequence of name, value tuples representing the adjustment
        value defaults for the auto shape type identified by *prst*.
         N/A N/A N/A autoshape_types N/A prst N/A avLst N/A classmethod desc N/A N/A self N/A N/A N/A Informal description of this auto shape type N/A N/A self _desc N/A property id_from_prst N/A N/A cls prst N/A N/A N/A 
        Return auto shape id (e.g. ``MSO_SHAPE.RECTANGLE``) corresponding to
        preset geometry keyword *prst*.
         N/A N/A N/A MSO_AUTO_SHAPE_TYPE from_xml prst N/A classmethod prst N/A N/A self N/A N/A N/A 
        Preset geometry identifier string for this auto shape. Used in the
        ``prst`` attribute of ``<a:prstGeom>`` element to specify the geometry
        to be used in rendering the shape, for example ``'roundRect'``.
         N/A N/A N/A MSO_AUTO_SHAPE_TYPE to_xml N/A self _autoshape_type_id N/A property N/A Shape N/A BaseShape N/A N/A 
    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,
    slideMaster, notesPage, notesMaster, handoutMaster).
     __init__ N/A N/A self sp parent N/A N/A N/A N/A N/A N/A super Shape self __init__ sp parent N/A N/A self _sp sp N/A adjustments N/A N/A self N/A N/A N/A 
        Read-only reference to |AdjustmentCollection| instance for this
        shape
         N/A N/A AdjustmentCollection N/A N/A self _sp prstGeom N/A lazyproperty auto_shape_type N/A N/A self N/A N/A N/A 
        Enumeration value identifying the type of this auto shape, like
        ``MSO_SHAPE.ROUNDED_RECTANGLE``. Raises |ValueError| if this shape is
        not an auto shape.
         N/A N/A N/A N/A self _sp is_autoshape N/A N/A N/A ValueError shape is not an auto shape N/A N/A N/A self _sp prst N/A property fill N/A N/A self N/A N/A N/A 
        |FillFormat| instance for this shape, providing access to fill
        properties such as fill color.
         N/A N/A N/A FillFormat from_fill_parent N/A N/A self _sp spPr N/A lazyproperty get_or_add_ln N/A N/A self N/A N/A N/A 
        Return the ``<a:ln>`` element containing the line format properties
        XML for this shape.
         N/A N/A N/A N/A self _sp get_or_add_ln N/A has_text_frame N/A N/A self N/A N/A N/A 
        |True| if this shape can contain text. Always |True| for an
        AutoShape.
         N/A True N/A property has_textframe N/A N/A self N/A N/A N/A 
        Deprecated. Use :attr:`has_text_frame` property instead.
         N/A msg Shape.has_textframe property is deprecated. Use .has_text_frame instead. N/A N/A warn msg UserWarning stacklevel 2 N/A N/A self has_text_frame N/A property line N/A N/A self N/A N/A N/A 
        |LineFormat| instance for this shape, providing access to line
        properties such as line color.
         N/A N/A LineFormat self N/A lazyproperty ln N/A N/A self N/A N/A N/A 
        The ``<a:ln>`` element containing the line format properties such as
        line color and width. |None| if no ``<a:ln>`` element is present.
         N/A N/A N/A self _sp ln N/A property shape_type N/A N/A self N/A N/A N/A 
        Unique integer identifying the type of this shape, like
        ``MSO_SHAPE_TYPE.TEXT_BOX``.
         N/A N/A self is_placeholder N/A N/A N/A MSO_SHAPE_TYPE PLACEHOLDER N/A N/A N/A self _sp is_autoshape N/A N/A N/A MSO_SHAPE_TYPE AUTO_SHAPE N/A N/A N/A self _sp is_textbox N/A N/A N/A MSO_SHAPE_TYPE TEXT_BOX N/A msg Shape instance of unrecognized shape type N/A N/A NotImplementedError msg N/A property text N/A N/A self N/A N/A N/A 
        Read/write. All the text in this shape as a single string. A line
        feed character ('\\n') appears in the string for each paragraph and
        line break in the shape, except the last paragraph. A shape
        containing a single paragraph with no line breaks will produce
        a string having no line feed characters. Assigning a string to this
        property replaces all text in the shape with a single paragraph
        containing the assigned text. The assigned value can be a 7-bit ASCII
        string, a UTF-8 encoded 8-bit string, or unicode. String values are
        converted to unicode assuming UTF-8 encoding. Each line feed
        character in an assigned string is translated into a line break
        within the single resulting paragraph.
         N/A N/A N/A self text_frame text N/A property text N/A N/A self text N/A N/A N/A N/A N/A self text_frame text text N/A N/A text setter text_frame N/A N/A self N/A N/A N/A 
        |TextFrame| instance for this shape, containing the text of the shape
        and providing access to text formatting properties.
         N/A txBody N/A N/A N/A self _element get_or_add_txBody N/A N/A TextFrame txBody self N/A property textframe N/A N/A self N/A N/A N/A 
        Deprecated. Use :attr:`text_frame` property instead.
         N/A msg Shape.textframe property is deprecated. Use .text_frame instead N/A N/A warn msg UserWarning stacklevel 2 N/A N/A self text_frame N/A property N/A