Class: Pdfrb::Action::JavaScript
Overview
JavaScript — execute JavaScript. §12.6.4.16 NOTE: PDF/A prohibits this; included for completeness.
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.action_type ⇒ Object
102 |
# File 'lib/pdfrb/action/types.rb', line 102 def action_type; :JavaScript; end |
.to_pdf(script:) ⇒ Object
104 105 106 |
# File 'lib/pdfrb/action/types.rb', line 104 def to_pdf(script:) { S: :JavaScript, JS: script } end |