start_page_numbering (PDF::Writer)

          # File lib/pdf/writer.rb, line 2129
    2129:   def start_page_numbering(x, y, size, pos = nil, pattern = nil, starting = nil)
    2130:     pos     ||= :left
    2131:     pattern ||= "<PAGENUM> of <TOTALPAGENUM>"
    2132:     starting  ||= 1
    2133:
    2134:     @page_numbering ||= []
    2135:     @page_numbering << (o = {})
    2136:
    2137:     page    = @pageset.size - 1
    2138:     o[page] = {
    2139:       :x        => x,
    2140:       :y        => y,
    2141:       :pos      => pos,
    2142:       :pattern  => pattern,
    2143:       :starting => starting,
    2144:       :size     => size,
    2145:       :start    => true
    2146:     }
    2147:     @page_numbering.index(o)
    2148:   end