Sha256: e7ca4081931e887fe5ca6d06b716d6bfd54b09ca92c703976e186a1538751757

Contents?: true

Size: 482 Bytes

Versions: 15

Compression:

Stored size: 482 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'

$LOAD_PATH.unshift(File.dirname(__FILE__) + "/../lib")

require 'pdf/reader'

receiver = PDF::Reader::PrintReceiver.new

if ARGV.empty?
  browser = PDF::Reader.new(StringIO.new(ARGF.read))
else
  browser = PDF::Reader.new(ARGV[0])
end
browser.pages.each do |page|
  puts
  puts "********************************"
  puts "page #{page.number}"
  puts page.attributes.inspect
  puts "********************************"
  page.walk(receiver)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
pdf-reader-2.14.0 bin/pdf_callbacks
pdf-reader-2.13.0 bin/pdf_callbacks
pdf-reader-2.12.0 bin/pdf_callbacks
pdf-reader-2.11.0 bin/pdf_callbacks
pdf-reader-2.10.0 bin/pdf_callbacks
pdf-reader-2.9.2 bin/pdf_callbacks
pdf-reader-2.9.1 bin/pdf_callbacks
pdf-reader-2.9.0 bin/pdf_callbacks
pdf-reader-2.8.0 bin/pdf_callbacks
pdf-reader-2.7.0 bin/pdf_callbacks
pdf-reader-2.6.0 bin/pdf_callbacks
pdf-reader-2.5.0 bin/pdf_callbacks
pdf-reader-2.4.2 bin/pdf_callbacks
pdf-reader-2.4.1 bin/pdf_callbacks
pdf-reader-2.4.0 bin/pdf_callbacks