Extract embedded OLE objects

Hi,

is it possible to extract the embedded OLE objects with the Java version of Words?

I tried it with Shape.getOleFormat().save(). Then I tried to find the embedded file with a special file signature. But the bytes seems to be scrambled.

I also saw that OleFormat got the method getOleEntry recently. But the class System.IO.MemoryStream is not documented, and seems to be hit by the code obfuscator.

Thank you, Stephan.

No answer? So, is it not possible?

Hmm, I have implemented a solution with POI, but works only in 50% of all cases, because POI is not really good at reading word files.

Hi

Sorry for delay. Please can you attach your document and code that you use to extract OLE objects and to find the file with signature. I will investigate problem and try to help you.

Best regards.