ó
    ˆ*£h(  ã                  ól   • S r SSKJr  SSKJr  SSKJr  SSKJrJ	r	J
r
   " S S\5      r " S S	\5      rg
)z<lxml custom element classes for legend-related XML elements.é    )Úannotations)ÚXL_LEGEND_POSITION)ÚCT_TextBody)ÚBaseOxmlElementÚOptionalAttributeÚ	ZeroOrOnec                  ó¸   • \ rS rSrSrSr\" S\SS S9r\" S\S	S S9r\" S
\SS S9r	\" S\SS S9r
C\S 5       r\S 5       r\R                  S 5       rS rSrg)Ú	CT_Legendé
   z%
``<c:legend>`` custom element class
)úc:legendPoszc:legendEntryúc:layoutú	c:overlayzc:spPrúc:txPrzc:extLstr   é   N)Ú
successorsr   é   r   é   r   é   c                ó>   • U R                  5       nUR                  nU$ )zh
`./c:txPr/a:p/a:pPr/a:defRPr` great-great-grandchild element, added
with its ancestors if not present.
)Úget_or_add_txPrÚdefRPr)ÚselfÚtxPrr   s      ÚS/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pptx/oxml/chart/legend.pyr   ÚCT_Legend.defRPr   s    € ð ×#Ñ#Ó%ˆØ—‘ˆØˆó    c                ó:   • U R                   nUc  gUR                  $ )z•
The float value in ./c:layout/c:manualLayout/c:x when
./c:layout/c:manualLayout/c:xMode@val == "factor". 0.0 if that
XPath expression has no match.
g        )ÚlayoutÚhorz_offset)r   r   s     r   r   ÚCT_Legend.horz_offset(   s!   € ð —‘ˆØ‰>ØØ×!Ñ!Ð!r   c                ó0   • U R                  5       nXl        g)zª
Set the value of ./c:layout/c:manualLayout/c:x@val to *offset* and
./c:layout/c:manualLayout/c:xMode@val to "factor". Remove
./c:layout/c:manualLayout if *offset* == 0.
N)Úget_or_add_layoutr   )r   Úoffsetr   s      r   r   r    4   s   € ð ×'Ñ'Ó)ˆØ#Õr   c                ó,   • [         R                  " 5       $ )N)r   Únew_txPr)r   s    r   Ú	_new_txPrÚCT_Legend._new_txPr>   s   € Ü×#Ò#Ó%Ð%r   © )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú_tag_seqr   Ú	legendPosr   Úoverlayr   Úpropertyr   r   Úsetterr&   Ú__static_attributes__r(   r   r   r
   r
   
   s    † ñð€Hñ ˜-°H¸Q¸R°LÑA€IÙ�z¨h°q°r¨lÑ;€FÙ˜°¸¸°Ñ=€GÙ�X¨(°1°2¨,Ñ7€DØàñó ðð ñ	"ó ð	"ð ×Ññ$ó ð$õ&r   r
   c                  ó<   • \ rS rSrSr\" S\\R                  S9rSr	g)ÚCT_LegendPoséB   zl
``<c:legendPos>`` element specifying position of legend with respect to
chart as a member of ST_LegendPos.
Úval)Údefaultr(   N)
r)   r*   r+   r,   r-   r   r   ÚRIGHTr7   r3   r(   r   r   r5   r5   B   s   † ññ
 ˜EÐ#5Ð?Q×?WÑ?WÑ
XƒCr   r5   N)r-   Ú
__future__r   Úpptx.enum.chartr   Úpptx.oxml.textr   Úpptx.oxml.xmlchemyr   r   r   r
   r5   r(   r   r   Ú<module>r>      s2   ðÙ Bå "å .Ý &ß LÑ Lô5&�ô 5&ôpY�?õ Yr   