class Prawn::Outline

The Outline class organizes the outline tree items for the document. Note that the {prev} and {parent} are adjusted while navigating through the nested blocks. These attributes along with the presence or absence of blocks are the primary means by which the relations for the various ‘PDF::Core::OutlineItem`s and the `PDF::Core::OutlineRoot` are set.

Some ideas for the organization of this class were gleaned from ‘name_tree`. In particular the way in which the `PDF::Core::OutlineItem`s are finally rendered into document objects through a hash.