info = new PdfDocumentInfo(infoDict instanceof PdfDictionary ? (PdfDictionary) infoDict : new PdfDictionary(), this); XmpMetaInfoConverter.appendMetadataToInfo(xmpMetadata, info); if (reader == null) { catalog = new PdfCatalog(this); info = new PdfDocumentInfo(this).addCreationDate();