You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by teena21 <fr...@yahoo.com> on 2007/11/07 12:25:19 UTC

how can read or set background color of cells of excel sheet

i want to read the background colors of cells of an excel sheet.
i m using  style.getFillBackgroundColor() but it gives the same color of all
cells i can i get ot set different colors of  cells of an excel sheet.
-- 
View this message in context: http://www.nabble.com/how-can-read-or-set-background-color-of-cells-of-excel-sheet-tf4764060.html#a13625306
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: how can read or set background color of cells of excel sheet

Posted by Yegor Kozlov <ye...@dinom.ru>.
use style.getFillForegroundColor().

Yegor
> i want to read the background colors of cells of an excel sheet.
> i m using  style.getFillBackgroundColor() but it gives the same color of all
> cells i can i get ot set different colors of  cells of an excel sheet.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org