Class: Pdfrb::Action::ResetForm
Overview
ResetForm — reset form fields to defaults. §12.7.6.3
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.action_type ⇒ Object
87 |
# File 'lib/pdfrb/action/types.rb', line 87 def action_type; :ResetForm; end |
.to_pdf(fields: nil, flags: 0) ⇒ Object
89 90 91 92 93 |
# File 'lib/pdfrb/action/types.rb', line 89 def to_pdf(fields: nil, flags: 0) payload = { S: :ResetForm, Flags: flags } payload[:Fields] = fields if fields payload end |