https://issues.apache.org/bugzilla/show_bug.cgi?id=52421

             Bug #: 52421
           Summary: autoSizeColumn for large numbers
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 28119
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28119
Program that shows that autoSizeColumn produces too wide columns for large
numbers.

Hello,

The method autoSizeColumn of class org.apache.poi.ss.usermodel.Sheet produces
columns that are far too wide when the column contains large numbers such as
1e32. 

Attached is a simple Java program that demonstrates the problem for the HSSF
format.  

I have tried poi-3.7 and poi-3.8-beta5, with identical results for xls files. 
For poi-3.8-beta5 the problem also occurs for the XSSF format.

Thanks,

Rob van Harrevelt

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to