thinreports 0.8.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CONTRIBUTING.md +2 -0
- data/.travis.yml +3 -3
- data/CHANGELOG.md +98 -1
- data/README.md +0 -9
- data/Rakefile +1 -2
- data/examples/character_spacing/character_spacing.tlf +293 -1
- data/examples/dynamic_image/dynamic_image.tlf +661 -1
- data/examples/dynamic_style/dynamic_style.rb +4 -4
- data/examples/dynamic_style/dynamic_style.tlf +1835 -1
- data/examples/dynamic_style/dynamic_style_in_list.tlf +344 -1
- data/examples/eudc/eudc.tlf +180 -1
- data/examples/hidden_shapes/hidden_shapes.tlf +449 -1
- data/examples/list_events/list_events.rb +1 -28
- data/examples/list_events/list_events.tlf +361 -0
- data/examples/list_manual_generation/list_manual_generation.tlf +132 -1
- data/examples/list_page_number/list_page_number.tlf +254 -1
- data/examples/page_number/page_number.tlf +215 -1
- data/examples/palleted_png/palleted_png.rb +2 -0
- data/examples/palleted_png/palleted_png.tlf +47 -1
- data/examples/password_setting/password_setting.tlf +45 -1
- data/examples/report_callbacks/report_callbacks.rb +1 -18
- data/examples/report_callbacks/report_callbacks.tlf +147 -1
- data/examples/single_line_tblock/single_line_tblock.tlf +170 -1
- data/examples/tblock_overflow/tblock_overflow.tlf +538 -1
- data/examples/tblock_styles/font_size.tlf +383 -1
- data/examples/tblock_styles/tblock_styles.tlf +889 -1
- data/examples/text_align/text_align.tlf +241 -1
- data/examples/typeB_page_size/B4_ISO.tlf +45 -1
- data/examples/typeB_page_size/B4_JIS.tlf +45 -1
- data/examples/word_wrap/word_wrap.tlf +297 -1
- data/lib/thinreports.rb +0 -1
- data/lib/thinreports/config.rb +3 -0
- data/lib/thinreports/core/errors.rb +0 -3
- data/lib/thinreports/core/format/base.rb +4 -4
- data/lib/thinreports/core/shape.rb +1 -9
- data/lib/thinreports/core/shape/basic.rb +3 -3
- data/lib/thinreports/core/shape/basic/block_format.rb +1 -1
- data/lib/thinreports/core/shape/basic/format.rb +2 -14
- data/lib/thinreports/core/shape/basic/internal.rb +2 -2
- data/lib/thinreports/core/shape/image_block.rb +3 -3
- data/lib/thinreports/core/shape/image_block/format.rb +0 -2
- data/lib/thinreports/core/shape/image_block/internal.rb +1 -1
- data/lib/thinreports/core/shape/list.rb +3 -7
- data/lib/thinreports/core/shape/list/format.rb +37 -24
- data/lib/thinreports/core/shape/list/manager.rb +1 -36
- data/lib/thinreports/core/shape/list/page.rb +0 -15
- data/lib/thinreports/core/shape/list/page_state.rb +1 -1
- data/lib/thinreports/core/shape/list/section_format.rb +14 -12
- data/lib/thinreports/core/shape/list/section_internal.rb +4 -7
- data/lib/thinreports/core/shape/manager/format.rb +0 -2
- data/lib/thinreports/core/shape/manager/internal.rb +1 -1
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/page_number/format.rb +9 -6
- data/lib/thinreports/core/shape/page_number/interface.rb +1 -1
- data/lib/thinreports/core/shape/page_number/internal.rb +2 -6
- data/lib/thinreports/core/shape/style/base.rb +11 -13
- data/lib/thinreports/core/shape/style/basic.rb +4 -4
- data/lib/thinreports/core/shape/style/graphic.rb +4 -10
- data/lib/thinreports/core/shape/style/text.rb +36 -69
- data/lib/thinreports/core/shape/text.rb +3 -3
- data/lib/thinreports/core/shape/text/format.rb +3 -13
- data/lib/thinreports/core/shape/text/internal.rb +2 -2
- data/lib/thinreports/core/shape/text_block.rb +3 -3
- data/lib/thinreports/core/shape/text_block/format.rb +9 -6
- data/lib/thinreports/core/shape/text_block/interface.rb +7 -7
- data/lib/thinreports/core/shape/text_block/internal.rb +1 -1
- data/lib/thinreports/generator/pdf.rb +0 -1
- data/lib/thinreports/generator/pdf/document.rb +2 -2
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +25 -51
- data/lib/thinreports/generator/pdf/document/draw_template_items.rb +66 -0
- data/lib/thinreports/generator/pdf/document/font.rb +3 -8
- data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +97 -77
- data/lib/thinreports/generator/pdf/document/graphics/basic.rb +18 -13
- data/lib/thinreports/generator/pdf/document/graphics/image.rb +17 -12
- data/lib/thinreports/generator/pdf/document/page.rb +1 -1
- data/lib/thinreports/generator/pdf/drawer/list.rb +5 -1
- data/lib/thinreports/generator/pdf/drawer/list_section.rb +1 -4
- data/lib/thinreports/generator/pdf/drawer/page.rb +9 -9
- data/lib/thinreports/layout.rb +3 -3
- data/lib/thinreports/layout/base.rb +0 -16
- data/lib/thinreports/layout/format.rb +38 -57
- data/lib/thinreports/layout/legacy_schema.rb +354 -0
- data/lib/thinreports/layout/version.rb +1 -1
- data/lib/thinreports/report.rb +0 -1
- data/lib/thinreports/report/base.rb +3 -17
- data/lib/thinreports/report/internal.rb +13 -55
- data/lib/thinreports/report/page.rb +1 -1
- data/lib/thinreports/version.rb +1 -1
- data/test/data/legacy_layout/all-items.tlf +1 -0
- data/test/schema_helper.rb +121 -0
- data/test/test_helper.rb +13 -50
- data/test/unit/core/format/test_base.rb +35 -31
- data/test/unit/core/shape/base/test_internal.rb +1 -1
- data/test/unit/core/shape/basic/test_block_format.rb +23 -0
- data/test/unit/core/shape/basic/{test_basic_interface.rb → test_block_interface.rb} +1 -1
- data/test/unit/core/shape/basic/{test_basic_internal.rb → test_block_internal.rb} +4 -7
- data/test/unit/core/shape/basic/test_format.rb +25 -47
- data/test/unit/core/shape/basic/test_interface.rb +5 -5
- data/test/unit/core/shape/basic/test_internal.rb +6 -11
- data/test/unit/core/shape/image_block/test_interface.rb +5 -5
- data/test/unit/core/shape/image_block/test_internal.rb +2 -2
- data/test/unit/core/shape/list/test_format.rb +86 -44
- data/test/unit/core/shape/list/test_manager.rb +10 -65
- data/test/unit/core/shape/list/test_page.rb +10 -61
- data/test/unit/core/shape/list/test_page_state.rb +1 -1
- data/test/unit/core/shape/list/test_section_format.rb +19 -28
- data/test/unit/core/shape/list/test_section_interface.rb +14 -6
- data/test/unit/core/shape/list/test_section_internal.rb +17 -23
- data/test/unit/core/shape/manager/test_format.rb +1 -1
- data/test/unit/core/shape/manager/test_internal.rb +59 -98
- data/test/unit/core/shape/manager/test_target.rb +21 -30
- data/test/unit/core/shape/page_number/test_format.rb +34 -52
- data/test/unit/core/shape/page_number/test_interface.rb +1 -1
- data/test/unit/core/shape/page_number/test_internal.rb +2 -2
- data/test/unit/core/shape/styles/test_base.rb +16 -41
- data/test/unit/core/shape/styles/test_basic.rb +7 -7
- data/test/unit/core/shape/styles/test_graphic.rb +27 -32
- data/test/unit/core/shape/styles/test_text.rb +68 -311
- data/test/unit/core/shape/text/test_format.rb +30 -59
- data/test/unit/core/shape/text/test_internal.rb +5 -5
- data/test/unit/core/shape/text_block/formatter/test_datetime.rb +13 -13
- data/test/unit/core/shape/text_block/test_format.rb +145 -146
- data/test/unit/core/shape/text_block/test_interface.rb +9 -9
- data/test/unit/core/shape/text_block/test_internal.rb +9 -9
- data/test/unit/core/test_shape.rb +19 -31
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +112 -122
- data/test/unit/generator/pdf/document/graphics/test_basic.rb +45 -0
- data/test/unit/generator/pdf/document/graphics/test_image.rb +5 -5
- data/test/unit/generator/pdf/document/test_font.rb +4 -10
- data/test/unit/generator/pdf/document/test_page.rb +13 -11
- data/test/unit/generator/pdf/document/test_parse_color.rb +5 -5
- data/test/unit/generator/test_base.rb +5 -5
- data/test/unit/generator/test_configuration.rb +4 -8
- data/test/unit/generator/test_pdf.rb +3 -2
- data/test/unit/layout/test_base.rb +16 -22
- data/test/unit/layout/test_format.rb +66 -86
- data/test/unit/layout/test_legacy_schema.rb +587 -0
- data/test/unit/layout/test_version.rb +20 -20
- data/test/unit/report/test_base.rb +32 -45
- data/test/unit/report/test_internal.rb +43 -99
- data/test/unit/test_config.rb +4 -2
- data/test/unit/test_layout.rb +1 -1
- metadata +20 -48
- data/examples/list_events/list_events_0_7_7.tlf +0 -1
- data/examples/list_events/list_events_0_8.tlf +0 -1
- data/lib/thinreports/core/events.rb +0 -69
- data/lib/thinreports/core/format/builder.rb +0 -62
- data/lib/thinreports/core/shape/list/configuration.rb +0 -54
- data/lib/thinreports/core/shape/list/events.rb +0 -47
- data/lib/thinreports/core/shape/list/store.rb +0 -33
- data/lib/thinreports/generator/pdf/configuration.rb +0 -33
- data/lib/thinreports/generator/pdf/document/parse_svg.rb +0 -104
- data/lib/thinreports/layout/configuration.rb +0 -29
- data/test/data/layout_block.tlf +0 -1
- data/test/data/layout_list.tlf +0 -1
- data/test/data/layout_list_noheader.tlf +0 -1
- data/test/data/layout_text1.tlf +0 -1
- data/test/data/layout_text2.tlf +0 -1
- data/test/unit/core/format/test_builder.rb +0 -109
- data/test/unit/core/shape/basic/test_basic_format.rb +0 -30
- data/test/unit/core/shape/image_block/test_format.rb +0 -58
- data/test/unit/core/shape/list/test_configuration.rb +0 -69
- data/test/unit/core/shape/list/test_events.rb +0 -36
- data/test/unit/core/shape/list/test_store.rb +0 -41
- data/test/unit/core/test_events.rb +0 -93
- data/test/unit/generator/pdf/document/test_draw_shape.rb +0 -44
- data/test/unit/generator/pdf/test_configuration.rb +0 -31
- data/test/unit/layout/test_configuration.rb +0 -21
- data/test/unit/report/test_events.rb +0 -22
@@ -0,0 +1,361 @@
|
|
1
|
+
{
|
2
|
+
"version": "0.9.0",
|
3
|
+
"items": [
|
4
|
+
{
|
5
|
+
"id": "default",
|
6
|
+
"type": "list",
|
7
|
+
"display": true,
|
8
|
+
"description": "",
|
9
|
+
"x": 20,
|
10
|
+
"y": 103,
|
11
|
+
"width": 555.2,
|
12
|
+
"height": 300,
|
13
|
+
"header": {
|
14
|
+
"enabled": true,
|
15
|
+
"height": 50,
|
16
|
+
"translate": {
|
17
|
+
"x": 0,
|
18
|
+
"y": -61.1
|
19
|
+
},
|
20
|
+
"items": [
|
21
|
+
{
|
22
|
+
"id": "",
|
23
|
+
"type": "line",
|
24
|
+
"display": true,
|
25
|
+
"description": "",
|
26
|
+
"style": {
|
27
|
+
"border-color": "#000000",
|
28
|
+
"border-width": 1,
|
29
|
+
"border-style": "solid"
|
30
|
+
},
|
31
|
+
"x1": 20,
|
32
|
+
"y1": 214.1,
|
33
|
+
"x2": 575.2,
|
34
|
+
"y2": 214.1
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": "title",
|
38
|
+
"type": "text-block",
|
39
|
+
"display": true,
|
40
|
+
"description": "",
|
41
|
+
"x": 169.2,
|
42
|
+
"y": 180.1,
|
43
|
+
"width": 249,
|
44
|
+
"height": 18,
|
45
|
+
"style": {
|
46
|
+
"font-family": [
|
47
|
+
"Helvetica"
|
48
|
+
],
|
49
|
+
"font-size": 18,
|
50
|
+
"color": "#000000",
|
51
|
+
"text-align": "center",
|
52
|
+
"vertical-align": "top",
|
53
|
+
"line-height": "",
|
54
|
+
"line-height-ratio": "",
|
55
|
+
"letter-spacing": "",
|
56
|
+
"font-style": [],
|
57
|
+
"overflow": "truncate",
|
58
|
+
"word-wrap": "break-word"
|
59
|
+
},
|
60
|
+
"reference-id": "",
|
61
|
+
"value": "",
|
62
|
+
"multiple-line": false,
|
63
|
+
"format": {
|
64
|
+
"base": "",
|
65
|
+
"type": ""
|
66
|
+
}
|
67
|
+
}
|
68
|
+
]
|
69
|
+
},
|
70
|
+
"detail": {
|
71
|
+
"height": 50,
|
72
|
+
"translate": {
|
73
|
+
"x": 0,
|
74
|
+
"y": -86.5
|
75
|
+
},
|
76
|
+
"items": [
|
77
|
+
{
|
78
|
+
"id": "price",
|
79
|
+
"type": "text-block",
|
80
|
+
"display": true,
|
81
|
+
"description": "",
|
82
|
+
"x": 169.2,
|
83
|
+
"y": 255.5,
|
84
|
+
"width": 249,
|
85
|
+
"height": 18,
|
86
|
+
"style": {
|
87
|
+
"font-family": [
|
88
|
+
"Helvetica"
|
89
|
+
],
|
90
|
+
"font-size": 18,
|
91
|
+
"color": "#000000",
|
92
|
+
"text-align": "right",
|
93
|
+
"vertical-align": "top",
|
94
|
+
"line-height": "",
|
95
|
+
"line-height-ratio": "",
|
96
|
+
"letter-spacing": "",
|
97
|
+
"font-style": [],
|
98
|
+
"overflow": "truncate",
|
99
|
+
"word-wrap": "break-word"
|
100
|
+
},
|
101
|
+
"reference-id": "",
|
102
|
+
"value": "",
|
103
|
+
"multiple-line": false,
|
104
|
+
"format": {
|
105
|
+
"base": "",
|
106
|
+
"type": "number",
|
107
|
+
"number": {
|
108
|
+
"delimiter": ",",
|
109
|
+
"precision": 0
|
110
|
+
}
|
111
|
+
}
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"id": "",
|
115
|
+
"type": "line",
|
116
|
+
"display": true,
|
117
|
+
"description": "",
|
118
|
+
"style": {
|
119
|
+
"border-color": "#000000",
|
120
|
+
"border-width": 1,
|
121
|
+
"border-style": "solid"
|
122
|
+
},
|
123
|
+
"x1": 20,
|
124
|
+
"y1": 289.5,
|
125
|
+
"x2": 575.2,
|
126
|
+
"y2": 289.5
|
127
|
+
}
|
128
|
+
]
|
129
|
+
},
|
130
|
+
"page-footer": {
|
131
|
+
"enabled": true,
|
132
|
+
"height": 50,
|
133
|
+
"translate": {
|
134
|
+
"x": 0,
|
135
|
+
"y": -111.9
|
136
|
+
},
|
137
|
+
"items": [
|
138
|
+
{
|
139
|
+
"id": "price",
|
140
|
+
"type": "text-block",
|
141
|
+
"display": true,
|
142
|
+
"description": "",
|
143
|
+
"x": 169.2,
|
144
|
+
"y": 330.9,
|
145
|
+
"width": 249,
|
146
|
+
"height": 18,
|
147
|
+
"style": {
|
148
|
+
"font-family": [
|
149
|
+
"Helvetica"
|
150
|
+
],
|
151
|
+
"font-size": 18,
|
152
|
+
"color": "#000000",
|
153
|
+
"text-align": "right",
|
154
|
+
"vertical-align": "top",
|
155
|
+
"line-height": "",
|
156
|
+
"line-height-ratio": "",
|
157
|
+
"letter-spacing": "",
|
158
|
+
"font-style": [],
|
159
|
+
"overflow": "truncate",
|
160
|
+
"word-wrap": "break-word"
|
161
|
+
},
|
162
|
+
"reference-id": "",
|
163
|
+
"value": "",
|
164
|
+
"multiple-line": false,
|
165
|
+
"format": {
|
166
|
+
"base": "",
|
167
|
+
"type": "number",
|
168
|
+
"number": {
|
169
|
+
"delimiter": ",",
|
170
|
+
"precision": 0
|
171
|
+
}
|
172
|
+
}
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"id": "",
|
176
|
+
"type": "line",
|
177
|
+
"display": true,
|
178
|
+
"description": "",
|
179
|
+
"style": {
|
180
|
+
"border-color": "#000000",
|
181
|
+
"border-width": 1,
|
182
|
+
"border-style": "solid"
|
183
|
+
},
|
184
|
+
"x1": 20,
|
185
|
+
"y1": 364.9,
|
186
|
+
"x2": 575.2,
|
187
|
+
"y2": 364.9
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"id": "",
|
191
|
+
"type": "text",
|
192
|
+
"display": true,
|
193
|
+
"description": "",
|
194
|
+
"x": 74.1,
|
195
|
+
"y": 332.9,
|
196
|
+
"width": 77.4,
|
197
|
+
"height": 18.5,
|
198
|
+
"style": {
|
199
|
+
"font-family": [
|
200
|
+
"Helvetica"
|
201
|
+
],
|
202
|
+
"font-size": 16,
|
203
|
+
"color": "#000000",
|
204
|
+
"text-align": "right",
|
205
|
+
"vertical-align": "top",
|
206
|
+
"line-height": "",
|
207
|
+
"line-height-ratio": "",
|
208
|
+
"letter-spacing": "",
|
209
|
+
"font-style": []
|
210
|
+
},
|
211
|
+
"texts": [
|
212
|
+
"Page Total"
|
213
|
+
]
|
214
|
+
}
|
215
|
+
]
|
216
|
+
},
|
217
|
+
"footer": {
|
218
|
+
"enabled": true,
|
219
|
+
"height": 50,
|
220
|
+
"translate": {
|
221
|
+
"x": 0,
|
222
|
+
"y": -118.5
|
223
|
+
},
|
224
|
+
"items": [
|
225
|
+
{
|
226
|
+
"id": "",
|
227
|
+
"type": "line",
|
228
|
+
"display": true,
|
229
|
+
"description": "",
|
230
|
+
"style": {
|
231
|
+
"border-color": "#000000",
|
232
|
+
"border-width": 1,
|
233
|
+
"border-style": "solid"
|
234
|
+
},
|
235
|
+
"x1": 20,
|
236
|
+
"y1": 421.5,
|
237
|
+
"x2": 575.2,
|
238
|
+
"y2": 421.5
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"id": "price",
|
242
|
+
"type": "text-block",
|
243
|
+
"display": true,
|
244
|
+
"description": "",
|
245
|
+
"x": 169.2,
|
246
|
+
"y": 387.5,
|
247
|
+
"width": 249,
|
248
|
+
"height": 18,
|
249
|
+
"style": {
|
250
|
+
"font-family": [
|
251
|
+
"Helvetica"
|
252
|
+
],
|
253
|
+
"font-size": 18,
|
254
|
+
"color": "#000000",
|
255
|
+
"text-align": "right",
|
256
|
+
"vertical-align": "top",
|
257
|
+
"line-height": "",
|
258
|
+
"line-height-ratio": "",
|
259
|
+
"letter-spacing": "",
|
260
|
+
"font-style": [],
|
261
|
+
"overflow": "truncate",
|
262
|
+
"word-wrap": "break-word"
|
263
|
+
},
|
264
|
+
"reference-id": "",
|
265
|
+
"value": "",
|
266
|
+
"multiple-line": false,
|
267
|
+
"format": {
|
268
|
+
"base": "",
|
269
|
+
"type": "number",
|
270
|
+
"number": {
|
271
|
+
"delimiter": ",",
|
272
|
+
"precision": 0
|
273
|
+
}
|
274
|
+
}
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"id": "",
|
278
|
+
"type": "text",
|
279
|
+
"display": true,
|
280
|
+
"description": "",
|
281
|
+
"x": 74.1,
|
282
|
+
"y": 389.5,
|
283
|
+
"width": 77.4,
|
284
|
+
"height": 18.5,
|
285
|
+
"style": {
|
286
|
+
"font-family": [
|
287
|
+
"Helvetica"
|
288
|
+
],
|
289
|
+
"font-size": 16,
|
290
|
+
"color": "#000000",
|
291
|
+
"text-align": "right",
|
292
|
+
"vertical-align": "top",
|
293
|
+
"line-height": "",
|
294
|
+
"line-height-ratio": "",
|
295
|
+
"letter-spacing": "",
|
296
|
+
"font-style": []
|
297
|
+
},
|
298
|
+
"texts": [
|
299
|
+
"Total"
|
300
|
+
]
|
301
|
+
}
|
302
|
+
]
|
303
|
+
},
|
304
|
+
"content-height": 250,
|
305
|
+
"auto-page-break": true
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"id": "",
|
309
|
+
"type": "text",
|
310
|
+
"display": true,
|
311
|
+
"description": "",
|
312
|
+
"x": 140.1,
|
313
|
+
"y": 31,
|
314
|
+
"width": 315.1,
|
315
|
+
"height": 48,
|
316
|
+
"style": {
|
317
|
+
"font-family": [
|
318
|
+
"Times New Roman"
|
319
|
+
],
|
320
|
+
"font-size": 26,
|
321
|
+
"color": "#000000",
|
322
|
+
"text-align": "center",
|
323
|
+
"vertical-align": "middle",
|
324
|
+
"line-height": "",
|
325
|
+
"line-height-ratio": "",
|
326
|
+
"letter-spacing": "",
|
327
|
+
"font-style": []
|
328
|
+
},
|
329
|
+
"texts": [
|
330
|
+
"List Events for 0.8 or higher"
|
331
|
+
]
|
332
|
+
}
|
333
|
+
],
|
334
|
+
"state": {
|
335
|
+
"layout-guides": [
|
336
|
+
{
|
337
|
+
"type": "x",
|
338
|
+
"position": 418.2
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"type": "x",
|
342
|
+
"position": 169.2
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"type": "y",
|
346
|
+
"position": 84
|
347
|
+
}
|
348
|
+
]
|
349
|
+
},
|
350
|
+
"title": "List Events",
|
351
|
+
"report": {
|
352
|
+
"paper-type": "A4",
|
353
|
+
"orientation": "portrait",
|
354
|
+
"margin": [
|
355
|
+
20,
|
356
|
+
20,
|
357
|
+
20,
|
358
|
+
20
|
359
|
+
]
|
360
|
+
}
|
361
|
+
}
|
@@ -1 +1,132 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": "0.9.0",
|
3
|
+
"items": [
|
4
|
+
{
|
5
|
+
"id": "default",
|
6
|
+
"type": "list",
|
7
|
+
"display": true,
|
8
|
+
"description": "",
|
9
|
+
"x": 20,
|
10
|
+
"y": 22,
|
11
|
+
"width": 555.2,
|
12
|
+
"height": 320.1,
|
13
|
+
"header": {
|
14
|
+
"enabled": true,
|
15
|
+
"height": 46.3,
|
16
|
+
"translate": {
|
17
|
+
"x": 0,
|
18
|
+
"y": -35
|
19
|
+
},
|
20
|
+
"items": [
|
21
|
+
{
|
22
|
+
"id": "header",
|
23
|
+
"type": "text-block",
|
24
|
+
"display": true,
|
25
|
+
"description": "",
|
26
|
+
"x": 160.6,
|
27
|
+
"y": 62,
|
28
|
+
"width": 274.1,
|
29
|
+
"height": 36,
|
30
|
+
"style": {
|
31
|
+
"font-family": [
|
32
|
+
"Helvetica"
|
33
|
+
],
|
34
|
+
"font-size": 36,
|
35
|
+
"color": "#000000",
|
36
|
+
"text-align": "center",
|
37
|
+
"vertical-align": "top",
|
38
|
+
"line-height": "",
|
39
|
+
"line-height-ratio": "",
|
40
|
+
"letter-spacing": "",
|
41
|
+
"font-style": [],
|
42
|
+
"overflow": "truncate",
|
43
|
+
"word-wrap": "break-word"
|
44
|
+
},
|
45
|
+
"reference-id": "",
|
46
|
+
"value": "",
|
47
|
+
"multiple-line": false,
|
48
|
+
"format": {
|
49
|
+
"base": "Header#{value}",
|
50
|
+
"type": ""
|
51
|
+
}
|
52
|
+
}
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"detail": {
|
56
|
+
"height": 57.7,
|
57
|
+
"translate": {
|
58
|
+
"x": 0,
|
59
|
+
"y": -45.3
|
60
|
+
},
|
61
|
+
"items": [
|
62
|
+
{
|
63
|
+
"id": "detail",
|
64
|
+
"type": "text-block",
|
65
|
+
"display": true,
|
66
|
+
"description": "",
|
67
|
+
"x": 211.4,
|
68
|
+
"y": 124.5,
|
69
|
+
"width": 172.5,
|
70
|
+
"height": 36,
|
71
|
+
"style": {
|
72
|
+
"font-family": [
|
73
|
+
"Helvetica"
|
74
|
+
],
|
75
|
+
"font-size": 36,
|
76
|
+
"color": "#000000",
|
77
|
+
"text-align": "center",
|
78
|
+
"vertical-align": "top",
|
79
|
+
"line-height": "",
|
80
|
+
"line-height-ratio": "",
|
81
|
+
"letter-spacing": "",
|
82
|
+
"font-style": [],
|
83
|
+
"overflow": "truncate",
|
84
|
+
"word-wrap": "break-word"
|
85
|
+
},
|
86
|
+
"reference-id": "",
|
87
|
+
"value": "",
|
88
|
+
"multiple-line": false,
|
89
|
+
"format": {
|
90
|
+
"base": "Detail#{value}",
|
91
|
+
"type": ""
|
92
|
+
}
|
93
|
+
}
|
94
|
+
]
|
95
|
+
},
|
96
|
+
"page-footer": {
|
97
|
+
"enabled": false,
|
98
|
+
"height": 0,
|
99
|
+
"translate": {
|
100
|
+
"x": 0,
|
101
|
+
"y": -44.2
|
102
|
+
},
|
103
|
+
"items": []
|
104
|
+
},
|
105
|
+
"footer": {
|
106
|
+
"enabled": false,
|
107
|
+
"height": 0,
|
108
|
+
"translate": {
|
109
|
+
"x": 0,
|
110
|
+
"y": -86.7
|
111
|
+
},
|
112
|
+
"items": []
|
113
|
+
},
|
114
|
+
"content-height": 273.8,
|
115
|
+
"auto-page-break": false
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"state": {
|
119
|
+
"layout-guides": []
|
120
|
+
},
|
121
|
+
"title": "List Manual Generation",
|
122
|
+
"report": {
|
123
|
+
"paper-type": "A4",
|
124
|
+
"orientation": "portrait",
|
125
|
+
"margin": [
|
126
|
+
20,
|
127
|
+
20,
|
128
|
+
20,
|
129
|
+
20
|
130
|
+
]
|
131
|
+
}
|
132
|
+
}
|