You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by ARadauer <an...@porsche.co.at> on 2007/11/19 14:20:52 UTC

adding up - HSSF Cell Styles

Is it possible to Add Styles to a Cell? My Problem is that i have about 4
different Colors, 3 different Border and 3 differrent Font Formattings. So i
have to create 4*3*3 HSSFCellStyles to format my Cells.
If i could add Styles to a Cell, i yould only need 4+3+3, but if i add a
Style it overrides the old one.....

Thanks for Help
-- 
View this message in context: http://www.nabble.com/adding-up---HSSF-Cell-Styles-tf4836307.html#a13836032
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: adding up - HSSF Cell Styles

Posted by Tahir Akhtar <ta...@spectrum-tech.com>.
ARadauer wrote:
> Is it possible to Add Styles to a Cell? My Problem is that i have about 4
> different Colors, 3 different Border and 3 differrent Font Formattings. So i
> have to create 4*3*3 HSSFCellStyles to format my Cells.
> If i could add Styles to a Cell, i yould only need 4+3+3, but if i add a
> Style it overrides the old one.....
>
> Thanks for Help
>   
Do you need all styles every time you generate a sheet?
If not you can create styles on demand.
BTW, 4*3*3=36 styles does not seems to be too many to worry about.

Regards
Tahir Akhtar

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