Class: RPDF::DocumentCatalog
- Inherits:
-
PDFDictionary
- Object
- PDFObject
- PDFDictionary
- RPDF::DocumentCatalog
- Defined in:
- lib/rpdf/documentcatalog.rb
Overview
Document Catalog Object
- PDFRef15 p113
Instance Attribute Summary
Attributes inherited from PDFDictionary
Attributes inherited from PDFObject
#generation_number, #object_number
Instance Method Summary collapse
-
#initialize(document) ⇒ DocumentCatalog
constructor
A new instance of DocumentCatalog.
Methods inherited from PDFDictionary
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 |