
    ,h
                         d Z ddlmZmZmZmZ ddlmZmZm	Z	 ddl
mZmZmZmZ  G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Zy)z?
Custom element classes for presentation-related XML elements.
    )absolute_importdivisionprint_functionunicode_literals   )
ST_SlideIdST_SlideSizeCoordinate	XsdString)BaseOxmlElementRequiredAttribute	ZeroOrOne
ZeroOrMorec                   L    e Zd ZdZ edd      Z edd      Z edd      Zy	)
CT_Presentationzn
    ``<p:presentation>`` element, root of the Presentation part stored as
    ``/ppt/presentation.xml``.
    zp:sldMasterIdLst)zp:notesMasterIdLstzp:handoutMasterIdLst
p:sldIdLstp:sldSz	p:notesSz)
successorsr   )r   r   r   )r   N)__name__
__module____qualname____doc__r   sldMasterIdLstsldIdLstsldSz     X/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pptx/oxml/presentation.pyr   r      s6    
 
	N 2JKHiN;Er   r   c                   4    e Zd ZdZ ede      Z ede      Zy)
CT_SlideIdz
    ``<p:sldId>`` element, direct child of <p:sldIdLst> that contains an rId
    reference to a slide in the presentation.
    idr:idN)	r   r   r   r   r   r   r!   r
   rIdr   r   r   r    r    !   s!    
 
4	,B
FI
.Cr   r    c                   6    e Zd ZdZ ed      Zd Zed        Zy)CT_SlideIdListz
    ``<p:sldIdLst>`` element, direct child of <p:presentation> that contains
    a list of the slide parts in the presentation.
    zp:sldIdc                 <    | j                  | j                  |      S )z
        Return a reference to a newly created <p:sldId> child element having
        its r:id attribute set to *rId*.
        )r!   r#   )
_add_sldId_next_id)selfr#   s     r   	add_sldIdzCT_SlideIdList.add_sldId3   s    
 $--S99r   c           	          | j                  d      }t        dg|D cg c]  }t        |       c}z         dz   S c c}w )z
        Return the next available slide ID as an int. Valid slide IDs start
        at 256. The next integer value greater than the max value in use is
        chosen, which minimizes that chance of reusing the id of a deleted
        slide.
        z./p:sldId/@id   r   )xpathmaxint)r)   
id_str_lstid_strs      r   r(   zCT_SlideIdList._next_id:   s;     ZZ0
C5jAFCKAABQFFAs   ;
N)	r   r   r   r   r   sldIdr*   propertyr(   r   r   r   r%   r%   +   s.    
 y!E: G Gr   r%   c                        e Zd ZdZ ed      Zy)CT_SlideMasterIdListz
    ``<p:sldMasterIdLst>`` element, child of ``<p:presentation>`` containing
    references to the slide masters that belong to the presentation.
    zp:sldMasterIdN)r   r   r   r   r   sldMasterIdr   r   r   r5   r5   F   s    
 _-Kr   r5   c                   "    e Zd ZdZ ede      Zy)CT_SlideMasterIdListEntryzt
    ``<p:sldMasterId>`` element, child of ``<p:sldMasterIdLst>`` containing
    a reference to a slide master.
    r"   N)r   r   r   r   r   r
   r#   r   r   r   r8   r8   O   s    
 FI
.Cr   r8   c                   4    e Zd ZdZ ede      Z ede      Zy)CT_SlideSizez
    ``<p:sldSz>`` element, direct child of <p:presentation> that contains the
    width and height of slides in the presentation.
    cxcyN)r   r   r   r   r   r	   r;   r<   r   r   r   r:   r:   X   s#    
 
4!7	8B	4!7	8Br   r:   N)r   
__future__r   r   r   r   simpletypesr   r	   r
   xmlchemyr   r   r   r   r   r    r%   r5   r8   r:   r   r   r   <module>r@      si    S R F F O O<o <(/ /G_ G6.? ./ /9? 9r   