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 2009/10/04 12:15:34 UTC
DO NOT REPLY [Bug 47862] Not setting the correct columnwidth in
XSSFSheet
https://issues.apache.org/bugzilla/show_bug.cgi?id=47862
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Yegor Kozlov <ye...@dinom.ru> 2009-10-04 03:15:32 PDT ---
Actually the fix is simple - change the second parameter of
getOrCreateColumn1Based from false to true in ColumnHelper.setColWidth:
public void setColWidth(long index, double width) {
CTCol col = getOrCreateColumn1Based(index+1, true);
col.setWidth(width);
}
true causes to split spanned columns which is exactly what we need.
The fix was committed in r821497
Yegor
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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