prawn-ruby/pdf-core-0.6.0/lib/pdf/core/renderer.rb
# Write out the PDF Cross Reference Table, as per spec 3.4.3
#
Write out the PDF Cross Reference Table, as per spec 3.4.3
Write out the PDF Cross Reference Table as per spec 3 . 4 . 3
def render_xref(output)
        @xref_offset = output.size
        output << "xref\n"
        output << "0 #{state.store.size + 1}\n"
        output << "0000000000 65535 f \n"
        state.store.each do |ref|
          output.printf("%010d", ref.offset)
          output << " 00000 n \n"
        end
      end
def render_xref ( output ) @xref_offset = output . size output << "xref\n" output << "0 #{state.store.size + 1}\n" output << "0000000000 65535 f \n" state . store . each do | ref | output . printf ( "%010d" , ref . offset ) output << " 00000 n \n" end end
Write out the PDF Cross Reference Table, as per spec 3.4.3
Write out the PDF Cross Reference Table as per spec 3 . 4 . 3
output
<not_specific>