PDF/A and PDF/UA
Let users convert documents to PDF/A, PDF/UA, PDF/X, PDF/E and PDF/VT in an Electron window with NexPDF.
License module
Conversion to ISO standards needs the standards module (Enterprise tier).
The ISO standards section of the Protect mode (security) shows which standards the document
claims and converts it to:
| Standard | Use |
|---|---|
| PDF/A-2b | Long-term archiving |
| PDF/UA | Accessibility: tags the document for screen readers |
| PDF/X-4 | Print production |
| PDF/E-1 | Engineering documents |
| PDF/VT | Variable and transactional printing |
PDF/A conversion writes the XMP metadata with the PDF/A identification, adds an sRGB output intent with an embedded ICC profile and a file identifier, and embeds metric-compatible Liberation fonts in place of non-embedded standard fonts.
PDF/UA tagging builds a logical structure tree from the page content of an untagged document: headings and paragraphs in reading order, figures with placeholder alternative text, links, form fields and annotations, and artifacts. Figures still need real alternative text from a person.
To check a document against a PDF/A level or PDF/UA, with the clause of each failure, or to convert to another PDF/A level (1a to 4f), see PDF/A and PDF/UA validation.
From code
To convert in code, use the
document API:
doc.raw.convertPdfa() writes PDF/A-2b, doc.raw.convertPdfaLevel(level) another level, and
doc.raw.autoTag(lang, force) tags for PDF/UA, as in the Node.js SDK.
doc.raw.convertPdfuaJson(part, lang) converts to PDF/UA-1 or PDF/UA-2 in one step, and
doc.raw.convertPdfaJson(level, flattenDpi, substituteFonts) converts to a PDF/A level with a
report; see PDF/A and PDF/UA validation.