o
    jqi(  ã                   @  sX  d Z ddlmZ ddlmZmZ ddlmZ erddlm	Z	 dZ
dg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 ddlmZmZ ddlmZ ddlmZ ddlm Z  ddl!m"Z" ddd„Z#e#e_#eej$ej%< eej$ej&< eej$ej'< eej$ej(< eej$ej)< eej$ej*< e ej$ej+< e"ej$ej,< [[[[[[[[[ ["[#dS )zœInitialize `docx` package.

Export the `Document` constructor function and establish the mapping of part-type to
the part-classe that implements that type.
é    )Úannotations)ÚTYPE_CHECKINGÚType)ÚDocument)ÚPartz1.2.0r   )ÚCONTENT_TYPE)ÚRELATIONSHIP_TYPE)ÚPartFactory)ÚCorePropertiesPart)ÚCommentsPart)ÚDocumentPart)Ú
FooterPartÚ
HeaderPart)Ú	ImagePart)ÚNumberingPart)ÚSettingsPart)Ú
StylesPartÚcontent_typeÚstrÚreltypeÚreturnúType[Part] | Nonec                 C  s   |t jkrtS d S )N)ÚRTZIMAGEr   )r   r   © r   úT/home/app/PaddleOCR-VL/.venv_paddleocr/lib/python3.10/site-packages/docx/__init__.pyÚpart_class_selector%   s   
r   N)r   r   r   r   r   r   )-Ú__doc__Ú
__future__r   Útypingr   r   Zdocx.apir   Zdocx.opc.partr   Ú__version__Ú__all__Zdocx.opc.constantsr   ZCTr   r   r	   Zdocx.opc.parts.corepropsr
   Zdocx.parts.commentsr   Zdocx.parts.documentr   Zdocx.parts.hdrftrr   r   Zdocx.parts.imager   Zdocx.parts.numberingr   Zdocx.parts.settingsr   Zdocx.parts.stylesr   r   Zpart_type_forZOPC_CORE_PROPERTIESZWML_COMMENTSZWML_DOCUMENT_MAINZ
WML_FOOTERZ
WML_HEADERZWML_NUMBERINGZWML_SETTINGSZ
WML_STYLESr   r   r   r   Ú<module>   sP    
