Module: Acrofill
- Defined in:
- lib/acrofill.rb,
lib/acrofill/form.rb,
lib/acrofill/filler.rb,
lib/acrofill/writer.rb,
lib/acrofill/metrics.rb,
lib/acrofill/version.rb,
lib/acrofill/document.rb,
lib/acrofill/template.rb,
lib/acrofill/flattener.rb,
lib/acrofill/appearance.rb,
lib/acrofill/serializer.rb
Defined Under Namespace
Modules: Metrics
Classes: Appearance, Document, Error, Filler, Flattener, Form, Serializer, StreamObject, Template, Writer
Constant Summary
collapse
- VERSION =
'0.2.0'
Class Method Summary
collapse
Class Method Details
.field_names(template) ⇒ Object
30
31
32
|
# File 'lib/acrofill.rb', line 30
def self.field_names(template)
Filler.new.field_names(template)
end
|
.fields(template) ⇒ Object
26
27
28
|
# File 'lib/acrofill.rb', line 26
def self.fields(template)
Filler.new.fields(template)
end
|
22
23
24
|
# File 'lib/acrofill.rb', line 22
def self.fill_form(template, destination, data = {}, options = {})
Filler.new.fill_form(template, destination, data, options)
end
|
.new ⇒ Object
Mirrors the PdfForms.new(pdftk_path) constructor shape.
18
19
20
|
# File 'lib/acrofill.rb', line 18
def self.new(*)
Filler.new(*)
end
|