I have worked with the presentation file shared by you and tried using the following sample code on my end to get the FillFormat of the shapes. The first shape is returned -1 as FillFormat type which seem to be an issue. An issue with ID SLIDESJAVA-34237 has been created in our issue tracking system to further investigate and resolve the issue. There is no issue while accessing the FillFormat for second slide shape with brown shade.
public static void TestShape()
String path=“D:\Aspose Data\”;
PresentationEx pres=new PresentationEx(path+“simple2FormTest.pptx”) ;
if(shape instanceof AutoShapeEx)
This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.
We are sorry for your inconvenience,