thinreports 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb1e648556334f2cf15b5854b4dec5a8a9fa61cc
4
- data.tar.gz: 4c47760205fed968c6d43407d73cc1ed798b6670
3
+ metadata.gz: de107dd9a703e23d4e1f84dcb2849c481efc1ae2
4
+ data.tar.gz: 2630e25d206449815b82be3cd96ac87da09f4b94
5
5
  SHA512:
6
- metadata.gz: 7cab165a0b9b87419b063708d58ca2a6ce61e13dc495e9b628d6fb06c3c81d43294b0887301f8c09b5ca3b4e49ce1f09712b3ec85b1141f1bd9edc22ef97122a
7
- data.tar.gz: 6e45bb6967cc30eea6f08bfd5be0625fe8987ecc5f442c6d861e27db143660249ccc70035e34a65f192ae2d4574c3f0ad89af3a203a1499369da45910bed7c98
6
+ metadata.gz: dd9c28499653a33484ae6a8724ce7c0c01fab0a9c26e2d37af415a5d55c33316ed626b2f6562ab3d54ccb4af88f1b96141691a703f9041fca9ab83614a8081aa
7
+ data.tar.gz: 0a76ccd613319b2766118031ccdd473e7c42e7fe9e7a9103120c944bb2573dfc9e19915b546468829ac68d2361698f50a82adfa35dfe84b53d70b2562d46b2fe
@@ -0,0 +1,2 @@
1
+ **We only accept bug reports and pull requests in GitHub**.
2
+ If you have a support question about how to use thinreports, please [ask on Google Group](https://groups.google.com/forum/?hl=ja#!forum/thinreports).
data/.travis.yml CHANGED
@@ -3,9 +3,9 @@ sudo: false
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - 2.1.8
7
- - 2.2.4
8
- - 2.3.0
6
+ - 2.1.10
7
+ - 2.2.5
8
+ - 2.3.1
9
9
  - jruby
10
10
  script: rake test
11
11
 
data/CHANGELOG.md CHANGED
@@ -1,6 +1,103 @@
1
+ ## 0.9.0
2
+
3
+ * Drop support for layout file saved with Editor v0.7 or lower #62
4
+ * New format for layout file and deprecate old format #35
5
+ * Fixed fail in rendering a static image #61
6
+ * Make possible to set an image-data to image-block item #65
7
+ * Remove old way to define callback of list #54
8
+ * Remove `config.eudc_fonts=` option #53
9
+ * Deprecate `config.convert_palleted_transparency_png` option #49
10
+
11
+ ### Drop support for layout file saved with Editor v0.7 or lower
12
+
13
+ Generator v0.9 or higher can't load the layout file saved with Editor v0.7 or lower.
14
+
15
+ ### New format for layout file and deprecate old format
16
+
17
+ This is a BIG internal change.
18
+
19
+ Thinreports has two format types for layout file now:
20
+
21
+ 1. Old format generated by Thinreports Editor 0.8.x or lower
22
+ 2. New format generated by Thinreports Editor 0.9.x or higher
23
+
24
+ thinreports-generator will supports as below:
25
+
26
+ | Generator | Format type(1) | Format type(2) |
27
+ | ---------- | :------------: | :------------: |
28
+ | =< 0.8 | o | x |
29
+ | 0.9, 1.0 | o | o |
30
+ | >= 1.1 | x | o |
31
+
32
+ See https://github.com/thinreports/thinreports/issues/4 for further details.
33
+
34
+ ### Make possible to set an image-data to image-block item
35
+
36
+ The following code works fine now.
37
+
38
+ ```ruby
39
+ png_image = StringIO.new(png_data)
40
+ page.item(:image_block).src(png_image)
41
+
42
+ require 'open-uri'
43
+ png_data = open('http://example.com/image.png')
44
+ page.item(:image_block).src(image_data)
45
+ ```
46
+
47
+ ### Remove old way to define callback of list
48
+
49
+ The block of `Report::Base#use_layout` never performed:
50
+
51
+ ```ruby
52
+ report.use_layout 'foo.tlf' do |config|
53
+ config.events.on(:page_create) { ... }
54
+ config.list.events.on(:footer_insert) { ... }
55
+ end
56
+ ```
57
+
58
+ `List#store` and `List#events` has been removed:
59
+
60
+ ```ruby
61
+ report.list.store.foo += 1 # => NoMethodError
62
+ report.list.events.on(:footer_insert) { ... } # => NoMethodError
63
+ ```
64
+
65
+ `Layout::Base#config` has been removed:
66
+
67
+ ```ruby
68
+ report.default_layout.config { ... } # => NoMethodError
69
+ ```
70
+
71
+ You can use the following method instead:
72
+
73
+ * `Report::Base#on_page_create`
74
+ * `List#on_page_finalize`
75
+ * `List#on_footer_insert`
76
+ * `List#on_page_footer_insert`
77
+
78
+ See https://github.com/thinreports/thinreports-generator/tree/master/examples/list_events.
79
+
80
+ ### Remove config.eudc_fonts= option
81
+
82
+ ```ruby
83
+ Thinreports.config.eudc_fonts = true # => NoMethodError
84
+ ```
85
+
86
+ You can use `config.fallback_fonts` instead.
87
+
88
+ ### Deprecate config.convert_palleted_transparency_png option
89
+
90
+ ```ruby
91
+ Thinreports.config.convert_palleted_transparency_png = true # => warn "[DEPRECATION]"
92
+ ```
93
+
94
+ This is option to enable palette-based transparency PNG support.
95
+ The option will be removed in version 1.0, but thinreports will support the feature by default.
96
+ Please see [PR#32](https://github.com/thinreports/thinreports-generator/pull/32) for detailed the feature.
97
+
1
98
  ## 0.8.2
2
99
 
3
- * Refactor for disabling some Ruby warnings (#40, #41, #43)
100
+ * Fixed: some Ruby warnings (#40, #41, #43) [Akira Matsuda, Katsuya Hidaka]
4
101
  * Some code improvements
5
102
 
6
103
  ## 0.8.1
data/README.md CHANGED
@@ -10,15 +10,6 @@
10
10
  * Thinreports Editor (GUI Designer)
11
11
  * Thinreports Generator (Report Generator for Ruby)
12
12
 
13
- ----
14
-
15
- ## [Feature concepts of the next major version 1.0.0](https://github.com/thinreports/thinreports/labels/CONCEPT)
16
-
17
- **We are now developing the next major version 1.0.0.
18
- And, we are publishing concept of the new features.**
19
-
20
- ---
21
-
22
13
  ## Getting Started
23
14
 
24
15
  * [Installation Guide](http://www.thinreports.org/documentation/getting-started/installation.html)
data/Rakefile CHANGED
@@ -5,8 +5,7 @@ require 'yard'
5
5
 
6
6
  Rake::TestTask.new do |t|
7
7
  t.libs << 'test'
8
- t.test_files = Dir['test/unit/**/test_*.rb'] +
9
- Dir['test/unit/**/*_spec.rb']
8
+ t.test_files = Dir['test/unit/**/test_*.rb']
10
9
  end
11
10
 
12
11
  namespace :examples do
@@ -1 +1,293 @@
1
- {"version":"0.7.7.1","finger-print":-105588852,"config":{"title":"Character Spacing","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=\"10\" x-display=\"true\" x-id=\"\" font-size=\"36\" font-family=\"Times New Roman\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"40\" x-left=\"20\" x-top=\"21\" id=\"goog_2086231467\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"40\" x=\"20\" y=\"21\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"20\" y=\"45.4\">Times Roman Left</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x1=\"436\" x2=\"436\" y1=\"20\" y2=\"57\" id=\"goog_2086231468\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"10\" x-display=\"true\" x-id=\"\" font-size=\"36\" font-family=\"IPAMincho\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"36\" x-left=\"20\" x-top=\"137\" id=\"goog_2086231469\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"36\" x=\"20\" y=\"137\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"20\" y=\"169\">IPA\u660e\u671d \u5de6\u5bc4\u305b</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"351\" y1=\"136\" y2=\"173\" x1=\"351\" id=\"goog_2086231470\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"10\" x-display=\"true\" x-id=\"\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"IPAPGothic\" font-size=\"36\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"36\" x-left=\"20\" x-top=\"260\" id=\"goog_2086231471\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"36\" x=\"20\" y=\"260\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"20\" y=\"292\">IPA P\u30b4\u30b7\u30c3\u30af\u3000\u5de6\u5bc4\u305b</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"487\" y1=\"262\" y2=\"299\" x1=\"487\" id=\"goog_2086231472\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"10\" x-display=\"true\" x-id=\"\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"Times New Roman\" font-size=\"36\" text-anchor=\"end\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"40\" x-left=\"20\" x-top=\"70\" id=\"goog_2086231473\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"40\" x=\"20\" y=\"70\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"575.2\" y=\"94\">Times Roman Right</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"575.2\" y1=\"21\" y2=\"821.8\" x1=\"575\" id=\"goog_2086231474\"/><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"131\" y1=\"66\" y2=\"103\" x1=\"131\" id=\"goog_2086231475\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"10\" x-display=\"true\" x-id=\"\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"IPAMincho\" font-size=\"36\" text-anchor=\"end\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"36\" x-left=\"20\" x-top=\"186.9\" id=\"goog_2086231476\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"36\" x=\"20\" y=\"186.9\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"575.2\" y=\"218.9\">IPA\u660e\u671d \u53f3\u5bc4\u305b</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"247\" y1=\"185.9\" y2=\"222.9\" x1=\"247\" id=\"goog_2086231477\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"10\" x-display=\"true\" x-id=\"\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"IPAPGothic\" font-size=\"36\" text-anchor=\"end\" text-decoration=\"none\" x-width=\"555.2\" x-height=\"36\" x-left=\"20\" x-top=\"316\" id=\"goog_2086231478\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"555.2\" height=\"36\" x=\"20\" y=\"316\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"575.2\" y=\"347\">IPA P\u30b4\u30b7\u30c3\u30af\u3000\u53f3\u5bc4\u305b</text></g><line stroke=\"#ff0000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" x2=\"108\" y1=\"318\" y2=\"355\" x1=\"108\" id=\"goog_2086231479\"/></g></svg>","state":{"layout-guide":[{"type":"x","position":59.5},{"type":"y","position":434.1},{"type":"y","position":374.1}]}}
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
+ }