I have a class where I am currently using *HSSFColor/HSSFPalette *and *XSSFColor* to set the Custom Colors. Implementation is as follows : for e.g.
/font.setColor(HSSFColor.WHITE.index);/ for HSSF or /cs.setFillForegroundColor(xssfColor);/ for XSSF I want to pass parameters in both the above cases for "Hexadecimal Color Codes". Like : for HSSF: /font.setColor(<Hexadecimal Color Codes>)/font.setColor(getShortIndexFromHexColorCodes()) for XSSF: cs.setFillForegroundColor(<Hexadecimal Color Codes>);/ Is there any way out to do the above thing, where I can pass Hexadecimal Color Code and the colors are applied in HSSF and XSSF. Please guide me and thanks in advance:) -Siddharth- -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Apply-POI-Custom-color-using-Hexadecimal-Color-Codes-provided-tp5710279.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
