§
    £”jA  ã                  ó¶   — 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dS )z6Objects shared by modules in the docx.oxml subpackage.é    )Úannotations)Úcast)Úqn)ÚOxmlElement)ÚST_DecimalNumberÚST_OnOffÚ	ST_String)ÚBaseOxmlElementÚOptionalAttributeÚRequiredAttributec                  óN   — e Zd ZU dZ ede¦  «        Zded<   ed	d„¦   «         Z	dS )
Ú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ÚvalÚ
nsptagnameÚstrc                ó\   — 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   r   )Úclsr   r   s      ú_/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/docx/oxml/shared.pyÚnewzCT_DecimalNumber.new   s(   € õ ˜:­b°©k¬k½3¸s¹8¼8Ð-DÐEÑEÔEÐEó    N)r   r   r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__annotations__Úclassmethodr   © r   r   r   r      se   € € € € € € ðð ð !Ð  Ð*:Ñ;Ô;€CÐ;Ð;Ð;Ñ;àðFð Fð Fñ „[ðFð Fð Fr   r   c                  ó:   — e Zd ZU dZ eded¬¦  «        Zded<   dS )Ú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"      sT   € € € € € € ðð ð "Ð!Ø� 4ðñ ô €Cð ð ð ñ ð ð r   r"   c                  óN   — e Zd ZU dZ ede¦  «        Zded<   edd„¦   «         Z	dS )	Ú	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   r   c                óX   — 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Ô5Ñ6Ô6ˆØˆŒØˆ
r   N)r   r   r   r   )
r   r   r   r   r   r	   r   r   r   r   r    r   r   r&   r&   '   s^   € € € € € € ðð ð
 !Ð  ¨)Ñ4Ô4€CÐ4Ð4Ð4Ñ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/      s  ðØ <Ð <à "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð Ø (Ð (Ð (Ð (Ð (Ð (Ø GÐ GÐ GÐ GÐ GÐ GÐ GÐ GÐ GÐ GØ TÐ TÐ TÐ TÐ TÐ TÐ TÐ TÐ TÐ TðFð Fð Fð Fð F�ñ Fô Fð Fð	ð 	ð 	ð 	ð 	ˆñ 	ô 	ð 	ðð ð ð ð �ñ ô ð ð ð r   