thinreports 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +39 -0
  3. data/CHANGELOG.md +20 -0
  4. data/Dockerfile +12 -0
  5. data/Gemfile +5 -0
  6. data/README.md +37 -13
  7. data/Rakefile +1 -0
  8. data/lib/thinreports/core/shape/image_block.rb +1 -1
  9. data/lib/thinreports/core/shape/list.rb +1 -1
  10. data/lib/thinreports/core/shape/page_number.rb +1 -1
  11. data/lib/thinreports/core/shape/text.rb +1 -1
  12. data/lib/thinreports/core/shape/text_block.rb +1 -1
  13. data/lib/thinreports/core/shape/text_block/formatter/number.rb +6 -1
  14. data/lib/thinreports/core/shape/text_block/internal.rb +0 -2
  15. data/lib/thinreports/generator/pdf/prawn_ext/width_of.rb +6 -0
  16. data/lib/thinreports/layout/base.rb +1 -1
  17. data/lib/thinreports/layout/version.rb +1 -1
  18. data/lib/thinreports/report/internal.rb +2 -0
  19. data/lib/thinreports/version.rb +1 -1
  20. data/thinreports.gemspec +5 -9
  21. metadata +6 -204
  22. data/.travis.yml +0 -32
  23. data/test/data/font.ttf +0 -0
  24. data/test/data/image_normal.jpg +0 -0
  25. data/test/data/image_normal.png +0 -0
  26. data/test/data/image_normal_jpg_noext +0 -0
  27. data/test/data/image_normal_png_noext +0 -0
  28. data/test/data/image_pallete_based.png +0 -0
  29. data/test/data/legacy_layout/all-items.tlf +0 -1
  30. data/test/features/dynamic_style/expect.pdf +0 -3714
  31. data/test/features/dynamic_style/image.png +0 -0
  32. data/test/features/dynamic_style/templates/styles.tlf +0 -1835
  33. data/test/features/dynamic_style/templates/styles_in_list.tlf +0 -344
  34. data/test/features/dynamic_style/test_dynamic_style.rb +0 -152
  35. data/test/features/eudc/eudc.ttf +0 -0
  36. data/test/features/eudc/expect.pdf +0 -0
  37. data/test/features/eudc/template.tlf +0 -180
  38. data/test/features/eudc/test_eudc.rb +0 -27
  39. data/test/features/feature_test.rb +0 -58
  40. data/test/features/graphics/expect.pdf +0 -475
  41. data/test/features/graphics/template.tlf +0 -309
  42. data/test/features/graphics/test_graphics.rb +0 -12
  43. data/test/features/hidden_item/expect.pdf +0 -0
  44. data/test/features/hidden_item/template.tlf +0 -449
  45. data/test/features/hidden_item/test_hidden_item.rb +0 -12
  46. data/test/features/image_block/expect.pdf +0 -0
  47. data/test/features/image_block/img200x100.png +0 -0
  48. data/test/features/image_block/img50x50.png +0 -0
  49. data/test/features/image_block/template.tlf +0 -661
  50. data/test/features/image_block/test_image_block.rb +0 -35
  51. data/test/features/list_events/expect.pdf +0 -659
  52. data/test/features/list_events/template.tlf +0 -361
  53. data/test/features/list_events/test_list_events.rb +0 -36
  54. data/test/features/list_manually/expect.pdf +0 -599
  55. data/test/features/list_manually/template.tlf +0 -132
  56. data/test/features/list_manually/test_list_manually.rb +0 -25
  57. data/test/features/page_number/expect.pdf +0 -400
  58. data/test/features/page_number/template.tlf +0 -215
  59. data/test/features/page_number/test_page_number.rb +0 -24
  60. data/test/features/page_number_with_list/expect.pdf +0 -721
  61. data/test/features/page_number_with_list/template.tlf +0 -254
  62. data/test/features/page_number_with_list/test_page_number_with_list.rb +0 -21
  63. data/test/features/palleted_png/expect.pdf +0 -0
  64. data/test/features/palleted_png/palleted_png.png +0 -0
  65. data/test/features/palleted_png/template.tlf +0 -47
  66. data/test/features/palleted_png/test_palleted_png.rb +0 -14
  67. data/test/features/report_callbacks/expect.pdf +0 -169
  68. data/test/features/report_callbacks/template.tlf +0 -147
  69. data/test/features/report_callbacks/test_report_callbacks.rb +0 -18
  70. data/test/features/text_align/expect.pdf +0 -0
  71. data/test/features/text_align/template.tlf +0 -241
  72. data/test/features/text_align/test_text_align.rb +0 -12
  73. data/test/features/text_block_overflow/expect.pdf +0 -0
  74. data/test/features/text_block_overflow/template.tlf +0 -538
  75. data/test/features/text_block_overflow/test_text_block_overflow.rb +0 -25
  76. data/test/features/text_block_singleline/expect.pdf +0 -0
  77. data/test/features/text_block_singleline/template.tlf +0 -170
  78. data/test/features/text_block_singleline/test_text_block_singleline.rb +0 -15
  79. data/test/features/text_block_style/expect.pdf +0 -1391
  80. data/test/features/text_block_style/templates/basic_styles.tlf +0 -889
  81. data/test/features/text_block_style/templates/font_size.tlf +0 -383
  82. data/test/features/text_block_style/test_text_block_style.rb +0 -47
  83. data/test/features/text_character_spacing/expect.pdf +0 -0
  84. data/test/features/text_character_spacing/template.tlf +0 -293
  85. data/test/features/text_character_spacing/test_text_character_spacing.rb +0 -12
  86. data/test/features/text_word_wrap/expect.pdf +0 -0
  87. data/test/features/text_word_wrap/template.tlf +0 -297
  88. data/test/features/text_word_wrap/test_text_word_wrap.rb +0 -30
  89. data/test/schema_helper.rb +0 -122
  90. data/test/test_helper.rb +0 -39
  91. data/test/units/core/format/test_base.rb +0 -152
  92. data/test/units/core/shape/base/test_internal.rb +0 -87
  93. data/test/units/core/shape/basic/test_block_format.rb +0 -23
  94. data/test/units/core/shape/basic/test_block_interface.rb +0 -29
  95. data/test/units/core/shape/basic/test_block_internal.rb +0 -55
  96. data/test/units/core/shape/basic/test_format.rb +0 -37
  97. data/test/units/core/shape/basic/test_interface.rb +0 -108
  98. data/test/units/core/shape/basic/test_internal.rb +0 -55
  99. data/test/units/core/shape/image_block/test_interface.rb +0 -24
  100. data/test/units/core/shape/image_block/test_internal.rb +0 -31
  101. data/test/units/core/shape/list/test_format.rb +0 -111
  102. data/test/units/core/shape/list/test_manager.rb +0 -67
  103. data/test/units/core/shape/list/test_page.rb +0 -156
  104. data/test/units/core/shape/list/test_page_state.rb +0 -31
  105. data/test/units/core/shape/list/test_section_format.rb +0 -36
  106. data/test/units/core/shape/list/test_section_interface.rb +0 -75
  107. data/test/units/core/shape/list/test_section_internal.rb +0 -50
  108. data/test/units/core/shape/manager/test_format.rb +0 -38
  109. data/test/units/core/shape/manager/test_internal.rb +0 -132
  110. data/test/units/core/shape/manager/test_target.rb +0 -140
  111. data/test/units/core/shape/page_number/test_format.rb +0 -55
  112. data/test/units/core/shape/page_number/test_interface.rb +0 -33
  113. data/test/units/core/shape/page_number/test_internal.rb +0 -81
  114. data/test/units/core/shape/styles/test_base.rb +0 -191
  115. data/test/units/core/shape/styles/test_basic.rb +0 -24
  116. data/test/units/core/shape/styles/test_graphic.rb +0 -50
  117. data/test/units/core/shape/styles/test_text.rb +0 -97
  118. data/test/units/core/shape/text/test_format.rb +0 -44
  119. data/test/units/core/shape/text/test_internal.rb +0 -20
  120. data/test/units/core/shape/text_block/formatter/test_basic.rb +0 -24
  121. data/test/units/core/shape/text_block/formatter/test_datetime.rb +0 -49
  122. data/test/units/core/shape/text_block/formatter/test_number.rb +0 -76
  123. data/test/units/core/shape/text_block/formatter/test_padding.rb +0 -77
  124. data/test/units/core/shape/text_block/test_format.rb +0 -169
  125. data/test/units/core/shape/text_block/test_formatter.rb +0 -28
  126. data/test/units/core/shape/text_block/test_interface.rb +0 -63
  127. data/test/units/core/shape/text_block/test_internal.rb +0 -128
  128. data/test/units/core/test_shape.rb +0 -52
  129. data/test/units/core/test_utils.rb +0 -68
  130. data/test/units/generator/pdf/document/graphics/test_attributes.rb +0 -135
  131. data/test/units/generator/pdf/document/graphics/test_basic.rb +0 -46
  132. data/test/units/generator/pdf/document/graphics/test_image.rb +0 -46
  133. data/test/units/generator/pdf/document/graphics/test_text.rb +0 -171
  134. data/test/units/generator/pdf/document/test_font.rb +0 -110
  135. data/test/units/generator/pdf/document/test_graphics.rb +0 -42
  136. data/test/units/generator/pdf/document/test_page.rb +0 -122
  137. data/test/units/generator/pdf/document/test_parse_color.rb +0 -30
  138. data/test/units/generator/pdf/prawn_ext/test_calc_image_dimensions.rb +0 -41
  139. data/test/units/generator/pdf/prawn_ext/test_width_of.rb +0 -22
  140. data/test/units/generator/pdf/test_document.rb +0 -22
  141. data/test/units/generator/test_pdf.rb +0 -26
  142. data/test/units/layout/test_base.rb +0 -41
  143. data/test/units/layout/test_format.rb +0 -100
  144. data/test/units/layout/test_legacy_schema.rb +0 -576
  145. data/test/units/layout/test_version.rb +0 -26
  146. data/test/units/report/test_base.rb +0 -248
  147. data/test/units/report/test_internal.rb +0 -206
  148. data/test/units/test_config.rb +0 -36
  149. data/test/units/test_layout.rb +0 -12
  150. data/test/units/test_report.rb +0 -18
@@ -1,147 +0,0 @@
1
- {
2
- "version": "0.9.0",
3
- "items": [
4
- {
5
- "id": "text1",
6
- "type": "text-block",
7
- "display": true,
8
- "description": "",
9
- "x": 20,
10
- "y": 45,
11
- "width": 357.2,
12
- "height": 18,
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": "",
24
- "font-style": [],
25
- "overflow": "truncate",
26
- "word-wrap": "break-word"
27
- },
28
- "reference-id": "",
29
- "value": "",
30
- "multiple-line": false,
31
- "format": {
32
- "base": "",
33
- "type": ""
34
- }
35
- },
36
- {
37
- "id": "text2",
38
- "type": "text-block",
39
- "display": true,
40
- "description": "",
41
- "x": 20,
42
- "y": 75,
43
- "width": 357.2,
44
- "height": 18,
45
- "style": {
46
- "font-family": [
47
- "Helvetica"
48
- ],
49
- "font-size": 18,
50
- "color": "#000000",
51
- "text-align": "left",
52
- "vertical-align": "top",
53
- "line-height": "",
54
- "line-height-ratio": "",
55
- "letter-spacing": "",
56
- "font-style": [],
57
- "overflow": "truncate",
58
- "word-wrap": "none"
59
- },
60
- "reference-id": "",
61
- "value": "",
62
- "multiple-line": false,
63
- "format": {
64
- "base": "",
65
- "type": ""
66
- }
67
- },
68
- {
69
- "id": "text3",
70
- "type": "text-block",
71
- "display": true,
72
- "description": "",
73
- "x": 20,
74
- "y": 105,
75
- "width": 357.2,
76
- "height": 18,
77
- "style": {
78
- "font-family": [
79
- "Helvetica"
80
- ],
81
- "font-size": 18,
82
- "color": "#000000",
83
- "text-align": "left",
84
- "vertical-align": "top",
85
- "line-height": "",
86
- "line-height-ratio": "",
87
- "letter-spacing": "",
88
- "font-style": [],
89
- "overflow": "truncate",
90
- "word-wrap": "none"
91
- },
92
- "reference-id": "",
93
- "value": "",
94
- "multiple-line": false,
95
- "format": {
96
- "base": "",
97
- "type": ""
98
- }
99
- },
100
- {
101
- "id": "text4",
102
- "type": "text-block",
103
- "display": true,
104
- "description": "",
105
- "x": 20,
106
- "y": 135,
107
- "width": 357.2,
108
- "height": 18,
109
- "style": {
110
- "font-family": [
111
- "Helvetica"
112
- ],
113
- "font-size": 18,
114
- "color": "#000000",
115
- "text-align": "left",
116
- "vertical-align": "top",
117
- "line-height": "",
118
- "line-height-ratio": "",
119
- "letter-spacing": "",
120
- "font-style": [],
121
- "overflow": "truncate",
122
- "word-wrap": "none"
123
- },
124
- "reference-id": "",
125
- "value": "",
126
- "multiple-line": false,
127
- "format": {
128
- "base": "",
129
- "type": ""
130
- }
131
- }
132
- ],
133
- "state": {
134
- "layout-guides": []
135
- },
136
- "title": "",
137
- "report": {
138
- "paper-type": "A4",
139
- "orientation": "portrait",
140
- "margin": [
141
- 20,
142
- 20,
143
- 20,
144
- 20
145
- ]
146
- }
147
- }
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'feature_test'
4
-
5
- class TestReportCallbacks < FeatureTest
6
- feature :report_callbacks do
7
- report = Thinreports::Report.new layout: template_path
8
-
9
- report.on_page_create do |page|
10
- page.item(:text2).value('Rendered by on_page_create')
11
- end
12
-
13
- report.start_new_page
14
- report.start_new_page
15
-
16
- assert_pdf report.generate
17
- end
18
- end
@@ -1,241 +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": 19,
11
- "width": 555.2,
12
- "height": 84.3,
13
- "style": {
14
- "font-family": [
15
- "Helvetica"
16
- ],
17
- "font-size": 36,
18
- "color": "#000000",
19
- "text-align": "right",
20
- "vertical-align": "top",
21
- "line-height": "",
22
- "line-height-ratio": "",
23
- "letter-spacing": "",
24
- "font-style": []
25
- },
26
- "texts": [
27
- "Align Right",
28
- "Helvetica"
29
- ]
30
- },
31
- {
32
- "id": "",
33
- "type": "line",
34
- "display": true,
35
- "description": "",
36
- "style": {
37
- "border-color": "#000000",
38
- "border-width": 1,
39
- "border-style": "solid"
40
- },
41
- "x1": 297.6,
42
- "y1": 20,
43
- "x2": 297.6,
44
- "y2": 821.8
45
- },
46
- {
47
- "id": "",
48
- "type": "text",
49
- "display": true,
50
- "description": "",
51
- "x": 20,
52
- "y": 105,
53
- "width": 555.2,
54
- "height": 72,
55
- "style": {
56
- "font-family": [
57
- "IPAMincho"
58
- ],
59
- "font-size": 36,
60
- "color": "#000000",
61
- "text-align": "right",
62
- "vertical-align": "top",
63
- "line-height": "",
64
- "line-height-ratio": "",
65
- "letter-spacing": "",
66
- "font-style": []
67
- },
68
- "texts": [
69
- "右寄せ",
70
- "IPA明朝"
71
- ]
72
- },
73
- {
74
- "id": "",
75
- "type": "line",
76
- "display": true,
77
- "description": "",
78
- "style": {
79
- "border-color": "#000000",
80
- "border-width": 1,
81
- "border-style": "solid"
82
- },
83
- "x1": 297.6,
84
- "y1": 20,
85
- "x2": 297.6,
86
- "y2": 821.8
87
- },
88
- {
89
- "id": "",
90
- "type": "line",
91
- "display": true,
92
- "description": "",
93
- "style": {
94
- "border-color": "#000000",
95
- "border-width": 1,
96
- "border-style": "solid"
97
- },
98
- "x1": 575.2,
99
- "y1": 20,
100
- "x2": 575.2,
101
- "y2": 821.8
102
- },
103
- {
104
- "id": "",
105
- "type": "text",
106
- "display": true,
107
- "description": "",
108
- "x": 20,
109
- "y": 241,
110
- "width": 555.2,
111
- "height": 84.3,
112
- "style": {
113
- "font-family": [
114
- "Helvetica"
115
- ],
116
- "font-size": 36,
117
- "color": "#000000",
118
- "text-align": "center",
119
- "vertical-align": "top",
120
- "line-height": "",
121
- "line-height-ratio": "",
122
- "letter-spacing": "",
123
- "font-style": []
124
- },
125
- "texts": [
126
- "Align Center",
127
- "Helvetica"
128
- ]
129
- },
130
- {
131
- "id": "",
132
- "type": "text",
133
- "display": true,
134
- "description": "",
135
- "x": 20,
136
- "y": 330,
137
- "width": 555.2,
138
- "height": 72,
139
- "style": {
140
- "font-family": [
141
- "IPAMincho"
142
- ],
143
- "font-size": 36,
144
- "color": "#000000",
145
- "text-align": "center",
146
- "vertical-align": "top",
147
- "line-height": "",
148
- "line-height-ratio": "",
149
- "letter-spacing": "",
150
- "font-style": []
151
- },
152
- "texts": [
153
- "中央寄せ",
154
- "IPA明朝"
155
- ]
156
- },
157
- {
158
- "id": "",
159
- "type": "text",
160
- "display": true,
161
- "description": "",
162
- "x": 20,
163
- "y": 490,
164
- "width": 555.2,
165
- "height": 84.3,
166
- "style": {
167
- "font-family": [
168
- "Helvetica"
169
- ],
170
- "font-size": 36,
171
- "color": "#000000",
172
- "text-align": "left",
173
- "vertical-align": "top",
174
- "line-height": "",
175
- "line-height-ratio": "",
176
- "letter-spacing": "",
177
- "font-style": []
178
- },
179
- "texts": [
180
- "Align Left",
181
- "Helvetica"
182
- ]
183
- },
184
- {
185
- "id": "",
186
- "type": "text",
187
- "display": true,
188
- "description": "",
189
- "x": 20,
190
- "y": 580,
191
- "width": 555.2,
192
- "height": 72,
193
- "style": {
194
- "font-family": [
195
- "IPAMincho"
196
- ],
197
- "font-size": 36,
198
- "color": "#000000",
199
- "text-align": "left",
200
- "vertical-align": "top",
201
- "line-height": "",
202
- "line-height-ratio": "",
203
- "letter-spacing": "",
204
- "font-style": []
205
- },
206
- "texts": [
207
- "左寄せ",
208
- "IPA明朝"
209
- ]
210
- },
211
- {
212
- "id": "",
213
- "type": "line",
214
- "display": true,
215
- "description": "",
216
- "style": {
217
- "border-color": "#000000",
218
- "border-width": 1,
219
- "border-style": "solid"
220
- },
221
- "x1": 20,
222
- "y1": 20,
223
- "x2": 20,
224
- "y2": 821.8
225
- }
226
- ],
227
- "state": {
228
- "layout-guides": []
229
- },
230
- "title": "Case: Text Align",
231
- "report": {
232
- "paper-type": "A4",
233
- "orientation": "portrait",
234
- "margin": [
235
- 20,
236
- 20,
237
- 20,
238
- 20
239
- ]
240
- }
241
- }
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'feature_test'
4
-
5
- class TestTextAlign < FeatureTest
6
- feature :text_align do
7
- report = Thinreports::Report.new layout: template_path
8
- report.start_new_page
9
-
10
- assert_pdf report.generate
11
- end
12
- 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
- }