poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47862] Not setting the correct columnwidth in XSSFSheet
Date Sun, 04 Oct 2009 10:15:34 GMT

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Yegor Kozlov <yegor@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);

true causes to split spanned columns which is exactly what we need.

The fix was committed in r821497


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

View raw message