office-diff
Diff tool for OpenXML Office files
About The Project
office-diff is a diff tool for OpenXML Office files that shows differences on code more precisely xml level.
While working on various Office file editing projects, I found it very difficult to figure out why some processes
change or even damage a file.
First I extracted the files, formatted the whole xml and used git to compare the two extracted directories. But I
thought it might be helpful to have a tool that does all this automatically (without the git dependency).
For this reason, I have developed office-diff. This tool extracts the specified files to a temporary location,
formats the xml and outputs a unified diff.
Usage
# output to stdout
office-diff <file1> <file2>
# output to file
office-diff <file1> <file2> --output result.diff
Roadmap
See the open issues for a list of proposed features
(and known issues).
Get Support
This project is maintained by @develerik. Please understand that I won't be able to
provide individual support via email. I also believe that help is much more valuable if it's shared publicly, so that
more people can benefit from it.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any
contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
)
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the Branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
Please read CONTRIBUTING.md for details on our code of conduct.
Maintainers
See also the list of contributors who participated in
this project.
License
Distributed under the ISC License. See LICENSE for more information.