Pdftools SDK
|
Go to the source code of this file.
Classes | |
struct | TPdfToolsGeomInt_Size |
struct | TPdfToolsGeomUnits_Resolution |
struct | TPdfToolsGeomUnits_Size |
struct | TPdfToolsGeomUnits_Margin |
struct | TPdfToolsGeomUnits_Point |
struct | TPdfToolsGeomUnits_Rectangle |
struct | TPdfToolsSys_Date |
Macros | |
#define | BOOL int |
#define | TRUE 1 |
#define | FALSE 0 |
Typedefs | |
typedef enum TPdfTools_ErrorCode | TPdfTools_ErrorCode |
typedef enum TPdfToolsPdf_Permission | TPdfToolsPdf_Permission |
The permissions allowed by a PDF document. | |
typedef enum TPdfToolsPdf_XfaType | TPdfToolsPdf_XfaType |
The XFA type of a PDF document See PdfToolsPdf_Document_GetXfa to get the XFA type of a PDF document. | |
typedef enum TPdfToolsPdf_MdpPermissions | TPdfToolsPdf_MdpPermissions |
typedef enum TPdfToolsPdf_Conformance | TPdfToolsPdf_Conformance |
typedef enum TPdfToolsDocumentAssembly_CopyStrategy | TPdfToolsDocumentAssembly_CopyStrategy |
typedef enum TPdfToolsDocumentAssembly_RemovalStrategy | TPdfToolsDocumentAssembly_RemovalStrategy |
typedef enum TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy | TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy |
typedef enum TPdfToolsDocumentAssembly_NameConflictResolution | TPdfToolsDocumentAssembly_NameConflictResolution |
typedef enum TPdfToolsOptimization_ConversionStrategy | TPdfToolsOptimization_ConversionStrategy |
The conversion strategy for PDF objects. | |
typedef enum TPdfToolsOptimization_RemovalStrategy | TPdfToolsOptimization_RemovalStrategy |
The removal strategy for PDF objects. | |
typedef enum TPdfToolsOptimization_CompressionAlgorithmSelection | TPdfToolsOptimization_CompressionAlgorithmSelection |
The strategy for recompressing images The strategy expresses the broad goal when recompressing images. | |
typedef enum TPdfToolsPdf2Image_FaxVerticalResolution | TPdfToolsPdf2Image_FaxVerticalResolution |
The vertical resolution of Fax images The two resolutions available in Fax images. | |
typedef enum TPdfToolsPdf2Image_TiffBitonalCompressionType | TPdfToolsPdf2Image_TiffBitonalCompressionType |
The compression type for bitonal (Fax) TIFF images. | |
typedef enum TPdfToolsPdf2Image_BackgroundType | TPdfToolsPdf2Image_BackgroundType |
The background type to use when rendering into an image. | |
typedef enum TPdfToolsPdf2Image_PngColorSpace | TPdfToolsPdf2Image_PngColorSpace |
The color space used in PNG images. | |
typedef enum TPdfToolsPdf2Image_JpegColorSpace | TPdfToolsPdf2Image_JpegColorSpace |
The color space used in JPEG images. | |
typedef enum TPdfToolsPdf2Image_ColorSpace | TPdfToolsPdf2Image_ColorSpace |
The color space used in various image formats. | |
typedef enum TPdfToolsPdf2Image_AnnotationOptions | TPdfToolsPdf2Image_AnnotationOptions |
Defines how to render annotations and their popups. | |
typedef enum TPdfToolsPdfAValidation_ErrorCategory | TPdfToolsPdfAValidation_ErrorCategory |
The validation error category. | |
typedef enum TPdfToolsPdfAConversion_EventSeverity | TPdfToolsPdfAConversion_EventSeverity |
The severity of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events. | |
typedef enum TPdfToolsPdfAConversion_EventCategory | TPdfToolsPdfAConversion_EventCategory |
The category of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events. | |
typedef enum TPdfToolsPdfAConversion_EventCode | TPdfToolsPdfAConversion_EventCode |
The code identifying particular conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events. | |
typedef enum TPdfToolsSign_WarningCategory | TPdfToolsSign_WarningCategory |
The warning category The category of the warning of TPdfToolsSign_Signer_Warning. | |
typedef enum TPdfToolsSign_SignatureRemoval | TPdfToolsSign_SignatureRemoval |
typedef enum TPdfToolsSign_AddValidationInformation | TPdfToolsSign_AddValidationInformation |
typedef enum TPdfToolsCrypto_HashAlgorithm | TPdfToolsCrypto_HashAlgorithm |
typedef enum TPdfToolsCrypto_SignatureAlgorithm | TPdfToolsCrypto_SignatureAlgorithm |
Cryptographic signature algorithm. | |
typedef enum TPdfToolsCrypto_SignaturePaddingType | TPdfToolsCrypto_SignaturePaddingType |
Padding scheme of the cryptographic signature algorithm The signature algorithm is defined by the signing certificate's key type. For example, RSA or ECDSA. For some keys, e.g. RSA keys, there are different padding algorithms. Some cryptographic providers let you set this padding algorithm. However, this only has an effect on signatures created by the cryptographic provider itself. All signed data acquired from external sources may use other signing algorithms; more specifically, the issuer certificates of the trust chain, the time-stamp’s signature, or those used for the revocation information (CRL, OCSP). It is recommended to verify that the algorithms of all signatures provide a similar level of security. | |
typedef enum TPdfToolsCrypto_SignatureFormat | TPdfToolsCrypto_SignatureFormat |
typedef enum TPdfToolsCrypto_ValidationInformation | TPdfToolsCrypto_ValidationInformation |
Whether to embed validation information to enable the long-term validation (LTV) of the signature. | |
typedef enum TPdfToolsSignatureValidation_Indication | TPdfToolsSignatureValidation_Indication |
Main status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1. | |
typedef enum TPdfToolsSignatureValidation_SubIndication | TPdfToolsSignatureValidation_SubIndication |
Sub-status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1. | |
typedef enum TPdfToolsSignatureValidation_SignatureSelector | TPdfToolsSignatureValidation_SignatureSelector |
Select the signatures. | |
typedef enum TPdfToolsSignatureValidation_TimeSource | TPdfToolsSignatureValidation_TimeSource |
The source of the validation time. | |
typedef enum TPdfToolsSignatureValidation_DataSource | TPdfToolsSignatureValidation_DataSource |
The source of data such as certificates, OCRPs or CRLs. | |
typedef enum TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy | TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy |
The revocation check policy. | |
typedef enum TPdfToolsPdf_OutputOptionsType | TPdfToolsPdf_OutputOptionsType |
Type and subtype enumeration of TPdfToolsPdf_OutputOptions. | |
typedef enum TPdfToolsPdf_DocumentType | TPdfToolsPdf_DocumentType |
Type and subtype enumeration of TPdfToolsPdf_Document. | |
typedef enum TPdfToolsPdf_SignatureFieldType | TPdfToolsPdf_SignatureFieldType |
Type and subtype enumeration of TPdfToolsPdf_SignatureField. | |
typedef enum TPdfToolsPdf_SignedSignatureFieldType | TPdfToolsPdf_SignedSignatureFieldType |
Type and subtype enumeration of TPdfToolsPdf_SignedSignatureField. | |
typedef enum TPdfToolsPdf_SignatureType | TPdfToolsPdf_SignatureType |
Type and subtype enumeration of TPdfToolsPdf_Signature. | |
typedef enum TPdfToolsImage_DocumentType | TPdfToolsImage_DocumentType |
Type and subtype enumeration of TPdfToolsImage_Document. | |
typedef enum TPdfToolsOptimizationProfiles_ProfileType | TPdfToolsOptimizationProfiles_ProfileType |
Type and subtype enumeration of TPdfToolsOptimizationProfiles_Profile. | |
typedef enum TPdfToolsPdf2Image_ImageOptionsType | TPdfToolsPdf2Image_ImageOptionsType |
Type and subtype enumeration of TPdfToolsPdf2Image_ImageOptions. | |
typedef enum TPdfToolsPdf2Image_ImageSectionMappingType | TPdfToolsPdf2Image_ImageSectionMappingType |
Type and subtype enumeration of TPdfToolsPdf2Image_ImageSectionMapping. | |
typedef enum TPdfToolsPdf2ImageProfiles_ProfileType | TPdfToolsPdf2ImageProfiles_ProfileType |
Type and subtype enumeration of TPdfToolsPdf2ImageProfiles_Profile. | |
typedef enum TPdfToolsImage2Pdf_ImageMappingType | TPdfToolsImage2Pdf_ImageMappingType |
Type and subtype enumeration of TPdfToolsImage2Pdf_ImageMapping. | |
typedef enum TPdfToolsImage2PdfProfiles_ProfileType | TPdfToolsImage2PdfProfiles_ProfileType |
Type and subtype enumeration of TPdfToolsImage2PdfProfiles_Profile. | |
typedef enum TPdfToolsSign_SignatureConfigurationType | TPdfToolsSign_SignatureConfigurationType |
Type and subtype enumeration of TPdfToolsSign_SignatureConfiguration. | |
typedef enum TPdfToolsSign_TimestampConfigurationType | TPdfToolsSign_TimestampConfigurationType |
Type and subtype enumeration of TPdfToolsSign_TimestampConfiguration. | |
typedef enum TPdfToolsCryptoProviders_ProviderType | TPdfToolsCryptoProviders_ProviderType |
Type and subtype enumeration of TPdfToolsCryptoProviders_Provider. | |
typedef enum TPdfToolsSignatureValidation_SignatureContentType | TPdfToolsSignatureValidation_SignatureContentType |
Type and subtype enumeration of TPdfToolsSignatureValidation_SignatureContent. | |
typedef enum TPdfToolsSignatureValidationProfiles_ProfileType | TPdfToolsSignatureValidationProfiles_ProfileType |
Type and subtype enumeration of TPdfToolsSignatureValidationProfiles_Profile. | |
typedef struct TPdfTools_ConsumptionData | TPdfTools_ConsumptionData |
typedef struct TPdfTools_LicenseInfo | TPdfTools_LicenseInfo |
typedef struct TPdfTools_Sdk | TPdfTools_Sdk |
SDK initialization and product information. | |
typedef struct TPdfTools_StringList | TPdfTools_StringList |
typedef struct TPdfTools_MetadataDictionary | TPdfTools_MetadataDictionary |
typedef struct TPdfTools_HttpClientHandler | TPdfTools_HttpClientHandler |
The handler and options for communication to remote server. | |
typedef struct TPdfToolsPdf_MetadataSettings | TPdfToolsPdf_MetadataSettings |
typedef struct TPdfToolsPdf_Encryption | TPdfToolsPdf_Encryption |
The parameters to encrypt PDF documents. | |
typedef struct TPdfToolsPdf_OutputOptions | TPdfToolsPdf_OutputOptions |
The parameters for document-level features of output PDFs Output options are used in many operations that create PDF documents. | |
typedef struct TPdfToolsPdf_Document | TPdfToolsPdf_Document |
The PDF document PDF documents are either opened using PdfToolsPdf_Document_Open or the result of an operation, e.g. of PDF optimization (see PdfToolsOptimization_Optimizer_OptimizeDocument). | |
typedef struct TPdfToolsPdf_Metadata | TPdfToolsPdf_Metadata |
typedef struct TPdfToolsPdf_SignatureField | TPdfToolsPdf_SignatureField |
A digital signature field. | |
typedef struct TPdfToolsPdf_UnsignedSignatureField | TPdfToolsPdf_UnsignedSignatureField |
An unsigned signature field An unsigned signature field that can be signed. The purpose of the signature field is to indicate that the document should be signed and to define the page and position where the visual appearance of the signature should be placed. This is especially useful for forms and contracts that have dedicated spaces for signatures. | |
typedef struct TPdfToolsPdf_SignedSignatureField | TPdfToolsPdf_SignedSignatureField |
A base class for signature fields that have been signed The existence of a signed signature field does not imply that the signature is valid. The signature is not validated at all. | |
typedef struct TPdfToolsPdf_Signature | TPdfToolsPdf_Signature |
A base class for certain signature types. | |
typedef struct TPdfToolsPdf_DocumentSignature | TPdfToolsPdf_DocumentSignature |
A document signature that signs the document Document signatures are sometimes also called approval signatures. This type of signature lets you verify the integrity of the signed part of the document and authenticate the signer’s identity. | |
typedef struct TPdfToolsPdf_CertificationSignature | TPdfToolsPdf_CertificationSignature |
A document certification (MDP) signature that certifies the document These signatures are also called Document Modification Detection and Prevention (MDP) signatures. This type of signature enables the detection of rejected changes specified by the author. | |
typedef struct TPdfToolsPdf_DocumentTimestamp | TPdfToolsPdf_DocumentTimestamp |
A document time-stamp signature that time-stamps the document This type of signature provides evidence that the document existed at a specific time and protects the document’s integrity. | |
typedef struct TPdfToolsPdf_SignatureFieldList | TPdfToolsPdf_SignatureFieldList |
typedef struct TPdfToolsPdf_Revision | TPdfToolsPdf_Revision |
The document revision. | |
typedef struct TPdfToolsImage_Page | TPdfToolsImage_Page |
The page of an image document. | |
typedef struct TPdfToolsImage_PageList | TPdfToolsImage_PageList |
The list of image pages. | |
typedef struct TPdfToolsImage_Document | TPdfToolsImage_Document |
The base class for image documents Image documents are either opened using PdfToolsImage_Document_Open or the result of an operation, e.g. of PDF to image conversion using PdfToolsPdf2Image_Converter_ConvertPage. | |
typedef struct TPdfToolsImage_SinglePageDocument | TPdfToolsImage_SinglePageDocument |
The image document of an image format that only supports single-page images This class is used for the following image formats: | |
typedef struct TPdfToolsImage_MultiPageDocument | TPdfToolsImage_MultiPageDocument |
The image document of an image format that supports multi-page images This class is used for TIFF images, which can contain one or more pages. | |
typedef struct TPdfToolsImage_DocumentList | TPdfToolsImage_DocumentList |
List of image documents. | |
typedef struct TPdfToolsDocumentAssembly_PageCopyOptions | TPdfToolsDocumentAssembly_PageCopyOptions |
typedef struct TPdfToolsDocumentAssembly_DocumentCopyOptions | TPdfToolsDocumentAssembly_DocumentCopyOptions |
typedef struct TPdfToolsDocumentAssembly_DocumentAssembler | TPdfToolsDocumentAssembly_DocumentAssembler |
The class for splitting or merging PDF documents. | |
typedef struct TPdfToolsOptimization_ImageRecompressionOptions | TPdfToolsOptimization_ImageRecompressionOptions |
The parameters for image recompression. | |
typedef struct TPdfToolsOptimization_FontOptions | TPdfToolsOptimization_FontOptions |
The parameters for font optimization. | |
typedef struct TPdfToolsOptimization_RemovalOptions | TPdfToolsOptimization_RemovalOptions |
The parameters defining the optional data to remove or flatten. | |
typedef struct TPdfToolsOptimization_Optimizer | TPdfToolsOptimization_Optimizer |
The class to optimize PDF documents. | |
typedef struct TPdfToolsOptimizationProfiles_Profile | TPdfToolsOptimizationProfiles_Profile |
The base class for PDF optimization profiles The profile defines the optimization parameters suitable for a particular use case, e.g. archiving, or publication on the web. | |
typedef struct TPdfToolsOptimizationProfiles_Web | TPdfToolsOptimizationProfiles_Web |
The optimization profile suitable for electronic document exchange. | |
typedef struct TPdfToolsOptimizationProfiles_Print | TPdfToolsOptimizationProfiles_Print |
The optimization profile suitable for printing. | |
typedef struct TPdfToolsOptimizationProfiles_Archive | TPdfToolsOptimizationProfiles_Archive |
The optimization profile suitable for archiving. | |
typedef struct TPdfToolsOptimizationProfiles_MinimalFileSize | TPdfToolsOptimizationProfiles_MinimalFileSize |
The optimization profile producing a minimal file size. | |
typedef struct TPdfToolsPdf2Image_ContentOptions | TPdfToolsPdf2Image_ContentOptions |
The parameters how to render PDF content elements. | |
typedef struct TPdfToolsPdf2Image_ImageOptions | TPdfToolsPdf2Image_ImageOptions |
The base class for output image options. | |
typedef struct TPdfToolsPdf2Image_FaxImageOptions | TPdfToolsPdf2Image_FaxImageOptions |
The settings for TIFF Fax output images Create a black-and-white (bitonal) TIFF Fax output image. For the output file name, it is recommended to use the file extension ".tif". | |
typedef struct TPdfToolsPdf2Image_TiffJpegImageOptions | TPdfToolsPdf2Image_TiffJpegImageOptions |
The settings for TIFF output images using the JPEG compression algorithm. | |
typedef struct TPdfToolsPdf2Image_TiffLzwImageOptions | TPdfToolsPdf2Image_TiffLzwImageOptions |
The settings for TIFF output images using the LZW compression algorithm. | |
typedef struct TPdfToolsPdf2Image_TiffFlateImageOptions | TPdfToolsPdf2Image_TiffFlateImageOptions |
The settings for TIFF output images using the Flate compression algorithm. | |
typedef struct TPdfToolsPdf2Image_PngImageOptions | TPdfToolsPdf2Image_PngImageOptions |
The settings for PNG output images For the output file name, it is recommended to use the file extension ".png". | |
typedef struct TPdfToolsPdf2Image_JpegImageOptions | TPdfToolsPdf2Image_JpegImageOptions |
The settings for JPEG output images. | |
typedef struct TPdfToolsPdf2Image_ImageSectionMapping | TPdfToolsPdf2Image_ImageSectionMapping |
The base class for image section mappings An image section mapping specifies how a PDF page, or a section of it, is transformed (e.g. cropped or scaled) and placed onto the target image. | |
typedef struct TPdfToolsPdf2Image_RenderPageAsFax | TPdfToolsPdf2Image_RenderPageAsFax |
The image section mapping suitable for Fax output images. | |
typedef struct TPdfToolsPdf2Image_RenderPageAtResolution | TPdfToolsPdf2Image_RenderPageAtResolution |
The image section mapping to render entire pages at a specific resolution. | |
typedef struct TPdfToolsPdf2Image_RenderPageToMaxImageSize | TPdfToolsPdf2Image_RenderPageToMaxImageSize |
The image section mapping to render entire pages using a specific image pixel size. | |
typedef struct TPdfToolsPdf2Image_Converter | TPdfToolsPdf2Image_Converter |
The class to convert a PDF document to a rasterized image. | |
typedef struct TPdfToolsPdf2ImageProfiles_Profile | TPdfToolsPdf2ImageProfiles_Profile |
The base class for PDF to image conversion profiles The profile defines how the PDF pages are rendered and what type of output image is used. A profile implements the converter settings suitable for a practical use case, e.g. create images for sending over Facsimile, for viewing, or for archiving. | |
typedef struct TPdfToolsPdf2ImageProfiles_Fax | TPdfToolsPdf2ImageProfiles_Fax |
The profile to convert PDF documents to TIFF Fax images. | |
typedef struct TPdfToolsPdf2ImageProfiles_Archive | TPdfToolsPdf2ImageProfiles_Archive |
The profile to convert PDF documents to TIFF images for archiving. | |
typedef struct TPdfToolsPdf2ImageProfiles_Viewing | TPdfToolsPdf2ImageProfiles_Viewing |
The profile to convert PDF documents to JPEG or PNG images for viewing. | |
typedef struct TPdfToolsImage2Pdf_ImageMapping | TPdfToolsImage2Pdf_ImageMapping |
The base class for image mappings The image mapping specifies how an input image is transformed and placed onto the output PDF page. | |
typedef struct TPdfToolsImage2Pdf_Auto | TPdfToolsImage2Pdf_Auto |
The image mapping that automatically determines a suitable conversion. | |
typedef struct TPdfToolsImage2Pdf_ShrinkToPage | TPdfToolsImage2Pdf_ShrinkToPage |
The image mapping that places the image onto pages of the specified size Place images onto portrait or landscape pages. If an image is too large to fit on a page, the page may be rotated to better accommodate the image. Large images are scaled down to fit onto the PDF page size PdfToolsImage2Pdf_ShrinkToPage_GetPageSize. | |
typedef struct TPdfToolsImage2Pdf_ShrinkToFit | TPdfToolsImage2Pdf_ShrinkToFit |
The image mapping that places the image onto pages of the specified size Place images onto portrait or landscape pages. Large images are scaled down to fit onto PdfToolsImage2Pdf_ShrinkToFit_GetPageSize. | |
typedef struct TPdfToolsImage2Pdf_ShrinkToPortrait | TPdfToolsImage2Pdf_ShrinkToPortrait |
The image mapping that places the image onto portrait pages of the specified size Place images onto portrait pages. Large images are scaled down to fit onto PdfToolsImage2Pdf_ShrinkToPortrait_GetPageSize. | |
typedef struct TPdfToolsImage2Pdf_ImageOptions | TPdfToolsImage2Pdf_ImageOptions |
The conversion options related to the images. | |
typedef struct TPdfToolsImage2Pdf_Converter | TPdfToolsImage2Pdf_Converter |
The class to convert one or more images to a PDF document. | |
typedef struct TPdfToolsImage2PdfProfiles_Profile | TPdfToolsImage2PdfProfiles_Profile |
The base class for image to PDF conversion profiles A profile implements the conversion settings suitable for a practical use case. | |
typedef struct TPdfToolsImage2PdfProfiles_Default | TPdfToolsImage2PdfProfiles_Default |
The default profile for image to PDF conversion This profile is suitable for the conversion of input images to PDF. | |
typedef struct TPdfToolsImage2PdfProfiles_Archive | TPdfToolsImage2PdfProfiles_Archive |
The profile for image to PDF/A conversion for archiving This profile is suitable for archiving images as PDFs. | |
typedef struct TPdfToolsPdfAValidation_Validator | TPdfToolsPdfAValidation_Validator |
The class to validate the standard conformance of documents. | |
typedef struct TPdfToolsPdfAValidation_ValidationOptions | TPdfToolsPdfAValidation_ValidationOptions |
The PDF validation options Options to check the quality and standard conformance of documents using the validator's method PdfToolsPdfAValidation_Validator_Validate. | |
typedef struct TPdfToolsPdfAValidation_ValidationResult | TPdfToolsPdfAValidation_ValidationResult |
The PDF validation result Result of the validator's method PdfToolsPdfAValidation_Validator_Validate. | |
typedef struct TPdfToolsPdfAValidation_AnalysisOptions | TPdfToolsPdfAValidation_AnalysisOptions |
The PDF/A analysis options Options for the analysis of documents using the validator's method PdfToolsPdfAValidation_Validator_Analyze in preparation for the document's conversion to PDF/A. | |
typedef struct TPdfToolsPdfAValidation_AnalysisResult | TPdfToolsPdfAValidation_AnalysisResult |
The PDF/A analysis result. | |
typedef struct TPdfToolsPdfAConversion_Converter | TPdfToolsPdfAConversion_Converter |
The class to convert PDF documents to PDF/A. | |
typedef struct TPdfToolsPdfAConversion_ConversionOptions | TPdfToolsPdfAConversion_ConversionOptions |
The PDF/A conversion options The options for the conversion of documents using the converter's method PdfToolsPdfAConversion_Converter_Convert. | |
typedef struct TPdfToolsSign_CustomTextVariableMap | TPdfToolsSign_CustomTextVariableMap |
typedef struct TPdfToolsSign_Appearance | TPdfToolsSign_Appearance |
The visual appearance of signatures. | |
typedef struct TPdfToolsSign_SignatureConfiguration | TPdfToolsSign_SignatureConfiguration |
Configuration for signature creation. | |
typedef struct TPdfToolsSign_TimestampConfiguration | TPdfToolsSign_TimestampConfiguration |
Configuration for adding time-stamps. | |
typedef struct TPdfToolsSign_OutputOptions | TPdfToolsSign_OutputOptions |
Additional document level options. | |
typedef struct TPdfToolsSign_MdpPermissionOptions | TPdfToolsSign_MdpPermissionOptions |
The permission options when certifying a document. | |
typedef struct TPdfToolsSign_SignatureFieldOptions | TPdfToolsSign_SignatureFieldOptions |
Options for adding unsigned signature fields These options control the creation of unsigned signature fields in PdfToolsSign_Signer_AddSignatureField. | |
typedef struct TPdfToolsSign_PreparedDocument | TPdfToolsSign_PreparedDocument |
A document that has been prepared for signing. | |
typedef struct TPdfToolsSign_Signer | TPdfToolsSign_Signer |
Process signatures and signature fields. | |
typedef struct TPdfToolsCryptoProviders_Provider | TPdfToolsCryptoProviders_Provider |
Base class for cryptographic providers. | |
typedef struct TPdfToolsCryptoProviders_Certificate | TPdfToolsCryptoProviders_Certificate |
A X.509 certificate. | |
typedef struct TPdfToolsCryptoProviders_CertificateList | TPdfToolsCryptoProviders_CertificateList |
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_SignatureConfiguration | TPdfToolsCryptoProvidersGlobalSignDss_SignatureConfiguration |
The signature configuration. | |
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_TimestampConfiguration | TPdfToolsCryptoProvidersGlobalSignDss_TimestampConfiguration |
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_Session | TPdfToolsCryptoProvidersGlobalSignDss_Session |
GlobalSign Digital Signing Service. | |
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_SignatureConfiguration | TPdfToolsCryptoProvidersSwisscomSigSrv_SignatureConfiguration |
The signature configuration. | |
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_TimestampConfiguration | TPdfToolsCryptoProvidersSwisscomSigSrv_TimestampConfiguration |
The time-stamp configuration. | |
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_StepUp | TPdfToolsCryptoProvidersSwisscomSigSrv_StepUp |
The options for step-up authorization using Mobile ID. | |
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_Session | TPdfToolsCryptoProvidersSwisscomSigSrv_Session |
The Swisscom Signing Service. | |
typedef struct TPdfToolsCryptoProvidersPkcs11_SignatureConfiguration | TPdfToolsCryptoProvidersPkcs11_SignatureConfiguration |
The signature configuration. | |
typedef struct TPdfToolsCryptoProvidersPkcs11_TimestampConfiguration | TPdfToolsCryptoProvidersPkcs11_TimestampConfiguration |
The time-stamp configuration. | |
typedef struct TPdfToolsCryptoProvidersPkcs11_Module | TPdfToolsCryptoProvidersPkcs11_Module |
The PKCS#11 driver module. | |
typedef struct TPdfToolsCryptoProvidersPkcs11_Device | TPdfToolsCryptoProvidersPkcs11_Device |
The cryptographic device (HSM, USB token, etc.) | |
typedef struct TPdfToolsCryptoProvidersPkcs11_Session | TPdfToolsCryptoProvidersPkcs11_Session |
A session to a cryptographic device (HSM, USB token, etc.) to perform cryptographic operations. | |
typedef struct TPdfToolsCryptoProvidersPkcs11_DeviceList | TPdfToolsCryptoProvidersPkcs11_DeviceList |
The list of devices managed by a PKCS#11 module. | |
typedef struct TPdfToolsCryptoProvidersBuiltIn_SignatureConfiguration | TPdfToolsCryptoProvidersBuiltIn_SignatureConfiguration |
The signature configuration. | |
typedef struct TPdfToolsCryptoProvidersBuiltIn_TimestampConfiguration | TPdfToolsCryptoProvidersBuiltIn_TimestampConfiguration |
The time-stamp configuration. | |
typedef struct TPdfToolsCryptoProvidersBuiltIn_Provider | TPdfToolsCryptoProvidersBuiltIn_Provider |
The built-in cryptographic provider. | |
typedef struct TPdfToolsSignatureValidation_ConstraintResult | TPdfToolsSignatureValidation_ConstraintResult |
The result of a constraint validation. | |
typedef struct TPdfToolsSignatureValidation_Validator | TPdfToolsSignatureValidation_Validator |
The class to check the validity of signatures. | |
typedef struct TPdfToolsSignatureValidation_Certificate | TPdfToolsSignatureValidation_Certificate |
A X.509 certificate. | |
typedef struct TPdfToolsSignatureValidation_CertificateChain | TPdfToolsSignatureValidation_CertificateChain |
typedef struct TPdfToolsSignatureValidation_ValidationResults | TPdfToolsSignatureValidation_ValidationResults |
typedef struct TPdfToolsSignatureValidation_ValidationResult | TPdfToolsSignatureValidation_ValidationResult |
The result of a signature validation. | |
typedef struct TPdfToolsSignatureValidation_SignatureContent | TPdfToolsSignatureValidation_SignatureContent |
The data and validation result of the cryptographic signature. | |
typedef struct TPdfToolsSignatureValidation_UnsupportedSignatureContent | TPdfToolsSignatureValidation_UnsupportedSignatureContent |
The validation result of a signature that cannot be read either because it has an unsupported type or is corrupt. | |
typedef struct TPdfToolsSignatureValidation_CmsSignatureContent | TPdfToolsSignatureValidation_CmsSignatureContent |
The data and validation result of the cryptographic signature. | |
typedef struct TPdfToolsSignatureValidation_TimeStampContent | TPdfToolsSignatureValidation_TimeStampContent |
The data and validation result of the cryptographic time-stamp. | |
typedef struct TPdfToolsSignatureValidation_CustomTrustList | TPdfToolsSignatureValidation_CustomTrustList |
The custom collection of trusted certificates This class defines a custom collection of trusted certificates. They define the certificates used for ePdfToolsSignatureValidation_DataSource_CustomTrustList and can be set in the validation profile with PdfToolsSignatureValidationProfiles_Profile_SetCustomTrustList. | |
typedef struct TPdfToolsSignatureValidationProfiles_Profile | TPdfToolsSignatureValidationProfiles_Profile |
The base class for signature validation profiles The profile defines the validation constraints. | |
typedef struct TPdfToolsSignatureValidationProfiles_ValidationOptions | TPdfToolsSignatureValidationProfiles_ValidationOptions |
Signature validation options. | |
typedef struct TPdfToolsSignatureValidationProfiles_TrustConstraints | TPdfToolsSignatureValidationProfiles_TrustConstraints |
Certificate trust constraints. | |
typedef struct TPdfToolsSignatureValidationProfiles_Default | TPdfToolsSignatureValidationProfiles_Default |
The default signature validation profile. | |
typedef struct TPdfToolsGeomInt_Size | TPdfToolsGeomInt_Size |
typedef struct TPdfToolsGeomUnits_Resolution | TPdfToolsGeomUnits_Resolution |
typedef struct TPdfToolsGeomUnits_Size | TPdfToolsGeomUnits_Size |
typedef struct TPdfToolsGeomUnits_Margin | TPdfToolsGeomUnits_Margin |
typedef struct TPdfToolsGeomUnits_Point | TPdfToolsGeomUnits_Point |
typedef struct TPdfToolsGeomUnits_Rectangle | TPdfToolsGeomUnits_Rectangle |
typedef struct TPdfToolsSys_Date | TPdfToolsSys_Date |
#define BOOL int |
#define FALSE 0 |
#define TRUE 1 |
typedef struct TPdfTools_ConsumptionData TPdfTools_ConsumptionData |
This class contains page-based license usage data.
typedef enum TPdfTools_ErrorCode TPdfTools_ErrorCode |
typedef struct TPdfTools_HttpClientHandler TPdfTools_HttpClientHandler |
The handler and options for communication to remote server.
This class can be used to configure HTTP and HTTPS communication.
Also see PdfTools_Sdk_GetProxy for the product wide proxy configuration.
For HTTPS (SSL/TLS) communication, the server certificate's trustworthiness is verified using the system's default trust store (CA certificate store). If the server certificate's trustworthiness cannot be determined, the connection to the server is aborted.
The default trust store is:
CertMgr
tool. The certificate store is only available if the user profile has been loaded.CAfile
and CApath
are trusted:CAfile
: The file can contain a concatenated sequence of CA certificates in PEM format. The SDK searches for the file at the following locations:libssl.so
is found), orSSL_CERT_FILE
, or/etc/ssl/cert.pem
.CApath
: A directory containing CA certificates in PEM format. The files are looked up by the CA subject name hash value, e.g. 9d66eef0.0
. The SDK searches for the directory at the following locations:libssl.so
is found), orSSL_CERT_DIR
, or/etc/ssl/certs/
.You can add more certificates to the trust store using PdfTools_HttpClientHandler_AddTrustedCertificate.
Instances of this class can be used in multiple threads concurrently, as long as they are not modified concurrently.
typedef struct TPdfTools_LicenseInfo TPdfTools_LicenseInfo |
This class contains license information.
typedef struct TPdfTools_MetadataDictionary TPdfTools_MetadataDictionary |
typedef struct TPdfTools_Sdk TPdfTools_Sdk |
SDK initialization and product information.
typedef struct TPdfTools_StringList TPdfTools_StringList |
Cryptographic signature algorithm.
Padding scheme of the cryptographic signature algorithm The signature algorithm is defined by the signing certificate's key type. For example, RSA or ECDSA. For some keys, e.g. RSA keys, there are different padding algorithms. Some cryptographic providers let you set this padding algorithm. However, this only has an effect on signatures created by the cryptographic provider itself. All signed data acquired from external sources may use other signing algorithms; more specifically, the issuer certificates of the trust chain, the time-stamp’s signature, or those used for the revocation information (CRL, OCSP). It is recommended to verify that the algorithms of all signatures provide a similar level of security.
Whether to embed validation information to enable the long-term validation (LTV) of the signature.
Embed revocation information such as online certificate status response (OCSP - RFC2560) and certificate revocation lists (CRL - RFC3280). Revocation information of a certificate is provided by a validation service at the time of signing and acts as proof that the certificate was valid at the time of signing. This is useful because even when the certificate expires or is revoked at a later time, the signature in the signed document remains valid.
Embedding revocation information is optional but suggested when applying advanced or qualified electronic signatures. This feature is not always available. It has to be supported by the signing certificate and the cryptographic provider. Also, it is not supported by document time-stamp signatures. For these cases, a subsequent invocation of PdfToolsSign_Signer_Process with PdfToolsSign_OutputOptions_GetAddValidationInformation is required.
Revocation information is embedded for the signing certificate and all certificates of its trust chain. This implies that both OCSP responses and CRLs can be present in the same message. The disadvantages of embedding revocation information are the increase of the file size (normally by around 20KB), and that it requires a web request to a validation service, which delays the process of signing. Embedding revocation information requires an online connection to the CA that issues them. The firewall must be configured accordingly. If a web proxy is used (see PdfTools_Sdk_GetProxy), make sure the following MIME types are supported:
application/ocsp-request
application/ocsp-response
A X.509 certificate.
Base class for cryptographic providers.
The cryptographic provider manages certificates, their private keys and implements cryptographic algorithms.
This SDK supports various different cryptographic providers. The following list shows the signing certificate type that can be used for each provider.
.pfx
or .p12
and contain the signing certificate as well as the private key and trust chain (issuer certificates). Soft certificates can be used with the TPdfToolsCryptoProvidersBuiltIn_Provider, where they can be loaded using PdfToolsCryptoProvidersBuiltIn_Provider_CreateSignatureFromCertificate.Type and subtype enumeration of TPdfToolsCryptoProviders_Provider.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsCryptoProviders_Provider. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsCryptoProviders_Provider*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsCryptoProviders_Provider_GetType function of the parent class: TPdfToolsCryptoProviders_ProviderType iChildType = PdfToolsCryptoProviders_Provider_GetType(pParentTypeHandle)
.
The built-in cryptographic provider.
The built-in cryptographic provider requires no cryptographic hardware or external service (except for the optional PdfToolsCryptoProvidersBuiltIn_Provider_GetTimestampUrl).
Signing certificates with private keys can be loaded using PdfToolsCryptoProvidersBuiltIn_Provider_CreateSignatureFromCertificate.
Certificates Directory: Additional certificates, e.g. issuer certificates, can be stored in the certificates directory. These certificates are required when adding validation information to signatures that do not have the full trust chain embedded. The certificates directory may contain certificates in either PEM (.pem, ASCII text) or DER (.cer, binary) form.
LOCALAPPDATA%\PDF Tools AG\Certificates
ProgramData%\PDF Tools AG\Certificates
~/.pdf-tools/Certificates
or $TMP/pdf-tools/Certificates
/usr/share/pdf-tools/Certificates
~/.pdf-tools/Certificates
or $TMP/pdf-tools/Certificates
typedef struct TPdfToolsCryptoProvidersBuiltIn_SignatureConfiguration TPdfToolsCryptoProvidersBuiltIn_SignatureConfiguration |
The signature configuration.
typedef struct TPdfToolsCryptoProvidersBuiltIn_TimestampConfiguration TPdfToolsCryptoProvidersBuiltIn_TimestampConfiguration |
The time-stamp configuration.
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_Session TPdfToolsCryptoProvidersGlobalSignDss_Session |
GlobalSign Digital Signing Service.
In this session, signatures can be created using different identities, i.e. signing certificates. Signing sessions and signing certificates expire after 10 minutes. After this time, they are renewed automatically.
When signing with this provider, these errors can occur:
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_SignatureConfiguration TPdfToolsCryptoProvidersGlobalSignDss_SignatureConfiguration |
The signature configuration.
typedef struct TPdfToolsCryptoProvidersGlobalSignDss_TimestampConfiguration TPdfToolsCryptoProvidersGlobalSignDss_TimestampConfiguration |
The cryptographic device (HSM, USB token, etc.)
The list of devices managed by a PKCS#11 module.
The PKCS#11 driver module.
The PKCS#11 driver module (middleware) manages the cryptographic devices of a particular type.
Note: The PKCS#11 interface requires special handling of the driver modules:
Module
instance for each driver. Since this object is fully thread-safe, it might be used by multiple threads though.A session to a cryptographic device (HSM, USB token, etc.) to perform cryptographic operations.
The session can be used to create signature configuration to sign documents.
To acquire a session, the following steps must be performed:
typedef struct TPdfToolsCryptoProvidersPkcs11_SignatureConfiguration TPdfToolsCryptoProvidersPkcs11_SignatureConfiguration |
The signature configuration.
typedef struct TPdfToolsCryptoProvidersPkcs11_TimestampConfiguration TPdfToolsCryptoProvidersPkcs11_TimestampConfiguration |
The time-stamp configuration.
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_Session TPdfToolsCryptoProvidersSwisscomSigSrv_Session |
The Swisscom Signing Service.
When signing with this provider, these errors can occur:
When signing with step-up authorization, these errors can also occur.
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_SignatureConfiguration TPdfToolsCryptoProvidersSwisscomSigSrv_SignatureConfiguration |
The signature configuration.
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_StepUp TPdfToolsCryptoProvidersSwisscomSigSrv_StepUp |
The options for step-up authorization using Mobile ID.
typedef struct TPdfToolsCryptoProvidersSwisscomSigSrv_TimestampConfiguration TPdfToolsCryptoProvidersSwisscomSigSrv_TimestampConfiguration |
The time-stamp configuration.
typedef struct TPdfToolsDocumentAssembly_DocumentAssembler TPdfToolsDocumentAssembly_DocumentAssembler |
The class for splitting or merging PDF documents.
typedef struct TPdfToolsDocumentAssembly_DocumentCopyOptions TPdfToolsDocumentAssembly_DocumentCopyOptions |
The document-level copy options applied when copying a document.
typedef enum TPdfToolsDocumentAssembly_NameConflictResolution TPdfToolsDocumentAssembly_NameConflictResolution |
typedef enum TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy TPdfToolsDocumentAssembly_NamedDestinationCopyStrategy |
This class determines whether and how different PDF elements are copied.
typedef struct TPdfToolsGeomInt_Size TPdfToolsGeomInt_Size |
typedef struct TPdfToolsGeomUnits_Margin TPdfToolsGeomUnits_Margin |
typedef struct TPdfToolsGeomUnits_Point TPdfToolsGeomUnits_Point |
typedef struct TPdfToolsGeomUnits_Rectangle TPdfToolsGeomUnits_Rectangle |
typedef struct TPdfToolsGeomUnits_Resolution TPdfToolsGeomUnits_Resolution |
typedef struct TPdfToolsGeomUnits_Size TPdfToolsGeomUnits_Size |
typedef struct TPdfToolsImage2Pdf_Auto TPdfToolsImage2Pdf_Auto |
The image mapping that automatically determines a suitable conversion.
Images with a meaningful resolution, e.g. scans or graphics, are converted to PDF pages fitting the image. The image size is preserved if it is smaller than PdfToolsImage2Pdf_Auto_GetMaxPageSize. Otherwise, it is scaled down. For all images except scans, a margin PdfToolsImage2Pdf_Auto_GetDefaultPageMargin is used.
Images with no meaningful resolution, e.g. photos are scaled, to fit onto PdfToolsImage2Pdf_Auto_GetMaxPageSize.
typedef struct TPdfToolsImage2Pdf_Converter TPdfToolsImage2Pdf_Converter |
The class to convert one or more images to a PDF document.
typedef struct TPdfToolsImage2Pdf_ImageMapping TPdfToolsImage2Pdf_ImageMapping |
The base class for image mappings The image mapping specifies how an input image is transformed and placed onto the output PDF page.
Type and subtype enumeration of TPdfToolsImage2Pdf_ImageMapping.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage2Pdf_ImageMapping. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage2Pdf_ImageMapping*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage2Pdf_ImageMapping_GetType function of the parent class: TPdfToolsImage2Pdf_ImageMappingType iChildType = PdfToolsImage2Pdf_ImageMapping_GetType(pParentTypeHandle)
.
typedef struct TPdfToolsImage2Pdf_ImageOptions TPdfToolsImage2Pdf_ImageOptions |
The conversion options related to the images.
typedef struct TPdfToolsImage2Pdf_ShrinkToFit TPdfToolsImage2Pdf_ShrinkToFit |
The image mapping that places the image onto pages of the specified size Place images onto portrait or landscape pages. Large images are scaled down to fit onto PdfToolsImage2Pdf_ShrinkToFit_GetPageSize.
typedef struct TPdfToolsImage2Pdf_ShrinkToPage TPdfToolsImage2Pdf_ShrinkToPage |
The image mapping that places the image onto pages of the specified size Place images onto portrait or landscape pages. If an image is too large to fit on a page, the page may be rotated to better accommodate the image. Large images are scaled down to fit onto the PDF page size PdfToolsImage2Pdf_ShrinkToPage_GetPageSize.
The image mapping that places the image onto portrait pages of the specified size Place images onto portrait pages. Large images are scaled down to fit onto PdfToolsImage2Pdf_ShrinkToPortrait_GetPageSize.
The profile for image to PDF/A conversion for archiving This profile is suitable for archiving images as PDFs.
The default profile for image to PDF conversion This profile is suitable for the conversion of input images to PDF.
The base class for image to PDF conversion profiles A profile implements the conversion settings suitable for a practical use case.
Type and subtype enumeration of TPdfToolsImage2PdfProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage2PdfProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage2PdfProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage2PdfProfiles_Profile_GetType function of the parent class: TPdfToolsImage2PdfProfiles_ProfileType iChildType = PdfToolsImage2PdfProfiles_Profile_GetType(pParentTypeHandle)
.
typedef struct TPdfToolsImage_Document TPdfToolsImage_Document |
The base class for image documents Image documents are either opened using PdfToolsImage_Document_Open or the result of an operation, e.g. of PDF to image conversion using PdfToolsPdf2Image_Converter_ConvertPage.
typedef struct TPdfToolsImage_DocumentList TPdfToolsImage_DocumentList |
List of image documents.
typedef enum TPdfToolsImage_DocumentType TPdfToolsImage_DocumentType |
Type and subtype enumeration of TPdfToolsImage_Document.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage_Document. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage_Document*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage_Document_GetType function of the parent class: TPdfToolsImage_DocumentType iChildType = PdfToolsImage_Document_GetType(pParentTypeHandle)
.
typedef struct TPdfToolsImage_MultiPageDocument TPdfToolsImage_MultiPageDocument |
The image document of an image format that supports multi-page images This class is used for TIFF images, which can contain one or more pages.
typedef struct TPdfToolsImage_Page TPdfToolsImage_Page |
The page of an image document.
typedef struct TPdfToolsImage_PageList TPdfToolsImage_PageList |
The list of image pages.
The image document of an image format that only supports single-page images This class is used for the following image formats:
typedef enum TPdfToolsOptimization_CompressionAlgorithmSelection TPdfToolsOptimization_CompressionAlgorithmSelection |
The strategy for recompressing images The strategy expresses the broad goal when recompressing images.
The conversion strategy for PDF objects.
The parameters for font optimization.
typedef struct TPdfToolsOptimization_ImageRecompressionOptions TPdfToolsOptimization_ImageRecompressionOptions |
The parameters for image recompression.
typedef struct TPdfToolsOptimization_Optimizer TPdfToolsOptimization_Optimizer |
The class to optimize PDF documents.
The parameters defining the optional data to remove or flatten.
Removal options specify the PDF data structures to copy or remove, e.g. article threads, metadata, or alternate images.
In addition, the visual appearances of signatures, annotations, form fields, and links can be flattened.
Flattening means, that the appearance of such a data structure is drawn as non-editable graphic onto the page; for visual appearances of signatures, flattening has a slightly different meaning (see property PdfToolsOptimization_RemovalOptions_GetRemoveSignatureAppearances).
The removal strategy for PDF objects.
The optimization profile suitable for archiving.
This profile provides minimal document modification and is well suited for reducing the file size prior to converting to PDF/A. The optimizer itself does not create PDF/A output but merely tries to preserve PDF/A conformance.
Alternate images and thumbnails are removed. The resolution and color space of images stay untouched.
When an image is recompressed, the ePdfToolsOptimization_CompressionAlgorithmSelection_PreserveQuality strategy is used; this can be overridden through the property PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions.
For PDF/A conforming input files, the PDF/A conformance is preserved if possible. For other files, the PDF version is updated to PDF 1.7 or higher.
typedef struct TPdfToolsOptimizationProfiles_MinimalFileSize TPdfToolsOptimizationProfiles_MinimalFileSize |
The optimization profile producing a minimal file size.
This profile optimizes the output PDF for minimal file size. This is achieved by using a varied palette of image compression algorithms, appropriate resolution setting and higher compression rates at the price of slightly lower image quality.
The output file size is further reduced by converting Embedded Type1 (PostScript) fonts to Type1C (Compact Font Format) and removing metadata and output intents (see PdfToolsOptimizationProfiles_Profile_GetRemovalOptions). Also Spider (web capture) information is removed.
Images above 182 DPI are down-sampled and recompressed to 130 DPI. This leads to smaller output files. The property PdfToolsOptimizationProfiles_MinimalFileSize_SetResolutionDPI has influence on both values.
When an image is recompressed, the ePdfToolsOptimization_CompressionAlgorithmSelection_Balanced strategy is used; this can be overridden through the property PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions.
With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.
The optimization profile suitable for printing.
All colors are converted to CMYK for optimal output on printing devices. Spider (web capture) information is removed. Embedded Type1 (PostScript) fonts are converted to Type1C (Compact Font Format) which further reduces the file size. The resolution of images stays untouched.
When an image is recompressed, the ePdfToolsOptimization_CompressionAlgorithmSelection_PreserveQuality strategy is used; this can be overridden through the property PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions.
With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.
The base class for PDF optimization profiles The profile defines the optimization parameters suitable for a particular use case, e.g. archiving, or publication on the web.
Type and subtype enumeration of TPdfToolsOptimizationProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsOptimizationProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsOptimizationProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsOptimizationProfiles_Profile_GetType function of the parent class: TPdfToolsOptimizationProfiles_ProfileType iChildType = PdfToolsOptimizationProfiles_Profile_GetType(pParentTypeHandle)
.
The optimization profile suitable for electronic document exchange.
All colors are converted to RGB. Spider (web capture) information is removed.
Images above 210 DPI are down-sampled and recompressed to 150 DPI. This leads to smaller output files. The property PdfToolsOptimizationProfiles_Web_SetResolutionDPI has influence on both values.
When an image is recompressed, the ePdfToolsOptimization_CompressionAlgorithmSelection_Balanced strategy is used; this can be overridden through PdfToolsOptimizationProfiles_Profile_GetImageRecompressionOptions.
With this profile, the output PDF version is updated to PDF 1.7 or higher and PDF/A conformance removed.
Defines how to render annotations and their popups.
Annotations associate an object such as a sticky note, link or rich media with a location on a PDF page; they may also provide user interaction by means of the mouse and keyboard.
Some annotations have an associated popup.
The background type to use when rendering into an image.
The color space used in various image formats.
The parameters how to render PDF content elements.
typedef struct TPdfToolsPdf2Image_Converter TPdfToolsPdf2Image_Converter |
The class to convert a PDF document to a rasterized image.
The settings for TIFF Fax output images Create a black-and-white (bitonal) TIFF Fax output image. For the output file name, it is recommended to use the file extension ".tif".
The vertical resolution of Fax images The two resolutions available in Fax images.
typedef struct TPdfToolsPdf2Image_ImageOptions TPdfToolsPdf2Image_ImageOptions |
The base class for output image options.
Type and subtype enumeration of TPdfToolsPdf2Image_ImageOptions.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2Image_ImageOptions. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2Image_ImageOptions*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2Image_ImageOptions_GetType function of the parent class: TPdfToolsPdf2Image_ImageOptionsType iChildType = PdfToolsPdf2Image_ImageOptions_GetType(pParentTypeHandle)
.
The base class for image section mappings An image section mapping specifies how a PDF page, or a section of it, is transformed (e.g. cropped or scaled) and placed onto the target image.
Type and subtype enumeration of TPdfToolsPdf2Image_ImageSectionMapping.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2Image_ImageSectionMapping. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2Image_ImageSectionMapping*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2Image_ImageSectionMapping_GetType function of the parent class: TPdfToolsPdf2Image_ImageSectionMappingType iChildType = PdfToolsPdf2Image_ImageSectionMapping_GetType(pParentTypeHandle)
.
The color space used in JPEG images.
The settings for JPEG output images.
JPEG images use a lossy compression algorithm that provides a high compression ratio. It is best suited for photographs and content with little or no text.
For the output file name, it is recommended to use the file extension ".jpg".
The color space used in PNG images.
The settings for PNG output images For the output file name, it is recommended to use the file extension ".png".
The image section mapping suitable for Fax output images.
Render a PDF page without scaling onto the image, top-aligned and horizontally centered.
Note that, the image has a fixed width of 1728 pixels / 8.5 inches.
A page larger than the target image is scaled down to fit in.
The image section mapping to render entire pages at a specific resolution.
The entire PDF page is rendered into an image of the same size and the specified resolution.
For example, this mapping is suitable to create images of entire PDF pages.
typedef struct TPdfToolsPdf2Image_RenderPageToMaxImageSize TPdfToolsPdf2Image_RenderPageToMaxImageSize |
The image section mapping to render entire pages using a specific image pixel size.
Render a PDF page and scale it, thereby preserving the aspect ratio, to fit best on the target image size. The image size is specified in number of pixels.
For example, this mapping is suitable to create thumbnail images.
typedef enum TPdfToolsPdf2Image_TiffBitonalCompressionType TPdfToolsPdf2Image_TiffBitonalCompressionType |
The compression type for bitonal (Fax) TIFF images.
The settings for TIFF output images using the Flate compression algorithm.
Flate is a lossless compression algorithm. It is useful for the compression of large images with no loss in quality.
For the output file name, it is recommended to use the file extension ".tif".
The settings for TIFF output images using the JPEG compression algorithm.
TIFF allows images to be compressed with JPEG (Joint Photographic Experts Group), which is a lossy compression algorithm. JPEG provides a high compression ratio for 8 and 24 bit images. It is best suited for TIFFs containing photographs and little or no text.
For the output file name, it is recommended to use the file extension ".tif".
The settings for TIFF output images using the LZW compression algorithm.
LZW (Lempel-Ziv-Welch) is a lossless compression algorithm for images. Please consult the copyright laws of your country prior to using this compression algorithm.
For the output file name, it is recommended to use the file extension ".tif".
The profile to convert PDF documents to TIFF images for archiving.
This profile is suitable for archiving PDF documents as rasterized images.
The output format is TIFF and cannot be changed. Several compression types are configurable through PdfToolsPdf2ImageProfiles_Archive_GetImageOptions.
By default,
typedef struct TPdfToolsPdf2ImageProfiles_Fax TPdfToolsPdf2ImageProfiles_Fax |
The profile to convert PDF documents to TIFF Fax images.
This profile is suitable for converting PDFs into TIFF-F conforming rasterized images for Facsimile transmission.
The output format is a multi-page TIFF file containing all rasterized PDF pages.
By default,
The compression type and the vertical resolution can be set through PdfToolsPdf2ImageProfiles_Fax_GetImageOptions.
The base class for PDF to image conversion profiles The profile defines how the PDF pages are rendered and what type of output image is used. A profile implements the converter settings suitable for a practical use case, e.g. create images for sending over Facsimile, for viewing, or for archiving.
Type and subtype enumeration of TPdfToolsPdf2ImageProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2ImageProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2ImageProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2ImageProfiles_Profile_GetType function of the parent class: TPdfToolsPdf2ImageProfiles_ProfileType iChildType = PdfToolsPdf2ImageProfiles_Profile_GetType(pParentTypeHandle)
.
The profile to convert PDF documents to JPEG or PNG images for viewing.
This profile is suitable for converting PDFs to rasterized images for using in web and desktop viewing applications or as thumbnails.
By default, PdfToolsPdf2ImageProfiles_Viewing_GetImageOptions is set to TPdfToolsPdf2Image_PngImageOptions which uses the output format PNG and lossless compression. If set to TPdfToolsPdf2Image_JpegImageOptions, the output format is JPEG.
A document certification (MDP) signature that certifies the document These signatures are also called Document Modification Detection and Prevention (MDP) signatures. This type of signature enables the detection of rejected changes specified by the author.
typedef enum TPdfToolsPdf_Conformance TPdfToolsPdf_Conformance |
typedef struct TPdfToolsPdf_Document TPdfToolsPdf_Document |
The PDF document PDF documents are either opened using PdfToolsPdf_Document_Open or the result of an operation, e.g. of PDF optimization (see PdfToolsOptimization_Optimizer_OptimizeDocument).
typedef struct TPdfToolsPdf_DocumentSignature TPdfToolsPdf_DocumentSignature |
A document signature that signs the document Document signatures are sometimes also called approval signatures. This type of signature lets you verify the integrity of the signed part of the document and authenticate the signer’s identity.
typedef struct TPdfToolsPdf_DocumentTimestamp TPdfToolsPdf_DocumentTimestamp |
A document time-stamp signature that time-stamps the document This type of signature provides evidence that the document existed at a specific time and protects the document’s integrity.
typedef enum TPdfToolsPdf_DocumentType TPdfToolsPdf_DocumentType |
Type and subtype enumeration of TPdfToolsPdf_Document.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_Document. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_Document*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_Document_GetType function of the parent class: TPdfToolsPdf_DocumentType iChildType = PdfToolsPdf_Document_GetType(pParentTypeHandle)
.
typedef struct TPdfToolsPdf_Encryption TPdfToolsPdf_Encryption |
The parameters to encrypt PDF documents.
PDF document can be encrypted to protect content from unauthorized access. The encryption process applies encryption to all streams (e.g. images) and strings, but not to other items in the PDF document. This means the structure of the PDF document is accessible, but the content of its pages is encrypted.
The standard security handler allows access permissions and up to two passwords to be specified for a document: A user password (see PdfToolsPdf_Encryption_GetUserPassword) and an owner password (see PdfToolsPdf_Encryption_GetOwnerPassword).
The following list shows the four possible combinations of passwords and how an application processing such a PDF document behaves:
Since encryption is not allowed by the PDF/A ISO standards, PDF/A documents must not be encrypted.
typedef enum TPdfToolsPdf_MdpPermissions TPdfToolsPdf_MdpPermissions |
typedef struct TPdfToolsPdf_Metadata TPdfToolsPdf_Metadata |
Represents the metadata of a document or an object in a document.
For document level metadata, all changes are reflected in both, XMP metadata and document info dictionary depending on the conformance of the document.
typedef struct TPdfToolsPdf_MetadataSettings TPdfToolsPdf_MetadataSettings |
It allows you to set and update individual metadata properties. Any metadata properties that have been explicitly set are included in the output document.
typedef struct TPdfToolsPdf_OutputOptions TPdfToolsPdf_OutputOptions |
The parameters for document-level features of output PDFs Output options are used in many operations that create PDF documents.
Type and subtype enumeration of TPdfToolsPdf_OutputOptions.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_OutputOptions. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_OutputOptions*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_OutputOptions_GetType function of the parent class: TPdfToolsPdf_OutputOptionsType iChildType = PdfToolsPdf_OutputOptions_GetType(pParentTypeHandle)
.
typedef enum TPdfToolsPdf_Permission TPdfToolsPdf_Permission |
The permissions allowed by a PDF document.
typedef struct TPdfToolsPdf_Revision TPdfToolsPdf_Revision |
The document revision.
typedef struct TPdfToolsPdf_Signature TPdfToolsPdf_Signature |
A base class for certain signature types.
typedef struct TPdfToolsPdf_SignatureField TPdfToolsPdf_SignatureField |
A digital signature field.
typedef struct TPdfToolsPdf_SignatureFieldList TPdfToolsPdf_SignatureFieldList |
Type and subtype enumeration of TPdfToolsPdf_SignatureField.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_SignatureField. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_SignatureField*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_SignatureField_GetType function of the parent class: TPdfToolsPdf_SignatureFieldType iChildType = PdfToolsPdf_SignatureField_GetType(pParentTypeHandle)
.
typedef enum TPdfToolsPdf_SignatureType TPdfToolsPdf_SignatureType |
Type and subtype enumeration of TPdfToolsPdf_Signature.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_Signature. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_Signature*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_Signature_GetType function of the parent class: TPdfToolsPdf_SignatureType iChildType = PdfToolsPdf_Signature_GetType(pParentTypeHandle)
.
A base class for signature fields that have been signed The existence of a signed signature field does not imply that the signature is valid. The signature is not validated at all.
Type and subtype enumeration of TPdfToolsPdf_SignedSignatureField.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_SignedSignatureField. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_SignedSignatureField*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_SignedSignatureField_GetType function of the parent class: TPdfToolsPdf_SignedSignatureFieldType iChildType = PdfToolsPdf_SignedSignatureField_GetType(pParentTypeHandle)
.
An unsigned signature field An unsigned signature field that can be signed. The purpose of the signature field is to indicate that the document should be signed and to define the page and position where the visual appearance of the signature should be placed. This is especially useful for forms and contracts that have dedicated spaces for signatures.
typedef enum TPdfToolsPdf_XfaType TPdfToolsPdf_XfaType |
The XFA type of a PDF document See PdfToolsPdf_Document_GetXfa to get the XFA type of a PDF document.
The PDF/A conversion options The options for the conversion of documents using the converter's method PdfToolsPdfAConversion_Converter_Convert.
The class to convert PDF documents to PDF/A.
The category of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
The code identifying particular conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
The severity of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
The PDF/A analysis options Options for the analysis of documents using the validator's method PdfToolsPdfAValidation_Validator_Analyze in preparation for the document's conversion to PDF/A.
The PDF/A analysis result.
Result of the validator's method PdfToolsPdfAValidation_Validator_Analyze which is required for the conversion to PDF/A with PdfToolsPdfAConversion_Converter_Convert.
Note that TPdfToolsPdfAValidation_AnalysisResult objects remain valid as long as their TPdfToolsPdf_Document has not been closed and the analysis result has not been used in PdfToolsPdfAConversion_Converter_Convert.
The validation error category.
The PDF validation options Options to check the quality and standard conformance of documents using the validator's method PdfToolsPdfAValidation_Validator_Validate.
The PDF validation result Result of the validator's method PdfToolsPdfAValidation_Validator_Validate.
The class to validate the standard conformance of documents.
typedef struct TPdfToolsSign_Appearance TPdfToolsSign_Appearance |
The visual appearance of signatures.
A signature may have a visual appearance on a page of the document. The visual appearance is optional and has no effect on the validity of the signature. Because of this and because a visual appearance may cover important content of the page, it is recommended to create invisible signatures by default.
Typically, a visual appearance is created for forms with a dedicated area reserved for the appearance. Other transaction documents, e.g. invoices, correspondence, or bank statements, are usually signed without a visual appearance.
The appearance can be positioned on a page using PdfToolsSign_Appearance_GetPageNumber, PdfToolsSign_Appearance_GetTop, PdfToolsSign_Appearance_GetRight, PdfToolsSign_Appearance_GetBottom, and PdfToolsSign_Appearance_GetLeft. It is recommended to set either PdfToolsSign_Appearance_GetTop or PdfToolsSign_Appearance_GetBottom and PdfToolsSign_Appearance_GetRight or PdfToolsSign_Appearance_GetLeft. If all are NULL
, the default is to position the appearance in the lower right corner with 12 pt
(1/6 inch
or 4.2 mm
) distance to the bottom and right edge of the page, i.e. Bottom = 12
and Right = 12
.
A map that maps custom text variable names to its value.
The permission options when certifying a document.
typedef struct TPdfToolsSign_OutputOptions TPdfToolsSign_OutputOptions |
Additional document level options.
These options are available for all signature operations of the TPdfToolsSign_Signer. They can also be used without a signature operation with the method PdfToolsSign_Signer_Process.
Notes on document encryption when processing files with the TPdfToolsSign_Signer:
typedef struct TPdfToolsSign_PreparedDocument TPdfToolsSign_PreparedDocument |
A document that has been prepared for signing.
Configuration for signature creation.
This configuration controls the signature creation in PdfToolsSign_Signer_Sign and PdfToolsSign_Signer_Certify.
Use a TPdfToolsCryptoProviders_Provider to create a signature configuration.
Note that this object can be re-used to sign multiple documents for mass-signing applications.
Type and subtype enumeration of TPdfToolsSign_SignatureConfiguration.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSign_SignatureConfiguration. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSign_SignatureConfiguration*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSign_SignatureConfiguration_GetType function of the parent class: TPdfToolsSign_SignatureConfigurationType iChildType = PdfToolsSign_SignatureConfiguration_GetType(pParentTypeHandle)
.
Options for adding unsigned signature fields These options control the creation of unsigned signature fields in PdfToolsSign_Signer_AddSignatureField.
typedef struct TPdfToolsSign_Signer TPdfToolsSign_Signer |
Process signatures and signature fields.
Configuration for adding time-stamps.
This configuration controls the creation of time-stamps in PdfToolsSign_Signer_AddTimestamp.
Use a TPdfToolsCryptoProviders_Provider to create a time-stamp configuration.
Note that this object can be re-used to add time-stamps to multiple documents for mass-signing applications.
Type and subtype enumeration of TPdfToolsSign_TimestampConfiguration.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSign_TimestampConfiguration. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSign_TimestampConfiguration*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSign_TimestampConfiguration_GetType function of the parent class: TPdfToolsSign_TimestampConfigurationType iChildType = PdfToolsSign_TimestampConfiguration_GetType(pParentTypeHandle)
.
The warning category The category of the warning of TPdfToolsSign_Signer_Warning.
A X.509 certificate.
typedef struct TPdfToolsSignatureValidation_CertificateChain TPdfToolsSignatureValidation_CertificateChain |
typedef struct TPdfToolsSignatureValidation_CmsSignatureContent TPdfToolsSignatureValidation_CmsSignatureContent |
The data and validation result of the cryptographic signature.
typedef struct TPdfToolsSignatureValidation_ConstraintResult TPdfToolsSignatureValidation_ConstraintResult |
The result of a constraint validation.
typedef struct TPdfToolsSignatureValidation_CustomTrustList TPdfToolsSignatureValidation_CustomTrustList |
The custom collection of trusted certificates This class defines a custom collection of trusted certificates. They define the certificates used for ePdfToolsSignatureValidation_DataSource_CustomTrustList and can be set in the validation profile with PdfToolsSignatureValidationProfiles_Profile_SetCustomTrustList.
The source of data such as certificates, OCRPs or CRLs.
Main status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1.
typedef struct TPdfToolsSignatureValidation_SignatureContent TPdfToolsSignatureValidation_SignatureContent |
The data and validation result of the cryptographic signature.
typedef enum TPdfToolsSignatureValidation_SignatureContentType TPdfToolsSignatureValidation_SignatureContentType |
Type and subtype enumeration of TPdfToolsSignatureValidation_SignatureContent.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSignatureValidation_SignatureContent. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSignatureValidation_SignatureContent*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSignatureValidation_SignatureContent_GetType function of the parent class: TPdfToolsSignatureValidation_SignatureContentType iChildType = PdfToolsSignatureValidation_SignatureContent_GetType(pParentTypeHandle)
.
typedef enum TPdfToolsSignatureValidation_SignatureSelector TPdfToolsSignatureValidation_SignatureSelector |
Select the signatures.
Sub-status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1.
The source of the validation time.
typedef struct TPdfToolsSignatureValidation_TimeStampContent TPdfToolsSignatureValidation_TimeStampContent |
The data and validation result of the cryptographic time-stamp.
typedef struct TPdfToolsSignatureValidation_UnsupportedSignatureContent TPdfToolsSignatureValidation_UnsupportedSignatureContent |
The validation result of a signature that cannot be read either because it has an unsupported type or is corrupt.
typedef struct TPdfToolsSignatureValidation_ValidationResult TPdfToolsSignatureValidation_ValidationResult |
The result of a signature validation.
typedef struct TPdfToolsSignatureValidation_ValidationResults TPdfToolsSignatureValidation_ValidationResults |
The class to check the validity of signatures.
typedef struct TPdfToolsSignatureValidationProfiles_Default TPdfToolsSignatureValidationProfiles_Default |
The default signature validation profile.
This profile is suitable for general signature validation. It is not very strict.
The default values are:
typedef struct TPdfToolsSignatureValidationProfiles_Profile TPdfToolsSignatureValidationProfiles_Profile |
The base class for signature validation profiles The profile defines the validation constraints.
typedef enum TPdfToolsSignatureValidationProfiles_ProfileType TPdfToolsSignatureValidationProfiles_ProfileType |
Type and subtype enumeration of TPdfToolsSignatureValidationProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSignatureValidationProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSignatureValidationProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSignatureValidationProfiles_Profile_GetType function of the parent class: TPdfToolsSignatureValidationProfiles_ProfileType iChildType = PdfToolsSignatureValidationProfiles_Profile_GetType(pParentTypeHandle)
.
typedef enum TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy |
The revocation check policy.
typedef struct TPdfToolsSignatureValidationProfiles_TrustConstraints TPdfToolsSignatureValidationProfiles_TrustConstraints |
Certificate trust constraints.
typedef struct TPdfToolsSignatureValidationProfiles_ValidationOptions TPdfToolsSignatureValidationProfiles_ValidationOptions |
Signature validation options.
typedef struct TPdfToolsSys_Date TPdfToolsSys_Date |
enum TPdfTools_ErrorCode |
Cryptographic signature algorithm.
Padding scheme of the cryptographic signature algorithm The signature algorithm is defined by the signing certificate's key type. For example, RSA or ECDSA. For some keys, e.g. RSA keys, there are different padding algorithms. Some cryptographic providers let you set this padding algorithm. However, this only has an effect on signatures created by the cryptographic provider itself. All signed data acquired from external sources may use other signing algorithms; more specifically, the issuer certificates of the trust chain, the time-stamp’s signature, or those used for the revocation information (CRL, OCSP). It is recommended to verify that the algorithms of all signatures provide a similar level of security.
Enumerator | |
---|---|
ePdfToolsCrypto_SignaturePaddingType_Default | Default padding scheme The default padding scheme. Used for the ePdfToolsCrypto_SignatureAlgorithm_Ecdsa signature algorithm. |
ePdfToolsCrypto_SignaturePaddingType_RsaRsa | RSA with PKCS#1 padding scheme Padding scheme for RSA keys that corresponds to the ePdfToolsCrypto_SignatureAlgorithm_RsaRsa signature algorithm. |
ePdfToolsCrypto_SignaturePaddingType_RsaSsaPss | RSA with Probabilistic Signature Scheme (PSS) Padding scheme for RSA keys that corresponds to the ePdfToolsCrypto_SignatureAlgorithm_RsaSsaPss signature algorithm. |
Whether to embed validation information to enable the long-term validation (LTV) of the signature.
Embed revocation information such as online certificate status response (OCSP - RFC2560) and certificate revocation lists (CRL - RFC3280). Revocation information of a certificate is provided by a validation service at the time of signing and acts as proof that the certificate was valid at the time of signing. This is useful because even when the certificate expires or is revoked at a later time, the signature in the signed document remains valid.
Embedding revocation information is optional but suggested when applying advanced or qualified electronic signatures. This feature is not always available. It has to be supported by the signing certificate and the cryptographic provider. Also, it is not supported by document time-stamp signatures. For these cases, a subsequent invocation of PdfToolsSign_Signer_Process with PdfToolsSign_OutputOptions_GetAddValidationInformation is required.
Revocation information is embedded for the signing certificate and all certificates of its trust chain. This implies that both OCSP responses and CRLs can be present in the same message. The disadvantages of embedding revocation information are the increase of the file size (normally by around 20KB), and that it requires a web request to a validation service, which delays the process of signing. Embedding revocation information requires an online connection to the CA that issues them. The firewall must be configured accordingly. If a web proxy is used (see PdfTools_Sdk_GetProxy), make sure the following MIME types are supported:
application/ocsp-request
application/ocsp-response
Enumerator | |
---|---|
ePdfToolsCrypto_ValidationInformation_None | Basic: Do not add any validation information. |
ePdfToolsCrypto_ValidationInformation_EmbedInSignature | LTV: Embed validation information into the signature This is only possible for Legacy PAdES Basic signatures (signature format ePdfToolsCrypto_SignatureFormat_AdbePkcs7Detached). |
ePdfToolsCrypto_ValidationInformation_EmbedInDocument | LTV: Embed validation information into the document. Embedding validation information into the document security store (DSS) is recommended, because it creates smaller files and is supported for all signature formats. The document security store has been standardized in 2009 by the standard for PAdES-LTV Profiles (ETSI TS 102 778-4). Therefore, some legacy signature validation software may not support this. For these cases, it is necessary to use |
Type and subtype enumeration of TPdfToolsCryptoProviders_Provider.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsCryptoProviders_Provider. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsCryptoProviders_Provider*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsCryptoProviders_Provider_GetType function of the parent class: TPdfToolsCryptoProviders_ProviderType iChildType = PdfToolsCryptoProviders_Provider_GetType(pParentTypeHandle)
.
Type and subtype enumeration of TPdfToolsImage2Pdf_ImageMapping.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage2Pdf_ImageMapping. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage2Pdf_ImageMapping*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage2Pdf_ImageMapping_GetType function of the parent class: TPdfToolsImage2Pdf_ImageMappingType iChildType = PdfToolsImage2Pdf_ImageMapping_GetType(pParentTypeHandle)
.
Type and subtype enumeration of TPdfToolsImage2PdfProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage2PdfProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage2PdfProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage2PdfProfiles_Profile_GetType function of the parent class: TPdfToolsImage2PdfProfiles_ProfileType iChildType = PdfToolsImage2PdfProfiles_Profile_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsImage2PdfProfiles_ProfileType_Profile | |
ePdfToolsImage2PdfProfiles_ProfileType_Default | |
ePdfToolsImage2PdfProfiles_ProfileType_Archive |
Type and subtype enumeration of TPdfToolsImage_Document.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsImage_Document. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsImage_Document*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsImage_Document_GetType function of the parent class: TPdfToolsImage_DocumentType iChildType = PdfToolsImage_Document_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsImage_DocumentType_Document | |
ePdfToolsImage_DocumentType_SinglePageDocument | |
ePdfToolsImage_DocumentType_MultiPageDocument |
The strategy for recompressing images The strategy expresses the broad goal when recompressing images.
Enumerator | |
---|---|
ePdfToolsOptimization_CompressionAlgorithmSelection_PreserveQuality | The image quality is preserved as far as possible. |
ePdfToolsOptimization_CompressionAlgorithmSelection_Balanced | A compromise between ePdfToolsOptimization_CompressionAlgorithmSelection_PreserveQuality and ePdfToolsOptimization_CompressionAlgorithmSelection_Speed. |
ePdfToolsOptimization_CompressionAlgorithmSelection_Speed | Favor fast compression time over image quality. |
The removal strategy for PDF objects.
Type and subtype enumeration of TPdfToolsOptimizationProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsOptimizationProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsOptimizationProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsOptimizationProfiles_Profile_GetType function of the parent class: TPdfToolsOptimizationProfiles_ProfileType iChildType = PdfToolsOptimizationProfiles_Profile_GetType(pParentTypeHandle)
.
Defines how to render annotations and their popups.
Annotations associate an object such as a sticky note, link or rich media with a location on a PDF page; they may also provide user interaction by means of the mouse and keyboard.
Some annotations have an associated popup.
The background type to use when rendering into an image.
Type and subtype enumeration of TPdfToolsPdf2Image_ImageOptions.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2Image_ImageOptions. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2Image_ImageOptions*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2Image_ImageOptions_GetType function of the parent class: TPdfToolsPdf2Image_ImageOptionsType iChildType = PdfToolsPdf2Image_ImageOptions_GetType(pParentTypeHandle)
.
Type and subtype enumeration of TPdfToolsPdf2Image_ImageSectionMapping.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2Image_ImageSectionMapping. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2Image_ImageSectionMapping*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2Image_ImageSectionMapping_GetType function of the parent class: TPdfToolsPdf2Image_ImageSectionMappingType iChildType = PdfToolsPdf2Image_ImageSectionMapping_GetType(pParentTypeHandle)
.
The compression type for bitonal (Fax) TIFF images.
Type and subtype enumeration of TPdfToolsPdf2ImageProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf2ImageProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf2ImageProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf2ImageProfiles_Profile_GetType function of the parent class: TPdfToolsPdf2ImageProfiles_ProfileType iChildType = PdfToolsPdf2ImageProfiles_Profile_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsPdf2ImageProfiles_ProfileType_Profile | |
ePdfToolsPdf2ImageProfiles_ProfileType_Fax | |
ePdfToolsPdf2ImageProfiles_ProfileType_Archive | |
ePdfToolsPdf2ImageProfiles_ProfileType_Viewing |
Type and subtype enumeration of TPdfToolsPdf_Document.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_Document. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_Document*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_Document_GetType function of the parent class: TPdfToolsPdf_DocumentType iChildType = PdfToolsPdf_Document_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsPdf_DocumentType_Document | |
ePdfToolsPdf_DocumentType_PdfToolsSign_PreparedDocument |
Enumerator | |
---|---|
ePdfToolsPdf_MdpPermissions_NoChanges | No changes to the document shall be permitted; any change to the document invalidates the signature. |
ePdfToolsPdf_MdpPermissions_FormFilling | Permitted changes are filling in forms, instantiating page templates, and signing; other changes invalidate the signature. |
ePdfToolsPdf_MdpPermissions_Annotate | Permitted changes are the same as for ePdfToolsPdf_MdpPermissions_FormFilling, as well as annotation creation, deletion, and modification; other changes invalidate the signature. |
Type and subtype enumeration of TPdfToolsPdf_OutputOptions.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_OutputOptions. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_OutputOptions*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_OutputOptions_GetType function of the parent class: TPdfToolsPdf_OutputOptionsType iChildType = PdfToolsPdf_OutputOptions_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsPdf_OutputOptionsType_OutputOptions | |
ePdfToolsPdf_OutputOptionsType_PdfToolsSign_OutputOptions |
The permissions allowed by a PDF document.
Type and subtype enumeration of TPdfToolsPdf_SignatureField.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_SignatureField. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_SignatureField*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_SignatureField_GetType function of the parent class: TPdfToolsPdf_SignatureFieldType iChildType = PdfToolsPdf_SignatureField_GetType(pParentTypeHandle)
.
Type and subtype enumeration of TPdfToolsPdf_Signature.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_Signature. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_Signature*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_Signature_GetType function of the parent class: TPdfToolsPdf_SignatureType iChildType = PdfToolsPdf_Signature_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsPdf_SignatureType_Signature | |
ePdfToolsPdf_SignatureType_DocumentSignature | |
ePdfToolsPdf_SignatureType_CertificationSignature |
Type and subtype enumeration of TPdfToolsPdf_SignedSignatureField.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsPdf_SignedSignatureField. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsPdf_SignedSignatureField*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsPdf_SignedSignatureField_GetType function of the parent class: TPdfToolsPdf_SignedSignatureFieldType iChildType = PdfToolsPdf_SignedSignatureField_GetType(pParentTypeHandle)
.
enum TPdfToolsPdf_XfaType |
The XFA type of a PDF document See PdfToolsPdf_Document_GetXfa to get the XFA type of a PDF document.
The category of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
Enumerator | |
---|---|
ePdfToolsPdfAConversion_EventCategory_VisualDifferences | The conversion resulted in visual differences to the document. The conversion is optimized to preserve the visual appearance of documents. However, under some circumstances visual differences cannot be avoided. This is typically the case for low quality and erroneous input documents. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Warning It is not possible for the SDK to gauge the effect of the visual differences on the document's content. Therefore, it is recommended to let a user assess, whether or not the conversion result is acceptable. If a manual review is not feasible, events of this category should be classified as an ePdfToolsPdfAConversion_EventSeverity_Error. |
ePdfToolsPdfAConversion_EventCategory_RepairedCorruption | Repaired a corrupt document. Corrupt documents are repaired automatically. Since the specification does not define how corrupt documents should be repaired, each viewer has its own heuristics for doing so. Therefore, the repaired document might have visual differences to the input document in your viewer. For that reason, an event is generated such that the repaired document can be reviewed, similarly to ePdfToolsPdfAConversion_EventCategory_VisualDifferences. Examples for documents that must be repaired:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Warning |
ePdfToolsPdfAConversion_EventCategory_ManagedColors | Managed colors of input document. Purely informational messages related to color management. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_ChangedColorant | Resolved ambiguous or conflicting descriptions of colorants (spot colors). Colorants are special inks used in addition to the process colors (e.g. red, green, and blue in the RGB color space or cyan, magenta, yellow and black in the CMYK color space). Popular colorants are PANTONE colors typically used in printing; or also metallic or fluorescent inks. Colorants in PDF documents contain a description that is required to paint a good approximation of the intended color in case the colorant is unavailable. Within the same document all descriptions for the same colorant should be equal. This warning is generated if conflicting descriptions must be harmonized, for example during PDF/A conversion. This has no effect on output devices where the colorant is available, e.g. on certain printers. For other output devices this warning may indicate visual differences. However, for well-formed documents (i.e. not maliciously created documents), the visual differences are not noticeable. Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedExternalContent | Removed references to external content. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_ConvertedFont | Converted fonts of input document. Purely informational messages related to font management. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_SubstitutedFont | Substituted a font for a similar one. If a required font is not embedded and not available in the installed fonts, a similar font must be chosen and used. This is a commonly performed when viewing or printing a PDF document. While this may lead to minor visual differences, all text is preserved. It is important that the installed fonts contain all fonts that are not embedded in the input documents. See the product's installation documentation for a list of fonts that are recommended to install. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedTransparency | Converted transparent object to opaque. Because transparency is not allowed in PDF/A-1, transparent objects have to be converted to opaque when converting a document to PDF/A-1. This can lead to visual differences. Even though the conversion has been optimized to reduce visual differences, they might be noticeable. Therefore, it is highly recommended to convert documents to PDF/A-2 or higher. These versions of the standard allow transparency, which results in a higher conversion quality. This conversion event should be handled similarly to ePdfToolsPdfAConversion_EventCategory_VisualDifferences. Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Warning |
ePdfToolsPdfAConversion_EventCategory_RemovedAnnotation | Removed prohibited annotation type. Removing annotations does not lead to visual differences, but merely removes the interactivity of the elements. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedMultimedia | Removed multimedia content (sound, movie). Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedAction | Removed prohibited action type. Removing actions does not lead to visual differences. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedMetadata | Removed parts of the XMP metadata that could not be repaired. This event indicates that metadata properties have been removed during conversion. This includes any kind of metadata like e.g. the XMP metadata of a PDF document. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedStructure | Removed logical structure (tagging) information. The logical structure of the document is a description of the content of its pages. This description has to be provided by the creator of the document. It consists of a fine granular hierarchical tagging that distinguishes between the actual content and artifacts (such as page numbers, layout artifacts, etc.). The tagging provides a meaningful description, for example "This is a header", "This color image shows a small sailing boat at sunset", etc. This information can be used e.g. to read the document to the visually impaired. The SDK has been optimized to preserve tagging information. Typically, tagging information only has to be removed if it is invalid or corrupt. Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedOptionalContent | Removed optional content groups (layers). Because optional content is not allowed in PDF/A-1, it has to be removed when converting a document to PDF/A-1. Removing layers does not change the initial appearance of pages. However, the visibility of content cannot be changed anymore. Therefore, it is highly recommended to convert documents to PDF/A-2 or higher. These versions of the standard allow optional content, which results in a higher conversion quality. Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Warning |
ePdfToolsPdfAConversion_EventCategory_ConvertedEmbeddedFile | Converted embedded file. Purely informational messages related to the conversion of embedded files. Examples:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
ePdfToolsPdfAConversion_EventCategory_RemovedEmbeddedFile | Removed embedded files. Whether embedded files have to be removed depends on the conformance:
Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Warning |
ePdfToolsPdfAConversion_EventCategory_RemovedSignature | Removed signatures of signed input file. Converting a signed document invalidates its signatures. For that reason, the cryptographic parts of the signatures are removed while their visual appearances are preserved. Note that we generally recommend to sign PDF/A documents only for two reasons. First, this ensures that the file is not corrupt and its visual appearance is well defined, such than it can be reproduced flawlessly and authentically in any environment. Second, PDF/A conformance is typically required if the file is to be archived, e.g. by the recipient. Because signed files cannot be converted to PDF/A without breaking the signature, the signature must be removed before the file can be archived. By converting files to PDF/A before applying the signature, this dilemma can be avoided. Suggested severity: ePdfToolsPdfAConversion_EventSeverity_Information |
The code identifying particular conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
Enumerator | |
---|---|
ePdfToolsPdfAConversion_EventCode_Generic | Code for events that do not have a specific code associated. |
ePdfToolsPdfAConversion_EventCode_RemovedXfa | |
ePdfToolsPdfAConversion_EventCode_FontNonEmbeddedOrderingIdentity | |
ePdfToolsPdfAConversion_EventCode_FontNoRotate | |
ePdfToolsPdfAConversion_EventCode_FontNoItalicSimulation | |
ePdfToolsPdfAConversion_EventCode_ClippedNumberValue | |
ePdfToolsPdfAConversion_EventCode_RecoveredImageSize | see ePdfToolsPdfAConversion_EventCategory_RepairedCorruption |
ePdfToolsPdfAConversion_EventCode_RepairedFont | see ePdfToolsPdfAConversion_EventCategory_RepairedCorruption |
ePdfToolsPdfAConversion_EventCode_CopiedOutputIntent | |
ePdfToolsPdfAConversion_EventCode_SetOutputIntent | |
ePdfToolsPdfAConversion_EventCode_GeneratedOutputIntent | |
ePdfToolsPdfAConversion_EventCode_SetColorProfile | |
ePdfToolsPdfAConversion_EventCode_GeneratedColorProfile | |
ePdfToolsPdfAConversion_EventCode_CreatedCalibrated | |
ePdfToolsPdfAConversion_EventCode_RenamedColorant | |
ePdfToolsPdfAConversion_EventCode_ResolvedColorantCollision | |
ePdfToolsPdfAConversion_EventCode_EmbededFont | |
ePdfToolsPdfAConversion_EventCode_SubstitutedFont | |
ePdfToolsPdfAConversion_EventCode_SubstitutedMultipleMaster | |
ePdfToolsPdfAConversion_EventCode_ConvertedToStamp | |
ePdfToolsPdfAConversion_EventCode_RemovedDocumentMetadata | |
ePdfToolsPdfAConversion_EventCode_CopiedEmbeddedFile | see ePdfToolsPdfAConversion_EventCategory_ConvertedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_ConvertingEmbeddedFileStart | see ePdfToolsPdfAConversion_EventCategory_ConvertedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_ConvertingEmbeddedFileSuccess | see ePdfToolsPdfAConversion_EventCategory_ConvertedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_ChangedToInitialDocument | see ePdfToolsPdfAConversion_EventCategory_RemovedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_ConvertingEmbeddedFileError | see ePdfToolsPdfAConversion_EventCategory_RemovedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_RemovedEmbeddedFile | see ePdfToolsPdfAConversion_EventCategory_RemovedEmbeddedFile |
ePdfToolsPdfAConversion_EventCode_RemovedFileAttachmentAnnotation | see ePdfToolsPdfAConversion_EventCategory_RemovedEmbeddedFile |
The severity of conversion events See TPdfToolsPdfAConversion_Converter_ConversionEvent for more information on conversion events.
The validation error category.
Type and subtype enumeration of TPdfToolsSign_SignatureConfiguration.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSign_SignatureConfiguration. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSign_SignatureConfiguration*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSign_SignatureConfiguration_GetType function of the parent class: TPdfToolsSign_SignatureConfigurationType iChildType = PdfToolsSign_SignatureConfiguration_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsSign_SignatureRemoval_None | Do not remove any signatures. |
ePdfToolsSign_SignatureRemoval_Signed | Remove all signed signatures, but no unsigned signature fields. This lets you change the encryption parameters of signed input documents, e.g. to encrypt or decrypt them (see ePdfToolsSign_WarningCategory_SignedDocEncryptionUnchanged). While the cryptographic parts of the signatures are removed, their visual appearances are preserved. |
ePdfToolsSign_SignatureRemoval_All | Remove all signed (see ePdfToolsSign_SignatureRemoval_Signed) and unsigned signature fields. |
Type and subtype enumeration of TPdfToolsSign_TimestampConfiguration.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSign_TimestampConfiguration. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSign_TimestampConfiguration*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSign_TimestampConfiguration_GetType function of the parent class: TPdfToolsSign_TimestampConfigurationType iChildType = PdfToolsSign_TimestampConfiguration_GetType(pParentTypeHandle)
.
The warning category The category of the warning of TPdfToolsSign_Signer_Warning.
Enumerator | |
---|---|
ePdfToolsSign_WarningCategory_PdfARemoved | PDF/A conformance of input file removed due to file encryption (i.e. PdfToolsPdf_OutputOptions_GetEncryption is not |
ePdfToolsSign_WarningCategory_SignedDocEncryptionUnchanged | When processing signed documents, their encryption parameters (user password, owner password, permissions) cannot be changed. Therefore, the property PdfToolsPdf_OutputOptions_GetEncryption has no effect. This warning is generated so that the following situations can be detected:
Encryption parameters of signed documents can be changed by removing all existing signatures using the property PdfToolsSign_OutputOptions_GetRemoveSignatures. In this case, this warning is not generated. |
ePdfToolsSign_WarningCategory_AddValidationInformationFailed | Error adding validation information to existing signatures of input document as requested by PdfToolsSign_OutputOptions_GetAddValidationInformation. The warning's Potential causes of this warning are:
|
The source of data such as certificates, OCRPs or CRLs.
Enumerator | |
---|---|
ePdfToolsSignatureValidation_DataSource_EmbedInSignature | Data embedded in the signature Allowed data: certificates, OCSP, CRL. |
ePdfToolsSignatureValidation_DataSource_EmbedInDocument | Data embedded in the document security store (DSS) Allowed data: certificates, OCSP, CRL. |
ePdfToolsSignatureValidation_DataSource_Download | Data retrieved online or from the local download cache. Allowed data: issuer certificates (for certificates that have caIssuers extension), OCSP, CRL Note: only data for certificates that are time-valid at the current time can be downloaded. For example, OCSP and CRL can only be downloaded for certificates that have not yet expired. |
ePdfToolsSignatureValidation_DataSource_System | Data from the local system cache Allowed data: certificates. |
ePdfToolsSignatureValidation_DataSource_Aatl | From the Adobe Approved Trust List (AATL) NOTE: Support for this trust list has not yet been implemented. Allowed data: issuer certificates |
ePdfToolsSignatureValidation_DataSource_Eutl | From the European Trust List (EUTL) NOTE: Support for this trust list has not yet been implemented. Allowed data: issuer certificates |
ePdfToolsSignatureValidation_DataSource_CustomTrustList | From the custom trust list. The list of certificates defined by the TPdfToolsSignatureValidation_CustomTrustList. If no custom trust list has been defined, this value has no effect. Allowed data: issuer certificates |
Main status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1.
Type and subtype enumeration of TPdfToolsSignatureValidation_SignatureContent.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSignatureValidation_SignatureContent. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSignatureValidation_SignatureContent*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSignatureValidation_SignatureContent_GetType function of the parent class: TPdfToolsSignatureValidation_SignatureContentType iChildType = PdfToolsSignatureValidation_SignatureContent_GetType(pParentTypeHandle)
.
Sub-status indication of the signature validation process See ETSI TS 102 853 and ETSI EN 319 102-1.
The source of the validation time.
Type and subtype enumeration of TPdfToolsSignatureValidationProfiles_Profile.
This SDK uses a hierarchical class hierarchy, where a parent type can have derived child types. The first item of the enumeration refers to the base type TPdfToolsSignatureValidationProfiles_Profile. The other items refer to the derived types.
Downcasting may be necessary. For example, to call the functions of an object’s parent class. In this case, a handle of the child type can be casted using a simple C-style cast: (TPdfToolsSignatureValidationProfiles_Profile*)pChildTypeHandle
.
Upcasting is also possible using a C-style cast. Prior to casting, the child type of the handle can be determined using the PdfToolsSignatureValidationProfiles_Profile_GetType function of the parent class: TPdfToolsSignatureValidationProfiles_ProfileType iChildType = PdfToolsSignatureValidationProfiles_Profile_GetType(pParentTypeHandle)
.
Enumerator | |
---|---|
ePdfToolsSignatureValidationProfiles_ProfileType_Profile | |
ePdfToolsSignatureValidationProfiles_ProfileType_Default |
The revocation check policy.