PDFXML Configuration
The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.PDFXML Configuration Settings
AttachmentParams[index]:
Defines file parameters for PDF attachments.This setting defines optional parameters for an embedded file such as last modified datetime and size. Multiple parameters can be specified in a comma separated list. For instance:
pdfxml.Config("AttachmentParams[0]=ModDate=D:20200311160001+08'00',Size=123456");
| |||||||||
CloseInputStreamAfterProcessing: Specifies whether or not the InputStream should be closed after processing.Determines if the stream specified by SetInputStream is closed after Save or Load returns. By default this is True. Setting this to False keeps the stream open for further use. | |||||||||
CloseOutputStreamAfterProcessing: Specifies whether or not the OutputStream should be closed after processing.Determines if the stream specified by SetOutputStream is closed after Save returns. By default this is True. Setting this to False keeps the stream open for further use. | |||||||||
LogLevel:
Specifies the level of detail that is logged.This setting controls the level of detail that is logged through the Status event. Possible values are:
| |||||||||
ZUGFeRDConformanceLevel:
Specifies the ZUGFeRD Conformance Level.This setting specifies the conformance level to enforce for the ZUGFeRD document. Possible values are:
Note: ZUGFeRD conformance levels MINIMUM and EN 16931 are only supported in ZUGFeRD Version 2.0. The default value is BASIC. This setting is only applicable when ZUGFeRDMode is set to True. | |||||||||
ZUGFeRDMode:
Specifies whether ZUGFeRDMode is enabled.This setting specifies whether the document is treated as ZUGFeRD compliant. If True, the class will add the XMP Metadata of the PDF and verify there is an attachment named "ZUGFeRD-invoice.xml" or "zugferd-invoice.xml".
When set to False (default) no additional checks are performed. | |||||||||
ZUGFeRDVersion:
Specifies the ZUGFeRD version.This setting specifies the ZUGFeRD version to use. Possible values are:
This setting is only applicable when ZUGFeRDMode is set to True. |
Base Configuration Settings
BuildInfo: Information about the product's build.When queried, this setting will return a string containing information about the product's build. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CodePage:
The system code page used for Unicode to Multibyte translations.The default code page is the Active Code Page (0).
The following is a list of valid code page identifiers:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
LicenseInfo:
Information about the current license.When queried, this setting will return a string containing information about the license this instance of a class is using. It will return the following information:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UseInternalSecurityAPI: Tells the class whether or not to use the system security libraries or an internal implementation. By default the class will use the system security libraries to perform cryptographic functions. Setting this to True tells the class to use the internal implementation instead of using the system's security API. |