ExportDataFormat Enum
Lists values that specify the format of exported AcroForm data.
Declaration
public enum ExportDataFormat extends Enum<ExportDataFormat> implements IIntEnum
Members
| Name | Description |
|---|---|
FDF
|
Exports form data in Forms Data Format (FDF). |
TXT
|
Exports form data as a plain text file. |
XFDF
|
Exports form data in XML Forms Data Format (XFDF). |
XML
|
Exports form data in XML format. |
fromValue(int value)
|
Returns the enum item with the specified integer value. |
getName()
|
Returns the enum item name. |
getValue()
|
Returns the integer value. |
toString()
|
Returns the string representation. |
valueOf(String name)
|
Returns the enum constant with the specified name. |
values()
|
Returns available constants. |
Remarks
The following code snippet exports form data to an XFDF file:
import com.devexpress.docs.pdf.*;
import java.io.*;
import java.nio.file.*;
import java.nio.channels.*;
try (PdfDocument pdfDocument = new PdfDocument(FileChannel.open(Path.of("form.pdf")));
OutputStream outputStream = Files.newOutputStream(Path.of("form-data.xfdf"))) {
// Export form field values.
pdfDocument.exportFormData(outputStream, ExportDataFormat.XFDF);
}
Refer to the following help topic for additional information: Import and Export PDF Form Data.
Implements
com.devexpress.java.enums.IIntEnum
Inherited Members
java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)
java.lang.Enum.clone()
java.lang.Enum.compareTo(E)
java.lang.Enum.describeConstable()
java.lang.Enum.equals(java.lang.Object)
java.lang.Enum.finalize()
java.lang.Enum.getDeclaringClass()
java.lang.Enum.hashCode()
java.lang.Enum.name()
java.lang.Enum.ordinal()
java.lang.Enum.toString()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
java.lang.Enum
ExportDataFormat