Fix bug #49194 - Correct text size limit for OOXML .xlsx files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@941372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2010-05-05 16:30:43 +00:00
parent 84b713a477
commit 476a526e26
2 changed files with 3 additions and 3 deletions

View File

@ -34,6 +34,7 @@
<changes> <changes>
<release version="3.7-SNAPSHOT" date="2010-??-??"> <release version="3.7-SNAPSHOT" date="2010-??-??">
<action dev="POI-DEVELOPERS" type="fix">49194 - Correct text size limit for OOXML .xlsx files</action>
<action dev="POI-DEVELOPERS" type="fix">49254 - Fix CellUtils.setFont to use the correct type internally</action> <action dev="POI-DEVELOPERS" type="fix">49254 - Fix CellUtils.setFont to use the correct type internally</action>
<action dev="POI-DEVELOPERS" type="fix">49139 - Properly support 4k big block size in POIFS</action> <action dev="POI-DEVELOPERS" type="fix">49139 - Properly support 4k big block size in POIFS</action>
<action dev="POI-DEVELOPERS" type="fix">48936 - Avoid writing malformed CDATA blocks in sharedStrings.xml</action> <action dev="POI-DEVELOPERS" type="fix">48936 - Avoid writing malformed CDATA blocks in sharedStrings.xml</action>

View File

@ -36,7 +36,6 @@ public enum SpreadsheetVersion {
* <li>The total number of available rows is 64k (2^16)</li> * <li>The total number of available rows is 64k (2^16)</li>
* <li>The maximum number of arguments to a function is 30</li> * <li>The maximum number of arguments to a function is 30</li>
* <li>Number of conditional format conditions on a cell is 3</li> * <li>Number of conditional format conditions on a cell is 3</li>
* <li>Length of text cell contents is unlimited </li>
* <li>Length of text cell contents is 32767</li> * <li>Length of text cell contents is 32767</li>
* </ul> * </ul>
*/ */
@ -51,10 +50,10 @@ public enum SpreadsheetVersion {
* <li>The maximum number of arguments to a function is 255</li> * <li>The maximum number of arguments to a function is 255</li>
* <li>Number of conditional format conditions on a cell is unlimited * <li>Number of conditional format conditions on a cell is unlimited
* (actually limited by available memory in Excel)</li> * (actually limited by available memory in Excel)</li>
* <li>Length of text cell contents is unlimited </li> * <li>Length of text cell contents is 32767</li>
* <ul> * <ul>
*/ */
EXCEL2007(0x100000, 0x4000, 255, Integer.MAX_VALUE, Integer.MAX_VALUE); EXCEL2007(0x100000, 0x4000, 255, Integer.MAX_VALUE, 32767);
private final int _maxRows; private final int _maxRows;
private final int _maxColumns; private final int _maxColumns;