Skip to content

feat: native support for tracked changes (w:ins, w:del)#1538

Open
louspringer wants to merge 1 commit intopython-openxml:masterfrom
nkllon:feat/native-tracked-changes
Open

feat: native support for tracked changes (w:ins, w:del)#1538
louspringer wants to merge 1 commit intopython-openxml:masterfrom
nkllon:feat/native-tracked-changes

Conversation

@louspringer
Copy link

@louspringer louspringer commented Jan 21, 2026

Updates CT_P to include w:ins/w:r and w:moveTo/w:r in text property, and registers w:delText for provenance extraction.

This addresses the request in #1534 (comment) by @jfthuong for a property to get the final text (latest view).

Features:

  • Latest View: paragraph.text now includes inserted (w:ins) and moved-to (w:moveTo) text.
  • Provenance: w:delText is registered for tools extracting deletion history.

Related to #1534 (which focuses on writing tracked changes), this PR ensures strictly reading the document respects the user's intended final state.

@louspringer louspringer force-pushed the feat/native-tracked-changes branch from 837f0f8 to 1ad8f75 Compare January 21, 2026 20:42
@louspringer louspringer marked this pull request as ready for review January 21, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant