Analyzing Documents

    From The Document Foundation Wiki

    There are various tools to analyse and compare ODF/OOXML/RTF/... documents.

    • odiff - compare XML content of ZIP archives (ODF, OOXML files) using wdiff
    • prettyprint - Contains helpers to pretty print rtf and xml documents, and also the zipdiff tool which generates a diff over zip files.
    • pyxtools - Easily compare xml files line by line, also for whole ooxml documents

    For Windows developers, the wdiff tool required by the odiff script is available as a Cygwin package. You can run the Cygwin installer, change View to Full and search for wdiff. In the New column, pick the package to be installed. If you have a LibreOffice Windows build setup, you should already have the other programs required by the script (unzip, xmllint from libxml2-devel).