Skip to content

v0.1.0

Choose a tag to compare

@sunt05 sunt05 released this 09 Jan 11:16
· 9 commits to main since this release
c674ce5

Initial Release

Python module for complete Word document comment manipulation with threading support and Word Online compatibility.

Features

  • CommentManager class for managing Word document comments
  • add_comment() - Add anchored comments to specific text ranges
  • reply_to_comment() - Create threaded replies to existing comments
  • resolve_comment() - Mark comments as resolved (done status)
  • list_comments() - List all comments in the document
  • get_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 content
    • document.xml - Anchors (commentRangeStart/End, commentReference)
    • commentsExtended.xml - Threading (paraId, paraIdParent, done)
    • commentsIds.xml - Durable IDs

Installation

pip install docx-comments