-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: native support for tracked changes (w:ins, w:del) #1538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
louspringer
wants to merge
1
commit into
python-openxml:master
from
nkllon:feat/native-tracked-changes
Open
feat: native support for tracked changes (w:ins, w:del) #1538
louspringer
wants to merge
1
commit into
python-openxml:master
from
nkllon:feat/native-tracked-changes
+60
−3
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@louspringer
louspringer
force-pushed
the
feat/native-tracked-changes
branch
from
January 21, 2026 20:36
0c52c1a to
837f0f8
Compare
...delText in run.text)
@louspringer
louspringer
force-pushed
the
feat/native-tracked-changes
branch
from
January 21, 2026 20:42
837f0f8 to
1ad8f75
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
Updates
CT_Pto includew:ins/w:randw:moveTo/w:rintextproperty, and registersw:delTextfor provenance extraction.This addresses the request in #1534 (comment) by @jfthuong for a property to get the final text (latest view).
Features:
paragraph.textnow includes inserted (w:ins) and moved-to (w:moveTo) text.w:delTextis 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.