U
    rÎ·h�  ã                   @   sl   d dl mZ d dlmZmZmZ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 )é    )ÚSerialisable)ÚStringÚFloatÚIntegerÚBoolÚNoneSetÚSet)ÚGuidc                   @   sâ   e Zd ZdZedd�Zedd�Zeddg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d	g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ddd„Zd
S )ÚWorkbookPropertiesZ
workbookPrT©Ú
allow_noneÚallZplaceholders©ÚvaluesZuserSetÚneverÚalwaysNc                 C   sv   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	|| _
|| _|| _|| _|| _|| _|| _|| _|| _d S ©N)Údate1904ÚdateCompatibilityÚshowObjectsÚshowBorderUnselectedTablesÚfilterPrivacyÚpromptedSolutionsÚshowInkAnnotationÚ
backupFileÚsaveExternalLinkValuesÚupdateLinksÚcodeNameÚhidePivotFieldListÚshowPivotChartFilterÚallowRefreshQueryÚpublishItemsÚcheckCompatibilityÚautoCompressPicturesÚrefreshAllConnectionsÚdefaultThemeVersion)Úselfr   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   © r'   ú@/tmp/pip-unpacked-wheel-49e_hfpc/openpyxl/workbook/properties.pyÚ__init__(   s&    zWorkbookProperties.__init__)NNNNNNNNNNNNNNNNNNN)Ú__name__Ú
__module__Ú__qualname__Útagnamer   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r   r%   r)   r'   r'   r'   r(   r
      sP   
















                   ír
   c                   @   s¢   e Zd ZdZeƒ Zedddgd�Zedd�Z	edd	g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ddd„ZdS )ÚCalcPropertiesZcalcPrZmanualÚautoZautoNoTabler   Tr   ÚA1ZR1C1égæ Nc                 C   sR   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	|| _
|| _|| _d S r   )ÚcalcIdÚcalcModeÚfullCalcOnLoadÚrefModeÚiterateÚiterateCountÚiterateDeltaÚfullPrecisionÚcalcCompletedÚ
calcOnSaveÚconcurrentCalcÚconcurrentManualCountÚforceFullCalc)r&   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r'   r'   r(   r)   d   s    zCalcProperties.__init__)r1   NTNNNNNNNNNN)r*   r+   r,   r-   r   r2   r   r3   r   r4   r5   r6   r7   r   r8   r9   r:   r;   r<   r=   r>   r)   r'   r'   r'   r(   r.   R   s8   









             ór.   c                   @   sL   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
ddd„ZdS )ÚFileVersionZfileVersionTr   Nc                 C   s"   || _ || _|| _|| _|| _d S r   )ÚappNameÚ
lastEditedÚlowestEditedÚrupBuildr   )r&   r@   rA   rB   rC   r   r'   r'   r(   r)   Œ   s
    zFileVersion.__init__)NNNNN)r*   r+   r,   r-   r   r@   rA   rB   rC   r	   r   r)   r'   r'   r'   r(   r?   ‚   s   




     ûr?   N)Z!openpyxl.descriptors.serialisabler   Zopenpyxl.descriptorsr   r   r   r   r   r   Zopenpyxl.descriptors.excelr	   r
   r.   r?   r'   r'   r'   r(   Ú<module>   s
    	B0