thinreports 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +5 -5
  2. data/.github/CONTRIBUTING.md +2 -2
  3. data/.github/workflows/test.yml +51 -0
  4. data/.gitignore +1 -0
  5. data/CHANGELOG.md +49 -0
  6. data/Dockerfile +12 -0
  7. data/Gemfile +2 -1
  8. data/README.md +46 -21
  9. data/Rakefile +13 -29
  10. data/gemfiles/prawn-2.2.gemfile +5 -0
  11. data/gemfiles/prawn-2.3.gemfile +5 -0
  12. data/gemfiles/prawn-2.4.gemfile +5 -0
  13. data/lib/thinreports.rb +5 -0
  14. data/lib/thinreports/core/shape.rb +4 -3
  15. data/lib/thinreports/core/shape/base/interface.rb +0 -1
  16. data/lib/thinreports/core/shape/basic/format.rb +5 -0
  17. data/lib/thinreports/core/shape/image_block.rb +1 -1
  18. data/lib/thinreports/core/shape/list.rb +1 -1
  19. data/lib/thinreports/core/shape/list/manager.rb +1 -4
  20. data/lib/thinreports/core/shape/list/page.rb +2 -5
  21. data/lib/thinreports/core/shape/manager/internal.rb +0 -1
  22. data/lib/thinreports/core/shape/page_number.rb +1 -1
  23. data/lib/thinreports/core/shape/page_number/internal.rb +0 -1
  24. data/lib/thinreports/core/shape/stack_view.rb +17 -0
  25. data/lib/thinreports/core/shape/stack_view/format.rb +27 -0
  26. data/lib/thinreports/core/shape/stack_view/interface.rb +17 -0
  27. data/lib/thinreports/core/shape/stack_view/internal.rb +22 -0
  28. data/lib/thinreports/core/shape/stack_view/row_format.rb +39 -0
  29. data/lib/thinreports/core/shape/style/basic.rb +4 -1
  30. data/lib/thinreports/core/shape/text.rb +1 -1
  31. data/lib/thinreports/core/shape/text_block.rb +1 -1
  32. data/lib/thinreports/core/shape/text_block/formatter/number.rb +21 -9
  33. data/lib/thinreports/core/shape/text_block/internal.rb +0 -2
  34. data/lib/thinreports/core/utils.rb +6 -3
  35. data/lib/thinreports/generate.rb +11 -0
  36. data/lib/thinreports/generator/pdf/document/draw_shape.rb +31 -11
  37. data/lib/thinreports/generator/pdf/document/draw_template_items.rb +1 -2
  38. data/lib/thinreports/generator/pdf/document/font.rb +16 -10
  39. data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +0 -1
  40. data/lib/thinreports/generator/pdf/document/graphics/basic.rb +0 -1
  41. data/lib/thinreports/generator/pdf/document/graphics/image.rb +19 -1
  42. data/lib/thinreports/generator/pdf/document/graphics/text.rb +10 -8
  43. data/lib/thinreports/generator/pdf/document/page.rb +13 -4
  44. data/lib/thinreports/generator/pdf/drawer/list.rb +0 -1
  45. data/lib/thinreports/generator/pdf/prawn_ext/calc_image_dimensions.rb +1 -3
  46. data/lib/thinreports/generator/pdf/prawn_ext/width_of.rb +7 -7
  47. data/lib/thinreports/layout/base.rb +2 -4
  48. data/lib/thinreports/layout/format.rb +0 -1
  49. data/lib/thinreports/layout/legacy_schema.rb +2 -6
  50. data/lib/thinreports/layout/version.rb +1 -1
  51. data/lib/thinreports/report/internal.rb +4 -4
  52. data/lib/thinreports/report/page.rb +2 -7
  53. data/lib/thinreports/section_report/build.rb +32 -0
  54. data/lib/thinreports/section_report/builder/item_builder.rb +49 -0
  55. data/lib/thinreports/section_report/builder/report_builder.rb +82 -0
  56. data/lib/thinreports/section_report/builder/report_data.rb +13 -0
  57. data/lib/thinreports/section_report/builder/stack_view_builder.rb +55 -0
  58. data/lib/thinreports/section_report/builder/stack_view_data.rb +11 -0
  59. data/lib/thinreports/section_report/generate.rb +26 -0
  60. data/lib/thinreports/section_report/pdf/render.rb +23 -0
  61. data/lib/thinreports/section_report/pdf/renderer/draw_item.rb +68 -0
  62. data/lib/thinreports/section_report/pdf/renderer/group_renderer.rb +57 -0
  63. data/lib/thinreports/section_report/pdf/renderer/headers_renderer.rb +24 -0
  64. data/lib/thinreports/section_report/pdf/renderer/section_height.rb +100 -0
  65. data/lib/thinreports/section_report/pdf/renderer/section_renderer.rb +39 -0
  66. data/lib/thinreports/section_report/pdf/renderer/stack_view_renderer.rb +55 -0
  67. data/lib/thinreports/section_report/pdf/renderer/stack_view_row_renderer.rb +38 -0
  68. data/lib/thinreports/section_report/schema/loader.rb +28 -0
  69. data/lib/thinreports/section_report/schema/parser.rb +52 -0
  70. data/lib/thinreports/section_report/schema/report.rb +30 -0
  71. data/lib/thinreports/section_report/schema/section.rb +47 -0
  72. data/lib/thinreports/version.rb +1 -1
  73. data/thinreports.gemspec +11 -11
  74. metadata +48 -164
  75. data/.rubocop.yml +0 -41
  76. data/.travis.yml +0 -17
  77. data/examples/character_spacing/character_spacing.rb +0 -8
  78. data/examples/character_spacing/character_spacing.tlf +0 -293
  79. data/examples/dynamic_image/dynamic_image.rb +0 -31
  80. data/examples/dynamic_image/dynamic_image.tlf +0 -661
  81. data/examples/dynamic_image/img200x100.png +0 -0
  82. data/examples/dynamic_image/img50x50.png +0 -0
  83. data/examples/dynamic_style/dynamic_style.rb +0 -150
  84. data/examples/dynamic_style/dynamic_style.tlf +0 -1835
  85. data/examples/dynamic_style/dynamic_style_in_list.tlf +0 -344
  86. data/examples/dynamic_style/image.png +0 -0
  87. data/examples/eudc/eudc.rb +0 -20
  88. data/examples/eudc/eudc.tlf +0 -180
  89. data/examples/eudc/eudc.ttf +0 -0
  90. data/examples/helper.rb +0 -50
  91. data/examples/hidden_shapes/hidden_shapes.rb +0 -9
  92. data/examples/hidden_shapes/hidden_shapes.tlf +0 -449
  93. data/examples/list_events/list_events.rb +0 -32
  94. data/examples/list_events/list_events.tlf +0 -361
  95. data/examples/list_manual_generation/list_manual_generation.rb +0 -22
  96. data/examples/list_manual_generation/list_manual_generation.tlf +0 -132
  97. data/examples/list_page_number/list_page_number.rb +0 -17
  98. data/examples/list_page_number/list_page_number.tlf +0 -254
  99. data/examples/page_number/page_number.rb +0 -33
  100. data/examples/page_number/page_number.tlf +0 -215
  101. data/examples/palleted_png/palleted_png.png +0 -0
  102. data/examples/palleted_png/palleted_png.rb +0 -9
  103. data/examples/palleted_png/palleted_png.tlf +0 -47
  104. data/examples/password_setting/password_setting.rb +0 -10
  105. data/examples/password_setting/password_setting.tlf +0 -45
  106. data/examples/report_callbacks/report_callbacks.rb +0 -14
  107. data/examples/report_callbacks/report_callbacks.tlf +0 -147
  108. data/examples/single_line_tblock/single_line_tblock.rb +0 -13
  109. data/examples/single_line_tblock/single_line_tblock.tlf +0 -170
  110. data/examples/tblock_overflow/tblock_overflow.rb +0 -20
  111. data/examples/tblock_overflow/tblock_overflow.tlf +0 -538
  112. data/examples/tblock_styles/font_size.tlf +0 -383
  113. data/examples/tblock_styles/tblock_styles.rb +0 -43
  114. data/examples/tblock_styles/tblock_styles.tlf +0 -889
  115. data/examples/text_align/text_align.rb +0 -8
  116. data/examples/text_align/text_align.tlf +0 -241
  117. data/examples/typeB_page_size/B4_ISO.tlf +0 -45
  118. data/examples/typeB_page_size/B4_JIS.tlf +0 -45
  119. data/examples/typeB_page_size/typeB_page_size.rb +0 -17
  120. data/examples/word_wrap/word_wrap.rb +0 -26
  121. data/examples/word_wrap/word_wrap.tlf +0 -297
  122. data/test/data/font.ttf +0 -0
  123. data/test/data/image_normal.jpg +0 -0
  124. data/test/data/image_normal.png +0 -0
  125. data/test/data/image_normal_jpg_noext +0 -0
  126. data/test/data/image_normal_png_noext +0 -0
  127. data/test/data/image_pallete_based.png +0 -0
  128. data/test/data/legacy_layout/all-items.tlf +0 -1
  129. data/test/schema_helper.rb +0 -122
  130. data/test/test_helper.rb +0 -48
  131. data/test/tmp/.gitkeep +0 -0
  132. data/test/unit/core/format/test_base.rb +0 -152
  133. data/test/unit/core/shape/base/test_internal.rb +0 -87
  134. data/test/unit/core/shape/basic/test_block_format.rb +0 -23
  135. data/test/unit/core/shape/basic/test_block_interface.rb +0 -29
  136. data/test/unit/core/shape/basic/test_block_internal.rb +0 -55
  137. data/test/unit/core/shape/basic/test_format.rb +0 -37
  138. data/test/unit/core/shape/basic/test_interface.rb +0 -108
  139. data/test/unit/core/shape/basic/test_internal.rb +0 -55
  140. data/test/unit/core/shape/image_block/test_interface.rb +0 -24
  141. data/test/unit/core/shape/image_block/test_internal.rb +0 -31
  142. data/test/unit/core/shape/list/test_format.rb +0 -111
  143. data/test/unit/core/shape/list/test_manager.rb +0 -67
  144. data/test/unit/core/shape/list/test_page.rb +0 -82
  145. data/test/unit/core/shape/list/test_page_state.rb +0 -31
  146. data/test/unit/core/shape/list/test_section_format.rb +0 -36
  147. data/test/unit/core/shape/list/test_section_interface.rb +0 -75
  148. data/test/unit/core/shape/list/test_section_internal.rb +0 -50
  149. data/test/unit/core/shape/manager/test_format.rb +0 -38
  150. data/test/unit/core/shape/manager/test_internal.rb +0 -132
  151. data/test/unit/core/shape/manager/test_target.rb +0 -140
  152. data/test/unit/core/shape/page_number/test_format.rb +0 -55
  153. data/test/unit/core/shape/page_number/test_interface.rb +0 -33
  154. data/test/unit/core/shape/page_number/test_internal.rb +0 -81
  155. data/test/unit/core/shape/styles/test_base.rb +0 -191
  156. data/test/unit/core/shape/styles/test_basic.rb +0 -24
  157. data/test/unit/core/shape/styles/test_graphic.rb +0 -50
  158. data/test/unit/core/shape/styles/test_text.rb +0 -97
  159. data/test/unit/core/shape/text/test_format.rb +0 -44
  160. data/test/unit/core/shape/text/test_internal.rb +0 -20
  161. data/test/unit/core/shape/text_block/formatter/test_basic.rb +0 -24
  162. data/test/unit/core/shape/text_block/formatter/test_datetime.rb +0 -49
  163. data/test/unit/core/shape/text_block/formatter/test_number.rb +0 -76
  164. data/test/unit/core/shape/text_block/formatter/test_padding.rb +0 -77
  165. data/test/unit/core/shape/text_block/test_format.rb +0 -169
  166. data/test/unit/core/shape/text_block/test_formatter.rb +0 -28
  167. data/test/unit/core/shape/text_block/test_interface.rb +0 -63
  168. data/test/unit/core/shape/text_block/test_internal.rb +0 -128
  169. data/test/unit/core/test_shape.rb +0 -52
  170. data/test/unit/core/test_utils.rb +0 -68
  171. data/test/unit/generator/pdf/document/graphics/test_attributes.rb +0 -135
  172. data/test/unit/generator/pdf/document/graphics/test_basic.rb +0 -46
  173. data/test/unit/generator/pdf/document/graphics/test_image.rb +0 -46
  174. data/test/unit/generator/pdf/document/graphics/test_text.rb +0 -171
  175. data/test/unit/generator/pdf/document/test_font.rb +0 -84
  176. data/test/unit/generator/pdf/document/test_graphics.rb +0 -42
  177. data/test/unit/generator/pdf/document/test_page.rb +0 -122
  178. data/test/unit/generator/pdf/document/test_parse_color.rb +0 -30
  179. data/test/unit/generator/pdf/prawn_ext/test_calc_image_dimensions.rb +0 -41
  180. data/test/unit/generator/pdf/prawn_ext/test_width_of.rb +0 -22
  181. data/test/unit/generator/pdf/test_document.rb +0 -22
  182. data/test/unit/generator/test_pdf.rb +0 -26
  183. data/test/unit/layout/test_base.rb +0 -41
  184. data/test/unit/layout/test_format.rb +0 -100
  185. data/test/unit/layout/test_legacy_schema.rb +0 -574
  186. data/test/unit/layout/test_version.rb +0 -26
  187. data/test/unit/report/test_base.rb +0 -248
  188. data/test/unit/report/test_internal.rb +0 -206
  189. data/test/unit/test_config.rb +0 -36
  190. data/test/unit/test_layout.rb +0 -12
  191. data/test/unit/test_report.rb +0 -18
@@ -1,20 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- example :tblock_overflow, 'Control overflowing the Tblock' do
4
- report = Thinreports::Report.new layout: layout_filename
5
- report.start_new_page do |page|
6
- page.values(truncate: 'The string overflowing from the area will be truncated',
7
- truncate_ja: '領域から溢れたテキストは切り捨てられます。',
8
- truncate_m: 'The string overflowing from the area will be truncated')
9
-
10
- page.values(fit: 'The string overflowing from the area will be reduced',
11
- fit_ja: '領域から溢れたテキストは縮小されます。',
12
- fit_m: '複数行モードでも、領域から溢れたテキストは自動的に縮小され折り返して表示されます。')
13
-
14
- page.values(expand: 'If a string was overflowed, a box will be expanded automatically',
15
- expand_ja: 'テキストが溢れた場合、ボックスが自動的に拡張されます。',
16
- expand_m: 'If a string was overflowed, a box will be expanded automatically')
17
- end
18
-
19
- report.generate filename: output_filename
20
- end
@@ -1,538 +0,0 @@
1
- {
2
- "version": "0.9.0",
3
- "items": [
4
- {
5
- "id": "",
6
- "type": "rect",
7
- "display": true,
8
- "description": "",
9
- "x": 262.1,
10
- "y": 76,
11
- "width": 206.1,
12
- "height": 41,
13
- "style": {
14
- "border-color": "#000000",
15
- "border-width": 1,
16
- "border-style": "solid",
17
- "fill-color": "#FFFFFF"
18
- },
19
- "border-radius": 0
20
- },
21
- {
22
- "id": "",
23
- "type": "rect",
24
- "display": true,
25
- "description": "",
26
- "x": 57.9,
27
- "y": 74,
28
- "width": 164.2,
29
- "height": 17,
30
- "style": {
31
- "border-color": "#000000",
32
- "border-width": 1,
33
- "border-style": "solid",
34
- "fill-color": "#FFFFFF"
35
- },
36
- "border-radius": 0
37
- },
38
- {
39
- "id": "truncate",
40
- "type": "text-block",
41
- "display": true,
42
- "description": "",
43
- "x": 57.9,
44
- "y": 74,
45
- "width": 164.2,
46
- "height": 17,
47
- "style": {
48
- "font-family": [
49
- "Helvetica"
50
- ],
51
- "font-size": 18,
52
- "color": "#000000",
53
- "text-align": "left",
54
- "vertical-align": "top",
55
- "line-height": "",
56
- "line-height-ratio": "",
57
- "letter-spacing": "",
58
- "font-style": [],
59
- "overflow": "truncate",
60
- "word-wrap": "break-word"
61
- },
62
- "reference-id": "",
63
- "value": "",
64
- "multiple-line": false,
65
- "format": {
66
- "base": "",
67
- "type": ""
68
- }
69
- },
70
- {
71
- "id": "",
72
- "type": "text",
73
- "display": true,
74
- "description": "",
75
- "x": 43,
76
- "y": 46,
77
- "width": 200,
78
- "height": 20.5,
79
- "style": {
80
- "font-family": [
81
- "Helvetica"
82
- ],
83
- "font-size": 18,
84
- "color": "#000000",
85
- "text-align": "left",
86
- "vertical-align": "top",
87
- "line-height": "",
88
- "line-height-ratio": "",
89
- "letter-spacing": "",
90
- "font-style": []
91
- },
92
- "texts": [
93
- "Overflow: \"truncate\""
94
- ]
95
- },
96
- {
97
- "id": "",
98
- "type": "rect",
99
- "display": true,
100
- "description": "",
101
- "x": 57.9,
102
- "y": 99,
103
- "width": 164.2,
104
- "height": 18,
105
- "style": {
106
- "border-color": "#000000",
107
- "border-width": 1,
108
- "border-style": "solid",
109
- "fill-color": "#FFFFFF"
110
- },
111
- "border-radius": 0
112
- },
113
- {
114
- "id": "truncate_ja",
115
- "type": "text-block",
116
- "display": true,
117
- "description": "",
118
- "x": 57.9,
119
- "y": 99,
120
- "width": 164.2,
121
- "height": 18,
122
- "style": {
123
- "font-family": [
124
- "IPAPMincho"
125
- ],
126
- "font-size": 18,
127
- "color": "#000000",
128
- "text-align": "left",
129
- "vertical-align": "top",
130
- "line-height": "",
131
- "line-height-ratio": "",
132
- "letter-spacing": "",
133
- "font-style": [],
134
- "overflow": "truncate",
135
- "word-wrap": "break-word"
136
- },
137
- "reference-id": "",
138
- "value": "",
139
- "multiple-line": false,
140
- "format": {
141
- "base": "",
142
- "type": ""
143
- }
144
- },
145
- {
146
- "id": "",
147
- "type": "text",
148
- "display": true,
149
- "description": "",
150
- "x": 43,
151
- "y": 140,
152
- "width": 200,
153
- "height": 20.5,
154
- "style": {
155
- "font-family": [
156
- "Helvetica"
157
- ],
158
- "font-size": 18,
159
- "color": "#000000",
160
- "text-align": "left",
161
- "vertical-align": "top",
162
- "line-height": "",
163
- "line-height-ratio": "",
164
- "letter-spacing": "",
165
- "font-style": []
166
- },
167
- "texts": [
168
- "Overflow: \"fit\""
169
- ]
170
- },
171
- {
172
- "id": "",
173
- "type": "rect",
174
- "display": true,
175
- "description": "",
176
- "x": 57.9,
177
- "y": 169,
178
- "width": 164.2,
179
- "height": 30.7,
180
- "style": {
181
- "border-color": "#000000",
182
- "border-width": 1,
183
- "border-style": "solid",
184
- "fill-color": "#FFFFFF"
185
- },
186
- "border-radius": 0
187
- },
188
- {
189
- "id": "fit",
190
- "type": "text-block",
191
- "display": true,
192
- "description": "",
193
- "x": 57.9,
194
- "y": 169,
195
- "width": 164.2,
196
- "height": 30.7,
197
- "style": {
198
- "font-family": [
199
- "Courier New"
200
- ],
201
- "font-size": 28,
202
- "color": "#000000",
203
- "text-align": "left",
204
- "vertical-align": "top",
205
- "line-height": "",
206
- "line-height-ratio": "",
207
- "letter-spacing": "",
208
- "font-style": [],
209
- "overflow": "fit",
210
- "word-wrap": "break-word"
211
- },
212
- "reference-id": "",
213
- "value": "",
214
- "multiple-line": false,
215
- "format": {
216
- "base": "",
217
- "type": ""
218
- }
219
- },
220
- {
221
- "id": "",
222
- "type": "rect",
223
- "display": true,
224
- "description": "",
225
- "x": 57.9,
226
- "y": 209,
227
- "width": 164.2,
228
- "height": 28,
229
- "style": {
230
- "border-color": "#000000",
231
- "border-width": 1,
232
- "border-style": "solid",
233
- "fill-color": "#FFFFFF"
234
- },
235
- "border-radius": 0
236
- },
237
- {
238
- "id": "fit_ja",
239
- "type": "text-block",
240
- "display": true,
241
- "description": "",
242
- "x": 57.9,
243
- "y": 209,
244
- "width": 164.2,
245
- "height": 28,
246
- "style": {
247
- "font-family": [
248
- "IPAPGothic"
249
- ],
250
- "font-size": 28,
251
- "color": "#000000",
252
- "text-align": "left",
253
- "vertical-align": "top",
254
- "line-height": "",
255
- "line-height-ratio": "",
256
- "letter-spacing": "",
257
- "font-style": [],
258
- "overflow": "fit",
259
- "word-wrap": "break-word"
260
- },
261
- "reference-id": "",
262
- "value": "",
263
- "multiple-line": false,
264
- "format": {
265
- "base": "",
266
- "type": ""
267
- }
268
- },
269
- {
270
- "id": "",
271
- "type": "text",
272
- "display": true,
273
- "description": "",
274
- "x": 43,
275
- "y": 250,
276
- "width": 200,
277
- "height": 20.5,
278
- "style": {
279
- "font-family": [
280
- "Helvetica"
281
- ],
282
- "font-size": 18,
283
- "color": "#000000",
284
- "text-align": "left",
285
- "vertical-align": "top",
286
- "line-height": "",
287
- "line-height-ratio": "",
288
- "letter-spacing": "",
289
- "font-style": []
290
- },
291
- "texts": [
292
- "Overflow: \"expand\""
293
- ]
294
- },
295
- {
296
- "id": "",
297
- "type": "rect",
298
- "display": true,
299
- "description": "",
300
- "x": 57.9,
301
- "y": 279,
302
- "width": 164.2,
303
- "height": 18.9,
304
- "style": {
305
- "border-color": "#000000",
306
- "border-width": 1,
307
- "border-style": "solid",
308
- "fill-color": "#FFFFFF"
309
- },
310
- "border-radius": 0
311
- },
312
- {
313
- "id": "expand",
314
- "type": "text-block",
315
- "display": true,
316
- "description": "",
317
- "x": 57.9,
318
- "y": 279,
319
- "width": 164.2,
320
- "height": 18.9,
321
- "style": {
322
- "font-family": [
323
- "Times New Roman"
324
- ],
325
- "font-size": 18,
326
- "color": "#000000",
327
- "text-align": "left",
328
- "vertical-align": "top",
329
- "line-height": "",
330
- "line-height-ratio": "",
331
- "letter-spacing": "",
332
- "font-style": [],
333
- "overflow": "expand",
334
- "word-wrap": "break-word"
335
- },
336
- "reference-id": "",
337
- "value": "",
338
- "multiple-line": false,
339
- "format": {
340
- "base": "",
341
- "type": ""
342
- }
343
- },
344
- {
345
- "id": "",
346
- "type": "rect",
347
- "display": true,
348
- "description": "",
349
- "x": 57.9,
350
- "y": 370,
351
- "width": 164.2,
352
- "height": 18,
353
- "style": {
354
- "border-color": "#000000",
355
- "border-width": 1,
356
- "border-style": "solid",
357
- "fill-color": "#FFFFFF"
358
- },
359
- "border-radius": 0
360
- },
361
- {
362
- "id": "expand_ja",
363
- "type": "text-block",
364
- "display": true,
365
- "description": "",
366
- "x": 57.9,
367
- "y": 370,
368
- "width": 164.2,
369
- "height": 18,
370
- "style": {
371
- "font-family": [
372
- "IPAMincho"
373
- ],
374
- "font-size": 18,
375
- "color": "#000000",
376
- "text-align": "left",
377
- "vertical-align": "top",
378
- "line-height": "",
379
- "line-height-ratio": "",
380
- "letter-spacing": "",
381
- "font-style": [],
382
- "overflow": "expand",
383
- "word-wrap": "break-word"
384
- },
385
- "reference-id": "",
386
- "value": "",
387
- "multiple-line": false,
388
- "format": {
389
- "base": "",
390
- "type": ""
391
- }
392
- },
393
- {
394
- "id": "truncate_m",
395
- "type": "text-block",
396
- "display": true,
397
- "description": "",
398
- "x": 262.1,
399
- "y": 76,
400
- "width": 206.1,
401
- "height": 41,
402
- "style": {
403
- "font-family": [
404
- "IPAPMincho"
405
- ],
406
- "font-size": 18,
407
- "color": "#000000",
408
- "text-align": "left",
409
- "vertical-align": "top",
410
- "line-height": "",
411
- "line-height-ratio": "",
412
- "letter-spacing": "",
413
- "font-style": [],
414
- "overflow": "truncate",
415
- "word-wrap": "break-word"
416
- },
417
- "reference-id": "",
418
- "value": "",
419
- "multiple-line": true,
420
- "format": {
421
- "base": "",
422
- "type": ""
423
- }
424
- },
425
- {
426
- "id": "",
427
- "type": "rect",
428
- "display": true,
429
- "description": "",
430
- "x": 262.9,
431
- "y": 169,
432
- "width": 206.1,
433
- "height": 71.1,
434
- "style": {
435
- "border-color": "#000000",
436
- "border-width": 1,
437
- "border-style": "solid",
438
- "fill-color": "#FFFFFF"
439
- },
440
- "border-radius": 0
441
- },
442
- {
443
- "id": "fit_m",
444
- "type": "text-block",
445
- "display": true,
446
- "description": "",
447
- "x": 262.9,
448
- "y": 169,
449
- "width": 206.1,
450
- "height": 71.1,
451
- "style": {
452
- "font-family": [
453
- "Helvetica"
454
- ],
455
- "font-size": 26,
456
- "color": "#000000",
457
- "text-align": "left",
458
- "vertical-align": "top",
459
- "line-height": "",
460
- "line-height-ratio": "",
461
- "letter-spacing": "",
462
- "font-style": [],
463
- "overflow": "fit",
464
- "word-wrap": "break-word"
465
- },
466
- "reference-id": "",
467
- "value": "",
468
- "multiple-line": true,
469
- "format": {
470
- "base": "",
471
- "type": ""
472
- }
473
- },
474
- {
475
- "id": "",
476
- "type": "rect",
477
- "display": true,
478
- "description": "",
479
- "x": 262.9,
480
- "y": 279,
481
- "width": 206.1,
482
- "height": 41,
483
- "style": {
484
- "border-color": "#000000",
485
- "border-width": 1,
486
- "border-style": "solid",
487
- "fill-color": "#FFFFFF"
488
- },
489
- "border-radius": 0
490
- },
491
- {
492
- "id": "expand_m",
493
- "type": "text-block",
494
- "display": true,
495
- "description": "",
496
- "x": 262.9,
497
- "y": 279,
498
- "width": 206.1,
499
- "height": 41,
500
- "style": {
501
- "font-family": [
502
- "Helvetica"
503
- ],
504
- "font-size": 26,
505
- "color": "#000000",
506
- "text-align": "left",
507
- "vertical-align": "top",
508
- "line-height": 30,
509
- "line-height-ratio": 1,
510
- "letter-spacing": "",
511
- "font-style": [],
512
- "overflow": "expand",
513
- "word-wrap": "break-word"
514
- },
515
- "reference-id": "",
516
- "value": "",
517
- "multiple-line": true,
518
- "format": {
519
- "base": "",
520
- "type": ""
521
- }
522
- }
523
- ],
524
- "state": {
525
- "layout-guides": []
526
- },
527
- "title": "Tblock Overflow",
528
- "report": {
529
- "paper-type": "A4",
530
- "orientation": "portrait",
531
- "margin": [
532
- 20,
533
- 20,
534
- 20,
535
- 20
536
- ]
537
- }
538
- }