public enum SpreadsheetVersion extends Enum<SpreadsheetVersion>
Enum Constant and Description |
---|
EXCEL2007
Excel2007
The total number of available columns is 16K (2^14)
The total number of available rows is 1M (2^20)
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)
Length of text cell contents is 32767
|
EXCEL97
Excel97 format aka BIFF8
The total number of available columns is 256 (2^8)
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
Length of text cell contents is 32767
|
Modifier and Type | Method and Description |
---|---|
int |
getLastColumnIndex() |
String |
getLastColumnName() |
int |
getLastRowIndex() |
int |
getMaxColumns() |
int |
getMaxConditionalFormats() |
int |
getMaxFunctionArgs() |
int |
getMaxRows() |
int |
getMaxTextLength() |
static SpreadsheetVersion |
valueOf(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.
|
public static final SpreadsheetVersion EXCEL97
public static final SpreadsheetVersion EXCEL2007
public static SpreadsheetVersion[] values()
for (SpreadsheetVersion c : SpreadsheetVersion.values()) System.out.println(c);
public static SpreadsheetVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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 String getLastColumnName()
IV
or XFD
).public int getMaxTextLength()
Copyright © 2020. All rights reserved.