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,383 +0,0 @@
1
- {
2
- "version": "0.9.0",
3
- "items": [
4
- {
5
- "id": "",
6
- "type": "text",
7
- "display": true,
8
- "description": "",
9
- "x": 40,
10
- "y": 60,
11
- "width": 151.8,
12
- "height": 46,
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
- },
26
- "texts": [
27
- "サイズ18"
28
- ]
29
- },
30
- {
31
- "id": "text_single24",
32
- "type": "text",
33
- "display": true,
34
- "description": "",
35
- "x": 165,
36
- "y": 60,
37
- "width": 151.8,
38
- "height": 46,
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": "",
50
- "font-style": []
51
- },
52
- "texts": [
53
- "サイズ24"
54
- ]
55
- },
56
- {
57
- "id": "text_single32",
58
- "type": "text",
59
- "display": true,
60
- "description": "",
61
- "x": 345,
62
- "y": 60,
63
- "width": 151.8,
64
- "height": 46,
65
- "style": {
66
- "font-family": [
67
- "Helvetica"
68
- ],
69
- "font-size": 18,
70
- "color": "#000000",
71
- "text-align": "left",
72
- "vertical-align": "top",
73
- "line-height": "",
74
- "line-height-ratio": "",
75
- "letter-spacing": "",
76
- "font-style": []
77
- },
78
- "texts": [
79
- "サイズ32"
80
- ]
81
- },
82
- {
83
- "id": "",
84
- "type": "text",
85
- "display": true,
86
- "description": "",
87
- "x": 35,
88
- "y": 179.8,
89
- "width": 200,
90
- "height": 100,
91
- "style": {
92
- "font-family": [
93
- "Helvetica"
94
- ],
95
- "font-size": 18,
96
- "color": "#000000",
97
- "text-align": "left",
98
- "vertical-align": "top",
99
- "line-height": "",
100
- "line-height-ratio": "",
101
- "letter-spacing": "",
102
- "font-style": []
103
- },
104
- "texts": [
105
- "サイズ18",
106
- "サイズ18"
107
- ]
108
- },
109
- {
110
- "id": "text_multiple24",
111
- "type": "text",
112
- "display": true,
113
- "description": "",
114
- "x": 165,
115
- "y": 179.8,
116
- "width": 200,
117
- "height": 100,
118
- "style": {
119
- "font-family": [
120
- "Helvetica"
121
- ],
122
- "font-size": 18,
123
- "color": "#000000",
124
- "text-align": "left",
125
- "vertical-align": "top",
126
- "line-height": "",
127
- "line-height-ratio": "",
128
- "letter-spacing": "",
129
- "font-style": []
130
- },
131
- "texts": [
132
- "サイズ24",
133
- "サイズ24"
134
- ]
135
- },
136
- {
137
- "id": "text_multiple32",
138
- "type": "text",
139
- "display": true,
140
- "description": "",
141
- "x": 345,
142
- "y": 179.8,
143
- "width": 200,
144
- "height": 100,
145
- "style": {
146
- "font-family": [
147
- "Helvetica"
148
- ],
149
- "font-size": 18,
150
- "color": "#000000",
151
- "text-align": "left",
152
- "vertical-align": "top",
153
- "line-height": "",
154
- "line-height-ratio": "",
155
- "letter-spacing": "",
156
- "font-style": []
157
- },
158
- "texts": [
159
- "サイズ32",
160
- "サイズ32"
161
- ]
162
- },
163
- {
164
- "id": "block_single18",
165
- "type": "text-block",
166
- "display": true,
167
- "description": "",
168
- "x": 40,
169
- "y": 320.6,
170
- "width": 103.4,
171
- "height": 17,
172
- "style": {
173
- "font-family": [
174
- "Helvetica"
175
- ],
176
- "font-size": 18,
177
- "color": "#000000",
178
- "text-align": "left",
179
- "vertical-align": "top",
180
- "line-height": "",
181
- "line-height-ratio": "",
182
- "letter-spacing": "",
183
- "font-style": [],
184
- "overflow": "truncate",
185
- "word-wrap": "break-word"
186
- },
187
- "reference-id": "",
188
- "value": "",
189
- "multiple-line": false,
190
- "format": {
191
- "base": "",
192
- "type": ""
193
- }
194
- },
195
- {
196
- "id": "block_single24",
197
- "type": "text-block",
198
- "display": true,
199
- "description": "",
200
- "x": 165,
201
- "y": 320.6,
202
- "width": 157.2,
203
- "height": 17,
204
- "style": {
205
- "font-family": [
206
- "Helvetica"
207
- ],
208
- "font-size": 18,
209
- "color": "#000000",
210
- "text-align": "left",
211
- "vertical-align": "top",
212
- "line-height": "",
213
- "line-height-ratio": "",
214
- "letter-spacing": "",
215
- "font-style": [],
216
- "overflow": "truncate",
217
- "word-wrap": "none"
218
- },
219
- "reference-id": "",
220
- "value": "",
221
- "multiple-line": false,
222
- "format": {
223
- "base": "",
224
- "type": ""
225
- }
226
- },
227
- {
228
- "id": "block_single32",
229
- "type": "text-block",
230
- "display": true,
231
- "description": "",
232
- "x": 345,
233
- "y": 320.6,
234
- "width": 230.2,
235
- "height": 17,
236
- "style": {
237
- "font-family": [
238
- "Helvetica"
239
- ],
240
- "font-size": 18,
241
- "color": "#000000",
242
- "text-align": "left",
243
- "vertical-align": "top",
244
- "line-height": "",
245
- "line-height-ratio": "",
246
- "letter-spacing": "",
247
- "font-style": [],
248
- "overflow": "truncate",
249
- "word-wrap": "none"
250
- },
251
- "reference-id": "",
252
- "value": "",
253
- "multiple-line": false,
254
- "format": {
255
- "base": "",
256
- "type": ""
257
- }
258
- },
259
- {
260
- "id": "block_multiple18",
261
- "type": "text-block",
262
- "display": true,
263
- "description": "",
264
- "x": 40,
265
- "y": 390,
266
- "width": 103.4,
267
- "height": 113.3,
268
- "style": {
269
- "font-family": [
270
- "Helvetica"
271
- ],
272
- "font-size": 18,
273
- "color": "#000000",
274
- "text-align": "left",
275
- "vertical-align": "top",
276
- "line-height": "",
277
- "line-height-ratio": "",
278
- "letter-spacing": "",
279
- "font-style": [],
280
- "overflow": "truncate",
281
- "word-wrap": "none"
282
- },
283
- "reference-id": "",
284
- "value": "",
285
- "multiple-line": true,
286
- "format": {
287
- "base": "",
288
- "type": ""
289
- }
290
- },
291
- {
292
- "id": "block_multiple24",
293
- "type": "text-block",
294
- "display": true,
295
- "description": "",
296
- "x": 165,
297
- "y": 390,
298
- "width": 157.2,
299
- "height": 113.3,
300
- "style": {
301
- "font-family": [
302
- "Helvetica"
303
- ],
304
- "font-size": 18,
305
- "color": "#000000",
306
- "text-align": "left",
307
- "vertical-align": "top",
308
- "line-height": "",
309
- "line-height-ratio": "",
310
- "letter-spacing": "",
311
- "font-style": [],
312
- "overflow": "truncate",
313
- "word-wrap": "none"
314
- },
315
- "reference-id": "",
316
- "value": "",
317
- "multiple-line": true,
318
- "format": {
319
- "base": "",
320
- "type": ""
321
- }
322
- },
323
- {
324
- "id": "block_multiple32",
325
- "type": "text-block",
326
- "display": true,
327
- "description": "",
328
- "x": 345,
329
- "y": 390,
330
- "width": 230.2,
331
- "height": 113.3,
332
- "style": {
333
- "font-family": [
334
- "Helvetica"
335
- ],
336
- "font-size": 18,
337
- "color": "#000000",
338
- "text-align": "left",
339
- "vertical-align": "top",
340
- "line-height": "",
341
- "line-height-ratio": "",
342
- "letter-spacing": "",
343
- "font-style": [],
344
- "overflow": "truncate",
345
- "word-wrap": "none"
346
- },
347
- "reference-id": "",
348
- "value": "",
349
- "multiple-line": true,
350
- "format": {
351
- "base": "",
352
- "type": ""
353
- }
354
- }
355
- ],
356
- "state": {
357
- "layout-guides": [
358
- {
359
- "type": "x",
360
- "position": 164.4
361
- },
362
- {
363
- "type": "x",
364
- "position": 344.1
365
- },
366
- {
367
- "type": "y",
368
- "position": 503.3
369
- }
370
- ]
371
- },
372
- "title": "FontSize",
373
- "report": {
374
- "paper-type": "A4",
375
- "orientation": "portrait",
376
- "margin": [
377
- 20,
378
- 20,
379
- 20,
380
- 20
381
- ]
382
- }
383
- }
@@ -1,47 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'feature_test'
4
-
5
- class TestTextBlockStyle < FeatureTest
6
- feature :text_block_style do
7
- report = Thinreports::Report.new
8
-
9
- report.start_new_page layout: template_path('templates/basic_styles.tlf') do |page|
10
- page.item(:space_single_helvetica).value('Char Space in Single(Helvetica)')
11
- page.item(:space_single_ipamincho).value = '文字間隔 in 単行(IPA明朝)'
12
-
13
- page[:space_multi_times] = "Char Space\nin Multiple(Times New Roman)"
14
- page.item(:space_multi_ipamincho).value("文字間隔\nin 複数行(IPA明朝)")
15
-
16
- page.values(left_top: '左上揃え',
17
- left_center: '左中央揃え',
18
- left_bottom: '左下揃え',
19
- center_top: '中央上揃え',
20
- center_center: '中央揃え',
21
- center_bottom: '中央下揃え',
22
- right_top: '右上揃え',
23
- right_center: '右中央揃え',
24
- right_bottom: '右下揃え')
25
-
26
- page.item(:line_height).value("行間隔2.0\n日本語\nThinreports")
27
- end
28
-
29
- report.start_new_page layout: template_path('templates/font_size.tlf') do |page|
30
- page[:text_single24].style(:font_size, 24)
31
- page[:text_single32].style(:font_size, 32)
32
-
33
- page.item(:text_multiple24).style(:font_size, 24)
34
- page.item(:text_multiple32).style(:font_size, 32)
35
-
36
- page.item(:block_single18).value('サイズ18')
37
- page.item(:block_single24).style(:font_size, 24).value('サイズ24')
38
- page.item(:block_single32).style(:font_size, 32).value('サイズ32')
39
-
40
- page.item(:block_multiple18).value("サイズ18\nサイズ18")
41
- page.item(:block_multiple24).style(:font_size, 24).value("サイズ24\nサイズ24")
42
- page.item(:block_multiple32).style(:font_size, 32).value("サイズ32\nサイズ32")
43
- end
44
-
45
- assert_pdf report.generate
46
- end
47
- end
@@ -1,293 +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": 40,
13
- "style": {
14
- "font-family": [
15
- "Times New Roman"
16
- ],
17
- "font-size": 36,
18
- "color": "#000000",
19
- "text-align": "left",
20
- "vertical-align": "top",
21
- "line-height": "",
22
- "line-height-ratio": "",
23
- "letter-spacing": 10,
24
- "font-style": []
25
- },
26
- "texts": [
27
- "Times Roman Left"
28
- ]
29
- },
30
- {
31
- "id": "",
32
- "type": "line",
33
- "display": true,
34
- "description": "",
35
- "style": {
36
- "border-color": "#ff0000",
37
- "border-width": 1,
38
- "border-style": "solid"
39
- },
40
- "x1": 436,
41
- "y1": 20,
42
- "x2": 436,
43
- "y2": 57
44
- },
45
- {
46
- "id": "",
47
- "type": "text",
48
- "display": true,
49
- "description": "",
50
- "x": 20,
51
- "y": 137,
52
- "width": 555.2,
53
- "height": 36,
54
- "style": {
55
- "font-family": [
56
- "IPAMincho"
57
- ],
58
- "font-size": 36,
59
- "color": "#000000",
60
- "text-align": "left",
61
- "vertical-align": "top",
62
- "line-height": "",
63
- "line-height-ratio": "",
64
- "letter-spacing": 10,
65
- "font-style": []
66
- },
67
- "texts": [
68
- "IPA明朝 左寄せ"
69
- ]
70
- },
71
- {
72
- "id": "",
73
- "type": "line",
74
- "display": true,
75
- "description": "",
76
- "style": {
77
- "border-color": "#ff0000",
78
- "border-width": 1,
79
- "border-style": "solid"
80
- },
81
- "x1": 351,
82
- "y1": 136,
83
- "x2": 351,
84
- "y2": 173
85
- },
86
- {
87
- "id": "",
88
- "type": "text",
89
- "display": true,
90
- "description": "",
91
- "x": 20,
92
- "y": 260,
93
- "width": 555.2,
94
- "height": 38.5,
95
- "style": {
96
- "font-family": [
97
- "IPAPGothic"
98
- ],
99
- "font-size": 36,
100
- "color": "#000000",
101
- "text-align": "left",
102
- "vertical-align": "top",
103
- "line-height": "",
104
- "line-height-ratio": "",
105
- "letter-spacing": 10,
106
- "font-style": []
107
- },
108
- "texts": [
109
- "IPA Pゴシック 左寄せ"
110
- ]
111
- },
112
- {
113
- "id": "",
114
- "type": "line",
115
- "display": true,
116
- "description": "",
117
- "style": {
118
- "border-color": "#ff0000",
119
- "border-width": 1,
120
- "border-style": "solid"
121
- },
122
- "x1": 487,
123
- "y1": 262,
124
- "x2": 487,
125
- "y2": 299
126
- },
127
- {
128
- "id": "",
129
- "type": "text",
130
- "display": true,
131
- "description": "",
132
- "x": 20,
133
- "y": 70,
134
- "width": 555.2,
135
- "height": 40,
136
- "style": {
137
- "font-family": [
138
- "Times New Roman"
139
- ],
140
- "font-size": 36,
141
- "color": "#000000",
142
- "text-align": "right",
143
- "vertical-align": "top",
144
- "line-height": "",
145
- "line-height-ratio": "",
146
- "letter-spacing": 10,
147
- "font-style": []
148
- },
149
- "texts": [
150
- "Times Roman Right"
151
- ]
152
- },
153
- {
154
- "id": "",
155
- "type": "line",
156
- "display": true,
157
- "description": "",
158
- "style": {
159
- "border-color": "#ff0000",
160
- "border-width": 1,
161
- "border-style": "solid"
162
- },
163
- "x1": 575,
164
- "y1": 21,
165
- "x2": 575.2,
166
- "y2": 821.8
167
- },
168
- {
169
- "id": "",
170
- "type": "line",
171
- "display": true,
172
- "description": "",
173
- "style": {
174
- "border-color": "#ff0000",
175
- "border-width": 1,
176
- "border-style": "solid"
177
- },
178
- "x1": 131,
179
- "y1": 66,
180
- "x2": 131,
181
- "y2": 103
182
- },
183
- {
184
- "id": "",
185
- "type": "text",
186
- "display": true,
187
- "description": "",
188
- "x": 20,
189
- "y": 186.9,
190
- "width": 555.2,
191
- "height": 36,
192
- "style": {
193
- "font-family": [
194
- "IPAMincho"
195
- ],
196
- "font-size": 36,
197
- "color": "#000000",
198
- "text-align": "right",
199
- "vertical-align": "top",
200
- "line-height": "",
201
- "line-height-ratio": "",
202
- "letter-spacing": 10,
203
- "font-style": []
204
- },
205
- "texts": [
206
- "IPA明朝 右寄せ"
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": 247,
220
- "y1": 185.9,
221
- "x2": 247,
222
- "y2": 222.9
223
- },
224
- {
225
- "id": "",
226
- "type": "text",
227
- "display": true,
228
- "description": "",
229
- "x": 20,
230
- "y": 316,
231
- "width": 555.2,
232
- "height": 38.5,
233
- "style": {
234
- "font-family": [
235
- "IPAPGothic"
236
- ],
237
- "font-size": 36,
238
- "color": "#000000",
239
- "text-align": "right",
240
- "vertical-align": "top",
241
- "line-height": "",
242
- "line-height-ratio": "",
243
- "letter-spacing": 10,
244
- "font-style": []
245
- },
246
- "texts": [
247
- "IPA Pゴシック 右寄せ"
248
- ]
249
- },
250
- {
251
- "id": "",
252
- "type": "line",
253
- "display": true,
254
- "description": "",
255
- "style": {
256
- "border-color": "#ff0000",
257
- "border-width": 1,
258
- "border-style": "solid"
259
- },
260
- "x1": 108,
261
- "y1": 318,
262
- "x2": 108,
263
- "y2": 355
264
- }
265
- ],
266
- "state": {
267
- "layout-guides": [
268
- {
269
- "type": "x",
270
- "position": 59.5
271
- },
272
- {
273
- "type": "y",
274
- "position": 434.1
275
- },
276
- {
277
- "type": "y",
278
- "position": 374.1
279
- }
280
- ]
281
- },
282
- "title": "Character Spacing",
283
- "report": {
284
- "paper-type": "A4",
285
- "orientation": "portrait",
286
- "margin": [
287
- 20,
288
- 20,
289
- 20,
290
- 20
291
- ]
292
- }
293
- }