Sha256: 45ce92938d18a032e63168f05ee0bcd494f721c74ba45493d180402023fc0d59

Contents?: true

Size: 265 Bytes

Versions: 36

Compression:

Stored size: 265 Bytes

Contents

#!/usr/bin/env ruby
# coding: utf-8

# get direct access to PDF objects

require 'pdf/reader'

filename = File.expand_path(File.dirname(__FILE__)) + "/../spec/data/cairo-unicode.pdf"

reader = PDF::Reader.new(filename)
puts reader.objects[3]
puts reader.objects[4]

Version data entries

36 entries across 35 versions & 3 rubygems

Version Path
pdf-reader-2.13.0 examples/hash.rb
pdf-reader-2.12.0 examples/hash.rb
pdf-reader-2.11.0 examples/hash.rb
pdf-reader-2.10.0 examples/hash.rb
pdf-reader-2.9.2 examples/hash.rb
pdf-reader-2.9.1 examples/hash.rb
pdf-reader-2.9.0 examples/hash.rb
pdf-reader-2.8.0 examples/hash.rb
pdf-reader-2.7.0 examples/hash.rb
pdf-reader-2.6.0 examples/hash.rb
pdf-reader-2.5.0 examples/hash.rb
pdf-reader-2.4.2 examples/hash.rb
pdf-reader-2.4.1 examples/hash.rb
pdf-reader-2.4.0 examples/hash.rb
pdf-reader-2.3.0 examples/hash.rb
pdf-reader-2.2.1 examples/hash.rb
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.5.0/gems/pdf-reader-2.2.0/examples/hash.rb
embulk-input-druginfo_interview_form-0.1.0 vendor/bundle/ruby/2.4.0/gems/pdf-reader-2.2.0/examples/hash.rb
pdf-reader-2.2.0 examples/hash.rb
pdf-reader-2.1.0 examples/hash.rb