I am adding a new PdfDictionary to Catalog, which has an element with direct value of a PdfArray. Each member of the PdfArray is a iref to a PdfPage. So, I'm adding a custom array of pointers to pages.
This works fine, and saves fine... but when I reload the document, my PdfArray is full of PdfDictionaries: which appear to be COPIES of the original PdfPages. PdfDictionarys with /Content, and the whole nine yards.
I'm not sure if this is a bug during load, or a bug during save, or my issue with no adding the indirect page references correctly somehow.
|