https://bz.apache.org/bugzilla/show_bug.cgi?id=66052
--- Comment #23 from PJ Fanning <[email protected]> --- The code already does this: if (foregroundFillColor != null) { try { style.setFillForegroundColor(foregroundFillColor); } catch (IllegalArgumentException iae) { LOGGER.atDebug().log("Mismatched FillForegroundColor instance used", iae); } } So if you try to set a XSSF style on a HSSF workbook (or HSSF style on an XSSF workbook), the failure is caught and logged. This is useful for allowing HSSF cell data to be copied to an XSSF target (or XSSF cell to a HSSF target). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
