o
    g                     @   sd   d Z ddlmZ ddlmZmZmZ ddlmZ G dd deZ	G dd deZ
G d	d
 d
eZdS )zWorksheet Properties    )Serialisable)StringBoolTyped)ColorDescriptorc                   @   sJ   e Zd ZdZeddZeddZeddZeddZ				dddZ	dS )Outline	outlinePrT
allow_noneNc                 C   s   || _ || _|| _|| _d S N)applyStylessummaryBelowsummaryRightshowOutlineSymbols)selfr   r   r   r    r   W/var/www/html/api-tag/env/lib/python3.10/site-packages/openpyxl/worksheet/properties.py__init__   s   
zOutline.__init__)NNNN)
__name__
__module____qualname__tagnamer   r   r   r   r   r   r   r   r   r   r   
   s    



r   c                   @   s.   e Zd ZdZeddZeddZdddZdS )PageSetupPropertiespageSetUpPrTr	   Nc                 C   s   || _ || _d S r   )autoPageBreaks	fitToPage)r   r   r   r   r   r   r   '   s   
zPageSetupProperties.__init__)NN)r   r   r   r   r   r   r   r   r   r   r   r   r       s
    

r   c                   @   s   e Zd ZdZeddZeddZeddZeddZ	eddZ
eddZeddZeddZeddZeddZeeddZeeddZdZ												d	ddZdS )
WorksheetPropertiessheetPrTr	   )expected_typer
   )tabColorr   r   Nc                 C   st   || _ || _|| _|| _|| _|| _|| _|| _|	| _	 |
| _	|du r+t
ddd| _n|| _|du r5t }|| _dS )z Attributes NT)r   r   )codeName!enableFormatConditionsCalculation
filterMode	publishedsyncHorizontalsyncRefsyncVerticaltransitionEvaluationtransitionEntryr   r   r   r   r   )r   r    r!   r"   r#   r$   r%   r&   r'   r(   r   r   r   r   r   r   r   @   s"   
zWorksheetProperties.__init__)NNNNNNNNNNNN)r   r   r   r   r   r    r   r!   r"   r#   r$   r%   r&   r'   r(   r   r   r   r   r   r   r   __elements__r   r   r   r   r   r   ,   s8    









r   N)__doc__!openpyxl.descriptors.serialisabler   openpyxl.descriptorsr   r   r   openpyxl.styles.colorsr   r   r   r   r   r   r   r   <module>   s   