Class: Pdfrb::Action::SubmitForm

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/action/types.rb

Overview

SubmitForm — submit form data to a URL. §12.7.6.2

Class Method Summary collapse

Methods inherited from Base

register_as

Class Method Details

.action_typeObject



75
# File 'lib/pdfrb/action/types.rb', line 75

def action_type; :SubmitForm; end

.to_pdf(url:, flags: 0) ⇒ Object



77
78
79
# File 'lib/pdfrb/action/types.rb', line 77

def to_pdf(url:, flags: 0)
  { S: :SubmitForm, F: url, Flags: flags }
end