o
    g                     @   s   d dl mZ d dlmZ d dlmZ d dl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)
NestedText)	XPROPS_NS)__version__c                   @      e Zd Zd ZZdS )
DigSigBlob N__name__
__module____qualname____elements__	__attrs__r	   r	   r	   U/var/www/html/api-tag/env/lib/python3.10/site-packages/openpyxl/packaging/extended.pyr          r   c                   @   r   )VectorLpstrr	   Nr
   r	   r	   r	   r   r      r   r   c                   @   r   )VectorVariantr	   Nr
   r	   r	   r	   r   r      r   r   c                       s  e Zd ZdZdZeeddZeeddZeeddZ	ee
ddZee
ddZee
ddZeeddZee
ddZee
ddZee
ddZee
ddZee
ddZee
ddZee
ddZeeddZeeddZeeddZeeddZee
ddZeeddZeeddZ eeddZ!eeddZ"ee#ddZ$eeddZ%eeddZ&ee
ddZ'dZ(																											dddZ) fd	d
Z*  Z+S )ExtendedPropertiesz
    See 22.2

    Most of this is irrelevant but Excel is very picky about the version number

    It uses XX.YYYY (Version.Build) and expects everyone else to

    We provide Major.Minor and the full version in the application name
    
PropertiesT)expected_type
allow_none)Application
AppVersionDocSecurity	ScaleCropLinksUpToDate	SharedDocHyperlinksChangedNc                 C   s   || _ || _|| _|| _|| _|| _|| _|| _|	| _|
| _	|| _
|| _|| _|| _|| _d | _d | _|| _|| _|| _|| _d | _|| _d | _dt | _dtdd d | _|| _d S )Nz&Microsoft Excel Compatible / Openpyxl .)TemplateManagerCompanyPagesWords
CharactersPresentationFormatLines
ParagraphsSlidesNotes	TotalTimeHiddenSlidesMMClipsr   HeadingPairsTitlesOfPartsr   CharactersWithSpacesr   HyperlinkBaseHLinksr   DigSigr   r   joinsplitr   r   )selfr!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r   r/   r0   r   r1   r   r2   r3   r   r4   r   r   r   r	   r	   r   __init__L   s6   
zExtendedProperties.__init__c                    s   t   }|dt |S )Nxmlns)superto_treesetr   )r7   tree	__class__r	   r   r;      s   
zExtendedProperties.to_tree)NNNNNNNNNNNNNNNNNNNNNNNNNNN),r   r   r   __doc__tagnamer   strr!   r"   r#   intr$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   boolr   r   r   r/   r   r0   r   r1   r   r2   r3   r   r   r4   r   r   r   r   r8   r;   __classcell__r	   r	   r>   r   r      sx    

:r   N)!openpyxl.descriptors.serialisabler   openpyxl.descriptorsr   openpyxl.descriptors.nestedr   openpyxl.xml.constantsr   openpyxlr   r   r   r   r   r	   r	   r	   r   <module>   s   