Hello,
I am attempting to extract all ole objects from a powerpoint 2007 files.
I have looked at the provided example but it assumes one is using Presentation instead of
PresentationEx.
below is code-snippet:
PresentationEx srcPres = new PresentationEx(filename); // OK
ShapeEx shp = (ShapeEx)sld.Shapes[0]; //OK
OleObjectFrame oof = shp as OleObjectFrame; // FAILS
Without the OleObjectFrame I can’t get a reference to save embedded file:
FileStream file = File.Create(attachment);
byte[] data = oof.ObjectData;
file.Write(data, 0, data.Length);
file.Close();
Thanks in advance, Enrique Benedetti
Dear Enrique,
This feature is not available yet. But you might expect it by the end of April; although it can take longer too. Please also check our upcoming release of Aspose.Slides with PPTX updates expected in this week.
Hi there, I was wondering if this has been implemented yet?
It is not implemented yet.