Skip to main content

Browse and diff Microsoft Office .docx, .xlsx, and .pptx files.

Project description

opc-diag is a command-line application for exploring Microsoft Word, Excel, and PowerPoint files from Office 2007 and later. Also known as Office Open XML, the structure of these files adheres to the Open Packaging Convention (OPC), specified by ISO/IEC 29500.

opc-diag provides the opc command, which allows OPC files to be browsed, diff-ed, extracted, repackaged, and parts from one to be substituted into another.

Its primary use is by developers of software that generates and/or manipulates Microsoft Office documents.

A typical use would be diff-ing a Word file from before and after an operation, say inserting a paragraph, to identify the specific changes Word made to the XML. This is handy when one is developing software to do the same without Word’s help:

$ opc diff before.docx after.docx

Another main use is to diagnose an issue causing an Office document to not load cleanly, typically because the software that generated it has a bug. These problems can be tedious and often difficult to diagnose without tools like opc-diag, and were the primary motivation for developing it.

More information is available in the opc-diag documentation.

History

0.9.7 (2013-09-23)

  • Initial release – supporting browse, diff, diff-item, extract, repackage, and substitute subcommands.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opc-diag-0.9.7rc1.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file opc-diag-0.9.7rc1.tar.gz.

File metadata

  • Download URL: opc-diag-0.9.7rc1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for opc-diag-0.9.7rc1.tar.gz
Algorithm Hash digest
SHA256 b4556abd2e8504237b80dfa9763e7114f96e7599d15266bd0192938f5c2e5b1b
MD5 ce469e821f8ba97580b937671fffc5fd
BLAKE2b-256 1efe8f7c17f6acfbce50a4f6102f14bff7e5882d82b294178d3eedc9ddfa21ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page