DynaPDF Manual - Page 194
Previous Page 193 Index Next Page 195

Function Reference
Page 194 of 821
• PDF/A files cannot be encrypted. The usage of CloseFileEx() or CloseAndSignFileEx() is not
allowed.
• All features which are not defined in PDF 1.4.
PDF/A 2b, 2u, 3b, 3u
PDF/A 2b, 2u, 3b, 3u based on PDF 1.7 and hence support more features like transparency or
optional contents (layers). The only difference between PDF/A 2b and 3b is that the latter version
supports also embedded files. The following features are prohibited:
• Annotations which are not defined in PDF 1.7.
• Form fields (form fields will be flattened if present).
• Overprinting is permitted but the overprinting mode cannot be set to 1 if an ICCBased
CMYK color space is used. Due to implicit color conversion rules this applies also to
DeviceCMYK.
• Application events are prohibited in PDF/A 2 and 3 (see AddOCGToAppEvent() for further
information).
• Annotation replies are still prohibited (see SetAnnotMigrationState() for further
information).
• PDF/A files cannot be encrypted. The usage of CloseFileEx() or CloseAndSignFileEx() is not
allowed.
• PDF/A 3b: Embedded files must be associated with a PDF object. See AssociateEmbFile() for
further information.
It is strongly recommended to set the import flag if2UseProxy with SetImportFlags2() to reduce
the memory usage when importing PDF files.
Since DynaPDF must rebuild all content streams of the PDF file the flag coFlushPages can also
be set to reduce the memory usage during conversion. This flag can be set if a PDF file is larger
than 5 or 10 MB for example. For small PDF files the flag should be absent.
If the flag coFlushPages was set then a few objects must be written as indirect references. If you
want a perfectly organized PDF file then import the resuling PDF file again, set the PDF version
to pvPDFA_2b or 3b and save the file. The PDF version must be set because DynaPDF cannot
identify PDF/A files automatically during import since the version is stored in the global XMP
stream.
ZUGFeRD, ZUGFeRD 2.0, Factur-X / ZUGFeRD 2.1, XRechnung
The only difference between PDF/A 3b and ZUGFeRD, ZUGFeRD 2.0, or Factur-X and ZUGFeRD
2.1 is that the file must contain an embedded XML invoice. The embedded invoice must be named
as follows (case-sensitive and without quotes):
Previous topic: Font embedding, PDF/A 1b:
Next topic: Return values