Free Support Forum - aspose.com

Embeding OLE objects with Aspose.Slides for Java

Hi.

I read a post below about embedding OLE objects with Aspose Slides for .NET.

I knew there were some bugs with that function, and they were fixed recently in 4.0.1 version, but just in .NET version.

I have the same problems with Java version.

I embed MS office files as icons in powerpoint file with Java, but it has problems.

- When I embed MS word and excel files, after I open them they lose their icons.

- After I open and close embeded files repeatedly, they are resized to tiny size.

Let me know when I can use new release that those bugs are fixed in Java version.

Thanks

Kim

Hi Kim,

The icon of an embedded OLE Object is recognized by proper value of ProgId using setObjectProgId() method. For Excel documents, it should be "Excel.Sheet.8" and for word documents, it should be "Word.Document.8". Moreover, Aspose.Slides does not add any icons, it is PowerPoint that identify the icon linked with an embedded object. On the other hand, resize issue is a known issue and our development team is trying hard to resolve it.