thinreports 0.8.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CONTRIBUTING.md +2 -0
- data/.travis.yml +3 -3
- data/CHANGELOG.md +98 -1
- data/README.md +0 -9
- data/Rakefile +1 -2
- data/examples/character_spacing/character_spacing.tlf +293 -1
- data/examples/dynamic_image/dynamic_image.tlf +661 -1
- data/examples/dynamic_style/dynamic_style.rb +4 -4
- data/examples/dynamic_style/dynamic_style.tlf +1835 -1
- data/examples/dynamic_style/dynamic_style_in_list.tlf +344 -1
- data/examples/eudc/eudc.tlf +180 -1
- data/examples/hidden_shapes/hidden_shapes.tlf +449 -1
- data/examples/list_events/list_events.rb +1 -28
- data/examples/list_events/list_events.tlf +361 -0
- data/examples/list_manual_generation/list_manual_generation.tlf +132 -1
- data/examples/list_page_number/list_page_number.tlf +254 -1
- data/examples/page_number/page_number.tlf +215 -1
- data/examples/palleted_png/palleted_png.rb +2 -0
- data/examples/palleted_png/palleted_png.tlf +47 -1
- data/examples/password_setting/password_setting.tlf +45 -1
- data/examples/report_callbacks/report_callbacks.rb +1 -18
- data/examples/report_callbacks/report_callbacks.tlf +147 -1
- data/examples/single_line_tblock/single_line_tblock.tlf +170 -1
- data/examples/tblock_overflow/tblock_overflow.tlf +538 -1
- data/examples/tblock_styles/font_size.tlf +383 -1
- data/examples/tblock_styles/tblock_styles.tlf +889 -1
- data/examples/text_align/text_align.tlf +241 -1
- data/examples/typeB_page_size/B4_ISO.tlf +45 -1
- data/examples/typeB_page_size/B4_JIS.tlf +45 -1
- data/examples/word_wrap/word_wrap.tlf +297 -1
- data/lib/thinreports.rb +0 -1
- data/lib/thinreports/config.rb +3 -0
- data/lib/thinreports/core/errors.rb +0 -3
- data/lib/thinreports/core/format/base.rb +4 -4
- data/lib/thinreports/core/shape.rb +1 -9
- data/lib/thinreports/core/shape/basic.rb +3 -3
- data/lib/thinreports/core/shape/basic/block_format.rb +1 -1
- data/lib/thinreports/core/shape/basic/format.rb +2 -14
- data/lib/thinreports/core/shape/basic/internal.rb +2 -2
- data/lib/thinreports/core/shape/image_block.rb +3 -3
- data/lib/thinreports/core/shape/image_block/format.rb +0 -2
- data/lib/thinreports/core/shape/image_block/internal.rb +1 -1
- data/lib/thinreports/core/shape/list.rb +3 -7
- data/lib/thinreports/core/shape/list/format.rb +37 -24
- data/lib/thinreports/core/shape/list/manager.rb +1 -36
- data/lib/thinreports/core/shape/list/page.rb +0 -15
- data/lib/thinreports/core/shape/list/page_state.rb +1 -1
- data/lib/thinreports/core/shape/list/section_format.rb +14 -12
- data/lib/thinreports/core/shape/list/section_internal.rb +4 -7
- data/lib/thinreports/core/shape/manager/format.rb +0 -2
- data/lib/thinreports/core/shape/manager/internal.rb +1 -1
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/page_number/format.rb +9 -6
- data/lib/thinreports/core/shape/page_number/interface.rb +1 -1
- data/lib/thinreports/core/shape/page_number/internal.rb +2 -6
- data/lib/thinreports/core/shape/style/base.rb +11 -13
- data/lib/thinreports/core/shape/style/basic.rb +4 -4
- data/lib/thinreports/core/shape/style/graphic.rb +4 -10
- data/lib/thinreports/core/shape/style/text.rb +36 -69
- data/lib/thinreports/core/shape/text.rb +3 -3
- data/lib/thinreports/core/shape/text/format.rb +3 -13
- data/lib/thinreports/core/shape/text/internal.rb +2 -2
- data/lib/thinreports/core/shape/text_block.rb +3 -3
- data/lib/thinreports/core/shape/text_block/format.rb +9 -6
- data/lib/thinreports/core/shape/text_block/interface.rb +7 -7
- data/lib/thinreports/core/shape/text_block/internal.rb +1 -1
- data/lib/thinreports/generator/pdf.rb +0 -1
- data/lib/thinreports/generator/pdf/document.rb +2 -2
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +25 -51
- data/lib/thinreports/generator/pdf/document/draw_template_items.rb +66 -0
- data/lib/thinreports/generator/pdf/document/font.rb +3 -8
- data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +97 -77
- data/lib/thinreports/generator/pdf/document/graphics/basic.rb +18 -13
- data/lib/thinreports/generator/pdf/document/graphics/image.rb +17 -12
- data/lib/thinreports/generator/pdf/document/page.rb +1 -1
- data/lib/thinreports/generator/pdf/drawer/list.rb +5 -1
- data/lib/thinreports/generator/pdf/drawer/list_section.rb +1 -4
- data/lib/thinreports/generator/pdf/drawer/page.rb +9 -9
- data/lib/thinreports/layout.rb +3 -3
- data/lib/thinreports/layout/base.rb +0 -16
- data/lib/thinreports/layout/format.rb +38 -57
- data/lib/thinreports/layout/legacy_schema.rb +354 -0
- data/lib/thinreports/layout/version.rb +1 -1
- data/lib/thinreports/report.rb +0 -1
- data/lib/thinreports/report/base.rb +3 -17
- data/lib/thinreports/report/internal.rb +13 -55
- data/lib/thinreports/report/page.rb +1 -1
- data/lib/thinreports/version.rb +1 -1
- data/test/data/legacy_layout/all-items.tlf +1 -0
- data/test/schema_helper.rb +121 -0
- data/test/test_helper.rb +13 -50
- data/test/unit/core/format/test_base.rb +35 -31
- data/test/unit/core/shape/base/test_internal.rb +1 -1
- data/test/unit/core/shape/basic/test_block_format.rb +23 -0
- data/test/unit/core/shape/basic/{test_basic_interface.rb → test_block_interface.rb} +1 -1
- data/test/unit/core/shape/basic/{test_basic_internal.rb → test_block_internal.rb} +4 -7
- data/test/unit/core/shape/basic/test_format.rb +25 -47
- data/test/unit/core/shape/basic/test_interface.rb +5 -5
- data/test/unit/core/shape/basic/test_internal.rb +6 -11
- data/test/unit/core/shape/image_block/test_interface.rb +5 -5
- data/test/unit/core/shape/image_block/test_internal.rb +2 -2
- data/test/unit/core/shape/list/test_format.rb +86 -44
- data/test/unit/core/shape/list/test_manager.rb +10 -65
- data/test/unit/core/shape/list/test_page.rb +10 -61
- data/test/unit/core/shape/list/test_page_state.rb +1 -1
- data/test/unit/core/shape/list/test_section_format.rb +19 -28
- data/test/unit/core/shape/list/test_section_interface.rb +14 -6
- data/test/unit/core/shape/list/test_section_internal.rb +17 -23
- data/test/unit/core/shape/manager/test_format.rb +1 -1
- data/test/unit/core/shape/manager/test_internal.rb +59 -98
- data/test/unit/core/shape/manager/test_target.rb +21 -30
- data/test/unit/core/shape/page_number/test_format.rb +34 -52
- data/test/unit/core/shape/page_number/test_interface.rb +1 -1
- data/test/unit/core/shape/page_number/test_internal.rb +2 -2
- data/test/unit/core/shape/styles/test_base.rb +16 -41
- data/test/unit/core/shape/styles/test_basic.rb +7 -7
- data/test/unit/core/shape/styles/test_graphic.rb +27 -32
- data/test/unit/core/shape/styles/test_text.rb +68 -311
- data/test/unit/core/shape/text/test_format.rb +30 -59
- data/test/unit/core/shape/text/test_internal.rb +5 -5
- data/test/unit/core/shape/text_block/formatter/test_datetime.rb +13 -13
- data/test/unit/core/shape/text_block/test_format.rb +145 -146
- data/test/unit/core/shape/text_block/test_interface.rb +9 -9
- data/test/unit/core/shape/text_block/test_internal.rb +9 -9
- data/test/unit/core/test_shape.rb +19 -31
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +112 -122
- data/test/unit/generator/pdf/document/graphics/test_basic.rb +45 -0
- data/test/unit/generator/pdf/document/graphics/test_image.rb +5 -5
- data/test/unit/generator/pdf/document/test_font.rb +4 -10
- data/test/unit/generator/pdf/document/test_page.rb +13 -11
- data/test/unit/generator/pdf/document/test_parse_color.rb +5 -5
- data/test/unit/generator/test_base.rb +5 -5
- data/test/unit/generator/test_configuration.rb +4 -8
- data/test/unit/generator/test_pdf.rb +3 -2
- data/test/unit/layout/test_base.rb +16 -22
- data/test/unit/layout/test_format.rb +66 -86
- data/test/unit/layout/test_legacy_schema.rb +587 -0
- data/test/unit/layout/test_version.rb +20 -20
- data/test/unit/report/test_base.rb +32 -45
- data/test/unit/report/test_internal.rb +43 -99
- data/test/unit/test_config.rb +4 -2
- data/test/unit/test_layout.rb +1 -1
- metadata +20 -48
- data/examples/list_events/list_events_0_7_7.tlf +0 -1
- data/examples/list_events/list_events_0_8.tlf +0 -1
- data/lib/thinreports/core/events.rb +0 -69
- data/lib/thinreports/core/format/builder.rb +0 -62
- data/lib/thinreports/core/shape/list/configuration.rb +0 -54
- data/lib/thinreports/core/shape/list/events.rb +0 -47
- data/lib/thinreports/core/shape/list/store.rb +0 -33
- data/lib/thinreports/generator/pdf/configuration.rb +0 -33
- data/lib/thinreports/generator/pdf/document/parse_svg.rb +0 -104
- data/lib/thinreports/layout/configuration.rb +0 -29
- data/test/data/layout_block.tlf +0 -1
- data/test/data/layout_list.tlf +0 -1
- data/test/data/layout_list_noheader.tlf +0 -1
- data/test/data/layout_text1.tlf +0 -1
- data/test/data/layout_text2.tlf +0 -1
- data/test/unit/core/format/test_builder.rb +0 -109
- data/test/unit/core/shape/basic/test_basic_format.rb +0 -30
- data/test/unit/core/shape/image_block/test_format.rb +0 -58
- data/test/unit/core/shape/list/test_configuration.rb +0 -69
- data/test/unit/core/shape/list/test_events.rb +0 -36
- data/test/unit/core/shape/list/test_store.rb +0 -41
- data/test/unit/core/test_events.rb +0 -93
- data/test/unit/generator/pdf/document/test_draw_shape.rb +0 -44
- data/test/unit/generator/pdf/test_configuration.rb +0 -31
- data/test/unit/layout/test_configuration.rb +0 -21
- data/test/unit/report/test_events.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de107dd9a703e23d4e1f84dcb2849c481efc1ae2
|
4
|
+
data.tar.gz: 2630e25d206449815b82be3cd96ac87da09f4b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9c28499653a33484ae6a8724ce7c0c01fab0a9c26e2d37af415a5d55c33316ed626b2f6562ab3d54ccb4af88f1b96141691a703f9041fca9ab83614a8081aa
|
7
|
+
data.tar.gz: 0a76ccd613319b2766118031ccdd473e7c42e7fe9e7a9103120c944bb2573dfc9e19915b546468829ac68d2361698f50a82adfa35dfe84b53d70b2562d46b2fe
|
data/.travis.yml
CHANGED
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
|
-
*
|
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
@@ -1 +1,293 @@
|
|
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
|
+
}
|