Class: Pdfrb::Action::ImportData

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

Overview

ImportData — import FDF/XFDF form data. §12.7.6.4

Class Method Summary collapse

Methods inherited from Base

register_as

Class Method Details

.action_typeObject



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

def action_type; :ImportData; end

.to_pdf(file_spec:) ⇒ Object



128
129
130
# File 'lib/pdfrb/action/types.rb', line 128

def to_pdf(file_spec:)
  { S: :ImportData, F: file_spec }
end