xl.format
Class ScriptStyle

System.Object
  extended byxl.format.ScriptStyle

public sealed class ScriptStyle
extends System.Object

Enumeration class which contains the various script styles available within the standard Excel ScriptStyle palette


Field Summary
static ScriptStyle NORMAL_SCRIPT
           
static ScriptStyle SUBSCRIPT
           
static ScriptStyle SUPERSCRIPT
           
 
Method Summary
 System.String getDescription()
          Gets the string description for display purposes
static ScriptStyle getStyle(int val)
          Gets the ScriptStyle from the value
 int getValue()
          Gets the value of this style.
 
Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL_SCRIPT

public static readonly ScriptStyle NORMAL_SCRIPT

SUPERSCRIPT

public static readonly ScriptStyle SUPERSCRIPT

SUBSCRIPT

public static readonly ScriptStyle SUBSCRIPT
Method Detail

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

public System.String getDescription()
Gets the string description for display purposes

Returns:
the string description

getStyle

public static ScriptStyle getStyle(int val)
Gets the ScriptStyle from the value

Parameters:
val -
Returns:
the ScriptStyle with that value