Class: PDFACompliance

Core.PDFNet. PDFACompliance


new PDFACompliance()

PDFACompliance class is used to validate PDF documents for PDF/A (ISO 19005:1/2/3) compliance or to convert existing PDF files to PDF/A compliant documents. The conversion option analyzes the content of existing PDF files and performs a sequence of modifications in order to produce a PDF/A compliant document. Features that are not suitable for long-term archiving (such as encryption, obsolete compression schemes, missing fonts, or device-dependent color) are replaced with their PDF/A compliant equivalents. Because the conversion process applies only necessary changes to the source file, the information loss is minimal. Also, because the converter provides a detailed report for each change, it is simple to inspect changes and to determine whether the conversion loss is acceptable. The validation option in PDF/A Manager can be used to quickly determine whether a PDF file fully complies with the PDF/A specification according to the international standard ISO 19005:1/2/3. For files that are not compliant, the validation option can be used to produce a detailed report of compliance violations as well as a list of relevant error objects. Key Functions: - Checks if a PDF file is compliant with PDF/A (ISO 19005:1/2/3) specification. - Converts any PDF to a PDF/A compliant document. - Supports PDF/A-1a, PDF/A-1b, PDF/A-2b - Produces a detailed report of compliance violations and associated PDF objects. - Keeps the required changes a minimum, preserving the consistency of the original. - Tracks all changes to allow for automatic assessment of data loss. - Allows user to customize compliance checks or omit specific changes. - Preserves tags, logical structure, and color information in existing PDF documents. - Offers automatic font substitution, embedding, and subsetting options. - Supports automation and batch operation. PDF/A Converter is designed to be used in unattended mode in high throughput server or batch environments

Extends

Classes

PDFAOptions

Members


<static> Conformance

Properties:
Name Type Description
e_Level1A number
e_Level1B number
e_Level2A number
e_Level2B number
e_Level2U number
e_Level3A number
e_Level3B number
e_Level3U number
e_Level4 number
e_Level4E number
e_Level4F number

<static> ErrorCode

Properties:
Name Type Description
e_PDFA0_1_0 number
e_PDFA0_1_1 number
e_PDFA0_1_2 number
e_PDFA0_1_3 number
e_PDFA0_1_4 number
e_PDFA0_1_5 number
e_PDFA1_2_1 number
e_PDFA1_2_2 number
e_PDFA1_3_1 number
e_PDFA1_3_2 number
e_PDFA1_3_3 number
e_PDFA1_3_4 number
e_PDFA1_4_1 number
e_PDFA1_4_2 number
e_PDFA1_6_1 number
e_PDFA1_7_1 number
e_PDFA1_7_2 number
e_PDFA1_7_3 number
e_PDFA1_7_4 number
e_PDFA1_8_1 number
e_PDFA1_8_2 number
e_PDFA1_8_3 number
e_PDFA1_8_4 number
e_PDFA1_8_5 number
e_PDFA1_8_6 number
e_PDFA1_10_1 number
e_PDFA1_11_1 number
e_PDFA1_11_2 number
e_PDFA1_12_1 number
e_PDFA1_12_2 number
e_PDFA1_12_3 number
e_PDFA1_12_4 number
e_PDFA1_12_5 number
e_PDFA1_12_6 number
e_PDFA1_13_1 number
e_PDFA2_2_1 number
e_PDFA2_3_2 number
e_PDFA2_3_3 number
e_PDFA2_3_3_1 number
e_PDFA2_3_3_2 number
e_PDFA2_3_4_1 number
e_PDFA2_4_1 number
e_PDFA2_4_2 number
e_PDFA2_4_3 number
e_PDFA2_4_4 number
e_PDFA2_5_1 number
e_PDFA2_5_2 number
e_PDFA2_6_1 number
e_PDFA2_7_1 number
e_PDFA2_8_1 number
e_PDFA2_9_1 number
e_PDFA2_10_1 number
e_PDFA3_2_1 number
e_PDFA3_3_1 number
e_PDFA3_3_2 number
e_PDFA3_3_3_1 number
e_PDFA3_3_3_2 number
e_PDFA3_4_1 number
e_PDFA3_5_1 number
e_PDFA3_5_2 number
e_PDFA3_5_3 number
e_PDFA3_5_4 number
e_PDFA3_5_5 number
e_PDFA3_5_6 number
e_PDFA3_6_1 number
e_PDFA3_7_1 number
e_PDFA3_7_2 number
e_PDFA3_7_3 number
e_PDFA4_1 number
e_PDFA4_2 number
e_PDFA4_3 number
e_PDFA4_4 number
e_PDFA4_5 number
e_PDFA4_6 number
e_PDFA5_2_1 number
e_PDFA5_2_2 number
e_PDFA5_2_3 number
e_PDFA5_2_4 number
e_PDFA5_2_5 number
e_PDFA5_2_6 number
e_PDFA5_2_7 number
e_PDFA5_2_8 number
e_PDFA5_2_9 number
e_PDFA5_2_10 number
e_PDFA5_2_11 number
e_PDFA5_3_1 number
e_PDFA5_3_2_1 number
e_PDFA5_3_2_2 number
e_PDFA5_3_2_3 number
e_PDFA5_3_2_4 number
e_PDFA5_3_2_5 number
e_PDFA5_3_3_1 number
e_PDFA5_3_3_2 number
e_PDFA5_3_3_3 number
e_PDFA5_3_3_4 number
e_PDFA5_3_4_0 number
e_PDFA5_3_4_1 number
e_PDFA5_3_4_2 number
e_PDFA5_3_4_3 number
e_PDFA6_1_1 number
e_PDFA6_1_2 number
e_PDFA6_2_1 number
e_PDFA6_2_2 number
e_PDFA6_2_3 number
e_PDFA7_2_1 number
e_PDFA7_2_2 number
e_PDFA7_2_3 number
e_PDFA7_2_4 number
e_PDFA7_2_5 number
e_PDFA7_3_1 number
e_PDFA7_3_2 number
e_PDFA7_3_3 number
e_PDFA7_3_4 number
e_PDFA7_3_5 number
e_PDFA7_3_6 number
e_PDFA7_3_7 number
e_PDFA7_3_8 number
e_PDFA7_3_9 number
e_PDFA7_5_1 number
e_PDFA7_8_1 number
e_PDFA7_8_2 number
e_PDFA7_8_3 number
e_PDFA7_8_4 number
e_PDFA7_8_5 number
e_PDFA7_8_6 number
e_PDFA7_8_7 number
e_PDFA7_8_8 number
e_PDFA7_8_9 number
e_PDFA7_8_10 number
e_PDFA7_8_11 number
e_PDFA7_8_12 number
e_PDFA7_8_13 number
e_PDFA7_8_14 number
e_PDFA7_8_15 number
e_PDFA7_8_16 number
e_PDFA7_8_17 number
e_PDFA7_8_18 number
e_PDFA7_8_19 number
e_PDFA7_8_20 number
e_PDFA7_8_21 number
e_PDFA7_8_22 number
e_PDFA7_8_23 number
e_PDFA7_8_24 number
e_PDFA7_8_25 number
e_PDFA7_8_26 number
e_PDFA7_8_27 number
e_PDFA7_8_28 number
e_PDFA7_8_29 number
e_PDFA7_8_30 number
e_PDFA7_8_31 number
e_PDFA7_11_1 number
e_PDFA7_11_2 number
e_PDFA7_11_3 number
e_PDFA7_11_4 number
e_PDFA7_11_5 number
e_PDFA9_1 number
e_PDFA9_2 number
e_PDFA9_3 number
e_PDFA9_4 number
e_PDFA3_8_1 number
e_PDFA8_2_2 number
e_PDFA8_3_3_1 number
e_PDFA8_3_3_2 number
e_PDFA8_3_4_1 number
e_PDFA1_2_3 number
e_PDFA1_10_2 number
e_PDFA1_10_3 number
e_PDFA1_12_10 number
e_PDFA1_13_5 number
e_PDFA2_3_10 number
e_PDFA2_4_2_10 number
e_PDFA2_4_2_11 number
e_PDFA2_4_2_12 number
e_PDFA2_4_2_13 number
e_PDFA2_5_10 number
e_PDFA2_5_11 number
e_PDFA2_5_12 number
e_PDFA2_8_3_1 number
e_PDFA2_8_3_2 number
e_PDFA2_8_3_3 number
e_PDFA2_8_3_4 number
e_PDFA2_8_3_5 number
e_PDFA2_10_20 number
e_PDFA2_10_21 number
e_PDFA11_0_0 number
e_PDFA6_2_11_8 number
e_PDFA8_1 number
e_PDFA_3E1 number
e_PDFA_3E2 number
e_PDFA_3E3 number
e_PDFA_4_6_1_3_4 number
e_PDFA_4_6_1_3_5 number
e_PDFA_4_6_1_6_1_3 number
e_PDFA_4_6_7_3_5 number
e_PDFA_4_6_2_5_3 number
e_PDFA_4_6_6_3_1 number
e_PDFA_4_6_1_12_1 number
e_PDFA_4_6_2_4_2_3 number
e_PDFA_4_6_2_2_3 number
e_PDFA_4_6_9_5 number
e_PDFA_4_6_2_10_6_1 number
e_PDFA_4_6_2_10_6_4 number
e_PDFA_LAST number

Methods


<static> createFromBuffer(convert, buf [, pwd] [, conform] [, excep] [, max_ref_objs] [, first_stop])

Perform PDF/A validation or PDF/A conversion on the input PDF document which is stored in a memory buffer.
Parameters:
Name Type Argument Default Description
convert boolean 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 ArrayBuffer | Int8Array | Uint8Array | Uint8ClampedArray A memory buffer containing the serialized PDF document.
pwd string <optional>
"" A parameter that can be used to specify the password for encrypted PDF documents (typically only useful in the conversion mode).
conform number <optional>
PDFNet.PDFACompliance.Conformance.e_Level1B
PDFNet.PDFACompliance.Conformance = {
  e_Level1A : 1,
  e_Level1B : 2,
  e_Level2A : 3,
  e_Level2B : 4,
  e_Level2U : 5,
  e_Level3A : 6,
  e_Level3B : 7,
  e_Level3U : 8,
  e_Level4 : 9,
  e_Level4E : 10,
  e_Level4F : 11
}
The PDF conformance level defined in PDFNet.PDFACompliance.Conformance.
excep Int32Array <optional>
new Int32Array(0) Exceptions to ignore.
max_ref_objs number <optional>
10 The maximum number of object references per error condition.
first_stop boolean <optional>
false
Returns:
A promise that resolves to a PDFACompliance object
Type
Promise.<Core.PDFNet.PDFACompliance>

<static> createFromBufferWithOptions(convert, buf [, in_options])

Perform PDF/A validation or PDF/A conversion on the input PDF document which is stored in a memory buffer.
Parameters:
Name Type Argument Description
convert boolean 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 SaveAs() method(s).
buf ArrayBuffer | Int8Array | Uint8Array | Uint8ClampedArray A memory buffer containing the serialized PDF document.
in_options Core.PDFNet.PDFACompliance.PDFAOptions <optional>
Options for PDFA processing
Returns:
A promise that resolves to an object of type: "PDFNet.PDFACompliance"
Type
Promise.<Core.PDFNet.PDFACompliance>

<static> createFromFileWithOptions(convert, file_path [, in_options])

Perform PDF/A validation or PDF/A conversion on the input PDF document.
Parameters:
Name Type Argument Description
convert boolean 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 SaveAs() method(s).
file_path string pathname to the file.
in_options Core.PDFNet.PDFACompliance.PDFAOptions <optional>
Options for PDFA processing
Returns:
A promise that resolves to an object of type: "PDFNet.PDFACompliance"
Type
Promise.<Core.PDFNet.PDFACompliance>

<static> createFromUrl(convert, url [, pwd] [, conform] [, excep] [, max_ref_objs] [, first_stop])

Perform PDF/A validation or PDF/A conversion on the input PDF document which is stored in a memory buffer.
Parameters:
Name Type Argument Default Description
convert boolean 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).
url string A url from which the serialized PDF document can be downloaded.
pwd string <optional>
"" A parameter that can be used to specify the password for encrypted PDF documents (typically only useful in the conversion mode).
conform number <optional>
PDFNet.PDFACompliance.Conformance.e_Level1B
PDFNet.PDFACompliance.Conformance = {
  e_Level1A : 1,
  e_Level1B : 2,
  e_Level2A : 3,
  e_Level2B : 4,
  e_Level2U : 5,
  e_Level3A : 6,
  e_Level3B : 7,
  e_Level3U : 8,
  e_Level4 : 9,
  e_Level4E : 10,
  e_Level4F : 11
}
The PDF conformance level defined in PDFNet.PDFACompliance.Conformance.
excep Int32Array <optional>
new Int32Array(0) Exceptions to ignore.
max_ref_objs number <optional>
10 The maximum number of object references per error condition.
first_stop boolean <optional>
false
Returns:
A promise that resolves to a PDFACompliance object
Type
Promise.<Core.PDFNet.PDFACompliance>

<static> createPDFAOptions(level)

Method to create a PDFAOptions object
Parameters:
Name Type Description
level number
PDFNet.PDFACompliance.Conformance = {
  e_Level1A : 1,
  e_Level1B : 2,
  e_Level2A : 3,
  e_Level2B : 4,
  e_Level2U : 5,
  e_Level3A : 6,
  e_Level3B : 7,
  e_Level3U : 8,
  e_Level4 : 9,
  e_Level4E : 10,
  e_Level4F : 11
}
The PDF conformance level defined in PDFNet.PDFACompliance.Conformance.
Returns:
A promise that resolves to a PDFNet.PDFACompliance.PDFAOptions.
Type
Promise.<Core.PDFNet.PDFACompliance.PDFAOptions>

<static> getDeclaredConformance(doc)

Retrieves whether document's XMP metadata claims PDF/A conformance and to what part and level.
Parameters:
Name Type Description
doc Core.PDFNet.PDFDoc | Core.PDFNet.SDFDoc | Core.PDFNet.FDFDoc the document
Returns:
A promise that resolves to presumptive PDFA part number and conformance level, as an enumerated value.
Type
Promise.<number>
Example
Return value enum:
<pre>
PDFNet.PDFACompliance.Conformance = {
	e_Level1A : 1
	e_Level1B : 2
	e_Level2A : 3
	e_Level2B : 4
	e_Level2U : 5
	e_Level3A : 6
	e_Level3B : 7
	e_Level3U : 8
	e_Level4 : 9
	e_Level4E : 10
	e_Level4F : 11
}
</pre>

<static> getPDFAErrorMessage(id)

Parameters:
Name Type Description
id number
PDFNet.PDFACompliance.ErrorCode = {
	e_PDFA0_1_0 : 10
	e_PDFA0_1_1 : 11
	e_PDFA0_1_2 : 12
	e_PDFA0_1_3 : 13
	e_PDFA0_1_4 : 14
	e_PDFA0_1_5 : 15
	e_PDFA1_2_1 : 121
	e_PDFA1_2_2 : 122
	e_PDFA1_3_1 : 131
	e_PDFA1_3_2 : 132
	e_PDFA1_3_3 : 133
	e_PDFA1_3_4 : 134
	e_PDFA1_4_1 : 141
	e_PDFA1_4_2 : 142
	e_PDFA1_6_1 : 161
	e_PDFA1_7_1 : 171
	e_PDFA1_7_2 : 172
	e_PDFA1_7_3 : 173
	e_PDFA1_7_4 : 174
	e_PDFA1_8_1 : 181
	e_PDFA1_8_2 : 182
	e_PDFA1_8_3 : 183
	e_PDFA1_8_4 : 184
	e_PDFA1_8_5 : 185
	e_PDFA1_8_6 : 186
	e_PDFA1_10_1 : 1101
	e_PDFA1_11_1 : 1111
	e_PDFA1_11_2 : 1112
	e_PDFA1_12_1 : 1121
	e_PDFA1_12_2 : 1122
	e_PDFA1_12_3 : 1123
	e_PDFA1_12_4 : 1124
	e_PDFA1_12_5 : 1125
	e_PDFA1_12_6 : 1126
	e_PDFA1_13_1 : 1131
	e_PDFA2_2_1 : 221
	e_PDFA2_3_2 : 232
	e_PDFA2_3_3 : 233
	e_PDFA2_3_3_1 : 2331
	e_PDFA2_3_3_2 : 2332
	e_PDFA2_3_4_1 : 2341
	e_PDFA2_4_1 : 241
	e_PDFA2_4_2 : 242
	e_PDFA2_4_3 : 243
	e_PDFA2_4_4 : 244
	e_PDFA2_5_1 : 251
	e_PDFA2_5_2 : 252
	e_PDFA2_6_1 : 261
	e_PDFA2_7_1 : 271
	e_PDFA2_8_1 : 281
	e_PDFA2_9_1 : 291
	e_PDFA2_10_1 : 2101
	e_PDFA3_2_1 : 321
	e_PDFA3_3_1 : 331
	e_PDFA3_3_2 : 332
	e_PDFA3_3_3_1 : 3331
	e_PDFA3_3_3_2 : 3332
	e_PDFA3_4_1 : 341
	e_PDFA3_5_1 : 351
	e_PDFA3_5_2 : 352
	e_PDFA3_5_3 : 353
	e_PDFA3_5_4 : 354
	e_PDFA3_5_5 : 355
	e_PDFA3_5_6 : 356
	e_PDFA3_6_1 : 361
	e_PDFA3_7_1 : 371
	e_PDFA3_7_2 : 372
	e_PDFA3_7_3 : 373
	e_PDFA4_1 : 41
	e_PDFA4_2 : 42
	e_PDFA4_3 : 43
	e_PDFA4_4 : 44
	e_PDFA4_5 : 45
	e_PDFA4_6 : 46
	e_PDFA5_2_1 : 521
	e_PDFA5_2_2 : 522
	e_PDFA5_2_3 : 523
	e_PDFA5_2_4 : 524
	e_PDFA5_2_5 : 525
	e_PDFA5_2_6 : 526
	e_PDFA5_2_7 : 527
	e_PDFA5_2_8 : 528
	e_PDFA5_2_9 : 529
	e_PDFA5_2_10 : 5210
	e_PDFA5_2_11 : 5211
	e_PDFA5_3_1 : 531
	e_PDFA5_3_2_1 : 5321
	e_PDFA5_3_2_2 : 5322
	e_PDFA5_3_2_3 : 5323
	e_PDFA5_3_2_4 : 5324
	e_PDFA5_3_2_5 : 5325
	e_PDFA5_3_3_1 : 5331
	e_PDFA5_3_3_2 : 5332
	e_PDFA5_3_3_3 : 5333
	e_PDFA5_3_3_4 : 5334
	e_PDFA5_3_4_0 : 5340
	e_PDFA5_3_4_1 : 5341
	e_PDFA5_3_4_2 : 5342
	e_PDFA5_3_4_3 : 5343
	e_PDFA6_1_1 : 611
	e_PDFA6_1_2 : 612
	e_PDFA6_2_1 : 621
	e_PDFA6_2_2 : 622
	e_PDFA6_2_3 : 623
	e_PDFA7_2_1 : 721
	e_PDFA7_2_2 : 722
	e_PDFA7_2_3 : 723
	e_PDFA7_2_4 : 724
	e_PDFA7_2_5 : 725
	e_PDFA7_3_1 : 731
	e_PDFA7_3_2 : 732
	e_PDFA7_3_3 : 733
	e_PDFA7_3_4 : 734
	e_PDFA7_3_5 : 735
	e_PDFA7_3_6 : 736
	e_PDFA7_3_7 : 737
	e_PDFA7_3_8 : 738
	e_PDFA7_3_9 : 739
	e_PDFA7_5_1 : 751
	e_PDFA7_8_1 : 781
	e_PDFA7_8_2 : 782
	e_PDFA7_8_3 : 783
	e_PDFA7_8_4 : 784
	e_PDFA7_8_5 : 785
	e_PDFA7_8_6 : 786
	e_PDFA7_8_7 : 787
	e_PDFA7_8_8 : 788
	e_PDFA7_8_9 : 789
	e_PDFA7_8_10 : 7810
	e_PDFA7_8_11 : 7811
	e_PDFA7_8_12 : 7812
	e_PDFA7_8_13 : 7813
	e_PDFA7_8_14 : 7814
	e_PDFA7_8_15 : 7815
	e_PDFA7_8_16 : 7816
	e_PDFA7_8_17 : 7817
	e_PDFA7_8_18 : 7818
	e_PDFA7_8_19 : 7819
	e_PDFA7_8_20 : 7820
	e_PDFA7_8_21 : 7821
	e_PDFA7_8_22 : 7822
	e_PDFA7_8_23 : 7823
	e_PDFA7_8_24 : 7824
	e_PDFA7_8_25 : 7825
	e_PDFA7_8_26 : 7826
	e_PDFA7_8_27 : 7827
	e_PDFA7_8_28 : 7828
	e_PDFA7_8_29 : 7829
	e_PDFA7_8_30 : 7830
	e_PDFA7_8_31 : 7831
	e_PDFA7_11_1 : 7111
	e_PDFA7_11_2 : 7112
	e_PDFA7_11_3 : 7113
	e_PDFA7_11_4 : 7114
	e_PDFA7_11_5 : 7115
	e_PDFA9_1 : 91
	e_PDFA9_2 : 92
	e_PDFA9_3 : 93
	e_PDFA9_4 : 94
	e_PDFA3_8_1 : 381
	e_PDFA8_2_2 : 822
	e_PDFA8_3_3_1 : 8331
	e_PDFA8_3_3_2 : 8332
	e_PDFA8_3_4_1 : 8341
	e_PDFA1_2_3 : 123
	e_PDFA1_10_2 : 1102
	e_PDFA1_10_3 : 1103
	e_PDFA1_12_10 : 11210
	e_PDFA1_13_5 : 1135
	e_PDFA2_3_10 : 2310
	e_PDFA2_4_2_10 : 24220
	e_PDFA2_4_2_11 : 24221
	e_PDFA2_4_2_12 : 24222
	e_PDFA2_4_2_13 : 24223
	e_PDFA2_5_10 : 2510
	e_PDFA2_5_11 : 2511
	e_PDFA2_5_12 : 2512
	e_PDFA2_8_3_1 : 2831
	e_PDFA2_8_3_2 : 2832
	e_PDFA2_8_3_3 : 2833
	e_PDFA2_8_3_4 : 2834
	e_PDFA2_8_3_5 : 2835
	e_PDFA2_10_20 : 21020
	e_PDFA2_10_21 : 21021
	e_PDFA11_0_0 : 11000
	e_PDFA6_2_11_8 : 62118
	e_PDFA8_1 : 81
	e_PDFA_3E1 : 1
	e_PDFA_3E2 : 2
	e_PDFA_3E3 : 3
	e_PDFA_4_6_1_3_4 : 46134
	e_PDFA_4_6_1_3_5 : 46135
	e_PDFA_4_6_1_6_1_3 : 461613
	e_PDFA_4_6_7_3_5 : 46735
	e_PDFA_4_6_2_5_3 : 46253
	e_PDFA_4_6_6_3_1 : 46631
	e_PDFA_4_6_1_12_1 : 461121
	e_PDFA_4_6_2_4_2_3 : 462423
	e_PDFA_4_6_2_2_3 : 46223
	e_PDFA_4_6_9_5 : 4695
	e_PDFA_4_6_2_10_6_1 : 4621061
	e_PDFA_4_6_2_10_6_4 : 4621064
	e_PDFA_LAST : 4621065
}
error code identifier (obtained using GetError() method).
Returns:
A promise that resolves to a descriptive error message for the given error identifier.
Type
Promise.<string>

destroy()

Destructor
Inherited From:
Returns:
Type
Promise.<void>

getError(idx)

Parameters:
Name Type Description
idx number The index in the array of error code identifiers. The array is indexed starting from zero.
Returns:
A promise that resolves to the error identifier.
Type
Promise.<number>
Example
Return value enum:
<pre>
PDFNet.PDFACompliance.ErrorCode = {
	e_PDFA0_1_0 : 10
	e_PDFA0_1_1 : 11
	e_PDFA0_1_2 : 12
	e_PDFA0_1_3 : 13
	e_PDFA0_1_4 : 14
	e_PDFA0_1_5 : 15
	e_PDFA1_2_1 : 121
	e_PDFA1_2_2 : 122
	e_PDFA1_3_1 : 131
	e_PDFA1_3_2 : 132
	e_PDFA1_3_3 : 133
	e_PDFA1_3_4 : 134
	e_PDFA1_4_1 : 141
	e_PDFA1_4_2 : 142
	e_PDFA1_6_1 : 161
	e_PDFA1_7_1 : 171
	e_PDFA1_7_2 : 172
	e_PDFA1_7_3 : 173
	e_PDFA1_7_4 : 174
	e_PDFA1_8_1 : 181
	e_PDFA1_8_2 : 182
	e_PDFA1_8_3 : 183
	e_PDFA1_8_4 : 184
	e_PDFA1_8_5 : 185
	e_PDFA1_8_6 : 186
	e_PDFA1_10_1 : 1101
	e_PDFA1_11_1 : 1111
	e_PDFA1_11_2 : 1112
	e_PDFA1_12_1 : 1121
	e_PDFA1_12_2 : 1122
	e_PDFA1_12_3 : 1123
	e_PDFA1_12_4 : 1124
	e_PDFA1_12_5 : 1125
	e_PDFA1_12_6 : 1126
	e_PDFA1_13_1 : 1131
	e_PDFA2_2_1 : 221
	e_PDFA2_3_2 : 232
	e_PDFA2_3_3 : 233
	e_PDFA2_3_3_1 : 2331
	e_PDFA2_3_3_2 : 2332
	e_PDFA2_3_4_1 : 2341
	e_PDFA2_4_1 : 241
	e_PDFA2_4_2 : 242
	e_PDFA2_4_3 : 243
	e_PDFA2_4_4 : 244
	e_PDFA2_5_1 : 251
	e_PDFA2_5_2 : 252
	e_PDFA2_6_1 : 261
	e_PDFA2_7_1 : 271
	e_PDFA2_8_1 : 281
	e_PDFA2_9_1 : 291
	e_PDFA2_10_1 : 2101
	e_PDFA3_2_1 : 321
	e_PDFA3_3_1 : 331
	e_PDFA3_3_2 : 332
	e_PDFA3_3_3_1 : 3331
	e_PDFA3_3_3_2 : 3332
	e_PDFA3_4_1 : 341
	e_PDFA3_5_1 : 351
	e_PDFA3_5_2 : 352
	e_PDFA3_5_3 : 353
	e_PDFA3_5_4 : 354
	e_PDFA3_5_5 : 355
	e_PDFA3_5_6 : 356
	e_PDFA3_6_1 : 361
	e_PDFA3_7_1 : 371
	e_PDFA3_7_2 : 372
	e_PDFA3_7_3 : 373
	e_PDFA4_1 : 41
	e_PDFA4_2 : 42
	e_PDFA4_3 : 43
	e_PDFA4_4 : 44
	e_PDFA4_5 : 45
	e_PDFA4_6 : 46
	e_PDFA5_2_1 : 521
	e_PDFA5_2_2 : 522
	e_PDFA5_2_3 : 523
	e_PDFA5_2_4 : 524
	e_PDFA5_2_5 : 525
	e_PDFA5_2_6 : 526
	e_PDFA5_2_7 : 527
	e_PDFA5_2_8 : 528
	e_PDFA5_2_9 : 529
	e_PDFA5_2_10 : 5210
	e_PDFA5_2_11 : 5211
	e_PDFA5_3_1 : 531
	e_PDFA5_3_2_1 : 5321
	e_PDFA5_3_2_2 : 5322
	e_PDFA5_3_2_3 : 5323
	e_PDFA5_3_2_4 : 5324
	e_PDFA5_3_2_5 : 5325
	e_PDFA5_3_3_1 : 5331
	e_PDFA5_3_3_2 : 5332
	e_PDFA5_3_3_3 : 5333
	e_PDFA5_3_3_4 : 5334
	e_PDFA5_3_4_0 : 5340
	e_PDFA5_3_4_1 : 5341
	e_PDFA5_3_4_2 : 5342
	e_PDFA5_3_4_3 : 5343
	e_PDFA6_1_1 : 611
	e_PDFA6_1_2 : 612
	e_PDFA6_2_1 : 621
	e_PDFA6_2_2 : 622
	e_PDFA6_2_3 : 623
	e_PDFA7_2_1 : 721
	e_PDFA7_2_2 : 722
	e_PDFA7_2_3 : 723
	e_PDFA7_2_4 : 724
	e_PDFA7_2_5 : 725
	e_PDFA7_3_1 : 731
	e_PDFA7_3_2 : 732
	e_PDFA7_3_3 : 733
	e_PDFA7_3_4 : 734
	e_PDFA7_3_5 : 735
	e_PDFA7_3_6 : 736
	e_PDFA7_3_7 : 737
	e_PDFA7_3_8 : 738
	e_PDFA7_3_9 : 739
	e_PDFA7_5_1 : 751
	e_PDFA7_8_1 : 781
	e_PDFA7_8_2 : 782
	e_PDFA7_8_3 : 783
	e_PDFA7_8_4 : 784
	e_PDFA7_8_5 : 785
	e_PDFA7_8_6 : 786
	e_PDFA7_8_7 : 787
	e_PDFA7_8_8 : 788
	e_PDFA7_8_9 : 789
	e_PDFA7_8_10 : 7810
	e_PDFA7_8_11 : 7811
	e_PDFA7_8_12 : 7812
	e_PDFA7_8_13 : 7813
	e_PDFA7_8_14 : 7814
	e_PDFA7_8_15 : 7815
	e_PDFA7_8_16 : 7816
	e_PDFA7_8_17 : 7817
	e_PDFA7_8_18 : 7818
	e_PDFA7_8_19 : 7819
	e_PDFA7_8_20 : 7820
	e_PDFA7_8_21 : 7821
	e_PDFA7_8_22 : 7822
	e_PDFA7_8_23 : 7823
	e_PDFA7_8_24 : 7824
	e_PDFA7_8_25 : 7825
	e_PDFA7_8_26 : 7826
	e_PDFA7_8_27 : 7827
	e_PDFA7_8_28 : 7828
	e_PDFA7_8_29 : 7829
	e_PDFA7_8_30 : 7830
	e_PDFA7_8_31 : 7831
	e_PDFA7_11_1 : 7111
	e_PDFA7_11_2 : 7112
	e_PDFA7_11_3 : 7113
	e_PDFA7_11_4 : 7114
	e_PDFA7_11_5 : 7115
	e_PDFA9_1 : 91
	e_PDFA9_2 : 92
	e_PDFA9_3 : 93
	e_PDFA9_4 : 94
	e_PDFA3_8_1 : 381
	e_PDFA8_2_2 : 822
	e_PDFA8_3_3_1 : 8331
	e_PDFA8_3_3_2 : 8332
	e_PDFA8_3_4_1 : 8341
	e_PDFA1_2_3 : 123
	e_PDFA1_10_2 : 1102
	e_PDFA1_10_3 : 1103
	e_PDFA1_12_10 : 11210
	e_PDFA1_13_5 : 1135
	e_PDFA2_3_10 : 2310
	e_PDFA2_4_2_10 : 24220
	e_PDFA2_4_2_11 : 24221
	e_PDFA2_4_2_12 : 24222
	e_PDFA2_4_2_13 : 24223
	e_PDFA2_5_10 : 2510
	e_PDFA2_5_11 : 2511
	e_PDFA2_5_12 : 2512
	e_PDFA2_8_3_1 : 2831
	e_PDFA2_8_3_2 : 2832
	e_PDFA2_8_3_3 : 2833
	e_PDFA2_8_3_4 : 2834
	e_PDFA2_8_3_5 : 2835
	e_PDFA2_10_20 : 21020
	e_PDFA2_10_21 : 21021
	e_PDFA11_0_0 : 11000
	e_PDFA6_2_11_8 : 62118
	e_PDFA8_1 : 81
	e_PDFA_3E1 : 1
	e_PDFA_3E2 : 2
	e_PDFA_3E3 : 3
	e_PDFA_4_6_1_3_4 : 46134
	e_PDFA_4_6_1_3_5 : 46135
	e_PDFA_4_6_1_6_1_3 : 461613
	e_PDFA_4_6_7_3_5 : 46735
	e_PDFA_4_6_2_5_3 : 46253
	e_PDFA_4_6_6_3_1 : 46631
	e_PDFA_4_6_1_12_1 : 461121
	e_PDFA_4_6_2_4_2_3 : 462423
	e_PDFA_4_6_2_2_3 : 46223
	e_PDFA_4_6_9_5 : 4695
	e_PDFA_4_6_2_10_6_1 : 4621061
	e_PDFA_4_6_2_10_6_4 : 4621064
	e_PDFA_LAST : 4621065
}
</pre>

getErrorCount()

Returns:
A promise that resolves to the number of compliance violations.
Type
Promise.<number>

getRefObj(id, err_idx)

Parameters:
Name Type Description
id number
PDFNet.PDFACompliance.ErrorCode = {
	e_PDFA0_1_0 : 10
	e_PDFA0_1_1 : 11
	e_PDFA0_1_2 : 12
	e_PDFA0_1_3 : 13
	e_PDFA0_1_4 : 14
	e_PDFA0_1_5 : 15
	e_PDFA1_2_1 : 121
	e_PDFA1_2_2 : 122
	e_PDFA1_3_1 : 131
	e_PDFA1_3_2 : 132
	e_PDFA1_3_3 : 133
	e_PDFA1_3_4 : 134
	e_PDFA1_4_1 : 141
	e_PDFA1_4_2 : 142
	e_PDFA1_6_1 : 161
	e_PDFA1_7_1 : 171
	e_PDFA1_7_2 : 172
	e_PDFA1_7_3 : 173
	e_PDFA1_7_4 : 174
	e_PDFA1_8_1 : 181
	e_PDFA1_8_2 : 182
	e_PDFA1_8_3 : 183
	e_PDFA1_8_4 : 184
	e_PDFA1_8_5 : 185
	e_PDFA1_8_6 : 186
	e_PDFA1_10_1 : 1101
	e_PDFA1_11_1 : 1111
	e_PDFA1_11_2 : 1112
	e_PDFA1_12_1 : 1121
	e_PDFA1_12_2 : 1122
	e_PDFA1_12_3 : 1123
	e_PDFA1_12_4 : 1124
	e_PDFA1_12_5 : 1125
	e_PDFA1_12_6 : 1126
	e_PDFA1_13_1 : 1131
	e_PDFA2_2_1 : 221
	e_PDFA2_3_2 : 232
	e_PDFA2_3_3 : 233
	e_PDFA2_3_3_1 : 2331
	e_PDFA2_3_3_2 : 2332
	e_PDFA2_3_4_1 : 2341
	e_PDFA2_4_1 : 241
	e_PDFA2_4_2 : 242
	e_PDFA2_4_3 : 243
	e_PDFA2_4_4 : 244
	e_PDFA2_5_1 : 251
	e_PDFA2_5_2 : 252
	e_PDFA2_6_1 : 261
	e_PDFA2_7_1 : 271
	e_PDFA2_8_1 : 281
	e_PDFA2_9_1 : 291
	e_PDFA2_10_1 : 2101
	e_PDFA3_2_1 : 321
	e_PDFA3_3_1 : 331
	e_PDFA3_3_2 : 332
	e_PDFA3_3_3_1 : 3331
	e_PDFA3_3_3_2 : 3332
	e_PDFA3_4_1 : 341
	e_PDFA3_5_1 : 351
	e_PDFA3_5_2 : 352
	e_PDFA3_5_3 : 353
	e_PDFA3_5_4 : 354
	e_PDFA3_5_5 : 355
	e_PDFA3_5_6 : 356
	e_PDFA3_6_1 : 361
	e_PDFA3_7_1 : 371
	e_PDFA3_7_2 : 372
	e_PDFA3_7_3 : 373
	e_PDFA4_1 : 41
	e_PDFA4_2 : 42
	e_PDFA4_3 : 43
	e_PDFA4_4 : 44
	e_PDFA4_5 : 45
	e_PDFA4_6 : 46
	e_PDFA5_2_1 : 521
	e_PDFA5_2_2 : 522
	e_PDFA5_2_3 : 523
	e_PDFA5_2_4 : 524
	e_PDFA5_2_5 : 525
	e_PDFA5_2_6 : 526
	e_PDFA5_2_7 : 527
	e_PDFA5_2_8 : 528
	e_PDFA5_2_9 : 529
	e_PDFA5_2_10 : 5210
	e_PDFA5_2_11 : 5211
	e_PDFA5_3_1 : 531
	e_PDFA5_3_2_1 : 5321
	e_PDFA5_3_2_2 : 5322
	e_PDFA5_3_2_3 : 5323
	e_PDFA5_3_2_4 : 5324
	e_PDFA5_3_2_5 : 5325
	e_PDFA5_3_3_1 : 5331
	e_PDFA5_3_3_2 : 5332
	e_PDFA5_3_3_3 : 5333
	e_PDFA5_3_3_4 : 5334
	e_PDFA5_3_4_0 : 5340
	e_PDFA5_3_4_1 : 5341
	e_PDFA5_3_4_2 : 5342
	e_PDFA5_3_4_3 : 5343
	e_PDFA6_1_1 : 611
	e_PDFA6_1_2 : 612
	e_PDFA6_2_1 : 621
	e_PDFA6_2_2 : 622
	e_PDFA6_2_3 : 623
	e_PDFA7_2_1 : 721
	e_PDFA7_2_2 : 722
	e_PDFA7_2_3 : 723
	e_PDFA7_2_4 : 724
	e_PDFA7_2_5 : 725
	e_PDFA7_3_1 : 731
	e_PDFA7_3_2 : 732
	e_PDFA7_3_3 : 733
	e_PDFA7_3_4 : 734
	e_PDFA7_3_5 : 735
	e_PDFA7_3_6 : 736
	e_PDFA7_3_7 : 737
	e_PDFA7_3_8 : 738
	e_PDFA7_3_9 : 739
	e_PDFA7_5_1 : 751
	e_PDFA7_8_1 : 781
	e_PDFA7_8_2 : 782
	e_PDFA7_8_3 : 783
	e_PDFA7_8_4 : 784
	e_PDFA7_8_5 : 785
	e_PDFA7_8_6 : 786
	e_PDFA7_8_7 : 787
	e_PDFA7_8_8 : 788
	e_PDFA7_8_9 : 789
	e_PDFA7_8_10 : 7810
	e_PDFA7_8_11 : 7811
	e_PDFA7_8_12 : 7812
	e_PDFA7_8_13 : 7813
	e_PDFA7_8_14 : 7814
	e_PDFA7_8_15 : 7815
	e_PDFA7_8_16 : 7816
	e_PDFA7_8_17 : 7817
	e_PDFA7_8_18 : 7818
	e_PDFA7_8_19 : 7819
	e_PDFA7_8_20 : 7820
	e_PDFA7_8_21 : 7821
	e_PDFA7_8_22 : 7822
	e_PDFA7_8_23 : 7823
	e_PDFA7_8_24 : 7824
	e_PDFA7_8_25 : 7825
	e_PDFA7_8_26 : 7826
	e_PDFA7_8_27 : 7827
	e_PDFA7_8_28 : 7828
	e_PDFA7_8_29 : 7829
	e_PDFA7_8_30 : 7830
	e_PDFA7_8_31 : 7831
	e_PDFA7_11_1 : 7111
	e_PDFA7_11_2 : 7112
	e_PDFA7_11_3 : 7113
	e_PDFA7_11_4 : 7114
	e_PDFA7_11_5 : 7115
	e_PDFA9_1 : 91
	e_PDFA9_2 : 92
	e_PDFA9_3 : 93
	e_PDFA9_4 : 94
	e_PDFA3_8_1 : 381
	e_PDFA8_2_2 : 822
	e_PDFA8_3_3_1 : 8331
	e_PDFA8_3_3_2 : 8332
	e_PDFA8_3_4_1 : 8341
	e_PDFA1_2_3 : 123
	e_PDFA1_10_2 : 1102
	e_PDFA1_10_3 : 1103
	e_PDFA1_12_10 : 11210
	e_PDFA1_13_5 : 1135
	e_PDFA2_3_10 : 2310
	e_PDFA2_4_2_10 : 24220
	e_PDFA2_4_2_11 : 24221
	e_PDFA2_4_2_12 : 24222
	e_PDFA2_4_2_13 : 24223
	e_PDFA2_5_10 : 2510
	e_PDFA2_5_11 : 2511
	e_PDFA2_5_12 : 2512
	e_PDFA2_8_3_1 : 2831
	e_PDFA2_8_3_2 : 2832
	e_PDFA2_8_3_3 : 2833
	e_PDFA2_8_3_4 : 2834
	e_PDFA2_8_3_5 : 2835
	e_PDFA2_10_20 : 21020
	e_PDFA2_10_21 : 21021
	e_PDFA11_0_0 : 11000
	e_PDFA6_2_11_8 : 62118
	e_PDFA8_1 : 81
	e_PDFA_3E1 : 1
	e_PDFA_3E2 : 2
	e_PDFA_3E3 : 3
	e_PDFA_4_6_1_3_4 : 46134
	e_PDFA_4_6_1_3_5 : 46135
	e_PDFA_4_6_1_6_1_3 : 461613
	e_PDFA_4_6_7_3_5 : 46735
	e_PDFA_4_6_2_5_3 : 46253
	e_PDFA_4_6_6_3_1 : 46631
	e_PDFA_4_6_1_12_1 : 461121
	e_PDFA_4_6_2_4_2_3 : 462423
	e_PDFA_4_6_2_2_3 : 46223
	e_PDFA_4_6_9_5 : 4695
	e_PDFA_4_6_2_10_6_1 : 4621061
	e_PDFA_4_6_2_10_6_4 : 4621064
	e_PDFA_LAST : 4621065
}
error code identifier (obtained using GetError() method).
err_idx number The index in the array of object references. The array is indexed starting from zero.
Returns:
A promise that resolves to a specific object reference associated with a given error type. The return value is a PDF object identifier (i.e. object number for 'pdftron.SDF.Obj)) for the that is associated with the error.
Type
Promise.<number>

getRefObjCount(id)

Parameters:
Name Type Description
id number
PDFNet.PDFACompliance.ErrorCode = {
	e_PDFA0_1_0 : 10
	e_PDFA0_1_1 : 11
	e_PDFA0_1_2 : 12
	e_PDFA0_1_3 : 13
	e_PDFA0_1_4 : 14
	e_PDFA0_1_5 : 15
	e_PDFA1_2_1 : 121
	e_PDFA1_2_2 : 122
	e_PDFA1_3_1 : 131
	e_PDFA1_3_2 : 132
	e_PDFA1_3_3 : 133
	e_PDFA1_3_4 : 134
	e_PDFA1_4_1 : 141
	e_PDFA1_4_2 : 142
	e_PDFA1_6_1 : 161
	e_PDFA1_7_1 : 171
	e_PDFA1_7_2 : 172
	e_PDFA1_7_3 : 173
	e_PDFA1_7_4 : 174
	e_PDFA1_8_1 : 181
	e_PDFA1_8_2 : 182
	e_PDFA1_8_3 : 183
	e_PDFA1_8_4 : 184
	e_PDFA1_8_5 : 185
	e_PDFA1_8_6 : 186
	e_PDFA1_10_1 : 1101
	e_PDFA1_11_1 : 1111
	e_PDFA1_11_2 : 1112
	e_PDFA1_12_1 : 1121
	e_PDFA1_12_2 : 1122
	e_PDFA1_12_3 : 1123
	e_PDFA1_12_4 : 1124
	e_PDFA1_12_5 : 1125
	e_PDFA1_12_6 : 1126
	e_PDFA1_13_1 : 1131
	e_PDFA2_2_1 : 221
	e_PDFA2_3_2 : 232
	e_PDFA2_3_3 : 233
	e_PDFA2_3_3_1 : 2331
	e_PDFA2_3_3_2 : 2332
	e_PDFA2_3_4_1 : 2341
	e_PDFA2_4_1 : 241
	e_PDFA2_4_2 : 242
	e_PDFA2_4_3 : 243
	e_PDFA2_4_4 : 244
	e_PDFA2_5_1 : 251
	e_PDFA2_5_2 : 252
	e_PDFA2_6_1 : 261
	e_PDFA2_7_1 : 271
	e_PDFA2_8_1 : 281
	e_PDFA2_9_1 : 291
	e_PDFA2_10_1 : 2101
	e_PDFA3_2_1 : 321
	e_PDFA3_3_1 : 331
	e_PDFA3_3_2 : 332
	e_PDFA3_3_3_1 : 3331
	e_PDFA3_3_3_2 : 3332
	e_PDFA3_4_1 : 341
	e_PDFA3_5_1 : 351
	e_PDFA3_5_2 : 352
	e_PDFA3_5_3 : 353
	e_PDFA3_5_4 : 354
	e_PDFA3_5_5 : 355
	e_PDFA3_5_6 : 356
	e_PDFA3_6_1 : 361
	e_PDFA3_7_1 : 371
	e_PDFA3_7_2 : 372
	e_PDFA3_7_3 : 373
	e_PDFA4_1 : 41
	e_PDFA4_2 : 42
	e_PDFA4_3 : 43
	e_PDFA4_4 : 44
	e_PDFA4_5 : 45
	e_PDFA4_6 : 46
	e_PDFA5_2_1 : 521
	e_PDFA5_2_2 : 522
	e_PDFA5_2_3 : 523
	e_PDFA5_2_4 : 524
	e_PDFA5_2_5 : 525
	e_PDFA5_2_6 : 526
	e_PDFA5_2_7 : 527
	e_PDFA5_2_8 : 528
	e_PDFA5_2_9 : 529
	e_PDFA5_2_10 : 5210
	e_PDFA5_2_11 : 5211
	e_PDFA5_3_1 : 531
	e_PDFA5_3_2_1 : 5321
	e_PDFA5_3_2_2 : 5322
	e_PDFA5_3_2_3 : 5323
	e_PDFA5_3_2_4 : 5324
	e_PDFA5_3_2_5 : 5325
	e_PDFA5_3_3_1 : 5331
	e_PDFA5_3_3_2 : 5332
	e_PDFA5_3_3_3 : 5333
	e_PDFA5_3_3_4 : 5334
	e_PDFA5_3_4_0 : 5340
	e_PDFA5_3_4_1 : 5341
	e_PDFA5_3_4_2 : 5342
	e_PDFA5_3_4_3 : 5343
	e_PDFA6_1_1 : 611
	e_PDFA6_1_2 : 612
	e_PDFA6_2_1 : 621
	e_PDFA6_2_2 : 622
	e_PDFA6_2_3 : 623
	e_PDFA7_2_1 : 721
	e_PDFA7_2_2 : 722
	e_PDFA7_2_3 : 723
	e_PDFA7_2_4 : 724
	e_PDFA7_2_5 : 725
	e_PDFA7_3_1 : 731
	e_PDFA7_3_2 : 732
	e_PDFA7_3_3 : 733
	e_PDFA7_3_4 : 734
	e_PDFA7_3_5 : 735
	e_PDFA7_3_6 : 736
	e_PDFA7_3_7 : 737
	e_PDFA7_3_8 : 738
	e_PDFA7_3_9 : 739
	e_PDFA7_5_1 : 751
	e_PDFA7_8_1 : 781
	e_PDFA7_8_2 : 782
	e_PDFA7_8_3 : 783
	e_PDFA7_8_4 : 784
	e_PDFA7_8_5 : 785
	e_PDFA7_8_6 : 786
	e_PDFA7_8_7 : 787
	e_PDFA7_8_8 : 788
	e_PDFA7_8_9 : 789
	e_PDFA7_8_10 : 7810
	e_PDFA7_8_11 : 7811
	e_PDFA7_8_12 : 7812
	e_PDFA7_8_13 : 7813
	e_PDFA7_8_14 : 7814
	e_PDFA7_8_15 : 7815
	e_PDFA7_8_16 : 7816
	e_PDFA7_8_17 : 7817
	e_PDFA7_8_18 : 7818
	e_PDFA7_8_19 : 7819
	e_PDFA7_8_20 : 7820
	e_PDFA7_8_21 : 7821
	e_PDFA7_8_22 : 7822
	e_PDFA7_8_23 : 7823
	e_PDFA7_8_24 : 7824
	e_PDFA7_8_25 : 7825
	e_PDFA7_8_26 : 7826
	e_PDFA7_8_27 : 7827
	e_PDFA7_8_28 : 7828
	e_PDFA7_8_29 : 7829
	e_PDFA7_8_30 : 7830
	e_PDFA7_8_31 : 7831
	e_PDFA7_11_1 : 7111
	e_PDFA7_11_2 : 7112
	e_PDFA7_11_3 : 7113
	e_PDFA7_11_4 : 7114
	e_PDFA7_11_5 : 7115
	e_PDFA9_1 : 91
	e_PDFA9_2 : 92
	e_PDFA9_3 : 93
	e_PDFA9_4 : 94
	e_PDFA3_8_1 : 381
	e_PDFA8_2_2 : 822
	e_PDFA8_3_3_1 : 8331
	e_PDFA8_3_3_2 : 8332
	e_PDFA8_3_4_1 : 8341
	e_PDFA1_2_3 : 123
	e_PDFA1_10_2 : 1102
	e_PDFA1_10_3 : 1103
	e_PDFA1_12_10 : 11210
	e_PDFA1_13_5 : 1135
	e_PDFA2_3_10 : 2310
	e_PDFA2_4_2_10 : 24220
	e_PDFA2_4_2_11 : 24221
	e_PDFA2_4_2_12 : 24222
	e_PDFA2_4_2_13 : 24223
	e_PDFA2_5_10 : 2510
	e_PDFA2_5_11 : 2511
	e_PDFA2_5_12 : 2512
	e_PDFA2_8_3_1 : 2831
	e_PDFA2_8_3_2 : 2832
	e_PDFA2_8_3_3 : 2833
	e_PDFA2_8_3_4 : 2834
	e_PDFA2_8_3_5 : 2835
	e_PDFA2_10_20 : 21020
	e_PDFA2_10_21 : 21021
	e_PDFA11_0_0 : 11000
	e_PDFA6_2_11_8 : 62118
	e_PDFA8_1 : 81
	e_PDFA_3E1 : 1
	e_PDFA_3E2 : 2
	e_PDFA_3E3 : 3
	e_PDFA_4_6_1_3_4 : 46134
	e_PDFA_4_6_1_3_5 : 46135
	e_PDFA_4_6_1_6_1_3 : 461613
	e_PDFA_4_6_7_3_5 : 46735
	e_PDFA_4_6_2_5_3 : 46253
	e_PDFA_4_6_6_3_1 : 46631
	e_PDFA_4_6_1_12_1 : 461121
	e_PDFA_4_6_2_4_2_3 : 462423
	e_PDFA_4_6_2_2_3 : 46223
	e_PDFA_4_6_9_5 : 4695
	e_PDFA_4_6_2_10_6_1 : 4621061
	e_PDFA_4_6_2_10_6_4 : 4621064
	e_PDFA_LAST : 4621065
}
error code identifier (obtained using GetError() method).
Returns:
A promise that resolves to the number of object references associated with a given error.
Type
Promise.<number>

saveAsFromBuffer( [linearized])

Serializes the converted PDF/A document to a memory buffer. Note: This method assumes that the first parameter passed in PDFACompliance constructor (i.e. the convert parameter) is set to 'true'.
Parameters:
Name Type Argument Description
linearized boolean <optional>
An optional flag used to specify whether the resulting PDF/A document should be web-optimized (linearized).
Returns:
A promise that resolves to the converted document saved as a memory buffer.
Type
Promise.<Uint8Array>

takeOwnership()

Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
Inherited From:
Returns:
Type
void