DynaPDF Manual - Page 187

Previous Page 186   Index   Next Page 188

Function Reference
Page 187 of 818
typedef enum
ctPDFA_1b_2005, // Compatibility to PDF/A 1b 2005
// Normalization is useful for print workflows
// Convert the file to PDF/A 2b if possible
// Convert the file to PDF/A 3b if possible
/* The following constants convert the file to PDF/A 3b and set the whished ZUGFeRD, ZUGFeRD 2.0
* or Factur-X conformance level in the XMP metadata. CheckConformance() does not validate the
* XML invoice but it checks whether it is present. The embedded XML 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:
* XRechnung:
* Setting the correct ZUGFeRD or Factur-X conformance level is important since this value
* defines which fields must be present in the XML invoice.
// ZUGFeRD 1.0
// Basic profile
// Comfort profile
// Extended profile
// ZUGFeRD 2.0:
// Minimum profile
// Basic profile
// Basic WL profile
// EN 16931 profile
// Extended profile
// Factur-X / ZUGFeRD 2.1:
// Minimum profile
// Basic profile
// Basic WL profile
// EN 16931 profile
// Extended profile
// German XRechnung profile
typedef UI32 TCheckOptions;
#define coDefault
0x0010FFFF // Default flags
#define coEmbedSubsets
0x00000001 // Already done, does nothing (obsolete)
#define coDeleteTransferFuncs
0x00000002 // Imported files only
#define coDeleteMultiMediaContents 0x00000004 // Imported files only
#define coDeleteActionsAndScripts
0x00000008 // Imported files only
#define coDeleteInvRenderingIntent 0x00000010 // Imported files only
#define coFlattenFormFields
0x00000020 // Flatten form fields
#define coReplaceV4ICCProfiles
0x00000040 // Imported files only
#define coDeleteEmbeddedFiles
0x00000080 // Imported files only
#define coDeleteOPIComments
0x00000100 // Imported files only
#define coDeleteSignatures
0x00000200 // Imported files only
#define coDeletePostscript
0x00000400 // Delete Postscript XObjects
#define coDeleteAlternateImages
0x00000800 // Delete alternate images
#define coReComprJPEG2000Images
0x00001000 // JPEG 2000 images are prohibited in PDF/A 1. The
// conversion to PDF/A 1 will fail if the flag is
// absent and if a file contains JPEG 2000 images.
#define coResolveOverprint
0x00002000 // PDF/A 2 and 3. Set the overprint mode to 0 if
// overprint mode = 1 and if overprinting for fill or
// stroke is true and if a ICCBased CMYK color space is
// used. Note that DeviceCMYK is treated as ICCBased
// color space due to implicit color conversion rules.
#define coMakeLayerVisible
0x00004000 // PDF/A 2 and 3 prohibit invisible layers.
#define coDeleteAppEvents
0x00008000 // PDF/A 2 and 3. Application events are prohibited in
// PDF/A. The view state will be applied.
#define coReplCCITTFaxWithFlate
0x00010000 // Imported files only
#define coApplyExportState
0x00020000 // Meaningful only if coDeleteAppEvents is set. Apply
// the export state.
#define coApplyPrintState
0x00040000 // Meaningful only if coDeleteAppEvents is set. Apply

Previous topic: ChangeSeparationColor, CheckCollection, CheckConformance

Next topic: Notice, Important callback functions, OnFontNotFound, OnReplaceICCProfile

Start Chat