U
    cqeð   ã                   @   s   d Z G dd„ dƒZdS )z!Enumerations used in python-docx.c                   @   s$   e Zd Zedd„ ƒZedd„ ƒZdS )ÚEnumerationc                 C   s
   | j | S ©N)Z_xml_to_idx)ÚclsZxml_val© r   ú6/tmp/pip-unpacked-wheel-gx5hpqp3/docx/enum/__init__.pyÚfrom_xml   s    zEnumeration.from_xmlc                 C   s
   | j | S r   )Z_idx_to_xml)r   Zenum_valr   r   r   Úto_xml	   s    zEnumeration.to_xmlN)Ú__name__Ú
__module__Ú__qualname__Úclassmethodr   r   r   r   r   r   r      s   
r   N)Ú__doc__r   r   r   r   r   Ú<module>   s   