blob: 21d160fd20f09742a78060f858c18f6b6f3fd426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
'\" t
.\" Title: formurapid
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 04/17/2021
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "FORMURAPID" "1" "04/17/2021" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
formurapid \- Fill in a PDF form using a text file
.SH "SYNOPSIS"
.sp
\fIformurapid\fR [options] (\-\-generate | \-\-fill) \fIpdf_file\fR
.SH "DESCRIPTION"
.sp
Fill in a PDF form based on the values in a TOML text file\&. This allows the values to be saved and reused\&. The TOML file can also be manipulated by external programs to calculate or fill in values in an interoperable format without having to directly manipulate the PDF\&.
.sp
First, generate the TOML file with:
.sp
.if n \{\
.RS 4
.\}
.nf
$ formurapid \-\-generate a\-form\&.pdf
.fi
.if n \{\
.RE
.\}
.sp
This will produce two files: \fIa\-form\-ids\&.pdf\fR and \fIa\-form\&.toml\fR\&. The IDs PDF includes text fields filled in with their corresponding ID\&. The TOML file associates values with field IDs\&.
.sp
Once the TOML file is generated and stored in the same directory as \fIa\-form\&.pdf\fR, the form can be filled in with:
.sp
.if n \{\
.RS 4
.\}
.nf
$ formurapid \-\-fill a\-form\&.pdf
.fi
.if n \{\
.RE
.\}
.sp
The above command generates a file \fIa\-form\-filled\&.pdf\fR, a version of \fIa\-form\&.pdf\fR with form fields filled using the values in \fIa\-form\&.toml\fR\&.
.SH "OPTIONS"
.PP
\-\-fill
.RS 4
Fill in the input form based on a TOML file with the same file name stem in the same directory\&. The TOML file is generated with the
\fI\-\-generate\fR
argument\&.
.RE
.PP
\-\-generate
.RS 4
Generate a TOML file to fill in the form as well as a copy of the PDF with IDs filled into the text fields\&.
.RE
.PP
\-h, \-\-help
.RS 4
Print usage help\&.
.RE
.PP
\-V, \-\-version
.RS 4
Print the program version\&.
.RE
|