+
    i                        R t ^ RIHt ^ RIt^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ]'       d   ^ RIHt  ! R R	]4      t ! R
 R]4      tR# )zHeader and footer part objects.)annotationsN)TYPE_CHECKING)CONTENT_TYPE)	parse_xml)	StoryPart)Packagec                  @    ] tR t^tRt]R R l4       t]R 4       tRtR# )
FooterPartzDefinition of a section footer.c                   V ^8  d   QhRR/#    packager    )formats   "X/Users/agent/.openclaw/workspace/.venv/lib/python3.14/site-packages/docx/parts/hdrftr.py__annotate__FooterPart.__annotate__        = =' =    c                    VP                  R4      p\        P                  p\        V P	                  4       4      pV ! W#WA4      # )z!Return newly created footer part.z/word/footer%d.xml)next_partnameCT
WML_FOOTERr   _default_footer_xmlclsr   partnamecontent_typeelements   &&   r   newFooterPart.new   >     (()=>}}C335687<<r   c                   \         P                  P                  \         P                  P                  \        4      ^ ,          RRR4      p\        VR4      ;_uu_ 4       pVP                  4       pRRR4       V#   + '       g   i     X# ; i)z6Return bytes containing XML for a default footer part...	templateszdefault-footer.xmlrbNospathjoinsplit__file__openreadr   r(   f	xml_bytess   &   r   r   FooterPart._default_footer_xml   c     ww||BGGMM(3A6kK_`$I     A::B	r   N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r   __static_attributes__r   r   r   r	   r	      +    )= =  r   r	   c                  @    ] tR t^$tRt]R R l4       t]R 4       tRtR# )
HeaderPartzDefinition of a section header.c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   HeaderPart.__annotate__(   r   r   c                    VP                  R4      p\        P                  p\        V P	                  4       4      pV ! W#WA4      # )z!Return newly created header part.z/word/header%d.xml)r   r   
WML_HEADERr   _default_header_xmlr   s   &&   r   r   HeaderPart.new'   r!   r   c                   \         P                  P                  \         P                  P                  \        4      ^ ,          RRR4      p\        VR4      ;_uu_ 4       pVP                  4       pRRR4       V#   + '       g   i     X# ; i)z6Return bytes containing XML for a default header part.r#   r$   zdefault-header.xmlr%   Nr&   r.   s   &   r   rB   HeaderPart._default_header_xml/   r2   r3   r   N)	r4   r5   r6   r7   r8   r9   r   rB   r:   r   r   r   r=   r=   $   r;   r   r=   )r8   
__future__r   r'   typingr   docx.opc.constantsr   r   docx.oxml.parserr   docx.parts.storyr   docx.packager   r	   r=   r   r   r   <module>rL      s8    % " 	   1 & &$ ( r   