DynaPDF Manual - Page 187

Previous Page 186   Index   Next Page 188

Function Reference
Page 187 of 821
typedef enum
{
ctPDFA_1b_2005, // Compatibility to PDF/A 1b 2005
ctNormalize,
// Normalization is useful for print workflows
ctPDFA_2b,
// Convert the file to PDF/A 2b if possible
ctPDFA_3b,
// 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:
"factur-x.xml"
* XRechnung:
"xrechnung.xml"
*
* 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
ctZUGFeRD_Basic,
// Basic profile
ctZUGFeRD_Comfort,
// Comfort profile
ctZUGFeRD_Extended,
// Extended profile
// ZUGFeRD 2.0:
ctZUGFeRD2_Minimum,
// Minimum profile
ctZUGFeRD2_Basic,
// Basic profile
ctZUGFeRD2_Basic_WL, // Basic WL profile
ctZUGFeRD2_Comfort,
// EN 16931 profile
ctZUGFeRD2_Extended, // Extended profile
// Factur-X / ZUGFeRD 2.1:
ctFacturX_Minimum,
// Minimum profile
ctFacturX_Basic,
// Basic profile
ctFacturX_Basic_WL,
// Basic WL profile
ctFacturX_Comfort,
// EN 16931 profile
ctFacturX_Extended,
// Extended profile
ctFacturX_XRechnung, // German XRechnung profile
ctPDFA_2u,
// Convert the file to PDF/A 2u if possible
ctPDFA_3u
// Convert the file to PDF/A 3u if possible
}TConformanceType;
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
 

Previous topic: ChangeSeparationColor, CheckCollection, CheckConformance

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


Start Chat