
    li,                        d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZmZ ddlmZmZmZmZ erdd	l
mZ  G d
 de      Z G d de      Z G d de      Z G d de      Zy)zLlxml custom element classes for XML elements related to the Connector shape.    )annotations)TYPE_CHECKINGcast)	parse_xml)nsdecls)BaseShapeElement)ST_DrawingElementIdXsdUnsignedInt)BaseOxmlElementOneAndOnlyOneRequiredAttribute	ZeroOrOne)CT_ShapePropertiesc                  4    e Zd ZdZ ede      Z ede      Zy)CT_ConnectionzA `a:stCxn` or `a:endCxn` element.

    Specifies a connection between an end-point of a connector and a shape connection point.
    ididxN)	__name__
__module____qualname____doc__r   r	   r   r
   r        X/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/pptx/oxml/shapes/connector.pyr   r      s"    
 
4!4	5B
E>
2Cr   r   c                  |    e Zd ZU dZdZ ed      Z ed      Zded<   [e		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d	d       Z
y)
CT_Connectorz(A line/connector shape `p:cxnSp` element)p:nvCxnSpPrp:spPrzp:stylezp:extLstr   r   r   spPrc
                    |rdnd|	rdndz   }
t        t        t        dt        dd       d| d| d	|
 d
| d| d| d| d| d            S )zCReturn a new `p:cxnSp` element tree configured as a base connector.z
 flipH="1" z
 flipV="1"z	<p:cxnSp apz#>
  <p:nvCxnSpPr>
    <p:cNvPr id="z" name="zM"/>
    <p:cNvCxnSpPr/>
    <p:nvPr/>
  </p:nvCxnSpPr>
  <p:spPr>
    <a:xfrmz>
      <a:off x="z" y="z"/>
      <a:ext cx="z" cy="z("/>
    </a:xfrm>
    <a:prstGeom prst="a  ">
      <a:avLst/>
    </a:prstGeom>
  </p:spPr>
  <p:style>
    <a:lnRef idx="2">
      <a:schemeClr val="accent1"/>
    </a:lnRef>
    <a:fillRef idx="0">
      <a:schemeClr val="accent1"/>
    </a:fillRef>
    <a:effectRef idx="1">
      <a:schemeClr val="accent1"/>
    </a:effectRef>
    <a:fontRef idx="minor">
      <a:schemeClr val="tx1"/>
    </a:fontRef>
  </p:style>
</p:cxnSp>)r   r   r   r   )clsid_nameprstxycxcyflipHflipVflips              r   	new_cxnSpzCT_Connector.new_cxnSp#   s     !&2%,RPGC-. /$$'5 7
 #V $##$#U1# .$$&4vbT 2))- /"
 "	
r   N)r%   intr&   strr'   r1   r(   r0   r)   r0   r*   r0   r+   r0   r,   boolr-   r2   returnr   )r   r   r   r   _tag_seqr   	nvCxnSpPrr   __annotations__classmethodr/   r   r   r   r   r      s    2?Hm,I,X6D
60
0
 0
 	0

 0
 0
 0
 0
 0
 0
 
0
 0
r   r   c                  @    e Zd ZdZ ed      Z ed      Z ed      Zy)CT_ConnectorNonVisualzs
    `p:nvCxnSpPr` element, container for the non-visual properties of
    a connector, such as name, id, etc.
    zp:cNvPrzp:cNvCxnSpPrzp:nvPrN)r   r   r   r   r   cNvPr
cNvCxnSpPrnvPrr   r   r   r9   r9   W   s'    
 )$E~.J"Dr   r9   c                  J    e Zd ZdZdZ ededd       Z ededd       Z[y)	CT_NonVisualConnectorPropertiesz
    `p:cNvCxnSpPr` element, container for the non-visual properties specific
    to a connector shape, such as connections and connector locking.
    )za:cxnSpLocksa:stCxna:endCxnza:extLstr?      N)
successorsr@      )r   r   r   r   r4   r   stCxnendCxnr   r   r   r>   r>   b   s6    
 CHiHQRL9Ezhqrl;Fr   r>   N)r   
__future__r   typingr   r   	pptx.oxmlr   pptx.oxml.nsr   pptx.oxml.shapes.sharedr   pptx.oxml.simpletypesr	   r
   pptx.oxml.xmlchemyr   r   r   r   r   r   r   r9   r>   r   r   r   <module>rM      sY    R " &    4 E [ [:3$ 39
# 9
x#O #	o 	r   