void makePackage ( PdfCollection collection ) { PdfDictionary catalog = reader . getCatalog ( ) ; catalog . put ( PdfName . COLLECTION , collection ) ; }
Adds or replaces the Collection Dictionary in the Catalog .