FieldUpdateCultureSource
Contents
[
Hide
]Inheritance: java.lang.Object
public class FieldUpdateCultureSource
Indicates what culture to use during field update.
Fields
Field | Description |
---|---|
CURRENT_THREAD | The culture of the current execution thread is used to update fields. |
FIELD_CODE | The culture specified in the field formatting properties via language setting is used. |
length |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
fieldUpdateCultureSourceName | java.lang.String |
Returns: int
getName(int fieldUpdateCultureSource)
public static String getName(int fieldUpdateCultureSource)
Parameters:
Parameter | Type | Description |
---|---|---|
fieldUpdateCultureSource | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int fieldUpdateCultureSource)
public static String toString(int fieldUpdateCultureSource)
Parameters:
Parameter | Type | Description |
---|---|---|
fieldUpdateCultureSource | int |
Returns: java.lang.String