3 ms·
How about MS office document ?
by revskill 2y ago
How about MS office document ?
- tithe 2y agoDOCX, PPTX, and XLSX Microsoft Office files are actually ZIP archives (which the paper addresses). You can append a ".zip" extension onto the end of them and explore. https://en.wikipedia.org/wiki/Office_Open_XML https://en.wikipedia.org/wiki/Office_Open_XML
- emj 2y agoLast time I tried to parse .docx it was full of opaque binary blobs, it might be a zip but parsing the data is like summoning arcane magic. It might have changed in the last decade, but considering the Microsoft has no incitement to make the situation better parsing it is always going to be a "fun" exercise.
- tithe 2y agoI was writing an indexer (ca. 2018), and I don't recall encountering opaque blobs, but parsing the ZIP file and XML (with a small C XPath scanner) was straightforward. But indexing PDFs, now there's a fun one.
- jahewson 2y agoThe old office binary formats are basically a FAT file system containing streams of unremarkable records. Knowing what those records do is the hard part!