title: Extract embedded files from doc using java
body: <p>I am using the poi library to deal with the MS files. To extract the embedded ole object for docx, xlsx and pptx, I use method:<code>PackagePart pp = src.getAllEmbedds()</code> But for the old format of MS files like doc, xls and ppt, there is no such method. So I am using the extractor: <code>POITextExtractor[] embeddedExtractors =
                  ExtractorFactory.getEmbededDocsTextExtractors(oleTextExtractor);</code> But this can only extract the text not the whole file.
  Can anyone help me with extracting doc, ppt and xls files?</p>