https://bugzilla.wikimedia.org/show_bug.cgi?id=24073
--- Comment #10 from Derk-Jan Hartman <[email protected]> 2010-06-23 22:32:17 CEST --- Platonides is right. Basically, 2007 saves a .doc file, but appends a .zip with OPC index to it. I'll add a check for this, by scanning for the magic bytes of older MS Office documents in some way. http://www.garykessler.net/library/file_sigs.html MSOffice header: D0 CF 11 E0 A1 B1 1A E1 Office subheaders at bytepos 512 EC A5 C1 00 [512 byte offset] DOC Word document subheader (MS Office) FD FF FF FF nn 00 00 00 [512 byte offset] PPT PowerPoint presentation subheader (MS Office) (where nn has been seen with values 0x0E, 0x1C, and 0x43) FD FF FF FF nn 00 [512 byte offset] or FD FF FF FF nn 02 [512 byte offset] XLS Excel spreadsheet subheader (MS Office) (where nn = 0x10, 0x1F, 0x22, 0x23, 0x28, or 0x29) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
