Repository navigation
v0.1.0
Initial Release
Python module for complete Word document comment manipulation with threading support and Word Online compatibility.
Features
CommentManagerclass for managing Word document commentsadd_comment()- Add anchored comments to specific text rangesreply_to_comment()- Create threaded replies to existing commentsresolve_comment()- Mark comments as resolved (done status)list_comments()- List all comments in the documentget_comment_threads()- Get comments grouped by thread- Full Word Online compatibility with proper OOXML structure
- Support for all four comment-related XML parts:
comments.xml- Comment contentdocument.xml- Anchors (commentRangeStart/End, commentReference)commentsExtended.xml- Threading (paraId, paraIdParent, done)commentsIds.xml- Durable IDs
Installation
pip install docx-comments