
    Mi                        S r SSKJr  SSKJrJrJr  SSKJr  SSK	J
r
Jr  SSKJr  \(       a  SSKJrJr  SSKJr  SS	K	JrJr  SS
KJr   " S S\5      rg)zMain presentation object.    )annotations)IOTYPE_CHECKINGcast)PartElementProxy)SlideMastersSlides)lazyproperty)CT_Presentation
CT_SlideId)PresentationPart)NotesMasterSlideLayouts)Lengthc                     \ rS rSr% SrS\S'   S\S'   \S 5       r\SS j5       rSS	 jr	\SS
 j5       r
\
R                  SS j5       r
\SS j5       r\S 5       r\SS j5       r\S 5       r\R                  SS j5       r\S 5       rSrg)Presentation   zPresentationML (PML) presentation.

Not intended to be constructed directly. Use :func:`pptx.Presentation` to open or
create a presentation.
r   _elementr   partc                .    U R                   R                  $ )z|CoreProperties| instance for this presentation.

Provides read/write access to the Dublin Core document properties for the presentation.
)r   core_propertiesselfs    k/var/www/eduai.edurigo.com/storigo/production/storigo_env/lib/python3.13/site-packages/pptx/presentation.pyr   Presentation.core_properties   s     yy(((    c                .    U R                   R                  $ )zInstance 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   Presentation.notes_master$   s     yy%%%r   c                :    U R                   R                  U5        g)ztWrites 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!   Presentation.save-   s    
 			tr   c                N    U R                   R                  nUc  gUR                  $ )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_heightPresentation.slide_height4   $     ##=xxr   c                D    U R                   R                  5       nXl        g N)r   get_or_add_sldSzr&   )r   heightr%   s      r   r(   r)   ?   s    ..0r   c                4    U R                   S   R                  $ )a%  |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   r1   Presentation.slide_layoutsD   s     !!!$222r   c                     U R                   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   )r0   r   s    r   slide_masterPresentation.slide_masterN   s     !!!$$r   c                J    [        U R                  R                  5       U 5      $ )zJ|SlideMasters| collection of slide-masters belonging to this presentation.)r   r   get_or_add_sldMasterIdLstr   s    r   r0   Presentation.slide_mastersW   s     DMMCCEtLLr   c                N    U R                   R                  nUc  gUR                  $ )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_widthPresentation.slide_width\   r*   r   c                D    U R                   R                  5       nXl        g r,   )r   r-   r:   )r   widthr%   s      r   r;   r<   g   s    ..0r   c           	         U R                   R                  5       nU R                  R                  U Vs/ s H  n[	        SU5      R
                  PM     sn5        [        X5      $ s  snf )z;|Slides| object containing the slides in this presentation.r   )r   get_or_add_sldIdLstr   rename_slide_partsr   rIdr	   )r   sldIdLstsldIds      r   slidesPresentation.slidesl   sX     ==446		$$QY%ZQYd<&?&C&CQY%Z[h%% &[s    A& N)returnr   )r"   zstr | IO[bytes])rH   zLength | None)r.   r   )rH   r   )rH   r   )r>   r   )__name__
__module____qualname____firstlineno____doc____annotations__propertyr   r   r!   r(   setterr1   r4   r
   r0   r;   rE   __static_attributes__rG   r   r   r   r      s     
) ) & &     3 3 % % M M     & &r   r   N)rM   
__future__r   typingr   r   r   pptx.sharedr   
pptx.slider   r	   	pptx.utilr
   pptx.oxml.presentationr   r   pptx.parts.presentationr   r   r   r   r   rG   r   r   <module>rY      s8     " * * ( + "B84 _&# _&r   