java.lang.Object | |
↳ | com.pdftron.pdf.pdfua.PDFUAConformance |
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.
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
|
Creates the class for PDF/UA Validation & Conversion.
PDFNetException |
---|
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.
src_file | The path to the PDF file to convert. |
---|---|
dest_file | The path to output the converted file. |
PDFNetException |
---|
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.
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. |
PDFNetException |
---|
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.
PDFNetException |
---|
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.
PDFNetException |
---|