3 ms·
It's a wild guess but I would have used COM access to the word.dll to convert it to a more reasonable format. Again, a wild guess but that is how I would have
by marcus 19y ago
It's a wild guess but I would have used COM access to the word.dll to convert it to a more reasonable format.
Again, a wild guess but that is how I would have done it, trying to reverse engineer formats as bloated as the office formats is generally not a good idea if avoidable.
- llimllib 19y ago"Antiword is a free MS Word reader for Linux and RISC OS. There are ports to FreeBSD, BeOS, OS/2, Mac OS X, Amiga, VMS, NetWare, Plan9, EPOC, Zaurus PDA, MorphOS, Tru64/OSF and DOS. Antiword converts the binary files from Word 2, 6, 7, 97, 2000, 2002 and 2003 to plain text and to PostScript." - http://www.winfield.demon.nl/ http://www.winfield.demon.nl/
- marcus 19y agoYeah, that'll work too. The point is that you need to leverage someone else's work to do it. Focus on your core, find shortcuts for everything else.
- boucher 19y agoWell, given the release of these documents, as well as the existence of the Office Open XML format, there's nothing left to reverse engineer. Granted, its no picnic implementing the specs these documents outline, but its certainly better than having to figure it all out from a binary file.
- marcus 19y agoWell it is a picnic, a picnic in the park, Jurassic park that is.
- boucher 19y agoThere is a project from Apache that works across all (the binary) MS Office formats. http://poi.apache.org/ http://poi.apache.org/