JezK
Edit File: cdesc-Outline.ri
U:RDoc::NormalClass[iI"Outline:EFI"Prawn::Outline;FI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"JThe Outline class organizes the outline tree items for the document. ;TI"TNote that the prev and parent instance variables are adjusted while navigating ;TI"Sthrough the nested blocks. These variables along with the presence or absense ;TI"Lof blocks are the primary means by which the relations for the various ;TI"NOutlineItems and the OutlineRoot are set. Unfortunately, the best way to ;TI"Tunderstand how this works is to follow the method calls through a real example.;To:RDoc::Markup::BlankLine o; ;[I"SSome ideas for the organization of this class were gleaned from name_tree. In ;TI"Uparticular the way in which the OutlineItems are finally rendered into document ;TI")objects in PdfObject through a hash.;T: @fileI"lib/prawn/outline.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ I" document;TI"RW;T:publicFI"lib/prawn/outline.rb;T[ I" items;TI"RW;T; F@![ I"parent;TI"RW;T; F@![ I" prev;TI"RW;T; F@![ [ [[I" class;T[[; [[I"new;T@![:protected[ [:private[ [I" instance;T[[; [[I"add_subsection_to;F@![I"define;F@![I"insert_section_after;F@![I" page;F@![I"page_number;F@![I"section;F@![I"update;T@![;[ [;[[I"add_outline_item;F@![I"adjust_relations;F@![I"create_outline_item;F@![I"increase_count;F@![I"insert_section;F@![I"reset_parent;F@![I"reset_root_positioning;F@![I" root;F@![I"set_relations;F@![I"set_variables_for_block;F@![ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Prawn;FcRDoc::NormalModule