§
    hiâ  ã                  óª   — d Z ddlmZ ddlmZmZm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mZ ddlmZ dd	l	mZmZ dd
lmZ  G d„ de¦  «        ZdS )zMain presentation object.é    )Úannotations)ÚIOÚTYPE_CHECKINGÚcast)ÚPartElementProxy)ÚSlideMastersÚSlides)Úlazyproperty)ÚCT_PresentationÚ
CT_SlideId)ÚPresentationPart)ÚNotesMasterÚSlideLayouts)ÚLengthc                  ó,  — e Zd ZU dZded<   ded<   ed„ ¦   «         Zedd	„¦   «         Zdd„Zedd„¦   «         Z	e	j
        dd„¦   «         Z	ed d„¦   «         Zed„ ¦   «         Zed!d„¦   «         Zed„ ¦   «         Zej
        d"d„¦   «         Zed„ ¦   «         ZdS )#ÚPresentationz™PresentationML (PML) presentation.

    Not intended to be constructed directly. Use :func:`pptx.Presentation` to open or
    create a presentation.
    r   Ú_elementr   Úpartc                ó   — | j         j        S )zš|CoreProperties| instance for this presentation.

        Provides read/write access to the Dublin Core document properties for the presentation.
        )r   Úcore_properties©Úselfs    úi/var/www/development/aibuddy-work/election-extract/venv/lib/python3.11/site-packages/pptx/presentation.pyr   zPresentation.core_properties   s   € ð ŒyÔ(Ð(ó    Úreturnr   c                ó   — | j         j        S )zäInstance of |NotesMaster| for this presentation.

        If the presentation does not have a notes master, one is created from a default template
        and returned. The same single instance is returned on each call.
        )r   Únotes_masterr   s    r   r   zPresentation.notes_master$   s   € ð ŒyÔ%Ð%r   Úfileústr | IO[bytes]c                ó:   — | j                              |¦  «         dS )z„Writes this presentation to `file`.

        `file` can be either a file-path or a file-like object open for writing bytes.
        N)r   Úsave)r   r   s     r   r!   zPresentation.save-   s   € ð
 	Œ	ŠtÑÔÐÐÐr   úLength | Nonec                ó0   — | j         j        }|€dS |j        S )zHeight of slides in this presentation, in English Metric Units (EMU).

        Returns |None| if no slide width is defined. Read/write.
        N)r   ÚsldSzÚcy©r   r$   s     r   Úslide_heightzPresentation.slide_height4   ó   € ð ”Ô#ˆØˆ=Ø4ØŒxˆr   Úheightr   c                óF   — | j                              ¦   «         }||_        d S ©N)r   Úget_or_add_sldSzr%   )r   r)   r$   s      r   r'   zPresentation.slide_height?   s    € à”×.Ò.Ñ0Ô0ˆØˆŒˆˆr   r   c                ó&   — | j         d         j        S )aE  |SlideLayouts| collection belonging to the first |SlideMaster| of this presentation.

        A presentation can have more than one slide master and each master will have its own set
        of layouts. This property is a convenience for the common case where the presentation has
        only a single slide master.
        r   )Úslide_mastersÚslide_layoutsr   s    r   r/   zPresentation.slide_layoutsD   s   € ð Ô! !Ô$Ô2Ð2r   c                ó   — | j         d         S )zÑ
        First |SlideMaster| object belonging to this presentation. Typically,
        presentations have only a single slide master. This property provides
        simpler access in that common case.
        r   )r.   r   s    r   Úslide_masterzPresentation.slide_masterN   s   € ð Ô! !Ô$Ð$r   r   c                óP   — t          | j                             ¦   «         | ¦  «        S )zJ|SlideMasters| collection of slide-masters belonging to this presentation.)r   r   Úget_or_add_sldMasterIdLstr   s    r   r.   zPresentation.slide_mastersW   s"   € õ ˜DœM×CÒCÑEÔEÀtÑLÔLÐLr   c                ó0   — | j         j        }|€dS |j        S )z—
        Width of slides in this presentation, in English Metric Units (EMU).
        Returns |None| if no slide width is defined. Read/write.
        N)r   r$   Úcxr&   s     r   Úslide_widthzPresentation.slide_width\   r(   r   Úwidthc                óF   — | j                              ¦   «         }||_        d S r+   )r   r,   r5   )r   r7   r$   s      r   r6   zPresentation.slide_widthg   s    € à”×.Ò.Ñ0Ô0ˆØˆŒˆˆr   c                óœ   — | j                              ¦   «         }| j                             d„ |D ¦   «         ¦  «         t	          || ¦  «        S )z;|Slides| object containing the slides in this presentation.c                ó8   — g | ]}t          d |¦  «        j        ‘ŒS )r   )r   ÚrId)Ú.0ÚsldIds     r   ú
<listcomp>z'Presentation.slides.<locals>.<listcomp>p   s%   € Ð%ZÐ%ZÐ%ZÈ¥d¨<¸Ñ&?Ô&?Ô&CÐ%ZÐ%ZÐ%Zr   )r   Úget_or_add_sldIdLstr   Úrename_slide_partsr	   )r   ÚsldIdLsts     r   ÚslideszPresentation.slidesl   sM   € ð ”=×4Ò4Ñ6Ô6ˆØŒ	×$Ò$Ð%ZÐ%ZÐQYÐ%ZÑ%ZÔ%ZÑ[Ô[Ð[Ýh Ñ%Ô%Ð%r   N)r   r   )r   r   )r   r"   )r)   r   )r   r   )r   r   )r7   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__Úpropertyr   r   r!   r'   Úsetterr/   r1   r
   r.   r6   rB   © r   r   r   r      s„  € € € € € € ðð ð ÐÐÑØÐÐÑàð)ð )ñ „Xð)ð ð&ð &ð &ñ „Xð&ðð ð ð ð ðð ð ñ „Xðð Ôðð ð ñ Ôðð ð3ð 3ð 3ñ „Xð3ð ð%ð %ñ „Xð%ð ðMð Mð Mñ „\ðMð ðð ñ „Xðð Ôðð ð ñ Ôðð ð&ð &ñ „\ð&ð &ð &r   r   N)rF   Ú
__future__r   Útypingr   r   r   Úpptx.sharedr   Ú
pptx.slider   r	   Ú	pptx.utilr
   Úpptx.oxml.presentationr   r   Úpptx.parts.presentationr   r   r   r   r   rJ   r   r   ú<module>rR      s  ðØ Ð à "Ð "Ð "Ð "Ð "Ð "à *Ð *Ð *Ð *Ð *Ð *Ð *Ð *Ð *Ð *à (Ð (Ð (Ð (Ð (Ð (Ø +Ð +Ð +Ð +Ð +Ð +Ð +Ð +Ø "Ð "Ð "Ð "Ð "Ð "àð !ØBÐBÐBÐBÐBÐBÐBÐBØ8Ð8Ð8Ð8Ð8Ð8Ø4Ð4Ð4Ð4Ð4Ð4Ð4Ð4Ø Ð Ð Ð Ð Ð ð_&ð _&ð _&ð _&ð _&Ð#ñ _&ô _&ð _&ð _&ð _&r   