thinreports 0.8.2 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CONTRIBUTING.md +2 -0
  3. data/.travis.yml +3 -3
  4. data/CHANGELOG.md +98 -1
  5. data/README.md +0 -9
  6. data/Rakefile +1 -2
  7. data/examples/character_spacing/character_spacing.tlf +293 -1
  8. data/examples/dynamic_image/dynamic_image.tlf +661 -1
  9. data/examples/dynamic_style/dynamic_style.rb +4 -4
  10. data/examples/dynamic_style/dynamic_style.tlf +1835 -1
  11. data/examples/dynamic_style/dynamic_style_in_list.tlf +344 -1
  12. data/examples/eudc/eudc.tlf +180 -1
  13. data/examples/hidden_shapes/hidden_shapes.tlf +449 -1
  14. data/examples/list_events/list_events.rb +1 -28
  15. data/examples/list_events/list_events.tlf +361 -0
  16. data/examples/list_manual_generation/list_manual_generation.tlf +132 -1
  17. data/examples/list_page_number/list_page_number.tlf +254 -1
  18. data/examples/page_number/page_number.tlf +215 -1
  19. data/examples/palleted_png/palleted_png.rb +2 -0
  20. data/examples/palleted_png/palleted_png.tlf +47 -1
  21. data/examples/password_setting/password_setting.tlf +45 -1
  22. data/examples/report_callbacks/report_callbacks.rb +1 -18
  23. data/examples/report_callbacks/report_callbacks.tlf +147 -1
  24. data/examples/single_line_tblock/single_line_tblock.tlf +170 -1
  25. data/examples/tblock_overflow/tblock_overflow.tlf +538 -1
  26. data/examples/tblock_styles/font_size.tlf +383 -1
  27. data/examples/tblock_styles/tblock_styles.tlf +889 -1
  28. data/examples/text_align/text_align.tlf +241 -1
  29. data/examples/typeB_page_size/B4_ISO.tlf +45 -1
  30. data/examples/typeB_page_size/B4_JIS.tlf +45 -1
  31. data/examples/word_wrap/word_wrap.tlf +297 -1
  32. data/lib/thinreports.rb +0 -1
  33. data/lib/thinreports/config.rb +3 -0
  34. data/lib/thinreports/core/errors.rb +0 -3
  35. data/lib/thinreports/core/format/base.rb +4 -4
  36. data/lib/thinreports/core/shape.rb +1 -9
  37. data/lib/thinreports/core/shape/basic.rb +3 -3
  38. data/lib/thinreports/core/shape/basic/block_format.rb +1 -1
  39. data/lib/thinreports/core/shape/basic/format.rb +2 -14
  40. data/lib/thinreports/core/shape/basic/internal.rb +2 -2
  41. data/lib/thinreports/core/shape/image_block.rb +3 -3
  42. data/lib/thinreports/core/shape/image_block/format.rb +0 -2
  43. data/lib/thinreports/core/shape/image_block/internal.rb +1 -1
  44. data/lib/thinreports/core/shape/list.rb +3 -7
  45. data/lib/thinreports/core/shape/list/format.rb +37 -24
  46. data/lib/thinreports/core/shape/list/manager.rb +1 -36
  47. data/lib/thinreports/core/shape/list/page.rb +0 -15
  48. data/lib/thinreports/core/shape/list/page_state.rb +1 -1
  49. data/lib/thinreports/core/shape/list/section_format.rb +14 -12
  50. data/lib/thinreports/core/shape/list/section_internal.rb +4 -7
  51. data/lib/thinreports/core/shape/manager/format.rb +0 -2
  52. data/lib/thinreports/core/shape/manager/internal.rb +1 -1
  53. data/lib/thinreports/core/shape/page_number.rb +1 -1
  54. data/lib/thinreports/core/shape/page_number/format.rb +9 -6
  55. data/lib/thinreports/core/shape/page_number/interface.rb +1 -1
  56. data/lib/thinreports/core/shape/page_number/internal.rb +2 -6
  57. data/lib/thinreports/core/shape/style/base.rb +11 -13
  58. data/lib/thinreports/core/shape/style/basic.rb +4 -4
  59. data/lib/thinreports/core/shape/style/graphic.rb +4 -10
  60. data/lib/thinreports/core/shape/style/text.rb +36 -69
  61. data/lib/thinreports/core/shape/text.rb +3 -3
  62. data/lib/thinreports/core/shape/text/format.rb +3 -13
  63. data/lib/thinreports/core/shape/text/internal.rb +2 -2
  64. data/lib/thinreports/core/shape/text_block.rb +3 -3
  65. data/lib/thinreports/core/shape/text_block/format.rb +9 -6
  66. data/lib/thinreports/core/shape/text_block/interface.rb +7 -7
  67. data/lib/thinreports/core/shape/text_block/internal.rb +1 -1
  68. data/lib/thinreports/generator/pdf.rb +0 -1
  69. data/lib/thinreports/generator/pdf/document.rb +2 -2
  70. data/lib/thinreports/generator/pdf/document/draw_shape.rb +25 -51
  71. data/lib/thinreports/generator/pdf/document/draw_template_items.rb +66 -0
  72. data/lib/thinreports/generator/pdf/document/font.rb +3 -8
  73. data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +97 -77
  74. data/lib/thinreports/generator/pdf/document/graphics/basic.rb +18 -13
  75. data/lib/thinreports/generator/pdf/document/graphics/image.rb +17 -12
  76. data/lib/thinreports/generator/pdf/document/page.rb +1 -1
  77. data/lib/thinreports/generator/pdf/drawer/list.rb +5 -1
  78. data/lib/thinreports/generator/pdf/drawer/list_section.rb +1 -4
  79. data/lib/thinreports/generator/pdf/drawer/page.rb +9 -9
  80. data/lib/thinreports/layout.rb +3 -3
  81. data/lib/thinreports/layout/base.rb +0 -16
  82. data/lib/thinreports/layout/format.rb +38 -57
  83. data/lib/thinreports/layout/legacy_schema.rb +354 -0
  84. data/lib/thinreports/layout/version.rb +1 -1
  85. data/lib/thinreports/report.rb +0 -1
  86. data/lib/thinreports/report/base.rb +3 -17
  87. data/lib/thinreports/report/internal.rb +13 -55
  88. data/lib/thinreports/report/page.rb +1 -1
  89. data/lib/thinreports/version.rb +1 -1
  90. data/test/data/legacy_layout/all-items.tlf +1 -0
  91. data/test/schema_helper.rb +121 -0
  92. data/test/test_helper.rb +13 -50
  93. data/test/unit/core/format/test_base.rb +35 -31
  94. data/test/unit/core/shape/base/test_internal.rb +1 -1
  95. data/test/unit/core/shape/basic/test_block_format.rb +23 -0
  96. data/test/unit/core/shape/basic/{test_basic_interface.rb → test_block_interface.rb} +1 -1
  97. data/test/unit/core/shape/basic/{test_basic_internal.rb → test_block_internal.rb} +4 -7
  98. data/test/unit/core/shape/basic/test_format.rb +25 -47
  99. data/test/unit/core/shape/basic/test_interface.rb +5 -5
  100. data/test/unit/core/shape/basic/test_internal.rb +6 -11
  101. data/test/unit/core/shape/image_block/test_interface.rb +5 -5
  102. data/test/unit/core/shape/image_block/test_internal.rb +2 -2
  103. data/test/unit/core/shape/list/test_format.rb +86 -44
  104. data/test/unit/core/shape/list/test_manager.rb +10 -65
  105. data/test/unit/core/shape/list/test_page.rb +10 -61
  106. data/test/unit/core/shape/list/test_page_state.rb +1 -1
  107. data/test/unit/core/shape/list/test_section_format.rb +19 -28
  108. data/test/unit/core/shape/list/test_section_interface.rb +14 -6
  109. data/test/unit/core/shape/list/test_section_internal.rb +17 -23
  110. data/test/unit/core/shape/manager/test_format.rb +1 -1
  111. data/test/unit/core/shape/manager/test_internal.rb +59 -98
  112. data/test/unit/core/shape/manager/test_target.rb +21 -30
  113. data/test/unit/core/shape/page_number/test_format.rb +34 -52
  114. data/test/unit/core/shape/page_number/test_interface.rb +1 -1
  115. data/test/unit/core/shape/page_number/test_internal.rb +2 -2
  116. data/test/unit/core/shape/styles/test_base.rb +16 -41
  117. data/test/unit/core/shape/styles/test_basic.rb +7 -7
  118. data/test/unit/core/shape/styles/test_graphic.rb +27 -32
  119. data/test/unit/core/shape/styles/test_text.rb +68 -311
  120. data/test/unit/core/shape/text/test_format.rb +30 -59
  121. data/test/unit/core/shape/text/test_internal.rb +5 -5
  122. data/test/unit/core/shape/text_block/formatter/test_datetime.rb +13 -13
  123. data/test/unit/core/shape/text_block/test_format.rb +145 -146
  124. data/test/unit/core/shape/text_block/test_interface.rb +9 -9
  125. data/test/unit/core/shape/text_block/test_internal.rb +9 -9
  126. data/test/unit/core/test_shape.rb +19 -31
  127. data/test/unit/generator/pdf/document/graphics/test_attributes.rb +112 -122
  128. data/test/unit/generator/pdf/document/graphics/test_basic.rb +45 -0
  129. data/test/unit/generator/pdf/document/graphics/test_image.rb +5 -5
  130. data/test/unit/generator/pdf/document/test_font.rb +4 -10
  131. data/test/unit/generator/pdf/document/test_page.rb +13 -11
  132. data/test/unit/generator/pdf/document/test_parse_color.rb +5 -5
  133. data/test/unit/generator/test_base.rb +5 -5
  134. data/test/unit/generator/test_configuration.rb +4 -8
  135. data/test/unit/generator/test_pdf.rb +3 -2
  136. data/test/unit/layout/test_base.rb +16 -22
  137. data/test/unit/layout/test_format.rb +66 -86
  138. data/test/unit/layout/test_legacy_schema.rb +587 -0
  139. data/test/unit/layout/test_version.rb +20 -20
  140. data/test/unit/report/test_base.rb +32 -45
  141. data/test/unit/report/test_internal.rb +43 -99
  142. data/test/unit/test_config.rb +4 -2
  143. data/test/unit/test_layout.rb +1 -1
  144. metadata +20 -48
  145. data/examples/list_events/list_events_0_7_7.tlf +0 -1
  146. data/examples/list_events/list_events_0_8.tlf +0 -1
  147. data/lib/thinreports/core/events.rb +0 -69
  148. data/lib/thinreports/core/format/builder.rb +0 -62
  149. data/lib/thinreports/core/shape/list/configuration.rb +0 -54
  150. data/lib/thinreports/core/shape/list/events.rb +0 -47
  151. data/lib/thinreports/core/shape/list/store.rb +0 -33
  152. data/lib/thinreports/generator/pdf/configuration.rb +0 -33
  153. data/lib/thinreports/generator/pdf/document/parse_svg.rb +0 -104
  154. data/lib/thinreports/layout/configuration.rb +0 -29
  155. data/test/data/layout_block.tlf +0 -1
  156. data/test/data/layout_list.tlf +0 -1
  157. data/test/data/layout_list_noheader.tlf +0 -1
  158. data/test/data/layout_text1.tlf +0 -1
  159. data/test/data/layout_text2.tlf +0 -1
  160. data/test/unit/core/format/test_builder.rb +0 -109
  161. data/test/unit/core/shape/basic/test_basic_format.rb +0 -30
  162. data/test/unit/core/shape/image_block/test_format.rb +0 -58
  163. data/test/unit/core/shape/list/test_configuration.rb +0 -69
  164. data/test/unit/core/shape/list/test_events.rb +0 -36
  165. data/test/unit/core/shape/list/test_store.rb +0 -41
  166. data/test/unit/core/test_events.rb +0 -93
  167. data/test/unit/generator/pdf/document/test_draw_shape.rb +0 -44
  168. data/test/unit/generator/pdf/test_configuration.rb +0 -31
  169. data/test/unit/layout/test_configuration.rb +0 -21
  170. data/test/unit/report/test_events.rb +0 -22
@@ -1,6 +1,8 @@
1
1
  # coding: utf-8
2
2
 
3
3
  example :palleted_png, 'Rendering a palleted PNG with transparency' do |t|
4
+ Thinreports.config.convert_palleted_transparency_png = true
5
+
4
6
  report = Thinreports::Report.new layout: t.layout_filename
5
7
  report.start_new_page do |page|
6
8
  page.item(:image).src = t.resource('palleted_png.png')
@@ -1 +1,47 @@
1
- {"version":"0.8.2","config":{"title":"","option":{},"page":{"paper-type":"A4","orientation":"portrait","margin-top":"20","margin-bottom":"20","margin-left":"20","margin-right":"20"}},"svg":"<svg width=\"595.2\" height=\"841.8\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\" viewBox=\"0 0 595.2 841.8\"><g class=\"canvas\"><image image-rendering=\"optimizeQuality\" preserveAspectRatio=\"none\" class=\"s-image\" x-display=\"true\" x-id=\"\" id=\"goog_604222137\" x=\"20\" y=\"20\" x-natural-width=\"200\" x-natural-height=\"200\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX/AAD/AAD/AAD/AAD////Icf73AAAAA3RSTlO/fz8qtTX3AAAAAWJLR0QEj2jZUQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAMtJREFUeNrtzwERgEAAw7AH/HtGBr2RKGjPM+J8HWDESJyRGiM1RmqM1BipMVJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSszMCAAAAAAAAAAAA/3SNMFJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSY6TGSI2RGiM1RmqM1Bip2Rm5RxipMVJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSY6TGSI2RGiM1RmqM1MyMvMkE6mEsuD8jAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTEwLTA5VDEwOjM1OjI1KzAyOjAwxhRVNQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMC0wOVQxMDozNToyNSswMjowMLdJ7YkAAAAASUVORK5CYII=\" width=\"200\" height=\"200\"/><!--SHAPE{\"type\":\"s-iblock\",\"id\":\"image\",\"display\":\"true\",\"desc\":null,\"box\":{\"x\":278.2,\"y\":20,\"width\":266.7,\"height\":223.7},\"position-x\":\"left\",\"position-y\":\"top\",\"svg\":{\"tag\":\"image\",\"attrs\":{\"x\":278.2,\"y\":20,\"width\":266.7,\"height\":223.7}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-iblock\" x-display=\"true\" id=\"goog_604222139\" x-id=\"image\" x-width=\"266.7\" x-height=\"223.7\" x-left=\"278.2\" x-top=\"20\"><rect class=\"s-iblock-box\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"0.2\" width=\"266.7\" height=\"223.7\" x=\"278.2\" y=\"20\"/><image width=\"16\" height=\"16\" class=\"s-iblock-mark\" opacity=\"0.5\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"assets/icons/x-image-mark.svg\" display=\"inline\" x=\"403.2\" y=\"123\"/><text class=\"s-iblock-id\" font-size=\"10.5\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"1\" x=\"282.2\" y=\"31\">image</text></g>LAYOUT--></g></svg>","state":{"layout-guide":[]}}
1
+ {
2
+ "version": "0.9.0",
3
+ "items": [
4
+ {
5
+ "id": "",
6
+ "type": "image",
7
+ "display": true,
8
+ "description": "",
9
+ "x": 20,
10
+ "y": 20,
11
+ "width": 200,
12
+ "height": 200,
13
+ "data": {
14
+ "mime-type": "image/png",
15
+ "base64": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX/AAD/AAD/AAD/AAD////Icf73AAAAA3RSTlO/fz8qtTX3AAAAAWJLR0QEj2jZUQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAMtJREFUeNrtzwERgEAAw7AH/HtGBr2RKGjPM+J8HWDESJyRGiM1RmqM1BipMVJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSszMCAAAAAAAAAAAA/3SNMFJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSY6TGSI2RGiM1RmqM1Bip2Rm5RxipMVJjpMZIjZEaIzVGaozUGKkxUmOkxkiNkRojNUZqjNQYqTFSY6TGSI2RGiM1RmqM1MyMvMkE6mEsuD8jAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE0LTEwLTA5VDEwOjM1OjI1KzAyOjAwxhRVNQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNC0xMC0wOVQxMDozNToyNSswMjowMLdJ7YkAAAAASUVORK5CYII="
16
+ }
17
+ },
18
+ {
19
+ "id": "image",
20
+ "type": "image-block",
21
+ "display": true,
22
+ "description": "",
23
+ "x": 278.2,
24
+ "y": 20,
25
+ "width": 266.7,
26
+ "height": 223.7,
27
+ "style": {
28
+ "position-x": "left",
29
+ "position-y": "top"
30
+ }
31
+ }
32
+ ],
33
+ "state": {
34
+ "layout-guides": []
35
+ },
36
+ "title": "",
37
+ "report": {
38
+ "paper-type": "A4",
39
+ "orientation": "portrait",
40
+ "margin": [
41
+ 20,
42
+ 20,
43
+ 20,
44
+ 20
45
+ ]
46
+ }
47
+ }
@@ -1 +1,45 @@
1
- {"version":"0.7.7.1","finger-print":-425960166,"config":{"title":"","option":{},"page":{"paper-type":"A4","orientation":"portrait","margin-top":"20","margin-bottom":"20","margin-left":"20","margin-right":"20"}},"svg":"<svg width=\"595.2\" height=\"841.8\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\" viewBox=\"0 0 595.2 841.8\"><g class=\"canvas\"><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"middle\" text-decoration=\"none\" x-width=\"200\" x-height=\"100\" x-left=\"197.6\" x-top=\"137\" id=\"goog_2086231651\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"200\" height=\"100\" x=\"197.6\" y=\"137\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"297.6\" y=\"149.9\">Password is \"password\"</text></g></g></svg>","state":{"layout-guide":[]}}
1
+ {
2
+ "version": "0.9.0",
3
+ "items": [
4
+ {
5
+ "id": "",
6
+ "type": "text",
7
+ "display": true,
8
+ "description": "",
9
+ "x": 197.6,
10
+ "y": 137,
11
+ "width": 200,
12
+ "height": 100,
13
+ "style": {
14
+ "font-family": [
15
+ "Helvetica"
16
+ ],
17
+ "font-size": 18,
18
+ "color": "#000000",
19
+ "text-align": "center",
20
+ "vertical-align": "top",
21
+ "line-height": "",
22
+ "line-height-ratio": "",
23
+ "letter-spacing": "",
24
+ "font-style": []
25
+ },
26
+ "texts": [
27
+ "Password is \"password\""
28
+ ]
29
+ }
30
+ ],
31
+ "state": {
32
+ "layout-guides": []
33
+ },
34
+ "title": "",
35
+ "report": {
36
+ "paper-type": "A4",
37
+ "orientation": "portrait",
38
+ "margin": [
39
+ 20,
40
+ 20,
41
+ 20,
42
+ 20
43
+ ]
44
+ }
45
+ }
@@ -3,29 +3,12 @@
3
3
  example :report_callbacks, 'Callbacks of Report' do |t|
4
4
  report = Thinreports::Report.new layout: t.layout_filename
5
5
 
6
- # A handler called after creating each page in 0.7.7 or lower
7
- report.events.on :page_create do |e|
8
- e.page.item(:text1).value('A handler called after creating each page in 0.7.7 or lower')
9
- end
10
-
11
- # A handler called after creating each page in 0.8 or higher
12
6
  report.on_page_create do |page|
13
- page.item(:text2).value('A handler called after creating each page in 0.8 or higher')
7
+ page.item(:text2).value('Rendered by on_page_create')
14
8
  end
15
9
 
16
10
  report.start_new_page
17
11
  report.start_new_page
18
12
 
19
- # A handler called before finalizing report in 0.7.7 or lower
20
- report.events.on :generate do |e|
21
- e.pages.each do |page|
22
- page.item(:text3).value('A handler called before finalizing report in 0.7.7 or lower')
23
- end
24
- end
25
-
26
- report.pages.each do |page|
27
- page.item(:text4).value('emulation of generate event in 0.8 or higher')
28
- end
29
-
30
13
  report.generate filename: t.output_filename
31
14
  end
@@ -1 +1,147 @@
1
- {"version":"0.8.0","config":{"title":"","option":{},"page":{"paper-type":"A4","orientation":"portrait","margin-top":"20","margin-bottom":"20","margin-left":"20","margin-right":"20"}},"svg":"<svg width=\"595.2\" height=\"841.8\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\" viewBox=\"0 0 595.2 841.8\"><g class=\"canvas\"><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"text1\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":20,\"y\":45,\"width\":357.2,\"height\":18},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":20,\"y\":59,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"letter-spacing\":\"normal\",\"id\":\"goog_1682174159\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-anchor\":\"start\",\"text-decoration\":\"none\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" letter-spacing=\"normal\" x-display=\"true\" x-multiple=\"false\" id=\"goog_1682174159\" x-id=\"text1\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"357.2\" x-height=\"18\" x-left=\"20\" x-top=\"45\"><rect class=\"s-tblock-box\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"0.2\" width=\"357.2\" height=\"18\" x=\"20\" y=\"45\"/><text class=\"s-tblock-id\" font-size=\"10.5\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"1\" x=\"24\" y=\"56\">text1</text></g>LAYOUT--><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"text2\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":20,\"y\":75,\"width\":357.2,\"height\":18},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"truncate\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":20,\"y\":89,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"letter-spacing\":\"normal\",\"id\":\"goog_1682174160\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-decoration\":\"none\",\"text-anchor\":\"start\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" letter-spacing=\"normal\" x-display=\"true\" x-multiple=\"false\" id=\"goog_1682174160\" x-id=\"text2\" x-width=\"357.2\" x-height=\"18\" x-left=\"20\" x-top=\"75\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" x-overflow=\"truncate\" x-word-wrap=\"none\"><rect class=\"s-tblock-box\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"0.2\" width=\"357.2\" height=\"18\" x=\"20\" y=\"75\"/><text class=\"s-tblock-id\" font-size=\"10.5\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"1\" x=\"24\" y=\"86\">text2</text></g>LAYOUT--><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"text3\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":20,\"y\":105,\"width\":357.2,\"height\":18},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"truncate\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":20,\"y\":119,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"letter-spacing\":\"normal\",\"id\":\"goog_1682174161\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-decoration\":\"none\",\"text-anchor\":\"start\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" letter-spacing=\"normal\" x-display=\"true\" x-multiple=\"false\" id=\"goog_1682174161\" x-id=\"text3\" x-width=\"357.2\" x-height=\"18\" x-left=\"20\" x-top=\"105\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" x-overflow=\"truncate\" x-word-wrap=\"none\"><rect class=\"s-tblock-box\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"0.2\" width=\"357.2\" height=\"18\" x=\"20\" y=\"105\"/><text class=\"s-tblock-id\" font-size=\"10.5\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"1\" x=\"24\" y=\"116\">text3</text></g>LAYOUT--><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"text4\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":20,\"y\":135,\"width\":357.2,\"height\":18},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"truncate\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":20,\"y\":149,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"letter-spacing\":\"normal\",\"id\":\"goog_1682174162\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-decoration\":\"none\",\"text-anchor\":\"start\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" letter-spacing=\"normal\" x-display=\"true\" x-multiple=\"false\" id=\"goog_1682174162\" x-id=\"text4\" x-width=\"357.2\" x-height=\"18\" x-left=\"20\" x-top=\"135\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" x-overflow=\"truncate\" x-word-wrap=\"none\"><rect class=\"s-tblock-box\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"0.2\" width=\"357.2\" height=\"18\" x=\"20\" y=\"135\"/><text class=\"s-tblock-id\" font-size=\"10.5\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#0096fd\" fill-opacity=\"1\" x=\"24\" y=\"146\">text4</text></g>LAYOUT--></g></svg>","state":{"layout-guide":[]}}
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 +1,170 @@
1
- {"version":"0.7.7.1","finger-print":1097418697,"config":{"title":"Single Line Tblock","option":{},"page":{"paper-type":"A4","orientation":"portrait","margin-top":"20","margin-bottom":"20","margin-left":"20","margin-right":"20"}},"svg":"<svg width=\"595.2\" height=\"841.8\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\" viewBox=\"0 0 595.2 841.8\"><g class=\"canvas\"><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"fallback_to_ipafont\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":37,\"y\":102,\"width\":291.1,\"height\":26},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":37,\"y\":119.2,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"fill\":\"#ff0000\",\"fill-opacity\":\"1\",\"font-size\":\"24\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-anchor\":\"start\",\"text-decoration\":\"none\",\"id\":\"goog_2086231652\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" x-display=\"true\" x-multiple=\"false\" x-id=\"fallback_to_ipafont\" fill=\"#ff0000\" fill-opacity=\"1\" font-size=\"24\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"291.1\" x-height=\"26\" x-left=\"37\" x-top=\"102\" id=\"goog_2086231652\"><rect class=\"s-tblock-box\" stroke=\"#7C4007\" fill=\"#f4e2c4\" stroke-width=\"0.28\" fill-opacity=\"0.8\" width=\"291.1\" height=\"26\" x=\"37\" y=\"102\"/><text class=\"s-tblock-id\" font-size=\"11\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#7C4007\" fill-opacity=\"1\" x=\"39\" y=\"113\">fallback_to_ipafont</text></g>LAYOUT--><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" font-size=\"16\" font-family=\"IPAMincho\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"488\" x-height=\"36\" x-left=\"38\" x-top=\"52\" id=\"goog_2086231653\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"488\" height=\"36\" x=\"38\" y=\"52\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"38\" y=\"65.6\">Helvetica\u30d5\u30a9\u30f3\u30c8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308bTblock\u306b\u65e5\u672c\u8a9e\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3002</text><text class=\"s-text-l1\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"38\" y=\"81.6\">\u6ea2\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u306f\u8868\u793a\u3055\u308c\u306a\u3044\u3002</text></g><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"set_multiline_text\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":37,\"y\":178,\"width\":291.1,\"height\":24},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":37,\"y\":198.3,\"xml:space\":\"preserve\",\"kerning\":\"auto\",\"fill\":\"#ff0000\",\"fill-opacity\":\"1\",\"font-size\":\"24\",\"font-family\":\"IPAMincho\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-decoration\":\"none\",\"text-anchor\":\"start\",\"id\":\"goog_2086231654\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" x-display=\"true\" x-multiple=\"false\" x-id=\"set_multiline_text\" x-width=\"291.1\" x-height=\"24\" x-left=\"37\" x-top=\"178\" fill=\"#ff0000\" fill-opacity=\"1\" font-size=\"24\" font-family=\"IPAMincho\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" id=\"goog_2086231654\"><rect class=\"s-tblock-box\" stroke=\"#7C4007\" fill=\"#f4e2c4\" stroke-width=\"0.28\" fill-opacity=\"0.8\" width=\"291.1\" height=\"24\" x=\"37\" y=\"178\"/><text class=\"s-tblock-id\" font-size=\"11\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#7C4007\" fill-opacity=\"1\" x=\"39\" y=\"189\">set_multiline_text</text></g>LAYOUT--><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"IPAMincho\" font-size=\"16\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"208\" x-height=\"16\" x-left=\"38\" x-top=\"147\" id=\"goog_2086231655\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"208\" height=\"16\" x=\"38\" y=\"147\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"38\" y=\"161\">\u8907\u6570\u884c\u30c6\u30ad\u30b9\u30c8\u3092\u30bb\u30c3\u30c8\u3059\u308b</text></g><rect stroke=\"#000000\" stroke-width=\"1\" fill=\"none\" fill-opacity=\"1\" class=\"s-rect\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" rx=\"0\" ry=\"0\" width=\"291.1\" height=\"26\" x=\"37\" y=\"102\" id=\"goog_2086231656\"/><rect stroke=\"#000000\" stroke-width=\"1\" fill=\"none\" fill-opacity=\"1\" class=\"s-rect\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" rx=\"0\" ry=\"0\" width=\"291.1\" height=\"24\" x=\"37\" y=\"178\" id=\"goog_2086231657\"/></g></svg>","state":{"layout-guide":[]}}
1
+ {
2
+ "version": "0.9.0",
3
+ "items": [
4
+ {
5
+ "id": "fallback_to_ipafont",
6
+ "type": "text-block",
7
+ "display": true,
8
+ "description": "",
9
+ "x": 37,
10
+ "y": 102,
11
+ "width": 291.1,
12
+ "height": 26,
13
+ "style": {
14
+ "font-family": [
15
+ "Helvetica"
16
+ ],
17
+ "font-size": 24,
18
+ "color": "#ff0000",
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": "",
38
+ "type": "text",
39
+ "display": true,
40
+ "description": "",
41
+ "x": 38,
42
+ "y": 52,
43
+ "width": 488,
44
+ "height": 36,
45
+ "style": {
46
+ "font-family": [
47
+ "IPAMincho"
48
+ ],
49
+ "font-size": 16,
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
+ },
58
+ "texts": [
59
+ "Helveticaフォントが設定されているTblockに日本語をセットする。",
60
+ "溢れたテキストは表示されない。"
61
+ ]
62
+ },
63
+ {
64
+ "id": "set_multiline_text",
65
+ "type": "text-block",
66
+ "display": true,
67
+ "description": "",
68
+ "x": 37,
69
+ "y": 178,
70
+ "width": 291.1,
71
+ "height": 24,
72
+ "style": {
73
+ "font-family": [
74
+ "IPAMincho"
75
+ ],
76
+ "font-size": 24,
77
+ "color": "#ff0000",
78
+ "text-align": "left",
79
+ "vertical-align": "top",
80
+ "line-height": "",
81
+ "line-height-ratio": "",
82
+ "letter-spacing": "",
83
+ "font-style": [],
84
+ "overflow": "truncate",
85
+ "word-wrap": "break-word"
86
+ },
87
+ "reference-id": "",
88
+ "value": "",
89
+ "multiple-line": false,
90
+ "format": {
91
+ "base": "",
92
+ "type": ""
93
+ }
94
+ },
95
+ {
96
+ "id": "",
97
+ "type": "text",
98
+ "display": true,
99
+ "description": "",
100
+ "x": 38,
101
+ "y": 147,
102
+ "width": 208,
103
+ "height": 16,
104
+ "style": {
105
+ "font-family": [
106
+ "IPAMincho"
107
+ ],
108
+ "font-size": 16,
109
+ "color": "#000000",
110
+ "text-align": "left",
111
+ "vertical-align": "top",
112
+ "line-height": "",
113
+ "line-height-ratio": "",
114
+ "letter-spacing": "",
115
+ "font-style": []
116
+ },
117
+ "texts": [
118
+ "複数行テキストをセットする"
119
+ ]
120
+ },
121
+ {
122
+ "id": "",
123
+ "type": "rect",
124
+ "display": true,
125
+ "description": "",
126
+ "x": 37,
127
+ "y": 102,
128
+ "width": 291.1,
129
+ "height": 26,
130
+ "style": {
131
+ "border-color": "#000000",
132
+ "border-width": 1,
133
+ "border-style": "solid",
134
+ "fill-color": "none"
135
+ },
136
+ "border-radius": 0
137
+ },
138
+ {
139
+ "id": "",
140
+ "type": "rect",
141
+ "display": true,
142
+ "description": "",
143
+ "x": 37,
144
+ "y": 178,
145
+ "width": 291.1,
146
+ "height": 24,
147
+ "style": {
148
+ "border-color": "#000000",
149
+ "border-width": 1,
150
+ "border-style": "solid",
151
+ "fill-color": "none"
152
+ },
153
+ "border-radius": 0
154
+ }
155
+ ],
156
+ "state": {
157
+ "layout-guides": []
158
+ },
159
+ "title": "Single Line Tblock",
160
+ "report": {
161
+ "paper-type": "A4",
162
+ "orientation": "portrait",
163
+ "margin": [
164
+ 20,
165
+ 20,
166
+ 20,
167
+ 20
168
+ ]
169
+ }
170
+ }