---
title: "SubmitFormFlag"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf.facades/submitformflag/"
product: "Aspose.PDF for Java API Reference"
description: "Enumeration of possible submit form flags."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < SubmitFormFlag > com.aspose.pdf.facades.SubmitFormFlag, java.lang.Enum < SubmitFormFlag >, com.aspose.pdf.facades.SubmitFormFlag

**All Implemented Interfaces:**
Serializable, Comparable < SubmitFormFlag >

```
public enum SubmitFormFlag extends Enum < SubmitFormFlag >
```

Enumeration of possible submit form flags.

## Fields

| Field | Description |
| --- | --- |
| [Fdf](#Fdf) | Data will be returned in FDF format. |
| [FdfWithComments](#FdfWithComments) | Data will be returned in FDF format with comments. |
| [Html](#Html) | Data will be returned in HTML format. |
| [Pdf](#Pdf) | Whole PDF file will be submitted. |
| [Xfdf](#Xfdf) | Data will be returned in XFDF format. |
| [XfdfWithComments](#XfdfWithComments) | Data will be returned in XFDF format with comments. |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Fdf {#Fdf}
```
public static final SubmitFormFlag Fdf
```

Data will be returned in FDF format.

### FdfWithComments {#FdfWithComments}
```
public static final SubmitFormFlag FdfWithComments
```

Data will be returned in FDF format with comments.

### Html {#Html}
```
public static final SubmitFormFlag Html
```

Data will be returned in HTML format.

### Pdf {#Pdf}
```
public static final SubmitFormFlag Pdf
```

Whole PDF file will be submitted.

### Xfdf {#Xfdf}
```
public static final SubmitFormFlag Xfdf
```

Data will be returned in XFDF format.

### XfdfWithComments {#XfdfWithComments}
```
public static final SubmitFormFlag XfdfWithComments
```

Data will be returned in XFDF format with comments.

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static SubmitFormFlag [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
