public class PDFACompliance
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
e_Level1A
PDF/A Conformance Level.
|
static int |
e_Level1B |
static int |
e_Level2A |
static int |
e_Level2B |
static int |
e_Level2U |
static int |
e_Level3A |
static int |
e_Level3B |
static int |
e_Level3U |
static int |
e_PDFA_3E1 |
static int |
e_PDFA_3E2 |
static int |
e_PDFA_3E3 |
static int |
e_PDFA0_1_0
The Constant e_PDFA0_1_0.
|
static int |
e_PDFA0_1_1
The Constant e_PDFA0_1_2.
|
static int |
e_PDFA0_1_2
The Constant e_PDFA0_1_2.
|
static int |
e_PDFA0_1_3
The Constant e_PDFA0_1_3.
|
static int |
e_PDFA0_1_4
The Constant e_PDFA0_1_4.
|
static int |
e_PDFA0_1_5
The Constant e_PDFA0_1_5.
|
static int |
e_PDFA1_10_1
The Constant e_PDFA1_10_1.
|
static int |
e_PDFA1_10_2 |
static int |
e_PDFA1_10_3 |
static int |
e_PDFA1_11_1
The Constant e_PDFA1_11_1.
|
static int |
e_PDFA1_11_2
The Constant e_PDFA1_11_2.
|
static int |
e_PDFA1_12_1
The Constant e_PDFA1_12_1.
|
static int |
e_PDFA1_12_10 |
static int |
e_PDFA1_12_2
The Constant e_PDFA1_12_2.
|
static int |
e_PDFA1_12_3
The Constant e_PDFA1_12_3.
|
static int |
e_PDFA1_12_4
The Constant e_PDFA1_12_4.
|
static int |
e_PDFA1_12_5
The Constant e_PDFA1_12_5.
|
static int |
e_PDFA1_12_6
The Constant e_PDFA1_12_6.
|
static int |
e_PDFA1_13_1
The Constant e_PDFA1_13_1.
|
static int |
e_PDFA1_13_5 |
static int |
e_PDFA1_2_1
The Constant e_PDFA1_2_1.
|
static int |
e_PDFA1_2_2
The Constant e_PDFA1_2_2.
|
static int |
e_PDFA1_2_3 |
static int |
e_PDFA1_3_1
The Constant e_PDFA1_3_1.
|
static int |
e_PDFA1_3_2
The Constant e_PDFA1_3_2.
|
static int |
e_PDFA1_3_3
The Constant e_PDFA1_3_3.
|
static int |
e_PDFA1_3_4
The Constant e_PDFA1_3_4.
|
static int |
e_PDFA1_4_1
The Constant e_PDFA1_4_1.
|
static int |
e_PDFA1_4_2
The Constant e_PDFA1_4_2.
|
static int |
e_PDFA1_6_1
The Constant e_PDFA1_6_1.
|
static int |
e_PDFA1_7_1
The Constant e_PDFA1_7_1.
|
static int |
e_PDFA1_7_2
The Constant e_PDFA1_7_2.
|
static int |
e_PDFA1_7_3
The Constant e_PDFA1_7_3.
|
static int |
e_PDFA1_7_4
The Constant e_PDFA1_7_4.
|
static int |
e_PDFA1_8_1
The Constant e_PDFA1_8_1.
|
static int |
e_PDFA1_8_2
The Constant e_PDFA1_8_2.
|
static int |
e_PDFA1_8_3
The Constant e_PDFA1_8_3.
|
static int |
e_PDFA1_8_4
The Constant e_PDFA1_8_4.
|
static int |
e_PDFA1_8_5
The Constant e_PDFA1_8_5.
|
static int |
e_PDFA1_8_6
The Constant e_PDFA1_8_6.
|
static int |
e_PDFA1_8_7
The Constant e_PDFA1_8_7.
|
static int |
e_PDFA11_0_0 |
static int |
e_PDFA2_10_1
The Constant e_PDFA2_10_1.
|
static int |
e_PDFA2_10_20 |
static int |
e_PDFA2_10_21 |
static int |
e_PDFA2_2_1
The Constant e_PDFA2_2_1.
|
static int |
e_PDFA2_3_10 |
static int |
e_PDFA2_3_2
The Constant e_PDFA2_3_2.
|
static int |
e_PDFA2_3_3
The Constant e_PDFA2_3_3.
|
static int |
e_PDFA2_3_3_1
The Constant e_PDFA2_3_3_1.
|
static int |
e_PDFA2_3_3_2
The Constant e_PDFA2_3_3_2.
|
static int |
e_PDFA2_3_4_1
The Constant e_PDFA2_3_4_1.
|
static int |
e_PDFA2_4_1
The Constant e_PDFA2_4_1.
|
static int |
e_PDFA2_4_2
The Constant e_PDFA2_4_2.
|
static int |
e_PDFA2_4_2_10 |
static int |
e_PDFA2_4_2_11 |
static int |
e_PDFA2_4_2_12 |
static int |
e_PDFA2_4_2_13 |
static int |
e_PDFA2_4_3
The Constant e_PDFA2_4_3.
|
static int |
e_PDFA2_4_4
The Constant e_PDFA2_4_4.
|
static int |
e_PDFA2_5_1
The Constant e_PDFA2_5_1.
|
static int |
e_PDFA2_5_10 |
static int |
e_PDFA2_5_11 |
static int |
e_PDFA2_5_12 |
static int |
e_PDFA2_5_2
The Constant e_PDFA2_5_2.
|
static int |
e_PDFA2_6_1
The Constant e_PDFA2_6_1.
|
static int |
e_PDFA2_7_1
The Constant e_PDFA2_7_1.
|
static int |
e_PDFA2_8_1
The Constant e_PDFA2_8_1.
|
static int |
e_PDFA2_8_3_1 |
static int |
e_PDFA2_8_3_2 |
static int |
e_PDFA2_8_3_3 |
static int |
e_PDFA2_8_3_4 |
static int |
e_PDFA2_8_3_5 |
static int |
e_PDFA2_9_1
The Constant e_PDFA2_9_1.
|
static int |
e_PDFA3_2_1
The Constant e_PDFA3_2_1.
|
static int |
e_PDFA3_3_1
The Constant e_PDFA3_3_1.
|
static int |
e_PDFA3_3_2
The Constant e_PDFA3_3_2.
|
static int |
e_PDFA3_3_3_1
The Constant e_PDFA3_3_3_1.
|
static int |
e_PDFA3_3_3_2
The Constant e_PDFA3_3_3_2.
|
static int |
e_PDFA3_4_1
The Constant e_PDFA3_4_1.
|
static int |
e_PDFA3_5_1
The Constant e_PDFA3_5_1.
|
static int |
e_PDFA3_5_2
The Constant e_PDFA3_5_2.
|
static int |
e_PDFA3_5_3
The Constant e_PDFA3_5_3.
|
static int |
e_PDFA3_5_4
The Constant e_PDFA3_5_4.
|
static int |
e_PDFA3_5_5
The Constant e_PDFA3_5_5.
|
static int |
e_PDFA3_5_6
The Constant e_PDFA3_5_6.
|
static int |
e_PDFA3_6_1
The Constant e_PDFA3_6_1.
|
static int |
e_PDFA3_7_1
The Constant e_PDFA3_7_1.
|
static int |
e_PDFA3_7_2
The Constant e_PDFA3_7_2.
|
static int |
e_PDFA3_7_3
The Constant e_PDFA3_7_3.
|
static int |
e_PDFA3_8_1 |
static int |
e_PDFA4_1
The Constant e_PDFA4_1.
|
static int |
e_PDFA4_2
The Constant e_PDFA4_2.
|
static int |
e_PDFA4_3
The Constant e_PDFA4_3.
|
static int |
e_PDFA4_4
The Constant e_PDFA4_4.
|
static int |
e_PDFA4_5
The Constant e_PDFA4_5.
|
static int |
e_PDFA4_6
The Constant e_PDFA4_6.
|
static int |
e_PDFA5_2_1
The Constant e_PDFA5_2_1.
|
static int |
e_PDFA5_2_10
The Constant e_PDFA5_2_10.
|
static int |
e_PDFA5_2_11
The Constant e_PDFA5_2_11.
|
static int |
e_PDFA5_2_2
The Constant e_PDFA5_2_2.
|
static int |
e_PDFA5_2_3
The Constant e_PDFA5_2_3.
|
static int |
e_PDFA5_2_4
The Constant e_PDFA5_2_4.
|
static int |
e_PDFA5_2_5
The Constant e_PDFA5_2_5.
|
static int |
e_PDFA5_2_6
The Constant e_PDFA5_2_6.
|
static int |
e_PDFA5_2_7
The Constant e_PDFA5_2_7.
|
static int |
e_PDFA5_2_8
The Constant e_PDFA5_2_8.
|
static int |
e_PDFA5_2_9
The Constant e_PDFA5_2_9.
|
static int |
e_PDFA5_3_1
The Constant e_PDFA5_3_1.
|
static int |
e_PDFA5_3_2_1
The Constant e_PDFA5_3_2_1.
|
static int |
e_PDFA5_3_2_2
The Constant e_PDFA5_3_2_2.
|
static int |
e_PDFA5_3_2_3
The Constant e_PDFA5_3_2_3.
|
static int |
e_PDFA5_3_2_4
The Constant e_PDFA5_3_2_4.
|
static int |
e_PDFA5_3_2_5
The Constant e_PDFA5_3_2_5.
|
static int |
e_PDFA5_3_3_1
The Constant e_PDFA5_3_3_1.
|
static int |
e_PDFA5_3_3_2
The Constant e_PDFA5_3_3_2.
|
static int |
e_PDFA5_3_3_3
The Constant e_PDFA5_3_3_3.
|
static int |
e_PDFA5_3_3_4
The Constant e_PDFA5_3_3_4.
|
static int |
e_PDFA5_3_4_1
The Constant e_PDFA5_3_4_1.
|
static int |
e_PDFA5_3_4_2
The Constant e_PDFA5_3_4_2.
|
static int |
e_PDFA5_3_4_3
The Constant e_PDFA5_3_4_3.
|
static int |
e_PDFA6_1_1
The Constant e_PDFA6_1_1.
|
static int |
e_PDFA6_1_2
The Constant e_PDFA6_1_2.
|
static int |
e_PDFA6_10_0 |
static int |
e_PDFA6_10_1 |
static int |
e_PDFA6_2_1
The Constant e_PDFA6_2_1.
|
static int |
e_PDFA6_2_11_5 |
static int |
e_PDFA6_2_11_6 |
static int |
e_PDFA6_2_11_7 |
static int |
e_PDFA6_2_11_8 |
static int |
e_PDFA6_2_2
The Constant e_PDFA6_2_2.
|
static int |
e_PDFA6_2_3
The Constant e_PDFA6_2_3.
|
static int |
e_PDFA7_11_1
The Constant e_PDFA7_11_1.
|
static int |
e_PDFA7_11_2
The Constant e_PDFA7_11_2.
|
static int |
e_PDFA7_11_3
The Constant e_PDFA7_11_3.
|
static int |
e_PDFA7_11_4
The Constant e_PDFA7_11_4.
|
static int |
e_PDFA7_11_5
The Constant e_PDFA7_11_5.
|
static int |
e_PDFA7_2_1
The Constant e_PDFA7_2_1.
|
static int |
e_PDFA7_2_2
The Constant e_PDFA7_2_2.
|
static int |
e_PDFA7_2_3
The Constant e_PDFA7_2_3.
|
static int |
e_PDFA7_2_4
The Constant e_PDFA7_2_4.
|
static int |
e_PDFA7_2_5
The Constant e_PDFA7_2_5.
|
static int |
e_PDFA7_3_1
The Constant e_PDFA7_3_1.
|
static int |
e_PDFA7_3_2
The Constant e_PDFA7_3_2.
|
static int |
e_PDFA7_3_3
The Constant e_PDFA7_3_3.
|
static int |
e_PDFA7_3_4
The Constant e_PDFA7_3_4.
|
static int |
e_PDFA7_3_5
The Constant e_PDFA7_3_5.
|
static int |
e_PDFA7_3_6
The Constant e_PDFA7_3_6.
|
static int |
e_PDFA7_3_7
The Constant e_PDFA7_3_7.
|
static int |
e_PDFA7_3_8
The Constant e_PDFA7_3_8.
|
static int |
e_PDFA7_3_9
The Constant e_PDFA7_3_9.
|
static int |
e_PDFA7_5_1
The Constant e_PDFA7_5_1.
|
static int |
e_PDFA7_8_1
The Constant e_PDFA7_8_1.
|
static int |
e_PDFA7_8_10
The Constant e_PDFA7_8_10.
|
static int |
e_PDFA7_8_11
The Constant e_PDFA7_8_11.
|
static int |
e_PDFA7_8_12
The Constant e_PDFA7_8_12.
|
static int |
e_PDFA7_8_13
The Constant e_PDFA7_8_13.
|
static int |
e_PDFA7_8_14
The Constant e_PDFA7_8_14.
|
static int |
e_PDFA7_8_15
The Constant e_PDFA7_8_15.
|
static int |
e_PDFA7_8_16
The Constant e_PDFA7_8_16.
|
static int |
e_PDFA7_8_17
The Constant e_PDFA7_8_17.
|
static int |
e_PDFA7_8_18
The Constant e_PDFA7_8_18.
|
static int |
e_PDFA7_8_19
The Constant e_PDFA7_8_19.
|
static int |
e_PDFA7_8_2
The Constant e_PDFA7_8_2.
|
static int |
e_PDFA7_8_20
The Constant e_PDFA7_8_20.
|
static int |
e_PDFA7_8_21
The Constant e_PDFA7_8_21.
|
static int |
e_PDFA7_8_22
The Constant e_PDFA7_8_22.
|
static int |
e_PDFA7_8_23
The Constant e_PDFA7_8_23.
|
static int |
e_PDFA7_8_24
The Constant e_PDFA7_8_24.
|
static int |
e_PDFA7_8_25
The Constant e_PDFA7_8_25.
|
static int |
e_PDFA7_8_26
The Constant e_PDFA7_8_26.
|
static int |
e_PDFA7_8_27
The Constant e_PDFA7_8_27.
|
static int |
e_PDFA7_8_28
The Constant e_PDFA7_8_28.
|
static int |
e_PDFA7_8_29
The Constant e_PDFA7_8_29.
|
static int |
e_PDFA7_8_3
The Constant e_PDFA7_8_3.
|
static int |
e_PDFA7_8_30
The Constant e_PDFA7_8_30.
|
static int |
e_PDFA7_8_31
The Constant e_PDFA7_8_31.
|
static int |
e_PDFA7_8_4
The Constant e_PDFA7_8_4.
|
static int |
e_PDFA7_8_5
The Constant e_PDFA7_8_5.
|
static int |
e_PDFA7_8_6
The Constant e_PDFA7_8_6.
|
static int |
e_PDFA7_8_7
The Constant e_PDFA7_8_7.
|
static int |
e_PDFA7_8_8
The Constant e_PDFA7_8_8.
|
static int |
e_PDFA7_8_9
The Constant e_PDFA7_8_9.
|
static int |
e_PDFA8_1 |
static int |
e_PDFA8_2_2 |
static int |
e_PDFA8_3_3_1 |
static int |
e_PDFA8_3_3_2 |
static int |
e_PDFA8_3_4_1 |
static int |
e_PDFA9_1
The Constant e_PDFA9_1.
|
static int |
e_PDFA9_2
The Constant e_PDFA9_2.
|
static int |
e_PDFA9_3 |
static int |
e_PDFA9_4 |
Constructor and Description |
---|
PDFACompliance(boolean convert,
byte[] buf,
java.lang.String password,
int[] exceptions)
Perform PDF/A validation or PDF/A conversion on the input PDF document
which is stored in a memory buffer with default "first_stop" value,
default conformance value and default max_rf_objs number..
|
PDFACompliance(boolean convert,
byte[] buf,
java.lang.String password,
int conf,
int[] exceptions,
int max_ref_objs)
Perform PDF/A validation or PDF/A conversion on the input PDF document
which is stored in a memory buffer with default "first_stop" value.
|
PDFACompliance(boolean convert,
byte[] buf,
java.lang.String password,
int conf,
int[] exceptions,
int max_ref_objs,
boolean first_stop)
Perform PDF/A validation or PDF/A conversion on the input PDF document
which is stored in a memory buffer.
|
PDFACompliance(boolean convert,
java.lang.String file_path,
java.lang.String password,
int[] exceptions)
Perform PDF/A validation or PDF/A conversion on the input PDF document with default "first_stop" value,
default conformance value and default max_rf_objs number.
|
PDFACompliance(boolean convert,
java.lang.String file_path,
java.lang.String password,
int conf,
int[] exceptions,
int max_ref_objs)
Perform PDF/A validation or PDF/A conversion on the input PDF document with default "first_stop" value.
|
PDFACompliance(boolean convert,
java.lang.String file_path,
java.lang.String password,
int conf,
int[] exceptions,
int max_ref_objs,
boolean first_stop)
Perform PDF/A validation or PDF/A conversion on the input PDF document.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Frees the native memory of the object.
|
int |
getError(int idx)
Get the error.
|
int |
getErrorCount()
Get the error count.
|
static java.lang.String |
getPDFAErrorMessage(int id)
Get the pDFA error message.
|
int |
getRefObj(int id,
int obj_idx)
Get the ref obj.
|
int |
getRefObjCount(int id)
Get the ref obj count.
|
byte[] |
saveAs(boolean linearized)
Serializes the converted PDF/A document to a memory buffer.
|
void |
saveAs(java.lang.String file_path,
boolean linearized)
Serializes the converted PDF/A document to a file on disk.
|
public static final int e_Level1A
public static final int e_Level1B
public static final int e_Level2A
public static final int e_Level2B
public static final int e_Level2U
public static final int e_Level3A
public static final int e_Level3B
public static final int e_Level3U
public static final int e_PDFA0_1_0
public static final int e_PDFA0_1_1
public static final int e_PDFA0_1_2
public static final int e_PDFA0_1_3
public static final int e_PDFA0_1_4
public static final int e_PDFA0_1_5
public static final int e_PDFA1_2_1
public static final int e_PDFA1_2_2
public static final int e_PDFA1_3_1
public static final int e_PDFA1_3_2
public static final int e_PDFA1_3_3
public static final int e_PDFA1_3_4
public static final int e_PDFA1_4_1
public static final int e_PDFA1_4_2
public static final int e_PDFA1_6_1
public static final int e_PDFA1_7_1
public static final int e_PDFA1_7_2
public static final int e_PDFA1_7_3
public static final int e_PDFA1_7_4
public static final int e_PDFA1_8_1
public static final int e_PDFA1_8_2
public static final int e_PDFA1_8_3
public static final int e_PDFA1_8_4
public static final int e_PDFA1_8_5
public static final int e_PDFA1_8_6
public static final int e_PDFA1_8_7
public static final int e_PDFA1_10_1
public static final int e_PDFA1_11_1
public static final int e_PDFA1_11_2
public static final int e_PDFA1_12_1
public static final int e_PDFA1_12_2
public static final int e_PDFA1_12_3
public static final int e_PDFA1_12_4
public static final int e_PDFA1_12_5
public static final int e_PDFA1_12_6
public static final int e_PDFA1_13_1
public static final int e_PDFA2_2_1
public static final int e_PDFA2_3_2
public static final int e_PDFA2_3_3
public static final int e_PDFA2_3_3_1
public static final int e_PDFA2_3_3_2
public static final int e_PDFA2_3_4_1
public static final int e_PDFA2_4_1
public static final int e_PDFA2_4_2
public static final int e_PDFA2_4_3
public static final int e_PDFA2_4_4
public static final int e_PDFA2_5_1
public static final int e_PDFA2_5_2
public static final int e_PDFA2_6_1
public static final int e_PDFA2_7_1
public static final int e_PDFA2_8_1
public static final int e_PDFA2_9_1
public static final int e_PDFA2_10_1
public static final int e_PDFA3_2_1
public static final int e_PDFA3_3_1
public static final int e_PDFA3_3_2
public static final int e_PDFA3_3_3_1
public static final int e_PDFA3_3_3_2
public static final int e_PDFA3_4_1
public static final int e_PDFA3_5_1
public static final int e_PDFA3_5_2
public static final int e_PDFA3_5_3
public static final int e_PDFA3_5_4
public static final int e_PDFA3_5_5
public static final int e_PDFA3_5_6
public static final int e_PDFA3_6_1
public static final int e_PDFA3_7_1
public static final int e_PDFA3_7_2
public static final int e_PDFA3_7_3
public static final int e_PDFA4_1
public static final int e_PDFA4_2
public static final int e_PDFA4_3
public static final int e_PDFA4_4
public static final int e_PDFA4_5
public static final int e_PDFA4_6
public static final int e_PDFA5_2_1
public static final int e_PDFA5_2_2
public static final int e_PDFA5_2_3
public static final int e_PDFA5_2_4
public static final int e_PDFA5_2_5
public static final int e_PDFA5_2_6
public static final int e_PDFA5_2_7
public static final int e_PDFA5_2_8
public static final int e_PDFA5_2_9
public static final int e_PDFA5_2_10
public static final int e_PDFA5_2_11
public static final int e_PDFA5_3_1
public static final int e_PDFA5_3_2_1
public static final int e_PDFA5_3_2_2
public static final int e_PDFA5_3_2_3
public static final int e_PDFA5_3_2_4
public static final int e_PDFA5_3_2_5
public static final int e_PDFA5_3_3_1
public static final int e_PDFA5_3_3_2
public static final int e_PDFA5_3_3_3
public static final int e_PDFA5_3_3_4
public static final int e_PDFA5_3_4_1
public static final int e_PDFA5_3_4_2
public static final int e_PDFA5_3_4_3
public static final int e_PDFA6_1_1
public static final int e_PDFA6_1_2
public static final int e_PDFA6_2_1
public static final int e_PDFA6_2_2
public static final int e_PDFA6_2_3
public static final int e_PDFA7_2_1
public static final int e_PDFA7_2_2
public static final int e_PDFA7_2_3
public static final int e_PDFA7_2_4
public static final int e_PDFA7_2_5
public static final int e_PDFA7_3_1
public static final int e_PDFA7_3_2
public static final int e_PDFA7_3_3
public static final int e_PDFA7_3_4
public static final int e_PDFA7_3_5
public static final int e_PDFA7_3_6
public static final int e_PDFA7_3_7
public static final int e_PDFA7_3_8
public static final int e_PDFA7_3_9
public static final int e_PDFA7_5_1
public static final int e_PDFA7_8_1
public static final int e_PDFA7_8_2
public static final int e_PDFA7_8_3
public static final int e_PDFA7_8_4
public static final int e_PDFA7_8_5
public static final int e_PDFA7_8_6
public static final int e_PDFA7_8_7
public static final int e_PDFA7_8_8
public static final int e_PDFA7_8_9
public static final int e_PDFA7_8_10
public static final int e_PDFA7_8_11
public static final int e_PDFA7_8_12
public static final int e_PDFA7_8_13
public static final int e_PDFA7_8_14
public static final int e_PDFA7_8_15
public static final int e_PDFA7_8_16
public static final int e_PDFA7_8_17
public static final int e_PDFA7_8_18
public static final int e_PDFA7_8_19
public static final int e_PDFA7_8_20
public static final int e_PDFA7_8_21
public static final int e_PDFA7_8_22
public static final int e_PDFA7_8_23
public static final int e_PDFA7_8_24
public static final int e_PDFA7_8_25
public static final int e_PDFA7_8_26
public static final int e_PDFA7_8_27
public static final int e_PDFA7_8_28
public static final int e_PDFA7_8_29
public static final int e_PDFA7_8_30
public static final int e_PDFA7_8_31
public static final int e_PDFA7_11_1
public static final int e_PDFA7_11_2
public static final int e_PDFA7_11_3
public static final int e_PDFA7_11_4
public static final int e_PDFA7_11_5
public static final int e_PDFA9_1
public static final int e_PDFA9_2
public static final int e_PDFA9_3
public static final int e_PDFA9_4
public static final int e_PDFA3_8_1
public static final int e_PDFA8_2_2
public static final int e_PDFA8_3_3_1
public static final int e_PDFA8_3_3_2
public static final int e_PDFA8_3_4_1
public static final int e_PDFA1_2_3
public static final int e_PDFA1_10_2
public static final int e_PDFA1_10_3
public static final int e_PDFA1_12_10
public static final int e_PDFA1_13_5
public static final int e_PDFA2_3_10
public static final int e_PDFA2_4_2_10
public static final int e_PDFA2_4_2_11
public static final int e_PDFA2_4_2_12
public static final int e_PDFA2_4_2_13
public static final int e_PDFA2_5_10
public static final int e_PDFA2_5_11
public static final int e_PDFA2_5_12
public static final int e_PDFA2_8_3_1
public static final int e_PDFA2_8_3_2
public static final int e_PDFA2_8_3_3
public static final int e_PDFA2_8_3_4
public static final int e_PDFA2_8_3_5
public static final int e_PDFA2_10_20
public static final int e_PDFA2_10_21
public static final int e_PDFA11_0_0
public static final int e_PDFA6_10_0
public static final int e_PDFA6_10_1
public static final int e_PDFA6_2_11_5
public static final int e_PDFA6_2_11_6
public static final int e_PDFA6_2_11_7
public static final int e_PDFA6_2_11_8
public static final int e_PDFA8_1
public static final int e_PDFA_3E1
public static final int e_PDFA_3E2
public static final int e_PDFA_3E3
public PDFACompliance(boolean convert, java.lang.String file_path, java.lang.String password, int conf, int[] exceptions, int max_ref_objs, boolean first_stop) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).file_path
- the file_pathpassword
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).conf
- The PDF conformance level. The default value is e_Level1B.exceptions
- the exceptionsmax_ref_objs
- The maximum number of object references per error condition.first_stop
- the first_stopPDFNetException
- Throws an exception if the file can't be opened.public PDFACompliance(boolean convert, java.lang.String file_path, java.lang.String password, int conf, int[] exceptions, int max_ref_objs) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).file_path
- the file_pathpassword
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).conf
- The PDF conformance level. The default value is e_Level1B.exceptions
- the exceptionsmax_ref_objs
- The maximum number of object references per error condition.PDFNetException
- Throws an exception if the file can't be opened.public PDFACompliance(boolean convert, java.lang.String file_path, java.lang.String password, int[] exceptions) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).file_path
- the file_pathpassword
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).exceptions
- the exceptionsPDFNetException
- Throws an exception if the file can't be opened.public PDFACompliance(boolean convert, byte[] buf, java.lang.String password, int conf, int[] exceptions, int max_ref_objs, boolean first_stop) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).buf
- A memory buffer containing the serialized PDF document.password
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).conf
- The PDF conformance level. The default value is e_Level1B.exceptions
- the exceptionsmax_ref_objs
- The maximum number of object references per error condition.first_stop
- the first_stopPDFNetException
- Throws an exception if the file can't be opened.public PDFACompliance(boolean convert, byte[] buf, java.lang.String password, int conf, int[] exceptions, int max_ref_objs) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).buf
- A memory buffer containing the serialized PDF document.password
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).conf
- The PDF conformance level. The default value is e_Level1B.exceptions
- the exceptionsmax_ref_objs
- The maximum number of object references per error condition.PDFNetException
- Throws an exception if the file can't be opened.public PDFACompliance(boolean convert, byte[] buf, java.lang.String password, int[] exceptions) throws PDFNetException
convert
- A flag used to instruct PDF/A processor to perform PDF/A
conversion (if 'true') or PDF/A validation (if 'false'). After PDF/A conversion
you can save the resulting document using Save() method(s).buf
- A memory buffer containing the serialized PDF document.password
- An optional parameter that can be used to specify the
password for encrypted PDF documents (typically only useful in the conversion mode).exceptions
- the exceptionsPDFNetException
- Throws an exception if the file can't be opened.public void saveAs(java.lang.String file_path, boolean linearized) throws PDFNetException
Note: This method assumes that the first parameter passed in PDFACompliance constructor (i.e. the convert parameter) is set to 'true'.
file_path
- the file_pathlinearized
- - An optional flag used to specify whether the the resulting
PDF/A document should be web-optimized (linearized).PDFNetException
public byte[] saveAs(boolean linearized) throws PDFNetException
Note: This method assumes that the first parameter passed in PDFACompliance constructor (i.e. the convert parameter) is set to 'true'.
linearized
- - An optional flag used to specify whether the the resulting
PDF/A document should be web-optimized (linearized).PDFNetException
public int getErrorCount() throws PDFNetException
PDFNetException
public int getError(int idx) throws PDFNetException
idx
- The index in the array of error code identifiers.
The array is indexed starting from zero.PDFNetException
public int getRefObjCount(int id) throws PDFNetException
id
- error code identifier (obtained using GetError() method).PDFNetException
public int getRefObj(int id, int obj_idx) throws PDFNetException
id
- error code identifier (obtained using GetError() method).obj_idx
- the obj_idxPDFNetException
public static java.lang.String getPDFAErrorMessage(int id) throws PDFNetException
id
- error code identifier (obtained using GetError() method).PDFNetException
public void destroy()