o
    j                     @   sP   d dl mZ d dlmZmZmZmZmZ d dlm	Z	 dZ
dZG dd de	ZdS )	    )safe_string)BoolMinMaxMinAliasNoneSet)Serialisable)ZgeneralleftcenterrightfilljustifyZcenterContinuousdistributed)topr
   bottomr   r   c                   @   s   e Zd ZdZdZeedZeedZ	ee
ddZejd edZeddZed	ZeddZed
ZedddZedddZeddZeddZ				dddZdd ZdS )	Alignmentz$Alignment options for use in styles.	alignment)values      textRotationT)
allow_nonewrapTextshrinkToFitr   )minmaxi)r   Nc                 C   sj   || _ || _|| _|| _|| _|	| _|
d ur|
}|d ur!t|| _|d ur'|}|| _|d ur0|}|| _	d S )N)

horizontalverticalindentrelativeIndentjustifyLastLinereadingOrderintr   r   r   )selfr   r   r   r   r   r   r   r    r!   text_rotation	wrap_textshrink_to_fitZ	mergeCell r'   Z/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/openpyxl/styles/alignment.py__init__#   s    

zAlignment.__init__c                 c   s:    | j D ]}t| |}|d ur|dkr|t|fV  qd S )Nr   )	__attrs__getattrr   )r#   attrvaluer'   r'   r(   __iter__:   s   

zAlignment.__iter__)NNr   NNr   r   Nr   NNNN)__name__
__module____qualname____doc__tagnamer   horizontal_alignmentsr   vertical_aligmentsr   ranger   r   addr   r$   r   r   r%   r   r&   r   r   r   r    r   r!   r)   r.   r'   r'   r'   r(   r      s,    






r   N)Zopenpyxl.compatr   Zopenpyxl.descriptorsr   r   r   r   r   Z!openpyxl.descriptors.serialisabler   r4   r5   r   r'   r'   r'   r(   <module>   s   