thinreports 0.10.2 → 0.12.1
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 -2
- data/.github/dependabot.yml +11 -0
- data/.github/workflows/test.yml +50 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +43 -0
- data/Gemfile +2 -1
- data/{MIT-LICENSE → LICENSE.txt} +2 -0
- data/README.md +70 -56
- data/Rakefile +12 -25
- data/gemfiles/prawn-2.2.gemfile +5 -0
- data/gemfiles/prawn-2.3.gemfile +5 -0
- data/gemfiles/prawn-2.4.gemfile +5 -0
- data/lib/thinreports/core/shape/basic/format.rb +5 -0
- data/lib/thinreports/core/shape/image_block.rb +1 -1
- data/lib/thinreports/core/shape/list.rb +1 -1
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/stack_view/format.rb +27 -0
- data/lib/thinreports/core/shape/stack_view/interface.rb +17 -0
- data/lib/thinreports/core/shape/stack_view/internal.rb +22 -0
- data/lib/thinreports/core/shape/stack_view/row_format.rb +39 -0
- data/lib/thinreports/core/shape/stack_view.rb +17 -0
- data/lib/thinreports/core/shape/style/basic.rb +4 -1
- data/lib/thinreports/core/shape/text.rb +1 -1
- data/lib/thinreports/core/shape/text_block/formatter/number.rb +6 -1
- data/lib/thinreports/core/shape/text_block/internal.rb +0 -2
- data/lib/thinreports/core/shape/text_block.rb +1 -1
- data/lib/thinreports/core/shape.rb +2 -0
- data/lib/thinreports/generate.rb +11 -0
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +31 -10
- data/lib/thinreports/generator/pdf/document/draw_template_items.rb +1 -1
- data/lib/thinreports/generator/pdf/document/graphics/image.rb +19 -1
- data/lib/thinreports/generator/pdf/document/graphics/text.rb +10 -5
- data/lib/thinreports/generator/pdf/document/page.rb +12 -0
- data/lib/thinreports/generator/pdf/prawn_ext/width_of.rb +7 -7
- data/lib/thinreports/layout/base.rb +1 -1
- data/lib/thinreports/layout/legacy_schema.rb +1 -0
- data/lib/thinreports/layout/version.rb +1 -1
- data/lib/thinreports/report/internal.rb +2 -0
- data/lib/thinreports/report.rb +2 -2
- data/lib/thinreports/section_report/build.rb +32 -0
- data/lib/thinreports/section_report/builder/item_builder.rb +49 -0
- data/lib/thinreports/section_report/builder/report_builder.rb +82 -0
- data/lib/thinreports/section_report/builder/report_data.rb +13 -0
- data/lib/thinreports/section_report/builder/stack_view_builder.rb +53 -0
- data/lib/thinreports/section_report/builder/stack_view_data.rb +11 -0
- data/lib/thinreports/section_report/generate.rb +26 -0
- data/lib/thinreports/section_report/pdf/render.rb +23 -0
- data/lib/thinreports/section_report/pdf/renderer/draw_item.rb +68 -0
- data/lib/thinreports/section_report/pdf/renderer/group_renderer.rb +57 -0
- data/lib/thinreports/section_report/pdf/renderer/section_height.rb +100 -0
- data/lib/thinreports/section_report/pdf/renderer/section_renderer.rb +39 -0
- data/lib/thinreports/section_report/pdf/renderer/stack_view_renderer.rb +55 -0
- data/lib/thinreports/section_report/pdf/renderer/stack_view_row_renderer.rb +38 -0
- data/lib/thinreports/section_report/schema/loader.rb +28 -0
- data/lib/thinreports/section_report/schema/parser.rb +52 -0
- data/lib/thinreports/section_report/schema/report.rb +30 -0
- data/lib/thinreports/section_report/schema/section.rb +47 -0
- data/lib/thinreports/version.rb +1 -1
- data/lib/thinreports.rb +5 -0
- data/thinreports.gemspec +11 -10
- metadata +48 -150
- data/.travis.yml +0 -16
- data/examples/character_spacing/character_spacing.rb +0 -8
- data/examples/character_spacing/character_spacing.tlf +0 -293
- data/examples/dynamic_image/dynamic_image.rb +0 -31
- data/examples/dynamic_image/dynamic_image.tlf +0 -661
- data/examples/dynamic_image/img200x100.png +0 -0
- data/examples/dynamic_image/img50x50.png +0 -0
- data/examples/dynamic_style/dynamic_style.rb +0 -150
- data/examples/dynamic_style/dynamic_style.tlf +0 -1835
- data/examples/dynamic_style/dynamic_style_in_list.tlf +0 -344
- data/examples/dynamic_style/image.png +0 -0
- data/examples/eudc/eudc.rb +0 -20
- data/examples/eudc/eudc.tlf +0 -180
- data/examples/eudc/eudc.ttf +0 -0
- data/examples/helper.rb +0 -50
- data/examples/hidden_shapes/hidden_shapes.rb +0 -9
- data/examples/hidden_shapes/hidden_shapes.tlf +0 -449
- data/examples/list_events/list_events.rb +0 -32
- data/examples/list_events/list_events.tlf +0 -361
- data/examples/list_manual_generation/list_manual_generation.rb +0 -22
- data/examples/list_manual_generation/list_manual_generation.tlf +0 -132
- data/examples/list_page_number/list_page_number.rb +0 -17
- data/examples/list_page_number/list_page_number.tlf +0 -254
- data/examples/page_number/page_number.rb +0 -33
- data/examples/page_number/page_number.tlf +0 -215
- data/examples/palleted_png/palleted_png.png +0 -0
- data/examples/palleted_png/palleted_png.rb +0 -9
- data/examples/palleted_png/palleted_png.tlf +0 -47
- data/examples/password_setting/password_setting.rb +0 -10
- data/examples/password_setting/password_setting.tlf +0 -45
- data/examples/report_callbacks/report_callbacks.rb +0 -14
- data/examples/report_callbacks/report_callbacks.tlf +0 -147
- data/examples/single_line_tblock/single_line_tblock.rb +0 -13
- data/examples/single_line_tblock/single_line_tblock.tlf +0 -170
- data/examples/tblock_overflow/tblock_overflow.rb +0 -20
- data/examples/tblock_overflow/tblock_overflow.tlf +0 -538
- data/examples/tblock_styles/font_size.tlf +0 -383
- data/examples/tblock_styles/tblock_styles.rb +0 -43
- data/examples/tblock_styles/tblock_styles.tlf +0 -889
- data/examples/text_align/text_align.rb +0 -8
- data/examples/text_align/text_align.tlf +0 -241
- data/examples/typeB_page_size/B4_ISO.tlf +0 -45
- data/examples/typeB_page_size/B4_JIS.tlf +0 -45
- data/examples/typeB_page_size/typeB_page_size.rb +0 -17
- data/examples/word_wrap/word_wrap.rb +0 -26
- data/examples/word_wrap/word_wrap.tlf +0 -297
- data/test/data/font.ttf +0 -0
- data/test/data/image_normal.jpg +0 -0
- data/test/data/image_normal.png +0 -0
- data/test/data/image_normal_jpg_noext +0 -0
- data/test/data/image_normal_png_noext +0 -0
- data/test/data/image_pallete_based.png +0 -0
- data/test/data/legacy_layout/all-items.tlf +0 -1
- data/test/schema_helper.rb +0 -122
- data/test/test_helper.rb +0 -48
- data/test/tmp/.gitkeep +0 -0
- data/test/unit/core/format/test_base.rb +0 -152
- data/test/unit/core/shape/base/test_internal.rb +0 -87
- data/test/unit/core/shape/basic/test_block_format.rb +0 -23
- data/test/unit/core/shape/basic/test_block_interface.rb +0 -29
- data/test/unit/core/shape/basic/test_block_internal.rb +0 -55
- data/test/unit/core/shape/basic/test_format.rb +0 -37
- data/test/unit/core/shape/basic/test_interface.rb +0 -108
- data/test/unit/core/shape/basic/test_internal.rb +0 -55
- data/test/unit/core/shape/image_block/test_interface.rb +0 -24
- data/test/unit/core/shape/image_block/test_internal.rb +0 -31
- data/test/unit/core/shape/list/test_format.rb +0 -111
- data/test/unit/core/shape/list/test_manager.rb +0 -67
- data/test/unit/core/shape/list/test_page.rb +0 -156
- data/test/unit/core/shape/list/test_page_state.rb +0 -31
- data/test/unit/core/shape/list/test_section_format.rb +0 -36
- data/test/unit/core/shape/list/test_section_interface.rb +0 -75
- data/test/unit/core/shape/list/test_section_internal.rb +0 -50
- data/test/unit/core/shape/manager/test_format.rb +0 -38
- data/test/unit/core/shape/manager/test_internal.rb +0 -132
- data/test/unit/core/shape/manager/test_target.rb +0 -140
- data/test/unit/core/shape/page_number/test_format.rb +0 -55
- data/test/unit/core/shape/page_number/test_interface.rb +0 -33
- data/test/unit/core/shape/page_number/test_internal.rb +0 -81
- data/test/unit/core/shape/styles/test_base.rb +0 -191
- data/test/unit/core/shape/styles/test_basic.rb +0 -24
- data/test/unit/core/shape/styles/test_graphic.rb +0 -50
- data/test/unit/core/shape/styles/test_text.rb +0 -97
- data/test/unit/core/shape/text/test_format.rb +0 -44
- data/test/unit/core/shape/text/test_internal.rb +0 -20
- data/test/unit/core/shape/text_block/formatter/test_basic.rb +0 -24
- data/test/unit/core/shape/text_block/formatter/test_datetime.rb +0 -49
- data/test/unit/core/shape/text_block/formatter/test_number.rb +0 -76
- data/test/unit/core/shape/text_block/formatter/test_padding.rb +0 -77
- data/test/unit/core/shape/text_block/test_format.rb +0 -169
- data/test/unit/core/shape/text_block/test_formatter.rb +0 -28
- data/test/unit/core/shape/text_block/test_interface.rb +0 -63
- data/test/unit/core/shape/text_block/test_internal.rb +0 -128
- data/test/unit/core/test_shape.rb +0 -52
- data/test/unit/core/test_utils.rb +0 -68
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +0 -135
- data/test/unit/generator/pdf/document/graphics/test_basic.rb +0 -46
- data/test/unit/generator/pdf/document/graphics/test_image.rb +0 -46
- data/test/unit/generator/pdf/document/graphics/test_text.rb +0 -171
- data/test/unit/generator/pdf/document/test_font.rb +0 -110
- data/test/unit/generator/pdf/document/test_graphics.rb +0 -42
- data/test/unit/generator/pdf/document/test_page.rb +0 -122
- data/test/unit/generator/pdf/document/test_parse_color.rb +0 -30
- data/test/unit/generator/pdf/prawn_ext/test_calc_image_dimensions.rb +0 -41
- data/test/unit/generator/pdf/prawn_ext/test_width_of.rb +0 -22
- data/test/unit/generator/pdf/test_document.rb +0 -22
- data/test/unit/generator/test_pdf.rb +0 -26
- data/test/unit/layout/test_base.rb +0 -41
- data/test/unit/layout/test_format.rb +0 -100
- data/test/unit/layout/test_legacy_schema.rb +0 -574
- data/test/unit/layout/test_version.rb +0 -26
- data/test/unit/report/test_base.rb +0 -248
- data/test/unit/report/test_internal.rb +0 -206
- data/test/unit/test_config.rb +0 -36
- data/test/unit/test_layout.rb +0 -12
- data/test/unit/test_report.rb +0 -18
@@ -1,147 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": "0.9.0",
|
3
|
-
"items": [
|
4
|
-
{
|
5
|
-
"id": "text1",
|
6
|
-
"type": "text-block",
|
7
|
-
"display": true,
|
8
|
-
"description": "",
|
9
|
-
"x": 20,
|
10
|
-
"y": 45,
|
11
|
-
"width": 357.2,
|
12
|
-
"height": 18,
|
13
|
-
"style": {
|
14
|
-
"font-family": [
|
15
|
-
"Helvetica"
|
16
|
-
],
|
17
|
-
"font-size": 18,
|
18
|
-
"color": "#000000",
|
19
|
-
"text-align": "left",
|
20
|
-
"vertical-align": "top",
|
21
|
-
"line-height": "",
|
22
|
-
"line-height-ratio": "",
|
23
|
-
"letter-spacing": "",
|
24
|
-
"font-style": [],
|
25
|
-
"overflow": "truncate",
|
26
|
-
"word-wrap": "break-word"
|
27
|
-
},
|
28
|
-
"reference-id": "",
|
29
|
-
"value": "",
|
30
|
-
"multiple-line": false,
|
31
|
-
"format": {
|
32
|
-
"base": "",
|
33
|
-
"type": ""
|
34
|
-
}
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"id": "text2",
|
38
|
-
"type": "text-block",
|
39
|
-
"display": true,
|
40
|
-
"description": "",
|
41
|
-
"x": 20,
|
42
|
-
"y": 75,
|
43
|
-
"width": 357.2,
|
44
|
-
"height": 18,
|
45
|
-
"style": {
|
46
|
-
"font-family": [
|
47
|
-
"Helvetica"
|
48
|
-
],
|
49
|
-
"font-size": 18,
|
50
|
-
"color": "#000000",
|
51
|
-
"text-align": "left",
|
52
|
-
"vertical-align": "top",
|
53
|
-
"line-height": "",
|
54
|
-
"line-height-ratio": "",
|
55
|
-
"letter-spacing": "",
|
56
|
-
"font-style": [],
|
57
|
-
"overflow": "truncate",
|
58
|
-
"word-wrap": "none"
|
59
|
-
},
|
60
|
-
"reference-id": "",
|
61
|
-
"value": "",
|
62
|
-
"multiple-line": false,
|
63
|
-
"format": {
|
64
|
-
"base": "",
|
65
|
-
"type": ""
|
66
|
-
}
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"id": "text3",
|
70
|
-
"type": "text-block",
|
71
|
-
"display": true,
|
72
|
-
"description": "",
|
73
|
-
"x": 20,
|
74
|
-
"y": 105,
|
75
|
-
"width": 357.2,
|
76
|
-
"height": 18,
|
77
|
-
"style": {
|
78
|
-
"font-family": [
|
79
|
-
"Helvetica"
|
80
|
-
],
|
81
|
-
"font-size": 18,
|
82
|
-
"color": "#000000",
|
83
|
-
"text-align": "left",
|
84
|
-
"vertical-align": "top",
|
85
|
-
"line-height": "",
|
86
|
-
"line-height-ratio": "",
|
87
|
-
"letter-spacing": "",
|
88
|
-
"font-style": [],
|
89
|
-
"overflow": "truncate",
|
90
|
-
"word-wrap": "none"
|
91
|
-
},
|
92
|
-
"reference-id": "",
|
93
|
-
"value": "",
|
94
|
-
"multiple-line": false,
|
95
|
-
"format": {
|
96
|
-
"base": "",
|
97
|
-
"type": ""
|
98
|
-
}
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"id": "text4",
|
102
|
-
"type": "text-block",
|
103
|
-
"display": true,
|
104
|
-
"description": "",
|
105
|
-
"x": 20,
|
106
|
-
"y": 135,
|
107
|
-
"width": 357.2,
|
108
|
-
"height": 18,
|
109
|
-
"style": {
|
110
|
-
"font-family": [
|
111
|
-
"Helvetica"
|
112
|
-
],
|
113
|
-
"font-size": 18,
|
114
|
-
"color": "#000000",
|
115
|
-
"text-align": "left",
|
116
|
-
"vertical-align": "top",
|
117
|
-
"line-height": "",
|
118
|
-
"line-height-ratio": "",
|
119
|
-
"letter-spacing": "",
|
120
|
-
"font-style": [],
|
121
|
-
"overflow": "truncate",
|
122
|
-
"word-wrap": "none"
|
123
|
-
},
|
124
|
-
"reference-id": "",
|
125
|
-
"value": "",
|
126
|
-
"multiple-line": false,
|
127
|
-
"format": {
|
128
|
-
"base": "",
|
129
|
-
"type": ""
|
130
|
-
}
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"state": {
|
134
|
-
"layout-guides": []
|
135
|
-
},
|
136
|
-
"title": "",
|
137
|
-
"report": {
|
138
|
-
"paper-type": "A4",
|
139
|
-
"orientation": "portrait",
|
140
|
-
"margin": [
|
141
|
-
20,
|
142
|
-
20,
|
143
|
-
20,
|
144
|
-
20
|
145
|
-
]
|
146
|
-
}
|
147
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
example :single_line_tblock, 'Show a single-line Tblock' do |t|
|
4
|
-
Thinreports::Report.generate filename: t.output_filename do
|
5
|
-
use_layout(t.layout_filename)
|
6
|
-
|
7
|
-
start_new_page
|
8
|
-
|
9
|
-
page.item(:fallback_to_ipafont).value('IPA明朝に自動的にフォールバックされる')
|
10
|
-
|
11
|
-
page.item(:set_multiline_text).value("1行目\n2行目\n3行目\n4行目\n5行目")
|
12
|
-
end
|
13
|
-
end
|
@@ -1,170 +0,0 @@
|
|
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
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
example :tblock_overflow, 'Control overflowing the Tblock' do
|
4
|
-
report = Thinreports::Report.new layout: layout_filename
|
5
|
-
report.start_new_page do |page|
|
6
|
-
page.values(truncate: 'The string overflowing from the area will be truncated',
|
7
|
-
truncate_ja: '領域から溢れたテキストは切り捨てられます。',
|
8
|
-
truncate_m: 'The string overflowing from the area will be truncated')
|
9
|
-
|
10
|
-
page.values(fit: 'The string overflowing from the area will be reduced',
|
11
|
-
fit_ja: '領域から溢れたテキストは縮小されます。',
|
12
|
-
fit_m: '複数行モードでも、領域から溢れたテキストは自動的に縮小され折り返して表示されます。')
|
13
|
-
|
14
|
-
page.values(expand: 'If a string was overflowed, a box will be expanded automatically',
|
15
|
-
expand_ja: 'テキストが溢れた場合、ボックスが自動的に拡張されます。',
|
16
|
-
expand_m: 'If a string was overflowed, a box will be expanded automatically')
|
17
|
-
end
|
18
|
-
|
19
|
-
report.generate filename: output_filename
|
20
|
-
end
|