lib/pmp/planning_worksheet/header.rb
##
# Method that produces a header. Note that it doesn't do any positioning;
# it is inteneded to be invoked by +PMP::Document#header_and_footer+
# which takes care of canvasing it outside the margins and repeating it
# on every page.
Method that produces a header. Note that it doesn't do any positioning;
it is inteneded to be invoked by +PMP::Document#header_and_footer+
which takes care of canvasing it outside the margins and repeating it
on every page.
Method that produces a header . Note that it doesn ' t do any positioning ; it is inteneded to be invoked by + PMP :: Document#header_and_footer + which takes care of canvasing it outside the margins and repeating it on every page .
def header
        bounding_box header_bounds, header_size do
          text 'PERFORMANCE PLANNING WORKSHEET',
               size: 14.pt, style: :bold, align: :center, valign: :center
          transparent(0.1) { fill_rectangle(bounds.top_left, bounds.width, bounds.height) }
          stroke_bounds
        end
      end
def header bounding_box header_bounds , header_size do text 'PERFORMANCE PLANNING WORKSHEET' , size : 14 . pt , style : :bold , align : :center , valign : :center transparent ( 0.1 ) { fill_rectangle ( bounds . top_left , bounds . width , bounds . height ) } stroke_bounds end end
Method that produces a header.
Method that produces a header .