DynaPDF Manual - Page 202

Previous Page 201   Index   Next Page 203

Function Reference
Page 202 of 839
Geospatial and rectilinear measurement properties are supported.
Type1 and Type5 hafltone screens are supported.
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):
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 and Factur-X are indentically defined 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