Can you please help me with following issue:
Thanks for your sample file, sample code and using Aspose.Cells.
We were able to observe this issue after running your code with the latest version: Aspose.Cells for Java 8.1.1.
The background pattern of cell C9 should be detected as BackgroundType.NONE but it is detected as BackgroundType.SOLID and its foreground color is detected as Black while it should be detected as White or No-Fill.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSJAVA-40881 - Wrong detection of cell background pattern and color
selected, Click “Pattern Style”, “Solid” is selected.
In Aspose.Cells, Color.isEmpty() is used to check whether there is no color set.
See following codes:
style = cells.getCellStyle(8, 2);
Thanks, Amjad Sahi. It is very helpfull.