module HexaPDF::Task::PDFA

Task for creating a PDF/A compliant document.

It automatically

  • prevents the Standard 14 PDF fonts to be used.

  • adds an appropriate output intent if none is set.

  • adds the necessary PDF/A metadata properties.

Public Class Methods

call(doc, level: '3u')

Performs the necessary tasks to make the document PDF/A compatible.

level

Specifies the PDF/A conformance level that should be used. Can be one of the following strings: 2b, 2u, 3b, 3u.