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.0.0 examples/hash.rb
pdf-reader-2.0.0.beta1 examples/hash.rb
pdf-reader-1.4.1 examples/hash.rb
pdf-reader-1.4.0 examples/hash.rb
panjiva-pdf-reader-1.3.0 examples/hash.rb
pdf-reader-1.3.3 examples/hash.rb
pdf-reader-1.3.2 examples/hash.rb
pdf-reader-1.3.1 examples/hash.rb
pdf-reader-1.3.0 examples/hash.rb
pdf-reader-1.2.0 examples/hash.rb
pdf-reader-1.1.1 examples/hash.rb
pdf-reader-1.1.0 examples/hash.rb
pdf-reader-1.0.0 examples/hash.rb
pdf-reader-1.0.0.rc1 examples/hash.rb
pdf-reader-1.0.0.beta1 examples/hash.rb
pdf-reader-0.12.0.alpha examples/hash.rb