python-openxml / python-docx

Create and modify Word documents with Python
MIT License
4.38k stars 1.08k forks source link

track-changes in python-docx #1388

Closed ghost closed 2 months ago

ghost commented 2 months ago

I am having the docx filename[simple.docx] I have make some changes through python-docx and save to another filename[newSimple.docx]

Here I need to track the changes from simple.docx to newSimple.docx How to tackle this with the python-docx

scanny commented 2 months ago

Describe the behavior you're looking for more specifically.

ghost commented 2 months ago

simple.docx

simple.docx

newSimple.docx

newSimple.docx

required output

required output

Here I need to track the changes.

scanny commented 2 months ago

Ah, I see. Unfortunately python-docx does not support adding revision marks in the document.

ghost commented 2 months ago

Thank Steve

Is there any other way than python--docx

scanny commented 2 months ago

There might be a Microsoft solution. You'll have to search on Google and see what you can find :)