lib/reportbuilder/builder/pdf.rb in reportbuilder-1.4.1 vs lib/reportbuilder/builder/pdf.rb in reportbuilder-1.4.2

- old
+ new

@@ -44,9 +44,13 @@ def header(level, t) @pdf.pad 5 do @pdf.text t, {:size=>15-level*1.5,:align=>:center} end end + # Start a new page! (duh) + def new_page + @pdf.start_new_page + end # Add preformatted text. def preformatted(t) @pdf.font("Courier") do @pdf.text t end