Ë
    \RðiA  ã                  ó¢   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
mZmZ ddlmZmZmZ  G d„ d	e«      Z G d
„ de«      Z G d„ de«      Zy)z6Objects shared by modules in the docx.oxml subpackage.é    )Úannotations)Úcast)Úqn)ÚOxmlElement)ÚST_DecimalNumberÚST_OnOffÚ	ST_String)ÚBaseOxmlElementÚOptionalAttributeÚRequiredAttributec                  ó@   — e Zd ZU dZ ede«      Zded<   edd„«       Z	y)ÚCT_DecimalNumberz°Used for ``<w:numId>``, ``<w:ilvl>``, ``<w:abstractNumId>`` and several others,
    containing a text representation of a decimal number (e.g. 42) in its ``val``
    attribute.úw:valÚintÚvalc                óD   — t        |t        d«      t        |«      i¬«      S )zqReturn a new ``CT_DecimalNumber`` element having tagname `nsptagname` and
        ``val`` attribute set to `val`.r   )Úattrs)r   r   Ústr)ÚclsÚ
nsptagnamer   s      úK/var/www/html/Extract/venv/lib/python3.12/site-packages/docx/oxml/shared.pyÚnewzCT_DecimalNumber.new   s   € ô ˜:¬b°«k¼3¸s»8Ð-DÔEÐEó    N)r   r   r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__Úclassmethodr   © r   r   r   r      s/   … ññ ! Ð*:Ó;€CˆÓ;àòFó ñFr   r   c                  ó2   — e Zd ZU dZ eded¬«      Zded<   y)ÚCT_OnOffzÒUsed for `w:b`, `w:i` elements and others.

    Contains a bool-ish string in its `val` attribute, xsd:boolean plus "on" and
    "off". Defaults to `True`, so `<w:b>` for example means "bold is turned on".
    r   T)ÚdefaultÚboolr   N)r   r   r   r   r   r   r   r   r    r   r   r"   r"      s!   … ññ "Ø� 4ô€Cˆô r   r"   c                  ó@   — e Zd ZU dZ ede«      Zded<   edd„«       Z	y)Ú	CT_Stringz†Used for `w:pStyle` and `w:tblStyle` elements and others.

    In those cases, it containing a style name in its `val` attribute.
    r   r   r   c                óF   — t        t        t        |«      «      }||_        |S )zVA new `CT_String`` element with tagname `nsptagname` and `val` attribute set to `val`.)r   r&   r   r   )r   r   r   Úelms       r   r   zCT_String.new/   s!   € ô ”9œk¨*Ó5Ó6ˆØˆŒØˆ
r   N)r   r   r   r   )
r   r   r   r   r   r	   r   r   r   r   r    r   r   r&   r&   '   s,   … ññ
 ! ¨)Ó4€CˆÓ4àòó ñr   r&   N)r   Ú
__future__r   Útypingr   Údocx.oxml.nsr   Údocx.oxml.parserr   Údocx.oxml.simpletypesr   r   r	   Údocx.oxml.xmlchemyr
   r   r   r   r"   r&   r    r   r   ú<module>r/      sF   ðÙ <å "å å Ý (ß GÑ Gß TÑ TôF�ô Fô	ˆô 	ô�õ r   