ForNeVeR / ExtDiff

Compare documents using MS Word from the command line.
MIT License
123 stars 18 forks source link

Add Combine/Merge functionality for Word #7

Open LightCC opened 5 years ago

LightCC commented 5 years ago

Word has a "Merge" or "Combine" mode as well diff/compare (at least in the latest versions).

Propose extending the tool to accept a merge mode in addition to diff which will use the Word Combine mode instead of Compare. This appears to accept multiple files so it could be either 2 or 3-way merge (thus could be easily configured to work with git in the same way diff is).

Here is a Microsoft page explaining how to use the Merge function. Wouldn't it be nice if MS had command-line arguments for these functions?

chemfreak commented 4 years ago

found someting u might wanna look into: https://github.com/lcnittl/DMFO maybe it helps

ForNeVeR commented 4 years ago

Thank you, that project looks really promising.

jmtrensh commented 10 months ago

https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.interop.word._document.merge?view=word-pia