DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43751>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43751

           Summary: The HSSFSheet.autoSizeColumn method doesn't handle
                    rotated text well and truncates long decimal values
           Product: POI
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The HSSFSheet.autoSizeColumn method doesn't handle rotated text well. When a
text value is entered into a column cell and the cell style is set to rotate the
text 90 degrees, the width of the generated cell is still sized to the unrotated
width of the text string. 

Additionally, the HSSFSheet.autoSizeColumn method doesn't handle numeric values
with more than 3 fractional decimal digits properly (for example the value
3.45334). For such values the generated cell is too narrow. It seems that for
Excel numeric values using the General format the method formats the number
using a java DecimalFormat object with the default constructor, which seems to
default to a pattern that only outputs three fractional digits (so 3.45334 would
be output as 3.453).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to