Class: PDF::Reader

Class | PDF::Reader
In: | lib/pdf/reader.rb lib/pdf/reader/buffer.rb lib/pdf/reader/cmap.rb lib/pdf/reader/content.rb lib/pdf/reader/encoding.rb lib/pdf/reader/error.rb lib/pdf/reader/explore.rb lib/pdf/reader/filter.rb lib/pdf/reader/font.rb lib/pdf/reader/parser.rb lib/pdf/reader/xref.rb lib/pdf/reader/reference.rb lib/pdf/reader/register_receiver.rb lib/pdf/reader/text_receiver.rb lib/pdf/reader/token.rb lib/pdf/reader/stream.rb lib/pdf/reader/print_receiver.rb
Parent: | Object

Copyright (C) 2006 Peter J Jones (pjones@pmade.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

### Methods

file object object_file object_string parse string

### Classes and Modules

Class PDF::Reader::Buffer
Class PDF::Reader::CMap
Class PDF::Reader::Content
Class PDF::Reader::Encoding
Class PDF::Reader::Error
Class PDF::Reader::Explore
Class PDF::Reader::Filter
Class PDF::Reader::Font
Class PDF::Reader::InvalidObjectError
Class PDF::Reader::MalformedPDFError
Class PDF::Reader::Parser
Class PDF::Reader::PrintReceiver
Class PDF::Reader::Reference
Class PDF::Reader::RegisterReceiver
Class PDF::Reader::Stream
Class PDF::Reader::TextReceiver
Class PDF::Reader::Token
Class PDF::Reader::UnsupportedFeatureError
Class PDF::Reader::XRef

### Public Class methods

file(name, receiver, opts = {})

Parse the file with the given name, sending events to the given receiver.

object_file(name, id, gen)
object_string(name, id, gen)
string(str, receiver, opts = {})

Parse the given string, sending events to the given receiver.

### Public Instance methods

object(io, id, gen)

Given an IO object that contains PDF data, return the contents of a single object

parse(io, receiver, opts = {})

Given an IO object that contains PDF data, parse it.

[Validate]