Package org.apache.poi.xssf.usermodel
Enum XSSFBuiltinTableStyle
- java.lang.Object
-
- java.lang.Enum<XSSFBuiltinTableStyle>
-
- org.apache.poi.xssf.usermodel.XSSFBuiltinTableStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XSSFBuiltinTableStyle>
public enum XSSFBuiltinTableStyle extends java.lang.Enum<XSSFBuiltinTableStyle>
Table style names defined in the OOXML spec. The actual styling is defined in presetTableStyles.xml
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TableStyle
getStyle()
static void
init()
Only init once - thus the synchronized.static boolean
isBuiltinStyle(TableStyle style)
NOTE: only checks by name, not definition.static XSSFBuiltinTableStyle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static XSSFBuiltinTableStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TableStyleDark1
public static final XSSFBuiltinTableStyle TableStyleDark1
-
TableStyleDark2
public static final XSSFBuiltinTableStyle TableStyleDark2
-
TableStyleDark3
public static final XSSFBuiltinTableStyle TableStyleDark3
-
TableStyleDark4
public static final XSSFBuiltinTableStyle TableStyleDark4
-
TableStyleDark5
public static final XSSFBuiltinTableStyle TableStyleDark5
-
TableStyleDark6
public static final XSSFBuiltinTableStyle TableStyleDark6
-
TableStyleDark7
public static final XSSFBuiltinTableStyle TableStyleDark7
-
TableStyleDark8
public static final XSSFBuiltinTableStyle TableStyleDark8
-
TableStyleDark9
public static final XSSFBuiltinTableStyle TableStyleDark9
-
TableStyleDark10
public static final XSSFBuiltinTableStyle TableStyleDark10
-
TableStyleDark11
public static final XSSFBuiltinTableStyle TableStyleDark11
-
TableStyleLight1
public static final XSSFBuiltinTableStyle TableStyleLight1
-
TableStyleLight2
public static final XSSFBuiltinTableStyle TableStyleLight2
-
TableStyleLight3
public static final XSSFBuiltinTableStyle TableStyleLight3
-
TableStyleLight4
public static final XSSFBuiltinTableStyle TableStyleLight4
-
TableStyleLight5
public static final XSSFBuiltinTableStyle TableStyleLight5
-
TableStyleLight6
public static final XSSFBuiltinTableStyle TableStyleLight6
-
TableStyleLight7
public static final XSSFBuiltinTableStyle TableStyleLight7
-
TableStyleLight8
public static final XSSFBuiltinTableStyle TableStyleLight8
-
TableStyleLight9
public static final XSSFBuiltinTableStyle TableStyleLight9
-
TableStyleLight10
public static final XSSFBuiltinTableStyle TableStyleLight10
-
TableStyleLight11
public static final XSSFBuiltinTableStyle TableStyleLight11
-
TableStyleLight12
public static final XSSFBuiltinTableStyle TableStyleLight12
-
TableStyleLight13
public static final XSSFBuiltinTableStyle TableStyleLight13
-
TableStyleLight14
public static final XSSFBuiltinTableStyle TableStyleLight14
-
TableStyleLight15
public static final XSSFBuiltinTableStyle TableStyleLight15
-
TableStyleLight16
public static final XSSFBuiltinTableStyle TableStyleLight16
-
TableStyleLight17
public static final XSSFBuiltinTableStyle TableStyleLight17
-
TableStyleLight18
public static final XSSFBuiltinTableStyle TableStyleLight18
-
TableStyleLight19
public static final XSSFBuiltinTableStyle TableStyleLight19
-
TableStyleLight20
public static final XSSFBuiltinTableStyle TableStyleLight20
-
TableStyleLight21
public static final XSSFBuiltinTableStyle TableStyleLight21
-
TableStyleMedium1
public static final XSSFBuiltinTableStyle TableStyleMedium1
-
TableStyleMedium2
public static final XSSFBuiltinTableStyle TableStyleMedium2
-
TableStyleMedium3
public static final XSSFBuiltinTableStyle TableStyleMedium3
-
TableStyleMedium4
public static final XSSFBuiltinTableStyle TableStyleMedium4
-
TableStyleMedium5
public static final XSSFBuiltinTableStyle TableStyleMedium5
-
TableStyleMedium6
public static final XSSFBuiltinTableStyle TableStyleMedium6
-
TableStyleMedium7
public static final XSSFBuiltinTableStyle TableStyleMedium7
-
TableStyleMedium8
public static final XSSFBuiltinTableStyle TableStyleMedium8
-
TableStyleMedium9
public static final XSSFBuiltinTableStyle TableStyleMedium9
-
TableStyleMedium10
public static final XSSFBuiltinTableStyle TableStyleMedium10
-
TableStyleMedium11
public static final XSSFBuiltinTableStyle TableStyleMedium11
-
TableStyleMedium12
public static final XSSFBuiltinTableStyle TableStyleMedium12
-
TableStyleMedium13
public static final XSSFBuiltinTableStyle TableStyleMedium13
-
TableStyleMedium14
public static final XSSFBuiltinTableStyle TableStyleMedium14
-
TableStyleMedium15
public static final XSSFBuiltinTableStyle TableStyleMedium15
-
TableStyleMedium16
public static final XSSFBuiltinTableStyle TableStyleMedium16
-
TableStyleMedium17
public static final XSSFBuiltinTableStyle TableStyleMedium17
-
TableStyleMedium18
public static final XSSFBuiltinTableStyle TableStyleMedium18
-
TableStyleMedium19
public static final XSSFBuiltinTableStyle TableStyleMedium19
-
TableStyleMedium20
public static final XSSFBuiltinTableStyle TableStyleMedium20
-
TableStyleMedium21
public static final XSSFBuiltinTableStyle TableStyleMedium21
-
TableStyleMedium22
public static final XSSFBuiltinTableStyle TableStyleMedium22
-
TableStyleMedium23
public static final XSSFBuiltinTableStyle TableStyleMedium23
-
TableStyleMedium24
public static final XSSFBuiltinTableStyle TableStyleMedium24
-
TableStyleMedium25
public static final XSSFBuiltinTableStyle TableStyleMedium25
-
TableStyleMedium26
public static final XSSFBuiltinTableStyle TableStyleMedium26
-
TableStyleMedium27
public static final XSSFBuiltinTableStyle TableStyleMedium27
-
TableStyleMedium28
public static final XSSFBuiltinTableStyle TableStyleMedium28
-
PivotStyleMedium1
public static final XSSFBuiltinTableStyle PivotStyleMedium1
-
PivotStyleMedium2
public static final XSSFBuiltinTableStyle PivotStyleMedium2
-
PivotStyleMedium3
public static final XSSFBuiltinTableStyle PivotStyleMedium3
-
PivotStyleMedium4
public static final XSSFBuiltinTableStyle PivotStyleMedium4
-
PivotStyleMedium5
public static final XSSFBuiltinTableStyle PivotStyleMedium5
-
PivotStyleMedium6
public static final XSSFBuiltinTableStyle PivotStyleMedium6
-
PivotStyleMedium7
public static final XSSFBuiltinTableStyle PivotStyleMedium7
-
PivotStyleMedium8
public static final XSSFBuiltinTableStyle PivotStyleMedium8
-
PivotStyleMedium9
public static final XSSFBuiltinTableStyle PivotStyleMedium9
-
PivotStyleMedium10
public static final XSSFBuiltinTableStyle PivotStyleMedium10
-
PivotStyleMedium11
public static final XSSFBuiltinTableStyle PivotStyleMedium11
-
PivotStyleMedium12
public static final XSSFBuiltinTableStyle PivotStyleMedium12
-
PivotStyleMedium13
public static final XSSFBuiltinTableStyle PivotStyleMedium13
-
PivotStyleMedium14
public static final XSSFBuiltinTableStyle PivotStyleMedium14
-
PivotStyleMedium15
public static final XSSFBuiltinTableStyle PivotStyleMedium15
-
PivotStyleMedium16
public static final XSSFBuiltinTableStyle PivotStyleMedium16
-
PivotStyleMedium17
public static final XSSFBuiltinTableStyle PivotStyleMedium17
-
PivotStyleMedium18
public static final XSSFBuiltinTableStyle PivotStyleMedium18
-
PivotStyleMedium19
public static final XSSFBuiltinTableStyle PivotStyleMedium19
-
PivotStyleMedium20
public static final XSSFBuiltinTableStyle PivotStyleMedium20
-
PivotStyleMedium21
public static final XSSFBuiltinTableStyle PivotStyleMedium21
-
PivotStyleMedium22
public static final XSSFBuiltinTableStyle PivotStyleMedium22
-
PivotStyleMedium23
public static final XSSFBuiltinTableStyle PivotStyleMedium23
-
PivotStyleMedium24
public static final XSSFBuiltinTableStyle PivotStyleMedium24
-
PivotStyleMedium25
public static final XSSFBuiltinTableStyle PivotStyleMedium25
-
PivotStyleMedium26
public static final XSSFBuiltinTableStyle PivotStyleMedium26
-
PivotStyleMedium27
public static final XSSFBuiltinTableStyle PivotStyleMedium27
-
PivotStyleMedium28
public static final XSSFBuiltinTableStyle PivotStyleMedium28
-
PivotStyleLight1
public static final XSSFBuiltinTableStyle PivotStyleLight1
-
PivotStyleLight2
public static final XSSFBuiltinTableStyle PivotStyleLight2
-
PivotStyleLight3
public static final XSSFBuiltinTableStyle PivotStyleLight3
-
PivotStyleLight4
public static final XSSFBuiltinTableStyle PivotStyleLight4
-
PivotStyleLight5
public static final XSSFBuiltinTableStyle PivotStyleLight5
-
PivotStyleLight6
public static final XSSFBuiltinTableStyle PivotStyleLight6
-
PivotStyleLight7
public static final XSSFBuiltinTableStyle PivotStyleLight7
-
PivotStyleLight8
public static final XSSFBuiltinTableStyle PivotStyleLight8
-
PivotStyleLight9
public static final XSSFBuiltinTableStyle PivotStyleLight9
-
PivotStyleLight10
public static final XSSFBuiltinTableStyle PivotStyleLight10
-
PivotStyleLight11
public static final XSSFBuiltinTableStyle PivotStyleLight11
-
PivotStyleLight12
public static final XSSFBuiltinTableStyle PivotStyleLight12
-
PivotStyleLight13
public static final XSSFBuiltinTableStyle PivotStyleLight13
-
PivotStyleLight14
public static final XSSFBuiltinTableStyle PivotStyleLight14
-
PivotStyleLight15
public static final XSSFBuiltinTableStyle PivotStyleLight15
-
PivotStyleLight16
public static final XSSFBuiltinTableStyle PivotStyleLight16
-
PivotStyleLight17
public static final XSSFBuiltinTableStyle PivotStyleLight17
-
PivotStyleLight18
public static final XSSFBuiltinTableStyle PivotStyleLight18
-
PivotStyleLight19
public static final XSSFBuiltinTableStyle PivotStyleLight19
-
PivotStyleLight20
public static final XSSFBuiltinTableStyle PivotStyleLight20
-
PivotStyleLight21
public static final XSSFBuiltinTableStyle PivotStyleLight21
-
PivotStyleLight22
public static final XSSFBuiltinTableStyle PivotStyleLight22
-
PivotStyleLight23
public static final XSSFBuiltinTableStyle PivotStyleLight23
-
PivotStyleLight24
public static final XSSFBuiltinTableStyle PivotStyleLight24
-
PivotStyleLight25
public static final XSSFBuiltinTableStyle PivotStyleLight25
-
PivotStyleLight26
public static final XSSFBuiltinTableStyle PivotStyleLight26
-
PivotStyleLight27
public static final XSSFBuiltinTableStyle PivotStyleLight27
-
PivotStyleLight28
public static final XSSFBuiltinTableStyle PivotStyleLight28
-
PivotStyleDark1
public static final XSSFBuiltinTableStyle PivotStyleDark1
-
PivotStyleDark2
public static final XSSFBuiltinTableStyle PivotStyleDark2
-
PivotStyleDark3
public static final XSSFBuiltinTableStyle PivotStyleDark3
-
PivotStyleDark4
public static final XSSFBuiltinTableStyle PivotStyleDark4
-
PivotStyleDark5
public static final XSSFBuiltinTableStyle PivotStyleDark5
-
PivotStyleDark6
public static final XSSFBuiltinTableStyle PivotStyleDark6
-
PivotStyleDark7
public static final XSSFBuiltinTableStyle PivotStyleDark7
-
PivotStyleDark8
public static final XSSFBuiltinTableStyle PivotStyleDark8
-
PivotStyleDark9
public static final XSSFBuiltinTableStyle PivotStyleDark9
-
PivotStyleDark10
public static final XSSFBuiltinTableStyle PivotStyleDark10
-
PivotStyleDark11
public static final XSSFBuiltinTableStyle PivotStyleDark11
-
PivotStyleDark12
public static final XSSFBuiltinTableStyle PivotStyleDark12
-
PivotStyleDark13
public static final XSSFBuiltinTableStyle PivotStyleDark13
-
PivotStyleDark14
public static final XSSFBuiltinTableStyle PivotStyleDark14
-
PivotStyleDark15
public static final XSSFBuiltinTableStyle PivotStyleDark15
-
PivotStyleDark16
public static final XSSFBuiltinTableStyle PivotStyleDark16
-
PivotStyleDark17
public static final XSSFBuiltinTableStyle PivotStyleDark17
-
PivotStyleDark18
public static final XSSFBuiltinTableStyle PivotStyleDark18
-
PivotStyleDark19
public static final XSSFBuiltinTableStyle PivotStyleDark19
-
PivotStyleDark20
public static final XSSFBuiltinTableStyle PivotStyleDark20
-
PivotStyleDark21
public static final XSSFBuiltinTableStyle PivotStyleDark21
-
PivotStyleDark22
public static final XSSFBuiltinTableStyle PivotStyleDark22
-
PivotStyleDark23
public static final XSSFBuiltinTableStyle PivotStyleDark23
-
PivotStyleDark24
public static final XSSFBuiltinTableStyle PivotStyleDark24
-
PivotStyleDark25
public static final XSSFBuiltinTableStyle PivotStyleDark25
-
PivotStyleDark26
public static final XSSFBuiltinTableStyle PivotStyleDark26
-
PivotStyleDark27
public static final XSSFBuiltinTableStyle PivotStyleDark27
-
PivotStyleDark28
public static final XSSFBuiltinTableStyle PivotStyleDark28
-
-
Method Detail
-
values
public static XSSFBuiltinTableStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XSSFBuiltinTableStyle c : XSSFBuiltinTableStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XSSFBuiltinTableStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStyle
public TableStyle getStyle()
- Returns:
- built-in
TableStyle
definition
-
isBuiltinStyle
public static boolean isBuiltinStyle(TableStyle style)
NOTE: only checks by name, not definition.- Parameters:
style
-- Returns:
- true if the style represents a built-in style, false if it is null or a custom style
-
init
public static void init()
Only init once - thus the synchronized. Lazy, after creating instances, and only when a style is actually needed, to avoid overhead for uses that don't need the actual style definitions.Public so clients can initialize the map on startup rather than lazily during evaluation if desired.
-
-