@PublicApi public enum ExcelStyle extends Enum<ExcelStyle>
ExcelStyle
represents the default cell styles used by Structure's Excel export.Enum Constant and Description |
---|
DATE
Date style.
|
DATETIME
Date and time style.
|
DEFAULT
The default style.
|
DURATION
Duration style.
|
HEADER_LEFT_ALIGNED
Left-aligned header style.
|
HEADER_RIGHT_ALIGNED
Right-aligned header style.
|
HYPERLINK
Hyperlink style.
|
HYPERLINK_UNDECORATED
Hyperlink style with no underlining.
|
PERCENTAGE
Percentage style.
|
Modifier and Type | Method and Description |
---|---|
static ExcelStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExcelStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExcelStyle DEFAULT
public static final ExcelStyle HEADER_LEFT_ALIGNED
public static final ExcelStyle HEADER_RIGHT_ALIGNED
public static final ExcelStyle DATE
public static final ExcelStyle DATETIME
public static final ExcelStyle DURATION
public static final ExcelStyle PERCENTAGE
public static final ExcelStyle HYPERLINK
public static final ExcelStyle HYPERLINK_UNDECORATED
HYPERLINK
when you don't want the decoration.public static ExcelStyle[] values()
for (ExcelStyle c : ExcelStyle.values()) System.out.println(c);
public static ExcelStyle 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 nullCopyright © 2024 Tempo Software. All Rights Reserved.