HSSFPalette makes sense only for the binary Excel format. In the *.xls format the number of possible colors in workbook is limited. Excel uses indexed color model and HSSFPalette is an utility class to manage / override indexed colors.

In XSSF you can still use indexed colors (left for backwards compatibility with *.xls) or set any RGB color values See org.apache.poi.xssf.usermodel.XSSFColor.

Yegor

There used to be a class 'HSSFPalette', but I don't see its counterpart
class in the new XSSF.
Is this changed to something else?

Thanks,
Rajiv



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to