JezK
Edit File: page-i.ri
U:RDoc::AnyMethod[iI" page:EFI"Prawn::Outline#page;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"VSee Outline#define above for more documentation on how it is used in that context;To:RDoc::Markup::BlankLine o; ; [I"!Adds a page to the outline. ;TI"LAlthough you will probably choose to exclusively use outline#define so ;TI"Nthat your outline tree is contained and easy to manage, this method also ;TI"Pgives you the option to add pages to the root of outline tree at any point ;TI"Iduring document generation. Note that the page will be added at the ;TI"Vtop level after the other root outline elements. For more flexible placement try ;TI"Iusing outline#insert_section_after and/or outline#add_subsection_to.;T@o; ; [I"#Takes the following arguments:;To:RDoc::Markup::Verbatim; [ I"options: ;TI"J title - REQUIRED. The outline text that appears for the page. ;TI"[ destination - optional integer defining the page number for a destination link ;TI"M to the top of the page (using a :FIT destination). ;TI"Y - or an array with a custom destination (see the #dest_* methods of the ;TI", PDF::Destination module) ;TI"R closed - whether the section should show its nested outline elements. ;TI"( - defaults to false. ;T:@format0o; ; [I"example usage:;T@o;; [I"-outline.page :title => "Very Last Page" ;T; 0o; ; [I"]Note: this method is almost identical to section except that it does not accept a block ;TI"Othereby defining the outline item as a leaf on the outline tree structure.;T: @fileI"lib/prawn/outline.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = {});T@/FI"Outline;FcRDoc::NormalClass00