Package jxl.format
Class ScriptStyle
java.lang.Object
jxl.format.ScriptStyle
Enumeration class which contains the various script styles available
within the standard Excel ScriptStyle palette
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScriptStyle
static final ScriptStyle
static final ScriptStyle
-
Method Summary
Modifier and TypeMethodDescriptionGets the string description for display purposesstatic ScriptStyle
getStyle
(int val) Gets the ScriptStyle from the valueint
getValue()
Gets the value of this style.
-
Field Details
-
NORMAL_SCRIPT
-
SUPERSCRIPT
-
SUBSCRIPT
-
-
Method Details
-
getValue
public int getValue()Gets the value of this style. This is the value that is written to the generated Excel file- Returns:
- the binary value
-
getDescription
Gets the string description for display purposes- Returns:
- the string description
-
getStyle
Gets the ScriptStyle from the value- Parameters:
val
-- Returns:
- the ScriptStyle with that value
-