+
    ^eòjñ  ã                  ó¨   € R t ^ RIHt ^ RIt^ RIHtHt ^ RIH	t	 ]'       d   ^ RI
HtHt ^ RIHt ^ RIHt ^ RIHt  ! R	 R
4      t ! R R]	4      tR# )z?Collection providing access to comments added to this document.)ÚannotationsN)ÚTYPE_CHECKINGÚIterator)ÚBlockItemContainer)Ú
CT_CommentÚCT_Comments)ÚCommentsPart)ÚParagraphStyle)Ú	Paragraphc                  óZ   € ] tR t^tRtR R ltR R ltR R ltRR R	 lltR
 R lt	Rt
R# )ÚCommentsz:Collection containing the comments added to this document.c               ó    € V ^8„  d   QhRRRR/# )é   Úcomments_elmr   Úcomments_partr   © )Úformats   "Ú„/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docx/comments.pyÚ__annotate__ÚComments.__annotate__   s   € ÷ ,ñ , [ð ,Àñ ,ó    c                	ó   € Wn         W n        R # ©N©Ú_comments_elmÚ_comments_part)Úselfr   r   s   &&&r   Ú__init__ÚComments.__init__   s   € Ø)ÔØ+Ör   c               ó   € V ^8„  d   QhRR/# )r   ÚreturnzIterator[Comment]r   )r   s   "r   r   r      s   € ÷ 
ñ 
Ð+ñ 
r   c                óD   a € V 3R lS P                   P                   4       # )z.Iterator over the comments in this collection.c              3  óP   <"  € T F  p\        VSP                  4      x € K  	  R # 5ir   )ÚCommentr   )Ú.0Úcomment_elmr   s   & €r   Ú	<genexpr>Ú$Comments.__iter__.<locals>.<genexpr>   s(   øé € ð 
á=�ô �K ×!4Ñ!4×5Ð5Û=ùs   ƒ#&)r   Úcomment_lst©r   s   fr   Ú__iter__ÚComments.__iter__   s!   ø€ ô
à#×1Ñ1×=Ò=ó
ð 	
r   c               ó   € V ^8„  d   QhRR/# ©r   r    Úintr   )r   s   "r   r   r      s   € ÷ 3ñ 3˜ñ 3r   c                ó@   € \        V P                  P                  4      # )z*The number of comments in this collection.)Úlenr   r(   r)   s   &r   Ú__len__ÚComments.__len__   s   € ä�4×%Ñ%×1Ñ1Ó2Ð2r   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   ÚtextÚstrÚauthorÚinitialsú
str | Noner    r#   r   )r   s   "r   r   r   #   s)   € ÷ (ñ ( ð (°#ð (Àjð (ÐZañ (r   c                óÎ  € V P                   P                  4       pW$n        W4n        \        P
                  P                  \        P                  P                  4      Vn	        \        W@P                  4      pVR8X  d   V# \        VP                  R4      4      p\        V4      pVP                  ^ ,          pVP!                  V4       V F  p	VP#                  V	R7       K  	  V# )a:  Add a new comment to the document and return it.

The comment is added to the end of the comments collection and is assigned a unique
comment-id.

If `text` is provided, it is added to the comment. This option provides for the common
case where a comment contains a modest passage of plain text. Multiple paragraphs can be
added using the `text` argument by separating their text with newlines (`"\\n"`).
Between newlines, text is interpreted as it is in `Document.add_paragraph(text=...)`.

The default is to place a single empty paragraph in the comment, which is the same
behavior as the Word UI when you add a comment. New runs can be added to the first
paragraph in the empty comment with `comments.paragraphs[0].add_run()` to adding more
complex text with emphasis or images. Additional paragraphs can be added using
`.add_paragraph()`.

`author` is a required attribute, set to the empty string by default.

`initials` is an optional attribute, set to the empty string by default. Passing |None|
for the `initials` parameter causes that attribute to be omitted from the XML.
Ú Ú
©r4   )r   Úadd_commentr6   r7   ÚdtÚdatetimeÚnowÚtimezoneÚutcÚdater#   r   ÚiterÚsplitÚnextÚ
paragraphsÚadd_runÚadd_paragraph)
r   r4   r6   r7   r%   ÚcommentÚpara_text_iterÚfirst_para_textÚ
first_paraÚss
   &&&&      r   r=   ÚComments.add_comment#   sº   € ð, ×(Ñ(×4Ñ4Ó6ˆØ#ÔØ'ÔÜŸ;™;Ÿ?™?¬2¯;©;¯?©?Ó;ˆÔÜ˜+×':Ñ':Ó;ˆà�2Œ:ØˆNä˜dŸj™j¨Ó.Ó/ˆä˜~Ó.ˆØ×'Ñ'¨Õ*ˆ
Ø×Ñ˜?Ô+ãˆAØ×!Ñ! qÐ!Ö)ñ  ð ˆr   c               ó    € V ^8„  d   QhRRRR/# )r   Ú
comment_idr.   r    zComment | Noner   )r   s   "r   r   r   M   s   € ÷ ^ñ ^˜cð ^ nñ ^r   c                ón   € V P                   P                  V4      pVe   \        W P                  4      # R# )zFReturn the comment identified by `comment_id`, or |None| if not found.N)r   Úget_comment_by_idr#   r   )r   rQ   r%   s   && r   ÚgetÚComments.getM   s4   € à×(Ñ(×:Ñ:¸:ÓFˆØ<GÒ<SŒw�{×$7Ñ$7Ó8Ð]ÐY]Ð]r   r   N)r:   r:   r:   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r*   r1   r=   rT   Ú__static_attributes__r   r   r   r   r      s&   † ÙDõ,õ
õ3÷(÷T^ñ ^r   r   c                  ó
  a € ] tR t^StRtR V 3R lltRR V 3R lllt]R R l4       t]P                  R R	 l4       t]R
 R l4       t
]R R l4       t]P                  R R l4       t]R R l4       t]R R l4       tRtV ;t# )r#   aS  Proxy for a single comment in the document.

Provides methods to access comment metadata such as author, initials, and date.

A comment is also a block-item container, similar to a table cell, so it can contain both
paragraphs and tables and its paragraphs can contain rich text, hyperlinks and images,
although the common case is that a comment contains a single paragraph of plain text like a
sentence or phrase.

Note that certain content like tables may not be displayed in the Word comment sidebar due to
space limitations. Such "over-sized" content can still be viewed in the review pane.
c               ó    € V ^8„  d   QhRRRR/# )r   r%   r   r   r   r   )r   s   "r   r   ÚComment.__annotate__a   s   € ÷ (ñ ( Jð (¸|ñ (r   c                	ó2   <€ \         SV `  W4       Wn        R # r   )Úsuperr   Ú_comment_elm)r   r%   r   Ú	__class__s   &&&€r   r   ÚComment.__init__a   s   ø€ Ü‰Ñ˜Ô4Ø'Ör   c               ó$   € V ^8„  d   QhRRRRRR/# )r   r4   r5   Ústylezstr | ParagraphStyle | Noner    r
   r   )r   s   "r   r   r^   e   s#   € ÷ ñ  #ð Ð3Nð ÐZcñ r   c                óP   <€ \         SV `  W4      pVf   RVP                  n        V# )a!  Return paragraph newly added to the end of the content in this container.

The paragraph has `text` in a single run if present, and is given paragraph style `style`.
When `style` is |None| or ommitted, the "CommentText" paragraph style is applied, which is
the default style for comments.
ÚCommentText)r`   rI   Ú_pre   )r   r4   re   Ú	paragraphrb   s   &&& €r   rI   ÚComment.add_paragraphe   s-   ø€ ô ‘GÑ)¨$Ó6ˆ	ð Š=Ø!.ˆI�L‰LÔàÐr   c               ó   € V ^8„  d   QhRR/# ©r   r    r5   r   )r   s   "r   r   r^   v   s   € ÷ (ñ (˜ñ (r   c                ó.   € V P                   P                  # )zmRead/write. The recorded author of this comment.

This field is required but can be set to the empty string.
©ra   r6   r)   s   &r   r6   ÚComment.authoru   s   € ð × Ñ ×'Ñ'Ð'r   c               ó   € V ^8„  d   QhRR/# )r   Úvaluer5   r   )r   s   "r   r   r^   ~   s   € ÷ )ñ )˜Cñ )r   c                	ó&   € WP                   n        R # r   rn   ©r   rq   s   &&r   r6   ro   }   s   € à#(×ÑÖ r   c               ó   € V ^8„  d   QhRR/# r-   r   )r   s   "r   r   r^   ‚   s   € ÷ $ñ $˜Cñ $r   c                ó.   € V P                   P                  # )z&The unique identifier of this comment.)ra   Úidr)   s   &r   rQ   ÚComment.comment_id�   s   € ð × Ñ ×#Ñ#Ð#r   c               ó   € V ^8„  d   QhRR/# )r   r    r8   r   )r   s   "r   r   r^   ‡   s   € ÷ *ñ *˜*ñ *r   c                ó.   € V P                   P                  # )z¹Read/write. The recorded initials of the comment author.

This attribute is optional in the XML, returns |None| if not set. Assigning |None| removes
any existing initials from the XML.
©ra   r7   r)   s   &r   r7   ÚComment.initials†   s   € ð × Ñ ×)Ñ)Ð)r   c               ó   € V ^8„  d   QhRR/# )r   rq   r8   r   )r   s   "r   r   r^   �   s   € ÷ +ñ +˜jñ +r   c                	ó&   € WP                   n        R # r   rz   rs   s   &&r   r7   r{   �   s   € à%*×ÑÖ"r   c               ó   € V ^8„  d   QhRR/# rl   r   )r   s   "r   r   r^   ”   s   € ÷ :ñ :�cñ :r   c                óF   € RP                  R V P                   4       4      # )zÇThe text content of this comment as a string.

Only content in paragraphs is included and of course all emphasis and styling is stripped.

Paragraph boundaries are indicated with a newline (`"\\n"`)
r;   c              3  ó8   "  € T F  qP                   x € K  	  R # 5ir   r<   )r$   Úps   & r   r&   ÚComment.text.<locals>.<genexpr>›   s   é € Ð9© AŸž«ùs   ‚)ÚjoinrG   r)   s   &r   r4   ÚComment.text“   s   € ð �y‰yÑ9¨¯ªÓ9Ó9Ð9r   c               ó   € V ^8„  d   QhRR/# )r   r    zdt.datetime | Noner   )r   s   "r   r   r^   ž   s   € ÷ &ñ &Ð-ñ &r   c                ó.   € V P                   P                  # )zpThe date and time this comment was authored.

This attribute is optional in the XML, returns |None| if not set.
)ra   rC   r)   s   &r   Ú	timestampÚComment.timestamp�   s   € ð × Ñ ×%Ñ%Ð%r   )ra   )r:   N)rV   rW   rX   rY   rZ   r   rI   Úpropertyr6   ÚsetterrQ   r7   r4   r‡   r[   Ú__classcell__)rb   s   @r   r#   r#   S   s°   ø† ñ÷(ð (÷ò ð  ô(ó ð(ð ‡]�]ô)ó ð)ð ô$ó ð$ð ô*ó ð*ð ‡_�_ô+ó ð+ð ô:ó ð:ð ô&ó ö&r   r#   )rZ   Ú
__future__r   r?   r>   Útypingr   r   Údocx.blkcntnrr   Údocx.oxml.commentsr   r   Údocx.parts.commentsr   Údocx.styles.styler	   Údocx.text.paragraphr
   r   r#   r   r   r   Ú<module>r“      s?   ðÙ Eå "ã ß *å ,çß:Ý0Ý0Ý-÷?^ñ ?^ôDP&Ð ö P&r   