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 43751] New: - The HSSFSheet.autoSizeColumn method doesn't handle rotated text well and truncates long decimal values
Date Wed, 31 Oct 2007 14:51:41 GMT
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: dev@poi.apache.org
        ReportedBy: kanobe@gmail.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message