From 44ac6a08697e635bec44a8eabf4756acbb559679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 23 Oct 2020 00:16:32 +0200 Subject: Add slightly more documentation to tidsrapport. --- module/calp/entry-points/tidsrapport.scm | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/module/calp/entry-points/tidsrapport.scm b/module/calp/entry-points/tidsrapport.scm index 1c9d78bf..86fdab18 100644 --- a/module/calp/entry-points/tidsrapport.scm +++ b/module/calp/entry-points/tidsrapport.scm @@ -1,4 +1,41 @@ +;;; Commentary: ;;; pdftk dump_data_fields to get field names (including checkbox values) +;;; Sample template file: +;; ((Text1 förnamn) +;; (Text2 efternamn) +;; (Text3 personnummer) +;; (Text4 address) +;; (Text5 postnummer) +;; (Text6 postort) +;; (Text7 medborgarskap) +;; (Text8 telefonnummer) +;; (Text9 mailaddress) +;; (Text115 institution-enhet-kurs-program) +;; (Text176 namnförtydligande) +;; ("Check Box15" har-swedbank) + +;; (groups +;; (group +;; (prefix Text) +;; (summary 16) +;; (days (- 17 47)) +;; (sum 48)) +;; (group +;; (prefix Text) +;; (summary 49) +;; (days (- 50 80)) +;; (sum 81)) +;; (group +;; (prefix Text) +;; (summary 82) +;; (days (- 83 113)) +;; (sum 114)))) + +;;; Sample from data file +;; ((förnamn "Hugo")) + +;;; Code: + (define-module (calp entry-points tidsrapport) :export (main) -- cgit v1.2.3