B
    ÔùÓ`�  ã               @   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-zhp1095k/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
      sN   
















                  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autoNoTable)r   T)r   ÚA1ZR1C1égæ Nc             C   sR   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	|| _
|| _|| _d S )N)ÚcalcIdÚcalcModeÚfullCalcOnLoadÚrefModeÚiterateÚiterateCountÚiterateDeltaÚfullPrecisionÚcalcCompletedÚ
calcOnSaveÚconcurrentCalcÚconcurrentManualCountÚforceFullCalc)r#   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r$   r$   r%   r&   d   s    zCalcProperties.__init__)r.   NTNNNNNNNNNN)r'   r(   r)   r*   r   r/   r   r0   r   r1   r2   r3   r4   r   r5   r6   r7   r8   r9   r:   r;   r&   r$   r$   r$   r%   r+   R   s6   









            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fileVersionT)r   Nc             C   s"   || _ || _|| _|| _|| _d S )N)ÚappNameÚ
lastEditedÚlowestEditedÚrupBuildr   )r#   r=   r>   r?   r@   r   r$   r$   r%   r&   Œ   s
    zFileVersion.__init__)NNNNN)r'   r(   r)   r*   r   r=   r>   r?   r@   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