[DevExpress Support Team: This ticket is cloned from ticket S130819: Export to PDF - Support PDF/A (PDF - Archive format)]
hi
is it possible to generate Part 3 PDF/A-3 Use of ISO 32000-1 with support for embedded files (PDF/A-3) 2012 ISO 19005-3 PDF 1.7 (ISO 32000-1:2008)?
it would be great to add attachments to .PDF which is neede for zugferd the new german invoicing standard.
best regards
Export to PDF - Support the PDF/A-3 format
Answers approved by DevExpress Support
We have implemented the functionality described in this ticket. It will be included in our next update(s).
Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.
We have added support for PDF/A-3b export in the current minor release.
The following new properties were added to the PdfExportOptions class.
PdfExportOptions.AdditionalMetadata - specifies additional data that is added to the PDF metadata if the PdfExportOptions.PdfACompatible property is set to true.
PdfExportOptions.Attachments - the list of a document's attachments.
A single attachment is an instance of the PdfAttachment class. This class contains the following properties.
- CreationDate - the date of an attachment file's creation.
- ModificationDate - the date of an attachment file's last modification.
- Type - specifies the MIME type for the attachment file.
- Relationship - specifies the relationship between an attachment file and contents of a document.
- FileName - specifies the name of an attachment file. If not specified, the file name is obtained from the FilePath.
- Data - binary data of the attachment. If this property is set, the FilePath and FileName properties are ignored.
- FilePath - specifies the path to an attachment file.
To learn how to export a report to a PDF/A-3b file that meets the ZUGFeRD specification, see the following example online: How to export a report to ZUGFeRD.
Hi, Wolfgang
At present our reporting suite doesn't provide a capability to attach files to exported PDF documents. While we are not going to declare the PDF/A-3 compliance, we may do so in the future. However, I cannot give you any promises right now.
Thanks
Hello,
I've created a separate ticket on your behalf (T734480: Export to PDF - Support the PDF/A-3 format in VCL). It has been placed in our processing queue and will be answered shortly.