Commit graph

190 commits

Author SHA1 Message Date
Bela
5017068b85 sort commands by priority 2018-03-15 13:34:32 +01:00
Bela
ffe9e270c2 ignore copyright warning 2018-03-15 13:34:03 +01:00
Bela
18c40f5ebe fix: KeyError 2018-03-15 13:33:46 +01:00
Bela
3b21b9d21a introduced Command Choice for Buttons 2018-03-15 13:32:42 +01:00
Bela
7e0b59204e in command Question empty answers are handled (now really)
A completely empty answer meens no input. Just a whitespace (Constant EMPTY) meens an empty string as input.
2018-03-15 13:32:17 +01:00
Bela
4c1bcffa1f in Command Default missing values from variables admit a warning message but no error 2018-03-15 13:31:37 +01:00
Bela
f94425c241 in command Question empty answers are handled
A completely empty answer meens no input. Just a whitespace (Constant EMPTY) meens an empty string as input.
2018-03-15 13:30:37 +01:00
Bela
158863e81a evaluation of conditions for commands 2018-03-15 13:29:33 +01:00
Bela
a2e7ce44f3 there can be several commands of the same kind for one field 2018-03-15 13:29:07 +01:00
Bela
102dec2dc6 command Default 2018-03-14 18:32:40 +01:00
Bela
4379a5e929 fix list info recognition 2018-03-14 18:29:27 +01:00
Bela
1ff1bacee7 argument form for output form file added 2018-03-14 18:28:48 +01:00
Bela
6f49b25ded Command: Variable replacement with errors or default in case of missing value 2018-03-14 18:27:46 +01:00
Bela
e36784f424 fields that can appear sevaral times are now stored in the util class MobileRegex in readformdata 2018-03-13 16:22:51 +01:00
Bela
ac117621d7 tiny fix 2018-03-12 17:11:06 +01:00
Bela
9566b3f8a2 data file input changed: each needs the ref which appears in config file in variables, --data can be specified several times now 2018-03-12 17:10:46 +01:00
Bela
aae4a29b0e several small fixes & write data to some form file (argument for that, missing: default) 2018-02-22 21:58:59 +01:00
Bela
d1cff966ea fill pdf with data implemented 2018-02-22 21:58:16 +01:00
Bela
debe75e11e put writing fields into a function 2018-02-22 21:56:21 +01:00
Bela
9b07ca5b7b for testing some lines 2018-02-21 22:36:45 +01:00
Bela
a10b74253b argparse: added file existing check plus add defaults 2018-02-21 22:36:32 +01:00
Bela
e2d9da9c42 fillform executable 2018-02-21 22:34:00 +01:00
Bela
c27cae616e add typical iteration for formfield. TODO: make this standard and update all use cases 2018-02-21 22:33:25 +01:00
Bela
2aded0f088 extract Commands from FormField infos 2018-02-21 22:32:45 +01:00
Bela
3fcd5ef416 cosmetic changes to doc of Question 2018-02-21 22:32:24 +01:00
Bela
7dd823220b start fillform with argument parsing 2018-02-16 13:43:34 +01:00
Bela
3bd1bc6945 a beginning of commands, should be sufficiant for first tests 2018-02-16 13:14:06 +01:00
Bela
3c836c4f29 add search in FormField lists for FieldName 2018-02-16 13:13:38 +01:00
Bela
dd8ea4088e add CONSTANTS for config file and ConfigError 2018-02-16 13:13:15 +01:00
Bela
711a74f0da add Constant SUBINFO_SEP 2018-02-16 13:12:44 +01:00
Bela
0520c310e8 restructering: FormField on its own while reading/ writing config data in readformdata.py 2018-02-15 21:43:25 +01:00
Bela
90eb325464 ignore pycache 2018-02-15 21:42:50 +01:00
Bela
9b2bc16c8a fix umlaut handling 2018-02-15 20:41:35 +01:00
Bela
836c02060f remove debug prints 2018-02-15 10:39:04 +01:00
Bela
7aba4b6ffe total refactoring of identify, userinput is not different from pdf data 2018-02-15 01:02:05 +01:00
Bela
cc6b60884f ignore rope stuff: python help 2018-02-15 01:01:11 +01:00
Bela
7d4a664dbc todo: evince richtig nutzen 2018-02-08 11:10:40 +01:00
Bela
15f7cef715 add class FormField with user input for basic information 2018-02-08 11:08:38 +01:00
Bela
af3bd3932f read form fields from pdftk output 2018-02-07 16:27:15 +01:00
Bela
dc3ca010de erste Informationssammlung 2018-02-07 14:22:32 +01:00