Class: RPDF::DocumentCatalog

Inherits:
PDFDictionary show all
Defined in:
lib/rpdf/documentcatalog.rb

Overview

Document Catalog Object

PDFRef15 p113

Instance Attribute Summary

Attributes inherited from PDFDictionary

#dict

Attributes inherited from PDFObject

#generation_number, #object_number

Instance Method Summary collapse

Methods inherited from PDFDictionary

#[], #[]=, #to_s, #update

Methods inherited from PDFObject

#indirect?, #invalidate, #invalidated?, #to_pdf, #to_ref

Constructor Details

#initialize(document) ⇒ DocumentCatalog

Returns a new instance of DocumentCatalog.



10
11
12
13
14
# File 'lib/rpdf/documentcatalog.rb', line 10

def initialize(document)
  super({ :Type => :Catalog, 
          :Pages => document.pagetree }, 
        document)
end