TextFormFieldType

TextFormFieldType

Overview

TextFormFieldType is an enum in Aspose.Words FOSS for Java.

Specifies the type of a text form field.

Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.

This enum declares 4 methods for TextFormFieldType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
REGULARThe text form field can contain any text.
NUMBERThe text form field can contain only numbers.
DATEThe text form field can contain only a valid date value.
CURRENT_DATEThe text form field value is the current date when the field is updated.
CURRENT_TIMEThe text form field value is the current time when the field is updated.
CALCULATEDThe text form field value is calculated from the expression specified in the FormField.getTextInputDefault() property.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of TextFormFieldType values.

Methods

SignatureDescription
getName(textFormFieldType: int) → StringReturns JAVA_STYLE string representation of integer TextFormFieldType value.
toString(textFormFieldType: int) → StringReturns DotNetStyle string representation of integer TextFormFieldType value.
fromName(textFormFieldTypeName: String) → intReturns integer representation by TextFormFieldType name.
getValues() → int[]Returns array of TextFormFieldType values.

See Also