poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58005] New: Amount of CellStyles is still limited to 32K
Date Fri, 05 Jun 2015 13:24:01 GMT

            Bug ID: 58005
           Summary: Amount of CellStyles is still limited to 32K
           Product: POI
           Version: 3.12-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: mshlayen@smart-solution.com

Created attachment 32796
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32796&action=edit
java code

Amount of CellStyles is still limited to 32K. When you create large enough
excel file, after reaching value of 32767 of CellStyles, next CellStyleID
becomes negative (-32768).
Related bug # 57880 - for version 3.11 final. And it has not been fixed in the
version 3.12 final, despite it is written in the release notes.
See attached java code and resulting xlsx file (what happens from the row

Same limit applies to Fonts.

PS: increasing limit to 64K is not a solution! Styles are stored in the
ArrayList, and max size of it is MAX_INTEGER, which is 2,147,483,647

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