Class: EideticPDF::PdfObjects::PdfOutlines

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

Instance Attribute Summary

Attributes inherited from IndirectObject

#gen, #seq

Instance Method Summary collapse

Methods inherited from PdfDictionaryObject

#body, #dictionary

Methods inherited from IndirectObject

#body, #footer, #header, #reference_object, #reference_string

Constructor Details

#initialize(seq, gen) ⇒ PdfOutlines

Returns a new instance of PdfOutlines.



816
817
818
819
# File 'lib/epdfo.rb', line 816

def initialize(seq, gen)
  super(seq, gen)
  dictionary['Type'] = PdfName.new('Outlines')
end

Instance Method Details

#to_sObject



821
822
823
824
# File 'lib/epdfo.rb', line 821

def to_s
  dictionary['Count'] = PdfInteger.new(0)
  super
end