Thanks for the sample project and template file.
After an initial test, I am able to reproduce the issue as you mentioned by using your sample code with your template file. I found that OleObject’s gradient filling is read as FillType.Solid:
using (var stream = new MemoryStream(File.ReadAllBytes("E:\\test2\\AsposeCellsSolidOleObject\\AsposeCellsSolidOleObject\\OleExample.xlsx")))
workbook = new Workbook(stream);
var oo = workbook.Worksheets.OleObjects;
Console.WriteLine(oo.Fill.FillType); //Solid - Not Ok
if (oo.Fill.FillType != Aspose.Cells.Drawing.FillType.Gradient)
throw new System.Exception("Expected gradient filling");
I have logged a ticket with an id “CELLSNET-46891” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.