lib/ext/pdf_forms.rb
#
# Fill form using FDF file directly
#
Fill form using FDF file directly
Fill form using FDF file directly
def pdftk_arguments(template, destination, fdf_path, flatten:)
      q_template = normalize_path(template)
      q_destination = normalize_path(destination)
      q_form_data = normalize_path(fdf_path)
      args = [q_template, "fill_form", q_form_data, "output", q_destination]
      args << "flatten" if flatten
      args
    end
def pdftk_arguments ( template , destination , fdf_path , flatten : ) q_template = normalize_path ( template ) q_destination = normalize_path ( destination ) q_form_data = normalize_path ( fdf_path ) args = [ q_template , "fill_form" , q_form_data , "output" , q_destination ] args << "flatten" if flatten args end
Fill form using FDF file directly
Fill form using FDF file directly
template
<not_specific>
destination
<not_specific>
fdf_path
<not_specific>
flatten
<not_specific>