
    ,h                      J    d Z ddlmZ ddlmZ  G d de      Z G d d      Zy)	z,|NumberingPart| and closely related objects.   )XmlPart)lazypropertyc                   0    e Zd ZdZed        Zed        Zy)NumberingPartzaProxy for the numbering.xml part containing numbering definitions for a document
    or glossary.c                     t         )zfReturn newly created empty numbering part, containing only the root
        ``<w:numbering>`` element.)NotImplementedError)clss    V/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/docx/parts/numbering.pynewzNumberingPart.new   s
     "!    c                 ,    t        | j                        S )zThe |_NumberingDefinitions| instance containing the numbering definitions
        (<w:num> element proxies) for this numbering part.)_NumberingDefinitions_elementselfs    r
   numbering_definitionsz#NumberingPart.numbering_definitions   s     %T]]33r   N)__name__
__module____qualname____doc__classmethodr   r   r    r   r
   r   r      s/     " "
 4 4r   r   c                   (     e Zd ZdZ fdZd Z xZS )r   zqCollection of |_NumberingDefinition| instances corresponding to the ``<w:num>``
    elements in a numbering part.c                 8    t         t        |           || _        y N)superr   __init__
_numbering)r   numbering_elm	__class__s     r
   r   z_NumberingDefinitions.__init__   s    #T35'r   c                 @    t        | j                  j                        S r   )lenr   num_lstr   s    r
   __len__z_NumberingDefinitions.__len__    s    4??**++r   )r   r   r   r   r   r$   __classcell__)r    s   @r
   r   r      s    %(,r   r   N)r   opc.partr   sharedr   r   r   r   r   r
   <module>r(      s$    2  !4G 4"	, 	,r   