|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SpreadsheetVersion> org.apache.poi.ss.SpreadsheetVersion
public enum SpreadsheetVersion
This enum allows spreadsheets from multiple Excel versions to be handled by the common code.
Properties of this enum correspond to attributes of the spreadsheet that are easily discernable to the user. It is not intended to deal with low-level issues like file formats.
Enum Constant Summary | |
---|---|
EXCEL2007
Excel2007 The total number of available rows is 1M (2^20) The total number of available columns is 16K (2^14) 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 |
|
EXCEL97
Excel97 format aka BIFF8 The total number of available rows is 64k (2^16) The total number of available columns is 256 (2^8) 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 |
Method Summary | |
---|---|
int |
getLastColumnIndex()
|
java.lang.String |
getLastColumnName()
|
int |
getLastRowIndex()
|
int |
getMaxCellStyles()
|
int |
getMaxColumns()
|
int |
getMaxConditionalFormats()
|
int |
getMaxFunctionArgs()
|
int |
getMaxRows()
|
int |
getMaxTextLength()
|
static SpreadsheetVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SpreadsheetVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SpreadsheetVersion EXCEL97
public static final SpreadsheetVersion EXCEL2007
Method Detail |
---|
public static SpreadsheetVersion[] values()
for (SpreadsheetVersion c : SpreadsheetVersion.values()) System.out.println(c);
public static SpreadsheetVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getMaxRows()
public int getLastRowIndex()
getMaxRows() - 1
public int getMaxColumns()
public int getLastColumnIndex()
getMaxColumns() - 1
public int getMaxFunctionArgs()
public int getMaxConditionalFormats()
public int getMaxCellStyles()
public java.lang.String getLastColumnName()
IV
or XFD
).public int getMaxTextLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |