From 35bd8e32e584dafa9ac89685ec7efe235de9dc73 Mon Sep 17 00:00:00 2001 From: Daniel Kastl Date: Fri, 1 Dec 2023 14:51:03 +0900 Subject: [PATCH] Adds reference template (with BAsePDF) Signed-off-by: Daniel Kastl --- docs/ReferenceTemplate.json | 275 ++++++++++++++++++++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 docs/ReferenceTemplate.json diff --git a/docs/ReferenceTemplate.json b/docs/ReferenceTemplate.json new file mode 100644 index 0000000..bb947b6 --- /dev/null +++ b/docs/ReferenceTemplate.json @@ -0,0 +1,275 @@ +{ + "basePdf": "data:application/pdf;base64,JVBERi0xLjcKJeLjz9MKNSAwIG9iago8PAovRmlsdGVyIC9GbGF0ZURlY29kZQovTGVuZ3RoIDM4Cj4+CnN0cmVhbQp4nCvkMlAwUDC1NNUzMVGwMDHUszRSKErlCtfiyuMK5AIAXQ8GCgplbmRzdHJlYW0KZW5kb2JqCjQgMCBvYmoKPDwKL1R5cGUgL1BhZ2UKL01lZGlhQm94IFswIDAgNTk1LjQ0IDg0MS45Ml0KL1Jlc291cmNlcyA8PAo+PgovQ29udGVudHMgNSAwIFIKL1BhcmVudCAyIDAgUgo+PgplbmRvYmoKMiAwIG9iago8PAovVHlwZSAvUGFnZXMKL0tpZHMgWzQgMCBSXQovQ291bnQgMQo+PgplbmRvYmoKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjMgMCBvYmoKPDwKL3RyYXBwZWQgKGZhbHNlKQovQ3JlYXRvciAoU2VyaWYgQWZmaW5pdHkgRGVzaWduZXIgMS4xMC40KQovVGl0bGUgKFVudGl0bGVkLnBkZikKL0NyZWF0aW9uRGF0ZSAoRDoyMDIyMDEwNjE0MDg1OCswOScwMCcpCi9Qcm9kdWNlciAoaUxvdmVQREYpCi9Nb2REYXRlIChEOjIwMjIwMTA2MDUwOTA5WikKPj4KZW5kb2JqCjYgMCBvYmoKPDwKL1NpemUgNwovUm9vdCAxIDAgUgovSW5mbyAzIDAgUgovSUQgWzwyODhCM0VENTAyOEU0MDcyNERBNzNCOUE0Nzk4OUEwQT4gPEY1RkJGNjg4NkVERDZBQUNBNDRCNEZDRjBBRDUxRDlDPl0KL1R5cGUgL1hSZWYKL1cgWzEgMiAyXQovRmlsdGVyIC9GbGF0ZURlY29kZQovSW5kZXggWzAgN10KL0xlbmd0aCAzNgo+PgpzdHJlYW0KeJxjYGD4/5+RUZmBgZHhFZBgDAGxakAEP5BgEmFgAABlRwQJCmVuZHN0cmVhbQplbmRvYmoKc3RhcnR4cmVmCjUzMgolJUVPRgo=", + "schemas": [ + { + "$(standard#closed_on)#0b1a": { + "type": "text", + "position": { + "x": 73.25, + "y": 45.77 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#updated_on)#ca96": { + "type": "text", + "position": { + "x": 73.25, + "y": 58.11 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#created_on)#83d2": { + "type": "text", + "position": { + "x": 73.25, + "y": 70.45 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#total_spent_hours)#32c2": { + "type": "text", + "position": { + "x": 73.25, + "y": 82.78 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#spent_hours)#4995": { + "type": "text", + "position": { + "x": 73.25, + "y": 95.12 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#total_estimated_hours)#a814": { + "type": "text", + "position": { + "x": 73.25, + "y": 107.46 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#estimated_hours)#b8bc": { + "type": "text", + "position": { + "x": 73.25, + "y": 119.79 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#done_ratio)#ab49": { + "type": "text", + "position": { + "x": 73.25, + "y": 132.13 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#due_date)#ecc1": { + "type": "text", + "position": { + "x": 73.25, + "y": 144.47 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#start_date)#800c": { + "type": "text", + "position": { + "x": 73.25, + "y": 156.81 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#subject)#e114": { + "type": "text", + "position": { + "x": 73.25, + "y": 169.15 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#fixed_version.name)#0a2d": { + "type": "text", + "position": { + "x": 73.25, + "y": 181.48 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#category.name)#4bf9": { + "type": "text", + "position": { + "x": 73.25, + "y": 193.82 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#assigned_to.name)#5b13": { + "type": "text", + "position": { + "x": 73.25, + "y": 206.16 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#priority.name)#075f": { + "type": "text", + "position": { + "x": 73.25, + "y": 218.5 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#status.name)#a1a2": { + "type": "text", + "position": { + "x": 73.25, + "y": 230.83 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + }, + "$(standard#author.name)#1e69": { + "type": "text", + "position": { + "x": 73.25, + "y": 243.17 + }, + "width": 110, + "height": 10, + "alignment": "left", + "verticalAlignment": "middle", + "fontName": "Roboto" + } + }, + { + "$(standard#description)#62b3": { + "type": "text", + "position": { + "x": 74.51, + "y": 30.06 + }, + "width": 107.5, + "height": 232.51, + "alignment": "left", + "verticalAlignment": "top", + "fontName": "Roboto" + } + }, + {}, + {}, + { + "$(special#issue_url)#dc83": { + "type": "qrcode", + "position": { + "x": 153.75, + "y": 35.86 + }, + "width": 30, + "height": 30, + "alignment": "left", + "verticalAlignment": "middle" + }, + "$(special#issue_map)#1722": { + "type": "image", + "position": { + "x": 25.75, + "y": 70.99 + }, + "width": 158, + "height": 100, + "alignment": "left", + "verticalAlignment": "middle" + } + } + ], + "sampledata": [ + { + "$(standard#closed_on)#0b1a": "$(standard#closed_on)", + "$(standard#updated_on)#ca96": "$(standard#updated_on)", + "$(standard#created_on)#83d2": "$(standard#created_on)", + "$(standard#total_spent_hours)#32c2": "$(standard#total_spent_hours)", + "$(standard#spent_hours)#4995": "$(standard#spent_hours)", + "$(standard#total_estimated_hours)#a814": "$(standard#total_estimated_hours)", + "$(standard#estimated_hours)#b8bc": "$(standard#estimated_hours)", + "$(standard#done_ratio)#ab49": "$(standard#done_ratio)", + "$(standard#due_date)#ecc1": "$(standard#due_date)", + "$(standard#start_date)#800c": "$(standard#start_date)", + "$(standard#subject)#e114": "$(standard#subject)", + "$(standard#fixed_version.name)#0a2d": "$(standard#fixed_version.name)", + "$(standard#category.name)#4bf9": "$(standard#category.name)", + "$(standard#assigned_to.name)#5b13": "$(standard#assigned_to.name)", + "$(standard#priority.name)#075f": "$(standard#priority.name)", + "$(standard#status.name)#a1a2": "$(standard#status.name)", + "$(standard#author.name)#1e69": "$(standard#author.name)", + "$(standard#description)#62b3": "$(standard#description)", + "$(special#issue_url)#dc83": "localhost:3000", + "$(special#issue_map)#1722": "" + } + ] +}