| There are numerous existing tools to do this already, buuuuut, if you want to go through the exercise...
For DOC,
You can contact microsoft, and request the specifications. You will need to sign an NDA, but they should be freely available.
For the other file formats, look for each type and SDK in a search engine. |