Hi Team,
I’m trying to implement a solution which detects office files embedded into word files and determines the filesize of each of the detected files.
For that I’m trying to utilize the GetChildNodes interface to get a list of embedded Shape nodes then filter these by the presence of OleFormat property to identify OLEObjects.
Once it is done, I’m trying to utilize the GetRawData method to access the underlying byte[] of the object and determine the size using it’s Length property.
However GetRawData returns null.
Please find attached a test application that reproduces the issue.
WordEmbeddedOleObjectRawDataIsNull.zip (243.9 KB)
Please confirm if this is a bug or I’m misusing this interface.
Thank you
Platform: .NET Core 3.1 Windows
Aspose.Words: v21.8.0