public static enum ExcelConvertOptions.PageSize extends Enum<ExcelConvertOptions.PageSize>
Enum Constant and Description |
---|
A3 |
A4 |
A5 |
B4 |
B5 |
Executive |
Ledger |
Legal |
Letter |
Statement |
Tabloid |
Modifier and Type | Method and Description |
---|---|
int |
heightInPts() |
Dimension |
toDimension() |
static ExcelConvertOptions.PageSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelConvertOptions.PageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
int |
widthInPts() |
public static final ExcelConvertOptions.PageSize Letter
public static final ExcelConvertOptions.PageSize Tabloid
public static final ExcelConvertOptions.PageSize Ledger
public static final ExcelConvertOptions.PageSize Legal
public static final ExcelConvertOptions.PageSize Statement
public static final ExcelConvertOptions.PageSize Executive
public static final ExcelConvertOptions.PageSize A3
public static final ExcelConvertOptions.PageSize A4
public static final ExcelConvertOptions.PageSize A5
public static final ExcelConvertOptions.PageSize B4
public static final ExcelConvertOptions.PageSize B5
public static ExcelConvertOptions.PageSize[] values()
for (ExcelConvertOptions.PageSize c : ExcelConvertOptions.PageSize.values()) System.out.println(c);
public static ExcelConvertOptions.PageSize 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 widthInPts()
public int heightInPts()
public Dimension toDimension()