internal PdfObject[] AddSimpleProperty(Object prop, PdfIndirectReference refi)
{
if (!documentProperties.ContainsKey(prop)) {
if (prop is IPdfOCG)
PdfWriter.CheckPdfIsoConformance(this, PdfIsoKeys.PDFISOKEY_LAYER, null);
documentProperties[prop] = new PdfObject[]{new PdfName("Pr" + (documentProperties.Count + 1)), refi};
}
return documentProperties[prop];
}