Ë
    7ýiï  ã                  óŠ   — d Z ddlmZ ddlZ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 dd	lmZ erdd
lmZ  G d„ de«      Zy)zLCore properties part, corresponds to ``/docProps/core.xml`` part in package.é    )ÚannotationsN)ÚTYPE_CHECKING)ÚCONTENT_TYPE)ÚCoreProperties)ÚPackURI)ÚXmlPart)ÚCT_CoreProperties)Ú
OpcPackagec                  óD   — e Zd ZdZedd„«       Zed„ «       Zedd„«       Zy)ÚCorePropertiesPartzÄCorresponds to part named ``/docProps/core.xml``.

    The "core" is short for "Dublin Core" and contains document metadata relatively common across
    documents of all types, not just DOCX.
    c                óâ   — | j                  |«      }|j                  }d|_        d|_        d|_        t
        j                  j                  t
        j                  j                  «      |_
        |S )ziReturn a new |CorePropertiesPart| object initialized with default values for
        its base properties.zWord Documentzpython-docxé   )Ú_newÚcore_propertiesÚtitleÚlast_modified_byÚrevisionÚdtÚdatetimeÚnowÚtimezoneÚutcÚmodified)ÚclsÚpackageÚcore_properties_partr   s       úO/var/www/apihucms/venv/lib/python3.12/site-packages/docx/opc/parts/coreprops.pyÚdefaultzCorePropertiesPart.default   sY   € ð  #Ÿx™x¨Ó0ÐØ.×>Ñ>ˆØ /ˆÔØ+8ˆÔ(Ø#$ˆÔ Ü#%§;¡;§?¡?´2·;±;·?±?Ó#CˆÔ Ø#Ð#ó    c                ó,   — t        | j                  «      S )z|A |CoreProperties| object providing read/write access to the core properties
        contained in this core properties part.)r   Úelement)Úselfs    r   r   z"CorePropertiesPart.core_properties%   s   € ô ˜dŸl™lÓ+Ð+r   c                ó|   — t        d«      }t        j                  }t        j                  «       }t        ||||«      S )Nz/docProps/core.xml)r   ÚCTÚOPC_CORE_PROPERTIESr	   Únewr   )r   r   ÚpartnameÚcontent_typeÚcorePropertiess        r   r   zCorePropertiesPart._new+   s7   € äÐ/Ó0ˆÜ×-Ñ-ˆÜ*×.Ñ.Ó0ˆÜ! (¨L¸.È'ÓRÐRr   N)r   r
   )r   r
   Úreturnr   )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úclassmethodr   Úpropertyr   r   © r   r   r   r      sE   „ ñð ò	$ó ð	$ð ñ,ó ð,ð
 òSó ñSr   r   )r.   Ú
__future__r   r   r   Útypingr   Údocx.opc.constantsr   r$   Údocx.opc.corepropsr   Údocx.opc.packurir   Údocx.opc.partr   Údocx.oxml.corepropsr	   Údocx.opc.packager
   r   r1   r   r   ú<module>r:      s4   ðÙ Rå "ã Ý  å 1Ý -Ý $Ý !Ý 1áÝ+ôS˜õ Sr   