Hello,
I am working on Project where I want to identify and save the embedded files of Microsoft Office File type which are embedded in Word Document. I can identify and save the Word File which is an embedded object in Word Document but can not save PowerPoint and Excel files. Can anyone help me out????
I am pasting here the sample code which works for embedded Word Files ...

if(embededFile.toLowerCase().startsWith("word")){
com.word.OLEFormat wordOle=(com.word.OLEFormat)inlineshape.getOLEForm at();
wordOle.doVerb(new Integer(WdOLEVerb.wdOLEVerbOpen));
System.out.println(wordOle.getIconLabel());
Application app = wordOle.getApplication();
document1 = app.getActiveDocument();
System.out.println(document1.getFullName());
document1.saveAs("D:\\Development\\Embeded_Files\\ Embeded\\"+wordOle.getIconLabel()+".doc", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
document1.close(new Boolean(true),null, null);
}

how about PowerPoint and Excel files??