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
From interface java.lang.AutoCloseable

Public Constructors

public PDFUAConformance (long impl_ptr)

public PDFUAConformance ()

Creates the class for PDF/UA Validation & Conversion.

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.

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.

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.

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.