
    h                        S r SSKJr  SSKJrJr  SSKJrJrJ	r	  SSK
Jr  SSKJrJrJr  \(       a  SSKJr   " S S	\5      rg
)z<Custom element classes related to hyperlinks (CT_Hyperlink).    )annotations)TYPE_CHECKINGList)ST_OnOff	ST_String	XsdString)CT_R)BaseOxmlElementOptionalAttribute
ZeroOrMore)CT_LastRenderedPageBreakc                      \ rS rSr% SrS\S'   \" S\5      rS\S'   \" S\	5      r
S\S	'   \" S
\SS9rS\S'   \" S5      r\SS j5       r\SS j5       rSrg)CT_Hyperlink   zI`<w:hyperlink>` element, containing the text and address for a hyperlink.z
List[CT_R]r_lstzr:idz
str | NonerIdzw:anchoranchorz	w:historyT)defaultboolhistoryw:rc                $    U R                  S5      $ )z<All `w:lastRenderedPageBreak` descendants of this hyperlink.z./w:r/w:lastRenderedPageBreak)xpathselfs    J/var/www/html/env/lib/python3.13/site-packages/docx/oxml/text/hyperlink.pylastRenderedPageBreaks#CT_Hyperlink.lastRenderedPageBreaks"   s     zz9::    c                P    SR                  S U R                  S5       5       5      $ )zpThe textual content of this hyperlink.

`CT_Hyperlink` stores the hyperlink-text as one or more `w:r` children.
 c              3  8   #    U  H  oR                   v   M     g 7f)N)text).0rs     r   	<genexpr>$CT_Hyperlink.text.<locals>.<genexpr>-   s     9'8!vv'8s   r   )joinr   r   s    r   r#   CT_Hyperlink.text'   s"     ww9tzz%'8999r    N)returnzList[CT_LastRenderedPageBreak])r+   str)__name__
__module____qualname____firstlineno____doc____annotations__r   r   r   r   r   r   r   r   r%   propertyr   r#   __static_attributes__r*   r   r   r   r      s~    S'	:C:*IFJ  &XtGT  	5A; ; : :r   r   N)r1   
__future__r   typingr   r   docx.oxml.simpletypesr   r   r   docx.oxml.text.runr	   docx.oxml.xmlchemyr
   r   r   docx.oxml.text.pagebreakr   r   r*   r   r   <module>r;      s5    B " & @ @ #  A:? :r   