poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 51037] setDefaultColumnStyle() in XSSFSheet not working
Date Fri, 11 Jul 2014 13:24:09 GMT
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


Mime
View raw message