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

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

public final class TextFormat
extends java.lang.Object

This class is used to specify text format.


Field Summary
static int _HTMLText
           HTML format.
static int _RTFText
           Rich text format.
static int _standardText
           Plain text.
static TextFormat HTMLText
           A TextFormat object used to specify HTML format.
static TextFormat RTFText
           A TextFormat object used to specify rich text format.
static TextFormat standardText
           A TextFormat object used to specify plain text.
 
Method Summary
static TextFormat from_int(int i)
           Returns the TextFormat object corresponding to the specified value.
static TextFormat from_string(java.lang.String sVal)
           Returns the TextFormat object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this TextFormat object.
 int value()
           Returns the int value of this TextFormat object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_standardText

public static final int _standardText

Plain text.

See Also:
Constant Field Values

_RTFText

public static final int _RTFText

Rich text format.

See Also:
Constant Field Values

_HTMLText

public static final int _HTMLText

HTML format.

See Also:
Constant Field Values

standardText

public static final TextFormat standardText

A TextFormat object used to specify plain text.


RTFText

public static final TextFormat RTFText

A TextFormat object used to specify rich text format.


HTMLText

public static final TextFormat HTMLText

A TextFormat object used to specify HTML format.

Method Detail

from_int

public static final TextFormat from_int(int i)

Returns the TextFormat object corresponding to the specified value.

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

from_string

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

Returns the TextFormat object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this TextFormat object.

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

value

public int value()

Returns the int value of this TextFormat object.

Returns:
The int value of this TextFormat object.