com.crystaldecisions.sdk.occa.report.definition
Class LineSpacingType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.LineSpacingType

public final class LineSpacingType
extends java.lang.Object

This class is used to specify the line spacing style.


Field Summary
static int _exactSpacing
           An exact number of twips.
static int _multipleSpacing
           A multiple of the line height.
static LineSpacingType exactSpacing
           A LineSpacingType object that specifies an exact number of twips.
static LineSpacingType multipleSpacing
           A LineSpacingType object that specifies a multiple of the line height.
 
Method Summary
static LineSpacingType from_int(int i)
           Returns the LineSpacingType object corresponding to the specified value.
static LineSpacingType from_string(java.lang.String sVal)
           Returns the LineSpacingType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this LineSpacingType object.
 int value()
           Returns the int value of this LineSpacingType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_multipleSpacing

public static final int _multipleSpacing

A multiple of the line height.

See Also:
Constant Field Values

_exactSpacing

public static final int _exactSpacing

An exact number of twips.

See Also:
Constant Field Values

multipleSpacing

public static final LineSpacingType multipleSpacing

A LineSpacingType object that specifies a multiple of the line height.


exactSpacing

public static final LineSpacingType exactSpacing

A LineSpacingType object that specifies an exact number of twips.

Method Detail

from_int

public static final LineSpacingType from_int(int i)

Returns the LineSpacingType object corresponding to the specified value.

Parameters:
i - The int value of the desired LineSpacingType object.
Returns:
The LineSpacingType object corresponding to the specified value.

from_string

public static final LineSpacingType from_string(java.lang.String sVal)

Returns the LineSpacingType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired LineSpacingType object.
Returns:
The LineSpacingType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this LineSpacingType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this LineSpacingType object.

value

public int value()

Returns the int value of this LineSpacingType object.

Returns:
The int value of this LineSpacingType object.