poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: problem with HSSFStyle?
Date Fri, 26 Sep 2008 13:10:05 GMT
On Fri, 26 Sep 2008, Ravi Sundaar wrote:
> I need to change the style for a few cells in my spreadsheet - setting a 
> thick border and so on. However, when I try that the style gets applied 
> to the whole spreadsheet!!

Clearly your cell is set to use the default cell style. So, when you get 
the cell style, it's the default one, and you change that. poi is behaving 
as expected

You probably want to create a new cell style, set it up as you want, then 
apply it to only certain cells. See the docs for more info

Nick

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


Mime
View raw message