DynaPDF Manual - Page 216

Previous Page 215   Index   Next Page 217

Function Reference
Page 216 of 860
PDF/A 4e enables beneeth embedded files the usage of 3D contents in RichMedia
annotations. Note that RichMedia annotations are based on Flash.
File attach annotations are supported by PDF/A 4f only.
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 (not supported by PDF/A 4). 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 and close the file, finished.
This removes unnecessary references. However, be aware that this saves only a few bytes.
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 or higher is that the file must contain an embedded XML invoice. The embedded invoice must be
named as follows (case-sensitive and without quotes):
ZUGFeRD 1.0:
"ZUGFeRD-invoice.xml"
ZUGFeRD 2.0:
"zugferd-invoice.xml"
Factur-X / ZUGFeRD 2.1:
"factur-x.xml"
XRechnung:
"xrechnung.xml"
Note that ZUGFeRD 2.1 or higher and Factur-X are technically indentically defined, not only in
PDF! Therefore, both formats share the same version constants!
The invoice can be attached with AttachFile() or AttachFileEx(). The embedded file must also be
associated with the global catalog object with AssociateEmbFile(). This step is optional. If the file
was not already associated with the catalog object then it will be associated automatically.
However, if set, the parameter Relationship must be set to arAlternative, arData, or arSource depending
on the output version:
Profile
Relationship
ctZUGFeRD_Basic
arAlternative
ctZUGFeRD_Comfort
arAlternative
ctZUGFeRD_Extended
arAlternative
ctZUGFeRD2_Minimum
arData or arSource
ctZUGFeRD2_Basic
arAlternative
ctZUGFeRD2_Basic_WL
arData or arSource
ctZUGFeRD2_Comfort
arAlternative
ctZUGFeRD2_Extended
arAlternative
ctFacturX_Minimum
arData or arSource
ctFacturX_Basic
arAlternative
ctFacturX_Basic_WL
arData or arSource
ctFacturX_Comfort
arAlternative
ctFacturX_Extended
arAlternative
 

Previous topic: PDF/A 2b, 2u, 3b, 3u, PDF/A 4, 4e, 4f

Next topic: Return values