protected virtual PdfDictionary GetCatalog(PdfIndirectReference rootObj)
{
PdfDictionary catalog = pdf.GetCatalog(rootObj);
// [F12] tagged PDF
BuildStructTreeRootForTagged(catalog);
// [F13] OCG
if (documentOCG.Count > 0)
{
FillOCProperties(false);
catalog.Put(PdfName.OCPROPERTIES, OCProperties);
}
return catalog;
}