FieldUpdateCultureSource

Inheritance: java.lang.Object

public class FieldUpdateCultureSource

Indicates what culture to use during field update.

Fields

FieldDescription
CURRENT_THREADThe culture of the current execution thread is used to update fields.
FIELD_CODEThe culture specified in the field formatting properties via language setting is used.
length

Methods

MethodDescription
fromName(String fieldUpdateCultureSourceName)
getName(int fieldUpdateCultureSource)
getValues()
toString(int fieldUpdateCultureSource)

CURRENT_THREAD

public static int CURRENT_THREAD

The culture of the current execution thread is used to update fields.

FIELD_CODE

public static int FIELD_CODE

The culture specified in the field formatting properties via language setting is used.

Remarks:

To be exact, Aspose.Words mimics MS Word by using the language set for the first character of the field code.

length

public static int length

fromName(String fieldUpdateCultureSourceName)

public static int fromName(String fieldUpdateCultureSourceName)

Parameters:

ParameterTypeDescription
fieldUpdateCultureSourceNamejava.lang.String

Returns: int

getName(int fieldUpdateCultureSource)

public static String getName(int fieldUpdateCultureSource)

Parameters:

ParameterTypeDescription
fieldUpdateCultureSourceint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int fieldUpdateCultureSource)

public static String toString(int fieldUpdateCultureSource)

Parameters:

ParameterTypeDescription
fieldUpdateCultureSourceint

Returns: java.lang.String