From: Nick Burch Date: Fri, 22 Aug 2014 08:59:25 +0000 (+0000) Subject: Include the maximum number of Cell Styles in the spreadsheet versions class X-Git-Tag: REL_3_11_BETA3~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=228abc5322819b0913c57524549f675cec4b0ccf;p=poi.git Include the maximum number of Cell Styles in the spreadsheet versions class git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1619710 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/ss/SpreadsheetVersion.java b/src/java/org/apache/poi/ss/SpreadsheetVersion.java index 8030e02283..154e501677 100644 --- a/src/java/org/apache/poi/ss/SpreadsheetVersion.java +++ b/src/java/org/apache/poi/ss/SpreadsheetVersion.java @@ -36,10 +36,11 @@ public enum SpreadsheetVersion { *
  • The total number of available rows is 64k (2^16)
  • *
  • The maximum number of arguments to a function is 30
  • *
  • Number of conditional format conditions on a cell is 3
  • + *
  • Number of cell styles is 4000
  • *
  • Length of text cell contents is 32767
  • * */ - EXCEL97(0x10000, 0x0100, 30, 3, 32767), + EXCEL97(0x10000, 0x0100, 30, 3, 4000, 32767), /** * Excel2007 @@ -50,22 +51,25 @@ public enum SpreadsheetVersion { *
  • The maximum number of arguments to a function is 255
  • *
  • Number of conditional format conditions on a cell is unlimited * (actually limited by available memory in Excel)
  • + *
  • Number of cell styles is 64000
  • *
  • Length of text cell contents is 32767
  • *