Class PDF::Reader::TextReceiver
In: lib/pdf/reader/text_receiver.rb
Parent: Object

An example receiver class that processes all text found in a PDF file. All text that is found will be printed to the IO object specified in the constructor.

Usage:

 receiver = PDF::Reader::TextReceiver.new($stdout)
 PDF::Reader.file("somefile.pdf", receiver)

DEPRECATED: this class was deprecated in version 0.11.0 and will

            eventually be removed

Methods

Public Class methods

Initialize with the library user‘s receiver

Public Instance methods

Called when the document parsing begins

Called when new page parsing begins

Called when the document parsing ends

Called when page parsing ends

[Validate]