XjdZddlmZddlZddlmZmZddlmZddl m Z ddl m Z ddlmZdd lmZdd lmZdd lmZdd lmZer dd lmZdd lmZGd deZy)z(Contains comments added to the document.) annotationsN) TYPE_CHECKINGcast)Self)Comments) CONTENT_TYPE)PackURI) CT_Comments) parse_xml)Package) StoryPartcjeZdZdZ dfd ZeddZeddZed dZ xZ S) CommentsPartz2Container part for comments added to the document.c8t|||||||_y)N)super__init__ _comments)selfpartname content_typeelementpackage __class__s g/mnt/ssd/data/Dropbox/adrian/vault-secondbrain/venv/lib/python3.12/site-packages/docx/parts/comments.pyrzCommentsPart.__init__s <'B c.t|j|S)zIA |Comments| proxy object for the `w:comments` root element of this part.)rr)rs rcommentszCommentsPart.comments s--rctd}tj}tdt |j }|||||S)zOA newly created comments part, containing a default empty `w:comments` element.z/word/comments.xmlr )r CT WML_COMMENTSrr _default_comments_xml)clsrrrrs rdefaultzCommentsPart.default%sC/0 }i0I0I0K&LM8\7G<rEs>." &""1$*& &.$9r