Class: EideticPDF::PdfObjects::PdfDictionaryObject

Inherits:
IndirectObject show all
Defined in:
lib/epdfo.rb

Instance Attribute Summary

Attributes inherited from IndirectObject

#gen, #seq

Instance Method Summary collapse

Methods inherited from IndirectObject

#footer, #header, #reference_object, #reference_string, #to_s

Constructor Details

#initialize(seq, gen, hash = {}) ⇒ PdfDictionaryObject

Returns a new instance of PdfDictionaryObject.



308
309
310
# File 'lib/epdfo.rb', line 308

def initialize(seq, gen, hash={})
  super(seq, gen, PdfDictionary.new(hash))
end

Instance Method Details

#bodyObject



316
317
318
# File 'lib/epdfo.rb', line 316

def body
  dictionary.to_s
end

#dictionaryObject



312
313
314
# File 'lib/epdfo.rb', line 312

def dictionary
  @obj
end