Class: PDF::Core::OutlineRoot

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf/core/outline.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOutlineRoot

Returns a new instance of OutlineRoot.



284
285
286
# File 'lib/pdf/core/outline.rb', line 284

def initialize
  @count = 0
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



282
283
284
# File 'lib/pdf/core/outline.rb', line 282

def count
  @count
end

#firstObject

Returns the value of attribute first.



282
283
284
# File 'lib/pdf/core/outline.rb', line 282

def first
  @first
end

#lastObject

Returns the value of attribute last.



282
283
284
# File 'lib/pdf/core/outline.rb', line 282

def last
  @last
end

Instance Method Details

#to_hashObject



288
289
290
# File 'lib/pdf/core/outline.rb', line 288

def to_hash
  {:Type => :Outlines, :Count => count, :First => first, :Last => last}
end