Parent

Methods

Class/Module Index [+]

Quicksearch

Origami::PDF::Parser

Public Class Methods

new(params = {}) click to toggle source
# File lib/origami/parsers/pdf.rb, line 32
def initialize(params = {})
  options =
  {
    :password => '',            # Default password being tried when opening a protected document.
    :prompt_password => Proc.new { 
      print "Password: "
      gets.chomp 
    },                          # Callback procedure to prompt password when document is encrypted.
    :force => false             # Force PDF header detection
  }.update(params)

  super(options)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.