I am having issues reading a Excel file which uses themed background fill
colors.  They don't get returned properly, in the CellStyle.getFillXXX()
calls.

                        XSSFColor fc = ((XSSFCellStyle) style)
                                .getFillForegroundXSSFColor();
                        XSSFColor bc = ((XSSFCellStyle) style)
                                .getFillForegroundXSSFColor();

Is there an easy way to test for theme or indexed colors and then retrieve
them.

Playing around in cases where a theme or standard color is used, The
Indexed color returns 64 or the theme value is usually 1.

Thanks,
Ty

Reply via email to