U
    d	                     @   st   d dl mZ d dl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G d
d deZdS )    )Serialisable)TypedStringBoolSequence)	CellRangec                   @   s$   e Zd ZdZeddZdddZdS )	Extension	extensionT
allow_noneNc                 C   s
   || _ d S N)uri)selfr    r   =/tmp/pip-unpacked-wheel-rwywncvq/openpyxl/worksheet/errors.py__init__   s    zExtension.__init__)N)__name__
__module____qualname__tagnamer   r   r   r   r   r   r   r      s   
 r   c                   @   s(   e Zd ZdZeedZdZdddZdS )	ExtensionListZextensionListexpected_typeextr   c                 C   s
   || _ d S r   r   )r   r   r   r   r   r   !   s    zExtensionList.__init__N)r   )	r   r   r   r   r   r   r   __elements__r   r   r   r   r   r      s
   
 r   c                
   @   sx   e Zd ZdZe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 )	IgnoredErrorignoredErrorTr
   NFc                 C   s@   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	d S r   )
sqref	evalErrortwoDigitTextYearnumberStoredAsTextformulaformulaRangeunlockedFormulaemptyCellReferencelistDataValidationcalculatedColumn)r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r   r   r   r   6   s    zIgnoredError.__init__)
NFFFFFFFFF)r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r   r   r   r   r   r   '   s,   








          r   c                   @   s4   e Zd ZdZeedZeeddZ	dZ
d
dd	ZdS )IgnoredErrorsZignoredErrorsr   T)r   r   r   extLstr   Nc                 C   s   || _ || _d S r   r)   )r   r   r*   r   r   r   r   W   s    zIgnoredErrors.__init__)r   N)r   r   r   r   r   r   r   r   r   r*   r   r   r   r   r   r   r(   N   s   
  r(   N)Z!openpyxl.descriptors.serialisabler   Zopenpyxl.descriptorsr   r   r   r   Zopenpyxl.descriptors.excelr   r   r   r   r(   r   r   r   r   <module>   s   '