private void CompleteExtraCatalog(PdfDictionary extraCatalog)
{
if (IsPdfX()) {
if (extraCatalog.Get(PdfName.OUTPUTINTENTS) == null) {
PdfDictionary outD = new PdfDictionary(PdfName.OUTPUTINTENT);
outD.Put(PdfName.OUTPUTCONDITION, new PdfString("SWOP CGATS TR 001-1995"));
outD.Put(PdfName.OUTPUTCONDITIONIDENTIFIER, new PdfString("CGATS TR 001"));
outD.Put(PdfName.REGISTRYNAME, new PdfString("http://www.color.org"));
outD.Put(PdfName.INFO, new PdfString(""));
outD.Put(PdfName.S, PdfName.GTS_PDFX);
extraCatalog.Put(PdfName.OUTPUTINTENTS, new PdfArray(outD));
}
}
}