You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/07/11 15:24:09 UTC

[Bug 51037] setDefaultColumnStyle() in XSSFSheet not working

https://issues.apache.org/bugzilla/show_bug.cgi?id=51037

--- Comment #8 from maksim.tsilayeu@embedit.cz ---
it seems like an issue with generated xl\worksheets\sheet1.xml

If you use sheet.setDefaultColumnStyle then generated xml is missing "s"
attribute - which is used for style reference, so it looks like:
<c r="I2" t="n"><v>41830.0</v></c>

However if you use cell.setCellStyle then style attribute is generated, so it
looks like: 
<c r="I2" t="n" s="1"><v>41830.0</v></c>

It would be nice to have this issue fixed :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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