Ë
    l‰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y)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y)Ú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    úO/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/pptx/presentation.pyr   zPresentation.core_properties   s   € ð y‰y×(Ñ(Ð(ó    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‰y×%Ñ%Ð%r   c                ó:   — | j                   j                  |«       y)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   Úfiles     r   r   zPresentation.save-   s   € ð
 		‰	‰tÕr   c                óL   — | j                   j                  }|€y|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   ó$   € ð —‘×#Ñ#ˆØˆ=ØØx‰xˆr   c                óF   — | j                   j                  «       }||_        y ©N)r   Úget_or_add_sldSzr"   )r   Úheightr!   s      r   r$   zPresentation.slide_height?   s   € à—‘×.Ñ.Ó0ˆØˆr   c                ó4   — | 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Ñ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   c                óJ   — t        | j                  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™M×CÑCÓEÀtÓLÐLr   c                óL   — | j                   j                  }|€y|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   c                óF   — | j                   j                  «       }||_        y r'   )r   r(   r2   )r   Úwidthr!   s      r   r3   zPresentation.slide_widthg   s   € à—‘×.Ñ.Ó0ˆØˆr   c           	     óÒ   — | j                   j                  «       }| j                  j                  |D cg c]  }t	        d|«      j
                  ‘Œ c}«       t        || «      S c c}w )z;|Slides| object containing the slides in this presentation.r   )r   Úget_or_add_sldIdLstr   Úrename_slide_partsr   ÚrIdr	   )r   ÚsldIdLstÚsldIds      r   ÚslideszPresentation.slidesl   sT   € ð —=‘=×4Ñ4Ó6ˆØ	‰	×$Ñ$ÐQYÖ%ZÈ¤d¨<¸Ó&?×&CÓ&CÒ%ZÔ[Üh Ó%Ð%ùò &[s   ´A$N)Úreturnr   )r   zstr | IO[bytes])r=   zLength | None)r)   r   )r=   r   )r=   r   )r5   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__Úpropertyr   r   r   r$   Úsetterr,   r.   r
   r+   r3   r<   © r   r   r   r      sî   … ñð ÓØ
Óàñ)ó ð)ð ò&ó ð&óð òó ðð ×Ñòó ðð ò3ó ð3ð ñ%ó ð%ð òMó ðMð ñó ðð ×Ñòó ðð ñ&ó ñ&r   r   N)rA   Ú
__future__r   Útypingr   r   r   Úpptx.sharedr   Ú
pptx.slider   r	   Ú	pptx.utilr
   Úpptx.oxml.presentationr   r   Úpptx.parts.presentationr   r   r   r   r   rE   r   r   ú<module>rM      s8   ðÙ å "ç *Ñ *å (ß +Ý "áßBÝ8ß4Ý ô_&Ð#õ _&r   