a
    b                     @   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                   @   sB   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   m/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/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 )
WorksheetPropertiesZsheetPrTr	   )expected_typer
   )tabColorr   r   Nc                 C   sr   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	|du rTt
ddd| _n|| _|du rht }|| _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   Z__elements__r   r   r   r   r   r   ,   s6   









            r   N)__doc__Z!openpyxl.descriptors.serialisabler   Zopenpyxl.descriptorsr   r   r   Zopenpyxl.styles.colorsr   r   r   r   r   r   r   r   <module>   s   