+
    ^eòj  ã                  ó  € R t ^ RIHt ^ RIHtHtHt ^ RIHt ^ RI	H
t ^ RIHt ^ RIHtHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ]'       d   ^ RIHt ^ RIH t  ^ RI!H"t" ^ RI#H$t$ ^ RI%H&t&  ! R R]4      t'R# )z+|DocumentPart| and closely related objects.)Úannotations)ÚIOÚTYPE_CHECKINGÚcast)ÚDocument)ÚRELATIONSHIP_TYPE)ÚCommentsPart)Ú
FooterPartÚ
HeaderPart)ÚNumberingPart)ÚSettingsPart)Ú	StoryPart)Ú
StylesPart)ÚInlineShapes)Úlazyproperty)ÚComments)ÚWD_STYLE_TYPE)ÚCoreProperties)ÚSettings)Ú	BaseStylec                  ó2  € ] tR t^tRtR tR t]R R l4       t]R R l4       t	]R 4       t
R	 R
 ltR R ltR R ltR tR R lt]R 4       t]R R l4       tR R lt]R R l4       t]R 4       t]R R l4       t]R R l4       t]R R l4       tR tR!# )"ÚDocumentParta}  Main document part of a WordprocessingML (WML) package, aka a .docx file.

Acts as broker to other parts such as image, core properties, and style parts. It
also acts as a convenient delegate when a mid-document object needs a service
involving a remote ancestor. The `Parented.part` property inherited by many content
objects provides access to this part object for that purpose.
c                óˆ   € \         P                  ! V P                  4      pV P                  V\        P
                  4      pW3# )z=Return (footer_part, rId) pair for newly-created footer part.)r	   ÚnewÚpackageÚ	relate_toÚRTÚFOOTER)ÚselfÚfooter_partÚrIds   &  ÚŠ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docx/parts/document.pyÚadd_footer_partÚDocumentPart.add_footer_part#   ó1   € ä —n’n T§\¡\Ó2ˆØ�n‰n˜[¬"¯)©)Ó4ˆØÐÐó    c                óˆ   € \         P                  ! V P                  4      pV P                  V\        P
                  4      pW3# )z=Return (header_part, rId) pair for newly-created header part.)r
   r   r   r   r   ÚHEADER)r   Úheader_partr    s   &  r!   Úadd_header_partÚDocumentPart.add_header_part)   r$   r%   c               ó   € V ^8„  d   QhRR/# )é   Úreturnr   © )Úformats   "r!   Ú__annotate__ÚDocumentPart.__annotate__0   s   € ÷ ,ñ ,˜(ñ ,r%   c                ó.   € V P                   P                  # )zJ|Comments| object providing access to the comments added to this document.)Ú_comments_partÚcomments©r   s   &r!   r4   ÚDocumentPart.comments/   s   € ð ×"Ñ"×+Ñ+Ð+r%   c               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   5   s   € ÷ ,ñ , ñ ,r%   c                ó.   € V P                   P                  # )z^A |CoreProperties| object providing read/write access to the core properties
of this document.)r   Úcore_propertiesr5   s   &r!   r9   ÚDocumentPart.core_properties4   s   € ð �|‰|×+Ñ+Ð+r%   c                ó.   € \        V P                  V 4      # )zEA |Document| object providing access to the content of this document.)r   Ú_elementr5   s   &r!   ÚdocumentÚDocumentPart.document:   s   € ô ˜Ÿ™ tÓ,Ð,r%   c               ó    € V ^8„  d   QhRRRR/# )r,   r    Ústrr-   ÚNoner.   )r/   s   "r!   r0   r1   ?   s   € ÷ ñ  Cð ¨Dñ r%   c                ó(   € V P                  V4       R# )z/Remove related header part identified by `rId`.N)Údrop_rel©r   r    s   &&r!   Údrop_header_partÚDocumentPart.drop_header_part?   s   € à�‰�cÖr%   c               ó   € V ^8„  d   QhRR/# ©r,   r    r@   r.   )r/   s   "r!   r0   r1   C   ó   € ÷ 'ñ '˜sñ 'r%   c                ó(   € V P                   V,          # )z%Return |FooterPart| related by `rId`.©Úrelated_partsrD   s   &&r!   r   ÚDocumentPart.footer_partC   ó   € à×!Ñ! #Õ&Ð&r%   c               ó$   € V ^8„  d   QhRRRRRR/# )r,   Ústyle_idz
str | NoneÚ
style_typer   r-   r   r.   )r/   s   "r!   r0   r1   G   s!   € ÷ ;ñ ; *ð ;¸-ð ;ÈIñ ;r%   c                ó8   € V P                   P                  W4      # )z®Return the style in this document matching `style_id`.

Returns the default style for `style_type` if `style_id` is |None| or does not
match a defined style of `style_type`.
)ÚstylesÚ	get_by_id)r   rP   rQ   s   &&&r!   Ú	get_styleÚDocumentPart.get_styleG   s   € ð �{‰{×$Ñ$ XÓ:Ð:r%   c                ó8   € V P                   P                  W4      # )a,  Return the style_id (|str|) of the style of `style_type` matching
`style_or_name`.

Returns |None| if the style resolves to the default style for `style_type` or if
`style_or_name` is itself |None|. Raises if `style_or_name` is a style of the
wrong type or names a style not present in the document.
)rS   Úget_style_id)r   Ústyle_or_namerQ   s   &&&r!   rX   ÚDocumentPart.get_style_idO   s   € ð �{‰{×'Ñ'¨ÓBÐBr%   c               ó   € V ^8„  d   QhRR/# rH   r.   )r/   s   "r!   r0   r1   Y   rI   r%   c                ó(   € V P                   V,          # )z%Return |HeaderPart| related by `rId`.rK   rD   s   &&r!   r(   ÚDocumentPart.header_partY   rN   r%   c                óB   € \        V P                  P                  V 4      # )zIThe |InlineShapes| instance containing the inline shapes in the document.)r   r<   Úbodyr5   s   &r!   Úinline_shapesÚDocumentPart.inline_shapes]   s   € ô ˜DŸM™M×.Ñ.°Ó5Ð5r%   c               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   c   s   € ÷ 
"ñ 
" ñ 
"r%   c                óî   €  \        \        V P                  \        P                  4      4      #   \
         d;    \        P                  ! 4       pT P                  T\        P                  4       Tu # i ; i)z’A |NumberingPart| object providing access to the numbering definitions for this document.

Creates an empty numbering part if one is not present.
)r   r   Úpart_related_byr   Ú	NUMBERINGÚKeyErrorr   r   )r   Únumbering_parts   & r!   rg   ÚDocumentPart.numbering_partb   sX   € ð	"Üœ t×';Ñ';¼B¿L¹LÓ'IÓJÐJøÜô 	"Ü*×.Ò.Ó0ˆNØ�N‰N˜>¬2¯<©<Ô8Ø!Ò!ð	"ús   ‚,/ ¯AA4Á3A4c               ó   € V ^8„  d   QhRR/# )r,   Úpath_or_streamzstr | IO[bytes]r.   )r/   s   "r!   r0   r1   o   s   € ÷ *ñ * ?ñ *r%   c                ó<   € V P                   P                  V4       R# )z}Save this document to `path_or_stream`, which can be either a path to a
filesystem location (a string) or a file-like object.N)r   Úsave)r   rj   s   &&r!   rl   ÚDocumentPart.saveo   s   € ð 	�‰×Ñ˜.Ö)r%   c               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   u   s   € ÷ ,ñ ,˜(ñ ,r%   c                ó.   € V P                   P                  # )z[A |Settings| object providing access to the settings in the settings part of
this document.)Ú_settings_partÚsettingsr5   s   &r!   rq   ÚDocumentPart.settingst   s   € ð ×"Ñ"×+Ñ+Ð+r%   c                ó.   € V P                   P                  # )zUA |Styles| object providing access to the styles in the styles part of this
document.)Ú_styles_partrS   r5   s   &r!   rS   ÚDocumentPart.stylesz   s   € ð × Ñ ×'Ñ'Ð'r%   c               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   �   ó   € ÷ !ñ ! ñ !r%   c                ó$  €  \        \        V P                  \        P                  4      4      #   \
         dV    T P                  f   Q h\        P                  ! T P                  4      pT P                  T\        P                  4       Tu # i ; i)z‰A |CommentsPart| object providing access to the comments added to this document.

Creates a default comments part if one is not present.
)	r   r   rd   r   ÚCOMMENTSrf   r   Údefaultr   )r   Úcomments_parts   & r!   r3   ÚDocumentPart._comments_part€   sn   € ð	!Üœ d×&:Ñ&:¼2¿;¹;Ó&GÓHÐHøÜô 	!Ø—<‘<Ò+Ð+Ð+Ü(×0Ò0°·±Ó>ˆMØ�N‰N˜=¬"¯+©+Ô6Ø Ò ð		!ús   ‚,/ ¯ABÂBc               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   �   rw   r%   c                ó  €  \        \        V P                  \        P                  4      4      #   \
         dF    \        P                  ! T P                  4      pT P                  T\        P                  4       Tu # i ; i)z“A |SettingsPart| object providing access to the document-level settings for
this document.

Creates a default settings part if one is not present.
)	r   r   rd   r   ÚSETTINGSrf   rz   r   r   )r   Úsettings_parts   & r!   rp   ÚDocumentPart._settings_partŽ   s^   € ð	!Üœ d×&:Ñ&:¼2¿;¹;Ó&GÓHÐHøÜô 	!Ü(×0Ò0°·±Ó>ˆMØ�N‰N˜=¬"¯+©+Ô6Ø Ò ð	!ús   ‚,/ ¯AA?Á>A?c               ó   € V ^8„  d   QhRR/# )r,   r-   r   r.   )r/   s   "r!   r0   r1   �   s   € ÷ ñ ˜jñ r%   c                ó  €  \        \        V P                  \        P                  4      4      #   \
         dN    T P                  pTf   Q h\        P                  ! T4      pT P                  T\        P                  4       Tu # i ; i)zaInstance of |StylesPart| for this document.

Creates an empty styles part if one is not present.
)	r   r   rd   r   ÚSTYLESrf   r   rz   r   )r   r   Ústyles_parts   &  r!   rt   ÚDocumentPart._styles_partœ   so   € ð	Üœ
 D×$8Ñ$8¼¿¹Ó$CÓDÐDøÜô 	Ø—l‘lˆGØÒ&Ð&Ð&Ü$×,Ò,¨WÓ5ˆKØ�N‰N˜;¬¯	©	Ô2ØÒð	ús   ‚,/ ¯ABÂBr.   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r"   r)   Úpropertyr4   r9   r=   rE   r   rU   rX   r(   r   r`   rg   rl   rq   rS   r3   rp   rt   Ú__static_attributes__r.   r%   r!   r   r      sø   † ñò ò ð ô,ó ð,ð ô,ó ð,ð
 ñ-ó ð-õõ'õ;òCõ'ð ñ6ó ð6ð ô
"ó ð
"õ*ð
 ô,ó ð,ð
 ñ(ó ð(ð
 ô!ó ð!ð ô!ó ð!ð ôó ôr%   r   N)(r‹   Ú
__future__r   Útypingr   r   r   Údocx.documentr   Údocx.opc.constantsr   r   Údocx.parts.commentsr   Údocx.parts.hdrftrr	   r
   Údocx.parts.numberingr   Údocx.parts.settingsr   Údocx.parts.storyr   Údocx.parts.stylesr   Ú
docx.shaper   Údocx.sharedr   Údocx.commentsr   Údocx.enum.styler   Údocx.opc.corepropsr   Údocx.settingsr   Údocx.styles.styler   r   r.   r%   r!   Ú<module>rŸ      sO   ðÙ 1å "ç *Ñ *å "Ý 6Ý ,ß 4Ý .Ý ,Ý &Ý (Ý #Ý $çÝ&Ý-Ý1Ý&Ý+ôO�9ö Or%   