start_page_numbering (PDF::Writer)

          # File lib/pdf/writer.rb, line 2194
    2194:   def start_page_numbering(x, y, size, pos = nil, pattern = nil, starting = nil)
    2195:     pos     ||= :left
    2196:     pattern ||= "<PAGENUM> of <TOTALPAGENUM>"
    2197:     starting  ||= 1
    2198:
    2199:     @page_numbering ||= []
    2200:     @page_numbering << (o = {})
    2201:
    2202:     page    = @pageset.size - 1
    2203:     o[page] = {
    2204:       :x        => x,
    2205:       :y        => y,
    2206:       :pos      => pos,
    2207:       :pattern  => pattern,
    2208:       :starting => starting,
    2209:       :size     => size,
    2210:       :start    => true
    2211:     }
    2212:     @page_numbering.index(o)
    2213:   end