https://bz.apache.org/bugzilla/show_bug.cgi?id=58005
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: [email protected]
Reporter: [email protected]
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
10923).
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: [email protected]
For additional commands, e-mail: [email protected]