thinreports 0.10.2 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CONTRIBUTING.md +2 -2
  3. data/.github/dependabot.yml +11 -0
  4. data/.github/workflows/test.yml +50 -0
  5. data/.gitignore +1 -0
  6. data/CHANGELOG.md +43 -0
  7. data/Gemfile +2 -1
  8. data/{MIT-LICENSE → LICENSE.txt} +2 -0
  9. data/README.md +70 -56
  10. data/Rakefile +12 -25
  11. data/gemfiles/prawn-2.2.gemfile +5 -0
  12. data/gemfiles/prawn-2.3.gemfile +5 -0
  13. data/gemfiles/prawn-2.4.gemfile +5 -0
  14. data/lib/thinreports/core/shape/basic/format.rb +5 -0
  15. data/lib/thinreports/core/shape/image_block.rb +1 -1
  16. data/lib/thinreports/core/shape/list.rb +1 -1
  17. data/lib/thinreports/core/shape/page_number.rb +1 -1
  18. data/lib/thinreports/core/shape/stack_view/format.rb +27 -0
  19. data/lib/thinreports/core/shape/stack_view/interface.rb +17 -0
  20. data/lib/thinreports/core/shape/stack_view/internal.rb +22 -0
  21. data/lib/thinreports/core/shape/stack_view/row_format.rb +39 -0
  22. data/lib/thinreports/core/shape/stack_view.rb +17 -0
  23. data/lib/thinreports/core/shape/style/basic.rb +4 -1
  24. data/lib/thinreports/core/shape/text.rb +1 -1
  25. data/lib/thinreports/core/shape/text_block/formatter/number.rb +6 -1
  26. data/lib/thinreports/core/shape/text_block/internal.rb +0 -2
  27. data/lib/thinreports/core/shape/text_block.rb +1 -1
  28. data/lib/thinreports/core/shape.rb +2 -0
  29. data/lib/thinreports/generate.rb +11 -0
  30. data/lib/thinreports/generator/pdf/document/draw_shape.rb +31 -10
  31. data/lib/thinreports/generator/pdf/document/draw_template_items.rb +1 -1
  32. data/lib/thinreports/generator/pdf/document/graphics/image.rb +19 -1
  33. data/lib/thinreports/generator/pdf/document/graphics/text.rb +10 -5
  34. data/lib/thinreports/generator/pdf/document/page.rb +12 -0
  35. data/lib/thinreports/generator/pdf/prawn_ext/width_of.rb +7 -7
  36. data/lib/thinreports/layout/base.rb +1 -1
  37. data/lib/thinreports/layout/legacy_schema.rb +1 -0
  38. data/lib/thinreports/layout/version.rb +1 -1
  39. data/lib/thinreports/report/internal.rb +2 -0
  40. data/lib/thinreports/report.rb +2 -2
  41. data/lib/thinreports/section_report/build.rb +32 -0
  42. data/lib/thinreports/section_report/builder/item_builder.rb +49 -0
  43. data/lib/thinreports/section_report/builder/report_builder.rb +82 -0
  44. data/lib/thinreports/section_report/builder/report_data.rb +13 -0
  45. data/lib/thinreports/section_report/builder/stack_view_builder.rb +53 -0
  46. data/lib/thinreports/section_report/builder/stack_view_data.rb +11 -0
  47. data/lib/thinreports/section_report/generate.rb +26 -0
  48. data/lib/thinreports/section_report/pdf/render.rb +23 -0
  49. data/lib/thinreports/section_report/pdf/renderer/draw_item.rb +68 -0
  50. data/lib/thinreports/section_report/pdf/renderer/group_renderer.rb +57 -0
  51. data/lib/thinreports/section_report/pdf/renderer/section_height.rb +100 -0
  52. data/lib/thinreports/section_report/pdf/renderer/section_renderer.rb +39 -0
  53. data/lib/thinreports/section_report/pdf/renderer/stack_view_renderer.rb +55 -0
  54. data/lib/thinreports/section_report/pdf/renderer/stack_view_row_renderer.rb +38 -0
  55. data/lib/thinreports/section_report/schema/loader.rb +28 -0
  56. data/lib/thinreports/section_report/schema/parser.rb +52 -0
  57. data/lib/thinreports/section_report/schema/report.rb +30 -0
  58. data/lib/thinreports/section_report/schema/section.rb +47 -0
  59. data/lib/thinreports/version.rb +1 -1
  60. data/lib/thinreports.rb +5 -0
  61. data/thinreports.gemspec +11 -10
  62. metadata +48 -150
  63. data/.travis.yml +0 -16
  64. data/examples/character_spacing/character_spacing.rb +0 -8
  65. data/examples/character_spacing/character_spacing.tlf +0 -293
  66. data/examples/dynamic_image/dynamic_image.rb +0 -31
  67. data/examples/dynamic_image/dynamic_image.tlf +0 -661
  68. data/examples/dynamic_image/img200x100.png +0 -0
  69. data/examples/dynamic_image/img50x50.png +0 -0
  70. data/examples/dynamic_style/dynamic_style.rb +0 -150
  71. data/examples/dynamic_style/dynamic_style.tlf +0 -1835
  72. data/examples/dynamic_style/dynamic_style_in_list.tlf +0 -344
  73. data/examples/dynamic_style/image.png +0 -0
  74. data/examples/eudc/eudc.rb +0 -20
  75. data/examples/eudc/eudc.tlf +0 -180
  76. data/examples/eudc/eudc.ttf +0 -0
  77. data/examples/helper.rb +0 -50
  78. data/examples/hidden_shapes/hidden_shapes.rb +0 -9
  79. data/examples/hidden_shapes/hidden_shapes.tlf +0 -449
  80. data/examples/list_events/list_events.rb +0 -32
  81. data/examples/list_events/list_events.tlf +0 -361
  82. data/examples/list_manual_generation/list_manual_generation.rb +0 -22
  83. data/examples/list_manual_generation/list_manual_generation.tlf +0 -132
  84. data/examples/list_page_number/list_page_number.rb +0 -17
  85. data/examples/list_page_number/list_page_number.tlf +0 -254
  86. data/examples/page_number/page_number.rb +0 -33
  87. data/examples/page_number/page_number.tlf +0 -215
  88. data/examples/palleted_png/palleted_png.png +0 -0
  89. data/examples/palleted_png/palleted_png.rb +0 -9
  90. data/examples/palleted_png/palleted_png.tlf +0 -47
  91. data/examples/password_setting/password_setting.rb +0 -10
  92. data/examples/password_setting/password_setting.tlf +0 -45
  93. data/examples/report_callbacks/report_callbacks.rb +0 -14
  94. data/examples/report_callbacks/report_callbacks.tlf +0 -147
  95. data/examples/single_line_tblock/single_line_tblock.rb +0 -13
  96. data/examples/single_line_tblock/single_line_tblock.tlf +0 -170
  97. data/examples/tblock_overflow/tblock_overflow.rb +0 -20
  98. data/examples/tblock_overflow/tblock_overflow.tlf +0 -538
  99. data/examples/tblock_styles/font_size.tlf +0 -383
  100. data/examples/tblock_styles/tblock_styles.rb +0 -43
  101. data/examples/tblock_styles/tblock_styles.tlf +0 -889
  102. data/examples/text_align/text_align.rb +0 -8
  103. data/examples/text_align/text_align.tlf +0 -241
  104. data/examples/typeB_page_size/B4_ISO.tlf +0 -45
  105. data/examples/typeB_page_size/B4_JIS.tlf +0 -45
  106. data/examples/typeB_page_size/typeB_page_size.rb +0 -17
  107. data/examples/word_wrap/word_wrap.rb +0 -26
  108. data/examples/word_wrap/word_wrap.tlf +0 -297
  109. data/test/data/font.ttf +0 -0
  110. data/test/data/image_normal.jpg +0 -0
  111. data/test/data/image_normal.png +0 -0
  112. data/test/data/image_normal_jpg_noext +0 -0
  113. data/test/data/image_normal_png_noext +0 -0
  114. data/test/data/image_pallete_based.png +0 -0
  115. data/test/data/legacy_layout/all-items.tlf +0 -1
  116. data/test/schema_helper.rb +0 -122
  117. data/test/test_helper.rb +0 -48
  118. data/test/tmp/.gitkeep +0 -0
  119. data/test/unit/core/format/test_base.rb +0 -152
  120. data/test/unit/core/shape/base/test_internal.rb +0 -87
  121. data/test/unit/core/shape/basic/test_block_format.rb +0 -23
  122. data/test/unit/core/shape/basic/test_block_interface.rb +0 -29
  123. data/test/unit/core/shape/basic/test_block_internal.rb +0 -55
  124. data/test/unit/core/shape/basic/test_format.rb +0 -37
  125. data/test/unit/core/shape/basic/test_interface.rb +0 -108
  126. data/test/unit/core/shape/basic/test_internal.rb +0 -55
  127. data/test/unit/core/shape/image_block/test_interface.rb +0 -24
  128. data/test/unit/core/shape/image_block/test_internal.rb +0 -31
  129. data/test/unit/core/shape/list/test_format.rb +0 -111
  130. data/test/unit/core/shape/list/test_manager.rb +0 -67
  131. data/test/unit/core/shape/list/test_page.rb +0 -156
  132. data/test/unit/core/shape/list/test_page_state.rb +0 -31
  133. data/test/unit/core/shape/list/test_section_format.rb +0 -36
  134. data/test/unit/core/shape/list/test_section_interface.rb +0 -75
  135. data/test/unit/core/shape/list/test_section_internal.rb +0 -50
  136. data/test/unit/core/shape/manager/test_format.rb +0 -38
  137. data/test/unit/core/shape/manager/test_internal.rb +0 -132
  138. data/test/unit/core/shape/manager/test_target.rb +0 -140
  139. data/test/unit/core/shape/page_number/test_format.rb +0 -55
  140. data/test/unit/core/shape/page_number/test_interface.rb +0 -33
  141. data/test/unit/core/shape/page_number/test_internal.rb +0 -81
  142. data/test/unit/core/shape/styles/test_base.rb +0 -191
  143. data/test/unit/core/shape/styles/test_basic.rb +0 -24
  144. data/test/unit/core/shape/styles/test_graphic.rb +0 -50
  145. data/test/unit/core/shape/styles/test_text.rb +0 -97
  146. data/test/unit/core/shape/text/test_format.rb +0 -44
  147. data/test/unit/core/shape/text/test_internal.rb +0 -20
  148. data/test/unit/core/shape/text_block/formatter/test_basic.rb +0 -24
  149. data/test/unit/core/shape/text_block/formatter/test_datetime.rb +0 -49
  150. data/test/unit/core/shape/text_block/formatter/test_number.rb +0 -76
  151. data/test/unit/core/shape/text_block/formatter/test_padding.rb +0 -77
  152. data/test/unit/core/shape/text_block/test_format.rb +0 -169
  153. data/test/unit/core/shape/text_block/test_formatter.rb +0 -28
  154. data/test/unit/core/shape/text_block/test_interface.rb +0 -63
  155. data/test/unit/core/shape/text_block/test_internal.rb +0 -128
  156. data/test/unit/core/test_shape.rb +0 -52
  157. data/test/unit/core/test_utils.rb +0 -68
  158. data/test/unit/generator/pdf/document/graphics/test_attributes.rb +0 -135
  159. data/test/unit/generator/pdf/document/graphics/test_basic.rb +0 -46
  160. data/test/unit/generator/pdf/document/graphics/test_image.rb +0 -46
  161. data/test/unit/generator/pdf/document/graphics/test_text.rb +0 -171
  162. data/test/unit/generator/pdf/document/test_font.rb +0 -110
  163. data/test/unit/generator/pdf/document/test_graphics.rb +0 -42
  164. data/test/unit/generator/pdf/document/test_page.rb +0 -122
  165. data/test/unit/generator/pdf/document/test_parse_color.rb +0 -30
  166. data/test/unit/generator/pdf/prawn_ext/test_calc_image_dimensions.rb +0 -41
  167. data/test/unit/generator/pdf/prawn_ext/test_width_of.rb +0 -22
  168. data/test/unit/generator/pdf/test_document.rb +0 -22
  169. data/test/unit/generator/test_pdf.rb +0 -26
  170. data/test/unit/layout/test_base.rb +0 -41
  171. data/test/unit/layout/test_format.rb +0 -100
  172. data/test/unit/layout/test_legacy_schema.rb +0 -574
  173. data/test/unit/layout/test_version.rb +0 -26
  174. data/test/unit/report/test_base.rb +0 -248
  175. data/test/unit/report/test_internal.rb +0 -206
  176. data/test/unit/test_config.rb +0 -36
  177. data/test/unit/test_layout.rb +0 -12
  178. data/test/unit/test_report.rb +0 -18
@@ -1,889 +0,0 @@
1
- {
2
- "version": "0.9.0",
3
- "items": [
4
- {
5
- "id": "",
6
- "type": "text",
7
- "display": true,
8
- "description": "",
9
- "x": 20,
10
- "y": 21,
11
- "width": 555.2,
12
- "height": 20.5,
13
- "style": {
14
- "font-family": [
15
- "Helvetica"
16
- ],
17
- "font-size": 18,
18
- "color": "#000000",
19
- "text-align": "left",
20
- "vertical-align": "top",
21
- "line-height": "",
22
- "line-height-ratio": "",
23
- "letter-spacing": 5,
24
- "font-style": []
25
- },
26
- "texts": [
27
- "Char Space in Single(Helvetica)"
28
- ]
29
- },
30
- {
31
- "id": "space_single_helvetica",
32
- "type": "text-block",
33
- "display": true,
34
- "description": "",
35
- "x": 20,
36
- "y": 50,
37
- "width": 555.2,
38
- "height": 18,
39
- "style": {
40
- "font-family": [
41
- "Helvetica"
42
- ],
43
- "font-size": 18,
44
- "color": "#000000",
45
- "text-align": "left",
46
- "vertical-align": "top",
47
- "line-height": "",
48
- "line-height-ratio": "",
49
- "letter-spacing": 5,
50
- "font-style": [],
51
- "overflow": "truncate",
52
- "word-wrap": "break-word"
53
- },
54
- "reference-id": "",
55
- "value": "",
56
- "multiple-line": false,
57
- "format": {
58
- "base": "",
59
- "type": ""
60
- }
61
- },
62
- {
63
- "id": "",
64
- "type": "line",
65
- "display": true,
66
- "description": "",
67
- "style": {
68
- "border-color": "#ff0000",
69
- "border-width": 1,
70
- "border-style": "solid"
71
- },
72
- "x1": 426,
73
- "y1": 20,
74
- "x2": 426,
75
- "y2": 78
76
- },
77
- {
78
- "id": "",
79
- "type": "text",
80
- "display": true,
81
- "description": "",
82
- "x": 20,
83
- "y": 83,
84
- "width": 323,
85
- "height": 18,
86
- "style": {
87
- "font-family": [
88
- "IPAMincho"
89
- ],
90
- "font-size": 18,
91
- "color": "#000000",
92
- "text-align": "left",
93
- "vertical-align": "top",
94
- "line-height": "",
95
- "line-height-ratio": "",
96
- "letter-spacing": 5,
97
- "font-style": []
98
- },
99
- "texts": [
100
- "文字間隔 in 単行(IPA明朝)"
101
- ]
102
- },
103
- {
104
- "id": "space_single_ipamincho",
105
- "type": "text-block",
106
- "display": true,
107
- "description": "",
108
- "x": 20,
109
- "y": 110,
110
- "width": 555.2,
111
- "height": 18,
112
- "style": {
113
- "font-family": [
114
- "IPAMincho"
115
- ],
116
- "font-size": 18,
117
- "color": "#000000",
118
- "text-align": "left",
119
- "vertical-align": "top",
120
- "line-height": "",
121
- "line-height-ratio": "",
122
- "letter-spacing": 5,
123
- "font-style": [],
124
- "overflow": "truncate",
125
- "word-wrap": "break-word"
126
- },
127
- "reference-id": "",
128
- "value": "",
129
- "multiple-line": false,
130
- "format": {
131
- "base": "",
132
- "type": ""
133
- }
134
- },
135
- {
136
- "id": "",
137
- "type": "line",
138
- "display": true,
139
- "description": "",
140
- "style": {
141
- "border-color": "#ff0000",
142
- "border-width": 1,
143
- "border-style": "solid"
144
- },
145
- "x1": 333,
146
- "y1": 80,
147
- "x2": 333,
148
- "y2": 138
149
- },
150
- {
151
- "id": "",
152
- "type": "text",
153
- "display": true,
154
- "description": "",
155
- "x": 20,
156
- "y": 148,
157
- "width": 555.2,
158
- "height": 38,
159
- "style": {
160
- "font-family": [
161
- "Times New Roman"
162
- ],
163
- "font-size": 18,
164
- "color": "#000000",
165
- "text-align": "left",
166
- "vertical-align": "top",
167
- "line-height": "",
168
- "line-height-ratio": "",
169
- "letter-spacing": 5,
170
- "font-style": []
171
- },
172
- "texts": [
173
- "Char Space",
174
- "in Multiple(Times New Roman)"
175
- ]
176
- },
177
- {
178
- "id": "space_multi_times",
179
- "type": "text-block",
180
- "display": true,
181
- "description": "",
182
- "x": 20,
183
- "y": 199.9,
184
- "width": 555.2,
185
- "height": 51.2,
186
- "style": {
187
- "font-family": [
188
- "Times New Roman"
189
- ],
190
- "font-size": 18,
191
- "color": "#000000",
192
- "text-align": "left",
193
- "vertical-align": "top",
194
- "line-height": "",
195
- "line-height-ratio": "",
196
- "letter-spacing": 5,
197
- "font-style": [],
198
- "overflow": "truncate",
199
- "word-wrap": "break-word"
200
- },
201
- "reference-id": "",
202
- "value": "",
203
- "multiple-line": true,
204
- "format": {
205
- "base": "",
206
- "type": ""
207
- }
208
- },
209
- {
210
- "id": "",
211
- "type": "line",
212
- "display": true,
213
- "description": "",
214
- "style": {
215
- "border-color": "#ff0000",
216
- "border-width": 1,
217
- "border-style": "solid"
218
- },
219
- "x1": 386,
220
- "y1": 165,
221
- "x2": 386,
222
- "y2": 251.1
223
- },
224
- {
225
- "id": "",
226
- "type": "line",
227
- "display": true,
228
- "description": "",
229
- "style": {
230
- "border-color": "#ff0000",
231
- "border-width": 1,
232
- "border-style": "solid"
233
- },
234
- "x1": 149,
235
- "y1": 148,
236
- "x2": 149,
237
- "y2": 234.1
238
- },
239
- {
240
- "id": "",
241
- "type": "text",
242
- "display": true,
243
- "description": "",
244
- "x": 20,
245
- "y": 275,
246
- "width": 323,
247
- "height": 36,
248
- "style": {
249
- "font-family": [
250
- "IPAMincho"
251
- ],
252
- "font-size": 18,
253
- "color": "#000000",
254
- "text-align": "left",
255
- "vertical-align": "top",
256
- "line-height": "",
257
- "line-height-ratio": "",
258
- "letter-spacing": 5,
259
- "font-style": []
260
- },
261
- "texts": [
262
- "文字間隔",
263
- "in 複数行(IPA明朝)"
264
- ]
265
- },
266
- {
267
- "id": "space_multi_ipamincho",
268
- "type": "text-block",
269
- "display": true,
270
- "description": "",
271
- "x": 20,
272
- "y": 324,
273
- "width": 555.2,
274
- "height": 52.1,
275
- "style": {
276
- "font-family": [
277
- "IPAMincho"
278
- ],
279
- "font-size": 18,
280
- "color": "#000000",
281
- "text-align": "left",
282
- "vertical-align": "top",
283
- "line-height": "",
284
- "line-height-ratio": "",
285
- "letter-spacing": 5,
286
- "font-style": [],
287
- "overflow": "truncate",
288
- "word-wrap": "break-word"
289
- },
290
- "reference-id": "",
291
- "value": "",
292
- "multiple-line": true,
293
- "format": {
294
- "base": "",
295
- "type": ""
296
- }
297
- },
298
- {
299
- "id": "",
300
- "type": "line",
301
- "display": true,
302
- "description": "",
303
- "style": {
304
- "border-color": "#ff0000",
305
- "border-width": 1,
306
- "border-style": "solid"
307
- },
308
- "x1": 249,
309
- "y1": 292,
310
- "x2": 249,
311
- "y2": 378.1
312
- },
313
- {
314
- "id": "",
315
- "type": "line",
316
- "display": true,
317
- "description": "",
318
- "style": {
319
- "border-color": "#ff0000",
320
- "border-width": 1,
321
- "border-style": "solid"
322
- },
323
- "x1": 107,
324
- "y1": 273,
325
- "x2": 107,
326
- "y2": 359.1
327
- },
328
- {
329
- "id": "left_top",
330
- "type": "text-block",
331
- "display": true,
332
- "description": "",
333
- "x": 20,
334
- "y": 406.1,
335
- "width": 165.1,
336
- "height": 69.1,
337
- "style": {
338
- "font-family": [
339
- "IPAGothic"
340
- ],
341
- "font-size": 18,
342
- "color": "#000000",
343
- "text-align": "left",
344
- "vertical-align": "top",
345
- "line-height": "",
346
- "line-height-ratio": "",
347
- "letter-spacing": "",
348
- "font-style": [],
349
- "overflow": "truncate",
350
- "word-wrap": "break-word"
351
- },
352
- "reference-id": "",
353
- "value": "",
354
- "multiple-line": true,
355
- "format": {
356
- "base": "",
357
- "type": ""
358
- }
359
- },
360
- {
361
- "id": "left_center",
362
- "type": "text-block",
363
- "display": true,
364
- "description": "",
365
- "x": 215.1,
366
- "y": 406.1,
367
- "width": 165.1,
368
- "height": 69.1,
369
- "style": {
370
- "font-family": [
371
- "IPAGothic"
372
- ],
373
- "font-size": 18,
374
- "color": "#000000",
375
- "text-align": "left",
376
- "vertical-align": "middle",
377
- "line-height": "",
378
- "line-height-ratio": "",
379
- "letter-spacing": "",
380
- "font-style": [],
381
- "overflow": "truncate",
382
- "word-wrap": "break-word"
383
- },
384
- "reference-id": "",
385
- "value": "",
386
- "multiple-line": true,
387
- "format": {
388
- "base": "",
389
- "type": ""
390
- }
391
- },
392
- {
393
- "id": "left_bottom",
394
- "type": "text-block",
395
- "display": true,
396
- "description": "",
397
- "x": 410,
398
- "y": 406.1,
399
- "width": 165.1,
400
- "height": 69.1,
401
- "style": {
402
- "font-family": [
403
- "IPAGothic"
404
- ],
405
- "font-size": 18,
406
- "color": "#000000",
407
- "text-align": "left",
408
- "vertical-align": "bottom",
409
- "line-height": "",
410
- "line-height-ratio": "",
411
- "letter-spacing": "",
412
- "font-style": [],
413
- "overflow": "truncate",
414
- "word-wrap": "break-word"
415
- },
416
- "reference-id": "",
417
- "value": "",
418
- "multiple-line": true,
419
- "format": {
420
- "base": "",
421
- "type": ""
422
- }
423
- },
424
- {
425
- "id": "",
426
- "type": "rect",
427
- "display": true,
428
- "description": "",
429
- "x": 20,
430
- "y": 406.1,
431
- "width": 165.1,
432
- "height": 69.1,
433
- "style": {
434
- "border-color": "#ff0000",
435
- "border-width": 1,
436
- "border-style": "solid",
437
- "fill-color": "none"
438
- },
439
- "border-radius": 0
440
- },
441
- {
442
- "id": "",
443
- "type": "rect",
444
- "display": true,
445
- "description": "",
446
- "x": 215.1,
447
- "y": 406.1,
448
- "width": 165.1,
449
- "height": 69.1,
450
- "style": {
451
- "border-color": "#ff0000",
452
- "border-width": 1,
453
- "border-style": "solid",
454
- "fill-color": "none"
455
- },
456
- "border-radius": 0
457
- },
458
- {
459
- "id": "",
460
- "type": "rect",
461
- "display": true,
462
- "description": "",
463
- "x": 410,
464
- "y": 406.1,
465
- "width": 165.1,
466
- "height": 69.1,
467
- "style": {
468
- "border-color": "#ff0000",
469
- "border-width": 1,
470
- "border-style": "solid",
471
- "fill-color": "none"
472
- },
473
- "border-radius": 0
474
- },
475
- {
476
- "id": "line_height",
477
- "type": "text-block",
478
- "display": true,
479
- "description": "",
480
- "x": 311.1,
481
- "y": 678,
482
- "width": 179.1,
483
- "height": 90,
484
- "style": {
485
- "font-family": [
486
- "IPAPGothic"
487
- ],
488
- "font-size": 18,
489
- "color": "#000000",
490
- "text-align": "left",
491
- "vertical-align": "top",
492
- "line-height": 41,
493
- "line-height-ratio": 2,
494
- "letter-spacing": "",
495
- "font-style": [],
496
- "overflow": "truncate",
497
- "word-wrap": "break-word"
498
- },
499
- "reference-id": "",
500
- "value": "",
501
- "multiple-line": true,
502
- "format": {
503
- "base": "",
504
- "type": ""
505
- }
506
- },
507
- {
508
- "id": "",
509
- "type": "text",
510
- "display": true,
511
- "description": "",
512
- "x": 99,
513
- "y": 678,
514
- "width": 179.1,
515
- "height": 142.8,
516
- "style": {
517
- "font-family": [
518
- "IPAPGothic"
519
- ],
520
- "font-size": 18,
521
- "color": "#000000",
522
- "text-align": "left",
523
- "vertical-align": "top",
524
- "line-height": 41,
525
- "line-height-ratio": 2,
526
- "letter-spacing": "",
527
- "font-style": []
528
- },
529
- "texts": [
530
- "行間隔2.0",
531
- "日本語",
532
- "Thinreports"
533
- ]
534
- },
535
- {
536
- "id": "",
537
- "type": "line",
538
- "display": true,
539
- "description": "",
540
- "style": {
541
- "border-color": "#ff0000",
542
- "border-width": 1,
543
- "border-style": "solid"
544
- },
545
- "x1": 93,
546
- "y1": 692.8,
547
- "x2": 511.2,
548
- "y2": 692.8
549
- },
550
- {
551
- "id": "",
552
- "type": "line",
553
- "display": true,
554
- "description": "",
555
- "style": {
556
- "border-color": "#ff0000",
557
- "border-width": 1,
558
- "border-style": "solid"
559
- },
560
- "x1": 93,
561
- "y1": 727.8,
562
- "x2": 511.2,
563
- "y2": 727.8
564
- },
565
- {
566
- "id": "",
567
- "type": "line",
568
- "display": true,
569
- "description": "",
570
- "style": {
571
- "border-color": "#ff0000",
572
- "border-width": 1,
573
- "border-style": "solid"
574
- },
575
- "x1": 93,
576
- "y1": 766.8,
577
- "x2": 511.2,
578
- "y2": 766.8
579
- },
580
- {
581
- "id": "center_top",
582
- "type": "text-block",
583
- "display": true,
584
- "description": "",
585
- "x": 20,
586
- "y": 481,
587
- "width": 165.1,
588
- "height": 69.1,
589
- "style": {
590
- "font-family": [
591
- "IPAGothic"
592
- ],
593
- "font-size": 18,
594
- "color": "#000000",
595
- "text-align": "center",
596
- "vertical-align": "top",
597
- "line-height": "",
598
- "line-height-ratio": "",
599
- "letter-spacing": "",
600
- "font-style": [],
601
- "overflow": "truncate",
602
- "word-wrap": "break-word"
603
- },
604
- "reference-id": "",
605
- "value": "",
606
- "multiple-line": true,
607
- "format": {
608
- "base": "",
609
- "type": ""
610
- }
611
- },
612
- {
613
- "id": "center_center",
614
- "type": "text-block",
615
- "display": true,
616
- "description": "",
617
- "x": 215.1,
618
- "y": 481,
619
- "width": 165.1,
620
- "height": 69.1,
621
- "style": {
622
- "font-family": [
623
- "IPAGothic"
624
- ],
625
- "font-size": 18,
626
- "color": "#000000",
627
- "text-align": "center",
628
- "vertical-align": "middle",
629
- "line-height": "",
630
- "line-height-ratio": "",
631
- "letter-spacing": "",
632
- "font-style": [],
633
- "overflow": "truncate",
634
- "word-wrap": "break-word"
635
- },
636
- "reference-id": "",
637
- "value": "",
638
- "multiple-line": true,
639
- "format": {
640
- "base": "",
641
- "type": ""
642
- }
643
- },
644
- {
645
- "id": "center_bottom",
646
- "type": "text-block",
647
- "display": true,
648
- "description": "",
649
- "x": 410,
650
- "y": 481,
651
- "width": 165.1,
652
- "height": 69.1,
653
- "style": {
654
- "font-family": [
655
- "IPAGothic"
656
- ],
657
- "font-size": 18,
658
- "color": "#000000",
659
- "text-align": "center",
660
- "vertical-align": "bottom",
661
- "line-height": "",
662
- "line-height-ratio": "",
663
- "letter-spacing": "",
664
- "font-style": [],
665
- "overflow": "truncate",
666
- "word-wrap": "break-word"
667
- },
668
- "reference-id": "",
669
- "value": "",
670
- "multiple-line": true,
671
- "format": {
672
- "base": "",
673
- "type": ""
674
- }
675
- },
676
- {
677
- "id": "",
678
- "type": "rect",
679
- "display": true,
680
- "description": "",
681
- "x": 20,
682
- "y": 481,
683
- "width": 165.1,
684
- "height": 69.1,
685
- "style": {
686
- "border-color": "#ff0000",
687
- "border-width": 1,
688
- "border-style": "solid",
689
- "fill-color": "none"
690
- },
691
- "border-radius": 0
692
- },
693
- {
694
- "id": "",
695
- "type": "rect",
696
- "display": true,
697
- "description": "",
698
- "x": 215.1,
699
- "y": 481,
700
- "width": 165.1,
701
- "height": 69.1,
702
- "style": {
703
- "border-color": "#ff0000",
704
- "border-width": 1,
705
- "border-style": "solid",
706
- "fill-color": "none"
707
- },
708
- "border-radius": 0
709
- },
710
- {
711
- "id": "",
712
- "type": "rect",
713
- "display": true,
714
- "description": "",
715
- "x": 410,
716
- "y": 481,
717
- "width": 165.1,
718
- "height": 69.1,
719
- "style": {
720
- "border-color": "#ff0000",
721
- "border-width": 1,
722
- "border-style": "solid",
723
- "fill-color": "none"
724
- },
725
- "border-radius": 0
726
- },
727
- {
728
- "id": "right_top",
729
- "type": "text-block",
730
- "display": true,
731
- "description": "",
732
- "x": 20,
733
- "y": 556,
734
- "width": 165.1,
735
- "height": 69.1,
736
- "style": {
737
- "font-family": [
738
- "IPAGothic"
739
- ],
740
- "font-size": 18,
741
- "color": "#000000",
742
- "text-align": "right",
743
- "vertical-align": "top",
744
- "line-height": "",
745
- "line-height-ratio": "",
746
- "letter-spacing": "",
747
- "font-style": [],
748
- "overflow": "truncate",
749
- "word-wrap": "break-word"
750
- },
751
- "reference-id": "",
752
- "value": "",
753
- "multiple-line": true,
754
- "format": {
755
- "base": "",
756
- "type": ""
757
- }
758
- },
759
- {
760
- "id": "right_center",
761
- "type": "text-block",
762
- "display": true,
763
- "description": "",
764
- "x": 215.1,
765
- "y": 556,
766
- "width": 165.1,
767
- "height": 69.1,
768
- "style": {
769
- "font-family": [
770
- "IPAGothic"
771
- ],
772
- "font-size": 18,
773
- "color": "#000000",
774
- "text-align": "right",
775
- "vertical-align": "middle",
776
- "line-height": "",
777
- "line-height-ratio": "",
778
- "letter-spacing": "",
779
- "font-style": [],
780
- "overflow": "truncate",
781
- "word-wrap": "break-word"
782
- },
783
- "reference-id": "",
784
- "value": "",
785
- "multiple-line": true,
786
- "format": {
787
- "base": "",
788
- "type": ""
789
- }
790
- },
791
- {
792
- "id": "right_bottom",
793
- "type": "text-block",
794
- "display": true,
795
- "description": "",
796
- "x": 410,
797
- "y": 556,
798
- "width": 165.1,
799
- "height": 69.1,
800
- "style": {
801
- "font-family": [
802
- "IPAGothic"
803
- ],
804
- "font-size": 18,
805
- "color": "#000000",
806
- "text-align": "right",
807
- "vertical-align": "bottom",
808
- "line-height": "",
809
- "line-height-ratio": "",
810
- "letter-spacing": "",
811
- "font-style": [],
812
- "overflow": "truncate",
813
- "word-wrap": "break-word"
814
- },
815
- "reference-id": "",
816
- "value": "",
817
- "multiple-line": true,
818
- "format": {
819
- "base": "",
820
- "type": ""
821
- }
822
- },
823
- {
824
- "id": "",
825
- "type": "rect",
826
- "display": true,
827
- "description": "",
828
- "x": 20,
829
- "y": 556,
830
- "width": 165.1,
831
- "height": 69.1,
832
- "style": {
833
- "border-color": "#ff0000",
834
- "border-width": 1,
835
- "border-style": "solid",
836
- "fill-color": "none"
837
- },
838
- "border-radius": 0
839
- },
840
- {
841
- "id": "",
842
- "type": "rect",
843
- "display": true,
844
- "description": "",
845
- "x": 215.1,
846
- "y": 556,
847
- "width": 165.1,
848
- "height": 69.1,
849
- "style": {
850
- "border-color": "#ff0000",
851
- "border-width": 1,
852
- "border-style": "solid",
853
- "fill-color": "none"
854
- },
855
- "border-radius": 0
856
- },
857
- {
858
- "id": "",
859
- "type": "rect",
860
- "display": true,
861
- "description": "",
862
- "x": 410,
863
- "y": 556,
864
- "width": 165.1,
865
- "height": 69.1,
866
- "style": {
867
- "border-color": "#ff0000",
868
- "border-width": 1,
869
- "border-style": "solid",
870
- "fill-color": "none"
871
- },
872
- "border-radius": 0
873
- }
874
- ],
875
- "state": {
876
- "layout-guides": []
877
- },
878
- "title": "Tblock Styles",
879
- "report": {
880
- "paper-type": "A4",
881
- "orientation": "portrait",
882
- "margin": [
883
- 20,
884
- 20,
885
- 20,
886
- 20
887
- ]
888
- }
889
- }