U
    ±:vh^	  ã                   @   s,  d Z ddlZddlZddlmZ ddlmZmZmZm	Z	 ddl
mZ ddlmZmZ ddlmZmZmZmZ dd	lmZmZ dd
lmZ ddlmZmZ ddlmZ zddl m!Z! e "d¡ W n e#k
rÒ   Y nX eZeZeej$e% _&dZ'eZ(ddddddddddddddddd d!d"gZ)d#d$„ e)D ƒZ*dS )%a\  
Root module.
Gives direct access to some classes defined in submodules:

* `fpdf.fpdf.FPDF`
* `fpdf.enums.Align`
* `fpdf.enums.TextMode`
* `fpdf.enums.XPos`
* `fpdf.enums.YPos`
* `fpdf.errors.FPDFException`
* `fpdf.fonts.FontFace`
* `fpdf.fonts.TextStyle`
* `fpdf.prefs.ViewerPreferences`
* `fpdf.template.Template`
* `fpdf.template.FlexTemplate`
é    Né   )Ú WarnOnDeprecatedModuleAttributes)ÚAlignÚTextModeÚXPosÚYPos)ÚFPDFException)ÚFontFaceÚ	TextStyle)ÚFPDFÚ
TitleStyleÚFPDF_FONT_DIRÚFPDF_VERSION)Ú	HTMLMixinÚ	HTML2FPDF)ÚViewerPreferences)ÚTemplateÚFlexTemplate)Úget_scale_factor)ÚttfontszÕYou have both PyFPDF & fpdf2 installed. Both packages cannot be installed at the same time as they share the same module namespace. To only keep fpdf2, run: pip uninstall --yes pypdf && pip install --upgrade fpdf2zLGPL 3.0Ú__version__Ú__license__r   r   r	   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   c                 C   s   i | ]}||  d ¡“qS )ZFPDF_)Ú
startswith)Ú.0Úname© r   ú1/tmp/pip-unpacked-wheel-dvf6lv8i/fpdf/__init__.pyÚ
<dictcomp>Z   s      r   )+Ú__doc__ÚwarningsÚsysÚdeprecationr   Úenumsr   r   r   r   Úerrorsr   Zfontsr	   r
   Zfpdfr   r   r   Z_FPDF_FONT_DIRr   Z_FPDF_VERSIONÚhtmlr   r   Zprefsr   Útemplater   r   Úutilr   Ú r   ÚwarnÚImportErrorÚmodulesÚ__name__Ú	__class__r   r   Ú__all__Z__pdoc__r   r   r   r   Ú<module>   sV   ÿè