What have you researched? What have you tried? Are you familiar with the API's for libraries that read Microsoft documents, for instance Apache POI?