github.com/pdfcpu/pdfcpu@v0.11.1/pkg/testdata/json/form/flow/updateFormCoreFont.json (about) 1 { 2 "paper": "A4P", 3 "crop": "10", 4 "origin": "LowerLeft", 5 "debug": false, 6 "contentBox": false, 7 "guides": false, 8 "colors": { 9 "DarkOrange": "#FF8C00" 10 }, 11 "fonts": { 12 "input": { 13 "name": "Helvetica", 14 "size": 12, 15 "col": "$DarkOrange" 16 }, 17 "label": { 18 "name": "$input" 19 } 20 }, 21 "margin": { 22 "width": 10 23 }, 24 "pages": { 25 "1": { 26 "content": { 27 "textfield": [ 28 { 29 "hide": false, 30 "id": "newtf", 31 "value": "content", 32 "tip": "New Field", 33 "tab": 9, 34 "pos": [ 35 320, 36 495 37 ], 38 "width": 200, 39 "align": "left", 40 "border": { 41 "width": 1, 42 "col": "Gray" 43 }, 44 "label": { 45 "value": "New Field:", 46 "width": 80, 47 "gap": 10, 48 "align": "right", 49 "pos": "left" 50 } 51 } 52 ], 53 "datefield": [ 54 { 55 "hide": false, 56 "id": "newdf", 57 "tab": 10, 58 "pos": [ 59 320, 60 475 61 ], 62 "width": 70, 63 "format": "dd.mm.yyyy", 64 "border": { 65 "width": 1, 66 "col": "Gray" 67 }, 68 "label": { 69 "value": "New date:", 70 "width": 80, 71 "gap": 10, 72 "align": "right", 73 "pos": "left" 74 } 75 } 76 ], 77 "radiobuttongroup": [ 78 { 79 "hide": false, 80 "id": "newrbg", 81 "tip": "Color", 82 "tab": 11, 83 "orientation": "hor", 84 "pos": [ 85 320, 86 457 87 ], 88 "width": 12, 89 "buttons": { 90 "values": [ 91 "white", 92 "gray", 93 "black" 94 ], 95 "label": { 96 "value": "dummy", 97 "width": 50, 98 "gap": 10, 99 "pos": "right" 100 } 101 }, 102 "label": { 103 "value": "color:", 104 "width": 80, 105 "gap": 10, 106 "align": "right", 107 "pos": "left" 108 } 109 } 110 ], 111 "listbox": [ 112 { 113 "hide": false, 114 "id": "newlb", 115 "tip": "Item", 116 "tab": 12, 117 "value": "Item2", 118 "options": [ 119 "Item1", 120 "Item2", 121 "Item3" 122 ], 123 "multi": false, 124 "pos": [ 125 320, 126 405 127 ], 128 "width": 200, 129 "height": 44, 130 "border": { 131 "width": 1, 132 "col": "Gray" 133 }, 134 "label": { 135 "value": "Item:", 136 "width": 80, 137 "gap": 10, 138 "align": "right", 139 "pos": "left" 140 } 141 } 142 ], 143 "combobox": [ 144 { 145 "hide": false, 146 "id": "newcb", 147 "tip": "Number", 148 "tab": 13, 149 "options": [ 150 "1", 151 "2", 152 "3" 153 ], 154 "edit": false, 155 "pos": [ 156 320, 157 380 158 ], 159 "width": 200, 160 "border": { 161 "width": 1, 162 "col": "Gray" 163 }, 164 "label": { 165 "value": "Number:", 166 "width": 80, 167 "gap": 10, 168 "align": "right", 169 "pos": "left" 170 } 171 } 172 ], 173 "checkbox": [ 174 { 175 "hide": false, 176 "id": "newCheckbox", 177 "tip": "OK", 178 "tab": 14, 179 "value": false, 180 "pos": [ 181 320, 182 365 183 ], 184 "width": 12, 185 "label": { 186 "value": "OK", 187 "width": 80, 188 "gap": 10, 189 "align": "right", 190 "pos": "left" 191 } 192 } 193 ] 194 } 195 } 196 } 197 }