Fill PDF Forms
A library to programatically identify and fill out PDF forms.
WARNING: This is a fork of the original "pdf_form" crate made by jsandler18, including all improvements made by malte-v.
Example Code
Read a PDF and discover the form fields
extern crate pdf_form;
use ;
// Load the pdf into a form from a path
let form = load.unwrap;
// Get all types of the form fields (e.g. Text, Radio, etc) in a Vector
let field_types = form.get_all_types;
// Print the types
for type in field_types ;
Write to the form fields
extern crate pdf_form;
use ;
// Load the pdf into a form from a path
let mut form = load.unwrap;
form.set_text;
form.save;