Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can i verify the pdf/a compliance using the APDFL?

New Here ,
Dec 08, 2021 Dec 08, 2021

Is there a function to determine the pdf/a - conformance of an existing file.

To get for example: pdf/a 2a, pdf/a 1b, ...

 

thanks

Karsten

TOPICS
Edit and convert PDFs , Standards and accessibility
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2021 Dec 08, 2021

What is APDFL?

Google gives lots of interesting answers but few seem relevant ...


Acrobate du PDF, InDesigner et Photoshopographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 08, 2021 Dec 08, 2021

APDF - Adobe PDF Library (as licensed by DataLogics).

API is identical to the Acrobat plug-in API, except without any UI. Also without file conversions and preflighting (which is what does PDF/A validation).

 

Karsten - do you actually want to see if a file claims to be PDF/A (includes the PDF/A marker), or do you want to check whether a file claiming to be PDF/A conforms to all of the requirements in the ISO standard?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 09, 2021 Dec 09, 2021

Thanks for answering so far.

The Adobe PDF Library has functions to convert pdf-files into a pdf/a conform standard.

typedef enum {
/** Convert to PDF/A-1a RGB */
kPDFProcessorConvertToPDFA1aRGB,
/** Convert to PDF/A-1a CMYK */
kPDFProcessorConvertToPDFA1aCMYK,
/** Convert to PDF/A-1b RGB */
kPDFProcessorConvertToPDFA1bRGB,
/** Convert to PDF/A-1b CMYK */
kPDFProcessorConvertToPDFA1bCMYK,
/*DLADD 29Jul2019 - Added new options for Part 2 and Part 3.*/
/** Convert to PDF/A-2b RGB */
kPDFProcessorConvertToPDFA2bRGB,
/** Convert to PDF/A-2b CMYK */
kPDFProcessorConvertToPDFA2bCMYK,
/** Convert to PDF/A-2u RGB */
kPDFProcessorConvertToPDFA2uRGB,
/** Convert to PDF/A-2u CMYK */
kPDFProcessorConvertToPDFA2uCMYK,
/** Convert to PDF/A-3b RGB */
kPDFProcessorConvertToPDFA3bRGB,
/** Convert to PDF/A-3b CMYK */
kPDFProcessorConvertToPDFA3bCMYK,
/** Convert to PDF/A-3u RGB */
kPDFProcessorConvertToPDFA3uRGB,
/** Convert to PDF/A-3u CMYK */
kPDFProcessorConvertToPDFA3uCMYK
} PDFProcessorPDFAConversionOption;

PDFProcessorConvertAndSaveToPDFA()

 

But i found no function to check the current pdf/a conformance of an existing pdf-file. So, before i convert a file to the wanted pdf/a conformance, i need to consider the file.

I can parse the file by myself and search for <pdfaid:part> and <pdfaid:conformance>, but that's not what i wanted.

Is there a way to check this by Adobe PDF Library or some other c++ Library?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 09, 2021 Dec 09, 2021

I am still not 100% sure what you mean by "check for conformance". Can you clarify

(1) do you want to see if a file claims to be PDF/A (includes the PDF/A marker), or

(2) do you want to check whether a file claiming to be PDF/A conforms to all of the requirements in the ISO standard, checked in detail?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 09, 2021 Dec 09, 2021
LATEST

Point 1

i want to know if the file is a pdf/a -document and additionally i want to know the pdf/a 'marker'.

Is it no pdf/a-document or is it a pdf/a2a or pdf/a1b or pdf/a3u or pdf/x or  .... ?

 

i hope i can explain my question unambiguously.

thanks

Karsten

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines