prawn-ruby/pdf-core-0.6.0/lib/pdf/core/renderer.rb
# Write out the PDF Trailer, as per spec 3.4.4
#
Write out the PDF Trailer, as per spec 3.4.4
Write out the PDF Trailer as per spec 3 . 4 . 4
def render_trailer(output)
        trailer_hash = {:Size => state.store.size + 1,
                        :Root => state.store.root,
                        :Info => state.store.info}
        trailer_hash.merge!(state.trailer) if state.trailer
        output << "trailer\n"
        output << PDF::Core::PdfObject(trailer_hash) << "\n"
        output << "startxref\n"
        output << @xref_offset << "\n"
        output << "%%EOF" << "\n"
      end
def render_trailer ( output ) trailer_hash = { :Size => state . store . size + 1 , :Root => state . store . root , :Info => state . store . info } trailer_hash . merge! ( state . trailer ) if state . trailer output << "trailer\n" output << PDF :: Core :: PdfObject ( trailer_hash ) << "\n" output << "startxref\n" output << @xref_offset << "\n" output << "%%EOF" << "\n" end
Write out the PDF Trailer, as per spec 3.4.4
Write out the PDF Trailer as per spec 3 . 4 . 4
output
<not_specific>