Summary: Nested Classes | Ctors | Methods | Inherited Methods | [Expand All]
public class

# PDFUAConformance

extends Object
implements AutoCloseable

java.lang.Object
↳ | com.pdftron.pdf.pdfua.PDFUAConformance

## Class Overview

The class PDFUAConformance. PDFUAConformance class is used to process PDF documents for PDF/UA (ISO 14289-1) compliance, including converting existing PDF files to PDF/UA compliant documents. Note: This feature is currently experimental and subject to change.

## Summary

Nested Classes
class | PDFUAConformance.Level |

Public Constructors
| PDFUAConformance(long impl_ptr)
| PDFUAConformance() Creates the class for PDF/UA Validation & Conversion.

Public Methods
static PDFUAConformance | __Create(long impl)
long | __GetHandle()
void | autoConvert(String src_file, String dest_file) Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.
void | autoConvert(String src_file, String dest_file, PDFUAOptions options) Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.
void | close() Frees the native memory of the object.
void | destroy() Frees the native memory of the object.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()

## Public Constructors

#### public PDFUAConformance (long impl_ptr)

#### public PDFUAConformance ()

Creates the class for PDF/UA Validation & Conversion.

##### Throws

PDFNetException |

## Public Methods

#### public static PDFUAConformance __Create (long impl)

#### public long __GetHandle ()

#### public void autoConvert (String src_file, String dest_file)

Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.

Note: This function is experimental and is subject to change.

##### Parameters

src_file | The path to the PDF file to convert.
dest_file | The path to output the converted file.

##### Throws

PDFNetException |

#### public void autoConvert (String src_file, String dest_file, PDFUAOptions options)

Converts the input pdf to PDF/UA, will auto-gen required structure analysis JSON, requires DataExtractionModule (with Doc Structure engine) to be properly configured.

Note: This function is experimental and is subject to change.

##### Parameters

src_file | The path to the PDF file to convert.
dest_file | The path to output the converted file.
options | The options to use when converting/validating, see PDFUAOptions for details.

##### Throws

PDFNetException |

#### public void close ()

Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |

#### public void destroy ()

Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |