My company is going to use Stimulsoft as PDF report generator. Our processes are quite strict, so one of the requirements is PDF/A-3 compliance.
I'm trying to configure generated pdf report to fit the rules in validator tool (Acrobat Pro 2015).
Now I have the following issue:
Preflight Summary Report for: 20200505083422.pdf
Profile: Verify compliance with PDF/A-3a (Processed pages 1 to 1)
Processed by user, Date: 5/6/2020 9:18 AM
Results (Summary)
Error
XMP property not predefined and no extension schema present (XMP 2005)
Do you plan to add missing XMP extensions and schema to the PDF export?
Here is report config method
Code: Select all
protected override StiExportSettings GetExportSettings(IReportSettings reportSettings)
{
var settings = new StiPdfExportSettings();
settings.PdfComplianceMode = StiPdfComplianceMode.A3;
settings.Compressed = false;
settings.EmbeddedFonts = true;
settings.AllowEditable = StiPdfAllowEditable.No;
settings.AutoPrintMode = StiPdfAutoPrintMode.None;
settings.ImageCompressionMethod = StiPdfImageCompressionMethod.Flate;
settings.ImageResolutionMode = StiImageResolutionMode.Exactly;
StiOptions.Export.Pdf.CreatorString = reportSettings.Creator ?? defaultCreator;
if (reportSettings.BlackAndWhite)
settings.ImageFormat = StiImageFormat.Grayscale;
else
settings.ImageFormat = StiImageFormat.Color;
var listKeyWords = new List<string>
{
reportSettings.TemplateNameKeyword ?? defaultTemplate,
reportSettings.TemplateVersionKeyword ?? defaultTemplateVersion,
reportSettings.UIDKeyword ?? defaultUID
};
settings.KeywordsString = string.Join(", ", listKeyWords);
return settings;
}