Sha256: 602db05512c787a42c7f2ae4dfc3070e3a71f5e104fec053ad46fc6912471a91

Contents?: true

Size: 465 Bytes

Versions: 21

Compression:

Stored size: 465 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($stdin)
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

21 entries across 20 versions & 3 rubygems

Version Path
pdf-reader-2.3.0 bin/pdf_callbacks
pdf-reader-2.2.1 bin/pdf_callbacks
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.5.0/gems/pdf-reader-2.2.0/bin/pdf_callbacks
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.4.0/gems/pdf-reader-2.2.0/bin/pdf_callbacks
pdf-reader-2.2.0 bin/pdf_callbacks
pdf-reader-2.1.0 bin/pdf_callbacks
pdf-reader-2.0.0 bin/pdf_callbacks
pdf-reader-2.0.0.beta1 bin/pdf_callbacks
pdf-reader-1.4.1 bin/pdf_callbacks
pdf-reader-1.4.0 bin/pdf_callbacks
panjiva-pdf-reader-1.3.0 bin/pdf_callbacks
pdf-reader-1.3.3 bin/pdf_callbacks
pdf-reader-1.3.2 bin/pdf_callbacks
pdf-reader-1.3.1 bin/pdf_callbacks
pdf-reader-1.3.0 bin/pdf_callbacks
pdf-reader-1.2.0 bin/pdf_callbacks
pdf-reader-1.1.1 bin/pdf_callbacks
pdf-reader-1.1.0 bin/pdf_callbacks
pdf-reader-1.0.0 bin/pdf_callbacks
pdf-reader-1.0.0.rc1 bin/pdf_callbacks