write_xlsx 0.81.1 → 0.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -0
- data/Changes +20 -0
- data/README.md +3 -2
- data/examples/chart_combined.rb +107 -0
- data/examples/chart_data_table.rb +1 -1
- data/examples/chart_pareto.rb +82 -0
- data/lib/write_xlsx/chart.rb +115 -42
- data/lib/write_xlsx/chart/axis.rb +5 -1
- data/lib/write_xlsx/chart/bar.rb +13 -0
- data/lib/write_xlsx/chart/pie.rb +7 -0
- data/lib/write_xlsx/chart/scatter.rb +25 -57
- data/lib/write_xlsx/format.rb +40 -0
- data/lib/write_xlsx/package/app.rb +39 -1
- data/lib/write_xlsx/package/comments.rb +1 -5
- data/lib/write_xlsx/package/content_types.rb +48 -13
- data/lib/write_xlsx/package/core.rb +14 -12
- data/lib/write_xlsx/package/packager.rb +17 -41
- data/lib/write_xlsx/package/styles.rb +215 -256
- data/lib/write_xlsx/package/table.rb +5 -7
- data/lib/write_xlsx/package/xml_writer_simple.rb +2 -0
- data/lib/write_xlsx/sheets.rb +2 -2
- data/lib/write_xlsx/utility.rb +17 -2
- data/lib/write_xlsx/version.rb +1 -1
- data/lib/write_xlsx/workbook.rb +44 -2
- data/lib/write_xlsx/worksheet.rb +26 -17
- data/lib/write_xlsx/worksheet/page_setup.rb +12 -6
- data/test/chart/test_write_style.rb +2 -2
- data/test/helper.rb +3 -0
- data/test/package/app/test_app01.rb +1 -1
- data/test/package/app/test_app02.rb +1 -1
- data/test/package/app/test_app03.rb +1 -1
- data/test/package/content_types/test_content_types.rb +1 -1
- data/test/package/content_types/test_write_default.rb +1 -1
- data/test/package/content_types/test_write_override.rb +1 -1
- data/test/perl_output/chart_combined.xlsx +0 -0
- data/test/perl_output/chart_pareto.xlsx +0 -0
- data/test/regression/test_button07.rb +5 -2
- data/test/regression/test_button13.rb +34 -0
- data/test/regression/test_button14.rb +31 -0
- data/test/regression/test_chart_column11.rb +45 -0
- data/test/regression/test_chart_column12.rb +45 -0
- data/test/regression/test_chart_combined01.rb +37 -0
- data/test/regression/test_chart_combined02.rb +43 -0
- data/test/regression/test_chart_combined03.rb +45 -0
- data/test/regression/test_chart_combined04.rb +47 -0
- data/test/regression/test_chart_combined05.rb +49 -0
- data/test/regression/test_chart_combined06.rb +49 -0
- data/test/regression/test_chart_combined07.rb +53 -0
- data/test/regression/test_chart_combined08.rb +65 -0
- data/test/regression/test_chart_data_labels24.rb +50 -0
- data/test/regression/test_chart_date05.rb +57 -0
- data/test/regression/test_chart_format20.rb +55 -0
- data/test/regression/test_format11.rb +28 -0
- data/test/regression/test_format12.rb +41 -0
- data/test/regression/test_landscape01.rb +27 -0
- data/test/regression/test_quote_name04.rb +40 -0
- data/test/regression/test_set_start_page01.rb +4 -7
- data/test/regression/test_set_start_page02.rb +33 -0
- data/test/regression/test_set_start_page03.rb +33 -0
- data/test/regression/test_table17.rb +70 -0
- data/test/regression/xlsx_files/chart_column11.xlsx +0 -0
- data/test/regression/xlsx_files/chart_column12.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined01.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined02.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined03.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined04.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined05.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined06.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined07.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined08.xlsx +0 -0
- data/test/regression/xlsx_files/chart_date05.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format20.xlsx +0 -0
- data/test/regression/xlsx_files/format11.xlsx +0 -0
- data/test/regression/xlsx_files/format12.xlsx +0 -0
- data/test/regression/xlsx_files/landscape01.xlsx +0 -0
- data/test/regression/xlsx_files/quote_name04.xlsx +0 -0
- data/test/regression/xlsx_files/set_start_page01.xlsx +0 -0
- data/test/regression/xlsx_files/set_start_page02.xlsx +0 -0
- data/test/regression/xlsx_files/set_start_page03.xlsx +0 -0
- data/test/regression/xlsx_files/table17.xlsx +0 -0
- data/test/test_example_match.rb +172 -0
- data/write_xlsx.gemspec +1 -0
- metadata +106 -3
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_example_match.rb
CHANGED
@@ -5533,4 +5533,176 @@ def test_chart_data_tools
|
|
5533
5533
|
workbook.close
|
5534
5534
|
compare_xlsx(File.join(@perl_output, @xlsx), @xlsx)
|
5535
5535
|
end
|
5536
|
+
|
5537
|
+
def test_chart_combined
|
5538
|
+
@xlsx = 'chart_combined.xlsx'
|
5539
|
+
workbook = WriteXLSX.new(@xlsx)
|
5540
|
+
worksheet = workbook.add_worksheet
|
5541
|
+
bold = workbook.add_format(:bold => 1)
|
5542
|
+
|
5543
|
+
# Add the worksheet data that the charts will refer to.
|
5544
|
+
headings = ['Number', 'Batch 1', 'Batch 2']
|
5545
|
+
data = [
|
5546
|
+
[ 2, 3, 4, 5, 6, 7],
|
5547
|
+
[10, 40, 50, 20, 10, 50],
|
5548
|
+
[30, 60, 70, 50, 40, 30]
|
5549
|
+
]
|
5550
|
+
|
5551
|
+
worksheet.write('A1', headings, bold)
|
5552
|
+
worksheet.write('A2', data)
|
5553
|
+
|
5554
|
+
#
|
5555
|
+
# In the first example we will create a combined column and line chart.
|
5556
|
+
# They will share the same X and Y axes.
|
5557
|
+
#
|
5558
|
+
|
5559
|
+
# Create a new column chart. This will use this as the primary chart.
|
5560
|
+
column_chart1 = workbook.add_chart(:type => 'column', :embedded => 1)
|
5561
|
+
|
5562
|
+
# Configure the data series for the primary chart.
|
5563
|
+
column_chart1.add_series(
|
5564
|
+
:name => '=Sheet1!$B$1',
|
5565
|
+
:categories => '=Sheet1!$A$2:$A$7',
|
5566
|
+
:values => '=Sheet1!$B$2:$B$7'
|
5567
|
+
)
|
5568
|
+
|
5569
|
+
# Create a new column chart. This will use this as the secondary chart.
|
5570
|
+
line_chart1 = workbook.add_chart(:type => 'line', :embedded => 1)
|
5571
|
+
|
5572
|
+
# Configure the data series for the secondary chart.
|
5573
|
+
line_chart1.add_series(
|
5574
|
+
:name => '=Sheet1!$C$1',
|
5575
|
+
:categories => '=Sheet1!$A$2:$A$7',
|
5576
|
+
:values => '=Sheet1!$C$2:$C$7'
|
5577
|
+
)
|
5578
|
+
|
5579
|
+
# Combine the charts.
|
5580
|
+
column_chart1.combine(line_chart1)
|
5581
|
+
|
5582
|
+
# Add a chart title and some axis labels. Note, this is done via the
|
5583
|
+
# primary chart.
|
5584
|
+
column_chart1.set_title(:name => 'Combined chart - same Y axis')
|
5585
|
+
column_chart1.set_x_axis(:name => 'Test number')
|
5586
|
+
column_chart1.set_y_axis(:name => 'Sample length (mm)')
|
5587
|
+
|
5588
|
+
# Insert the chart into the worksheet
|
5589
|
+
worksheet.insert_chart('E2', column_chart1)
|
5590
|
+
|
5591
|
+
#
|
5592
|
+
# In the second example we will create a similar combined column and line
|
5593
|
+
# chart except that the secondary chart will have a secondary Y axis.
|
5594
|
+
#
|
5595
|
+
|
5596
|
+
# Create a new column chart. This will use this as the primary chart.
|
5597
|
+
column_chart2 = workbook.add_chart(:type => 'column', :embedded => 1)
|
5598
|
+
|
5599
|
+
# Configure the data series for the primary chart.
|
5600
|
+
column_chart2.add_series(
|
5601
|
+
:name => '=Sheet1!$B$1',
|
5602
|
+
:categories => '=Sheet1!$A$2:$A$7',
|
5603
|
+
:values => '=Sheet1!$B$2:$B$7'
|
5604
|
+
)
|
5605
|
+
|
5606
|
+
# Create a new column chart. This will use this as the secondary chart.
|
5607
|
+
line_chart2 = workbook.add_chart(:type => 'line', :embedded => 1)
|
5608
|
+
|
5609
|
+
# Configure the data series for the secondary chart. We also set a
|
5610
|
+
# secondary Y axis via (y2_axis). This is the only difference between
|
5611
|
+
# this and the first example, apart from the axis label below.
|
5612
|
+
line_chart2.add_series(
|
5613
|
+
:name => '=Sheet1!$C$1',
|
5614
|
+
:categories => '=Sheet1!$A$2:$A$7',
|
5615
|
+
:values => '=Sheet1!$C$2:$C$7',
|
5616
|
+
:y2_axis => 1
|
5617
|
+
)
|
5618
|
+
|
5619
|
+
# Combine the charts.
|
5620
|
+
column_chart2.combine(line_chart2)
|
5621
|
+
|
5622
|
+
# Add a chart title and some axis labels.
|
5623
|
+
column_chart2.set_title(:name => 'Combine chart - secondary Y axis')
|
5624
|
+
column_chart2.set_x_axis(:name => 'Test number')
|
5625
|
+
column_chart2.set_y_axis(:name => 'Sample length (mm)')
|
5626
|
+
column_chart2.set_y2_axis(:name => 'Target length (mm)')
|
5627
|
+
|
5628
|
+
# Insert the chart into the worksheet
|
5629
|
+
worksheet.insert_chart('E18', column_chart2)
|
5630
|
+
|
5631
|
+
workbook.close
|
5632
|
+
compare_xlsx(File.join(@perl_output, @xlsx), @xlsx)
|
5633
|
+
end
|
5634
|
+
|
5635
|
+
def test_chart_pareto
|
5636
|
+
@xlsx = 'chart_pareto.xlsx'
|
5637
|
+
workbook = WriteXLSX.new(@xlsx)
|
5638
|
+
worksheet = workbook.add_worksheet
|
5639
|
+
|
5640
|
+
# Formats used in the workbook.
|
5641
|
+
bold = workbook.add_format(:bold => 1)
|
5642
|
+
percent_format = workbook.add_format(:num_format => '0.0%')
|
5643
|
+
|
5644
|
+
# Widen the columns for visibility.
|
5645
|
+
worksheet.set_column('A:A', 15)
|
5646
|
+
worksheet.set_column('B:C', 10)
|
5647
|
+
|
5648
|
+
# Add the worksheet data that the charts will refer to.
|
5649
|
+
headings = ['Reason', 'Number', 'Percentage']
|
5650
|
+
|
5651
|
+
reasons = [
|
5652
|
+
'Traffic', 'Child care', 'Public Transport', 'Weather',
|
5653
|
+
'Overslept', 'Emergency'
|
5654
|
+
]
|
5655
|
+
|
5656
|
+
numbers = [ 60, 40, 20, 15, 10, 5]
|
5657
|
+
percents = [0.44, 0.667, 0.8, 0.9, 0.967, 1]
|
5658
|
+
|
5659
|
+
worksheet.write_row('A1', headings, bold)
|
5660
|
+
worksheet.write_col('A2', reasons)
|
5661
|
+
worksheet.write_col('B2', numbers)
|
5662
|
+
worksheet.write_col('C2', percents, percent_format)
|
5663
|
+
|
5664
|
+
# Create a new column chart. This will be the primary chart.
|
5665
|
+
column_chart = workbook.add_chart(:type => 'column', :embedded => 1)
|
5666
|
+
|
5667
|
+
# Add a series
|
5668
|
+
column_chart.add_series(
|
5669
|
+
:categories => 'Sheet1!$A$2:$A$7',
|
5670
|
+
:values => 'Sheet1!$B$2:$B$7'
|
5671
|
+
)
|
5672
|
+
|
5673
|
+
# Add a chart title.
|
5674
|
+
column_chart.set_title(:name => 'Reasons for lateness')
|
5675
|
+
|
5676
|
+
# Turn off the chart legend.
|
5677
|
+
column_chart.set_legend(:position => 'none')
|
5678
|
+
|
5679
|
+
# Set the title and scale of the Y axes. Note, the secondary axis is set from
|
5680
|
+
# the primary chart.
|
5681
|
+
column_chart.set_y_axis(
|
5682
|
+
:name => 'Respondents (number)',
|
5683
|
+
:min => 0,
|
5684
|
+
:max => 120
|
5685
|
+
)
|
5686
|
+
column_chart.set_y2_axis(:max => 1)
|
5687
|
+
|
5688
|
+
# Create a new line chart. This will be the secondary chart.
|
5689
|
+
line_chart = workbook.add_chart(:type => 'line', :embedded => 1)
|
5690
|
+
|
5691
|
+
# Add a series, on the secondary axis.
|
5692
|
+
line_chart.add_series(
|
5693
|
+
:categories => '=Sheet1!$A$2:$A$7',
|
5694
|
+
:values => '=Sheet1!$C$2:$C$7',
|
5695
|
+
:marker => {:type => 'automatic'},
|
5696
|
+
:y2_axis => 1
|
5697
|
+
)
|
5698
|
+
|
5699
|
+
# Combine the charts.
|
5700
|
+
column_chart.combine(line_chart)
|
5701
|
+
|
5702
|
+
# Insert the chart into the worksheet.
|
5703
|
+
worksheet.insert_chart('F2', column_chart)
|
5704
|
+
|
5705
|
+
workbook.close
|
5706
|
+
compare_xlsx(File.join(@perl_output, @xlsx), @xlsx)
|
5707
|
+
end
|
5536
5708
|
end
|
data/write_xlsx.gemspec
CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.add_runtime_dependency 'rubyzip', '>= 1.0.0'
|
21
21
|
gem.add_runtime_dependency 'zip-zip'
|
22
22
|
gem.add_development_dependency 'test-unit'
|
23
|
+
gem.add_development_dependency 'rake'
|
23
24
|
gem.extra_rdoc_files = [
|
24
25
|
"LICENSE.txt",
|
25
26
|
"README.md",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: write_xlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hideo NAKAMURA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: write_xlsx is a gem to create a new file in the Excel 2007+ XLSX format.
|
56
70
|
email:
|
57
71
|
- cxn03651@msj.biglobe.ne.jp
|
@@ -66,6 +80,7 @@ files:
|
|
66
80
|
- ".document"
|
67
81
|
- ".gitattributes"
|
68
82
|
- ".gitignore"
|
83
|
+
- ".travis.yml"
|
69
84
|
- Changes
|
70
85
|
- Gemfile
|
71
86
|
- LICENSE.txt
|
@@ -79,10 +94,12 @@ files:
|
|
79
94
|
- examples/chart_area.rb
|
80
95
|
- examples/chart_bar.rb
|
81
96
|
- examples/chart_column.rb
|
97
|
+
- examples/chart_combined.rb
|
82
98
|
- examples/chart_data_table.rb
|
83
99
|
- examples/chart_data_tools.rb
|
84
100
|
- examples/chart_doughnut.rb
|
85
101
|
- examples/chart_line.rb
|
102
|
+
- examples/chart_pareto.rb
|
86
103
|
- examples/chart_pie.rb
|
87
104
|
- examples/chart_radar.rb
|
88
105
|
- examples/chart_scatter.rb
|
@@ -294,10 +311,12 @@ files:
|
|
294
311
|
- test/perl_output/chart_area.xlsx
|
295
312
|
- test/perl_output/chart_bar.xlsx
|
296
313
|
- test/perl_output/chart_column.xlsx
|
314
|
+
- test/perl_output/chart_combined.xlsx
|
297
315
|
- test/perl_output/chart_data_table.xlsx
|
298
316
|
- test/perl_output/chart_data_tools.xlsx
|
299
317
|
- test/perl_output/chart_doughnut.xlsx
|
300
318
|
- test/perl_output/chart_line.xlsx
|
319
|
+
- test/perl_output/chart_pareto.xlsx
|
301
320
|
- test/perl_output/chart_pie.xlsx
|
302
321
|
- test/perl_output/chart_radar.xlsx
|
303
322
|
- test/perl_output/chart_scatter.xlsx
|
@@ -395,6 +414,8 @@ files:
|
|
395
414
|
- test/regression/test_button06.rb
|
396
415
|
- test/regression/test_button07.rb
|
397
416
|
- test/regression/test_button08.rb
|
417
|
+
- test/regression/test_button13.rb
|
418
|
+
- test/regression/test_button14.rb
|
398
419
|
- test/regression/test_chart_area01.rb
|
399
420
|
- test/regression/test_chart_area02.rb
|
400
421
|
- test/regression/test_chart_area03.rb
|
@@ -483,6 +504,16 @@ files:
|
|
483
504
|
- test/regression/test_chart_column08.rb
|
484
505
|
- test/regression/test_chart_column09.rb
|
485
506
|
- test/regression/test_chart_column10.rb
|
507
|
+
- test/regression/test_chart_column11.rb
|
508
|
+
- test/regression/test_chart_column12.rb
|
509
|
+
- test/regression/test_chart_combined01.rb
|
510
|
+
- test/regression/test_chart_combined02.rb
|
511
|
+
- test/regression/test_chart_combined03.rb
|
512
|
+
- test/regression/test_chart_combined04.rb
|
513
|
+
- test/regression/test_chart_combined05.rb
|
514
|
+
- test/regression/test_chart_combined06.rb
|
515
|
+
- test/regression/test_chart_combined07.rb
|
516
|
+
- test/regression/test_chart_combined08.rb
|
486
517
|
- test/regression/test_chart_crossing01.rb
|
487
518
|
- test/regression/test_chart_crossing02.rb
|
488
519
|
- test/regression/test_chart_crossing03.rb
|
@@ -510,10 +541,12 @@ files:
|
|
510
541
|
- test/regression/test_chart_data_labels21.rb
|
511
542
|
- test/regression/test_chart_data_labels22.rb
|
512
543
|
- test/regression/test_chart_data_labels23.rb
|
544
|
+
- test/regression/test_chart_data_labels24.rb
|
513
545
|
- test/regression/test_chart_date01.rb
|
514
546
|
- test/regression/test_chart_date02.rb
|
515
547
|
- test/regression/test_chart_date03.rb
|
516
548
|
- test/regression/test_chart_date04.rb
|
549
|
+
- test/regression/test_chart_date05.rb
|
517
550
|
- test/regression/test_chart_doughnut01.rb
|
518
551
|
- test/regression/test_chart_doughnut02.rb
|
519
552
|
- test/regression/test_chart_doughnut03.rb
|
@@ -562,6 +595,7 @@ files:
|
|
562
595
|
- test/regression/test_chart_format17.rb
|
563
596
|
- test/regression/test_chart_format18.rb
|
564
597
|
- test/regression/test_chart_format19.rb
|
598
|
+
- test/regression/test_chart_format20.rb
|
565
599
|
- test/regression/test_chart_gap01.rb
|
566
600
|
- test/regression/test_chart_gap02.rb
|
567
601
|
- test/regression/test_chart_gap03.rb
|
@@ -716,6 +750,8 @@ files:
|
|
716
750
|
- test/regression/test_format03.rb
|
717
751
|
- test/regression/test_format04.rb
|
718
752
|
- test/regression/test_format05.rb
|
753
|
+
- test/regression/test_format11.rb
|
754
|
+
- test/regression/test_format12.rb
|
719
755
|
- test/regression/test_gridlines01.rb
|
720
756
|
- test/regression/test_header01.rb
|
721
757
|
- test/regression/test_header02.rb
|
@@ -779,6 +815,7 @@ files:
|
|
779
815
|
- test/regression/test_image25.rb
|
780
816
|
- test/regression/test_image26.rb
|
781
817
|
- test/regression/test_image27.rb
|
818
|
+
- test/regression/test_landscape01.rb
|
782
819
|
- test/regression/test_macro01.rb
|
783
820
|
- test/regression/test_merge_cells01.rb
|
784
821
|
- test/regression/test_outline01.rb
|
@@ -817,6 +854,7 @@ files:
|
|
817
854
|
- test/regression/test_protect03.rb
|
818
855
|
- test/regression/test_quote_name01.rb
|
819
856
|
- test/regression/test_quote_name03.rb
|
857
|
+
- test/regression/test_quote_name04.rb
|
820
858
|
- test/regression/test_repeat01.rb
|
821
859
|
- test/regression/test_repeat02.rb
|
822
860
|
- test/regression/test_repeat03.rb
|
@@ -861,6 +899,8 @@ files:
|
|
861
899
|
- test/regression/test_set_column09.rb
|
862
900
|
- test/regression/test_set_print_scale01.rb
|
863
901
|
- test/regression/test_set_start_page01.rb
|
902
|
+
- test/regression/test_set_start_page02.rb
|
903
|
+
- test/regression/test_set_start_page03.rb
|
864
904
|
- test/regression/test_shape01.rb
|
865
905
|
- test/regression/test_shape02.rb
|
866
906
|
- test/regression/test_shape03.rb
|
@@ -896,6 +936,7 @@ files:
|
|
896
936
|
- test/regression/test_table14.rb
|
897
937
|
- test/regression/test_table15.rb
|
898
938
|
- test/regression/test_table16.rb
|
939
|
+
- test/regression/test_table17.rb
|
899
940
|
- test/regression/test_tutorial01.rb
|
900
941
|
- test/regression/test_tutorial02.rb
|
901
942
|
- test/regression/test_tutorial03.rb
|
@@ -1019,6 +1060,16 @@ files:
|
|
1019
1060
|
- test/regression/xlsx_files/chart_column08.xlsx
|
1020
1061
|
- test/regression/xlsx_files/chart_column09.xlsx
|
1021
1062
|
- test/regression/xlsx_files/chart_column10.xlsx
|
1063
|
+
- test/regression/xlsx_files/chart_column11.xlsx
|
1064
|
+
- test/regression/xlsx_files/chart_column12.xlsx
|
1065
|
+
- test/regression/xlsx_files/chart_combined01.xlsx
|
1066
|
+
- test/regression/xlsx_files/chart_combined02.xlsx
|
1067
|
+
- test/regression/xlsx_files/chart_combined03.xlsx
|
1068
|
+
- test/regression/xlsx_files/chart_combined04.xlsx
|
1069
|
+
- test/regression/xlsx_files/chart_combined05.xlsx
|
1070
|
+
- test/regression/xlsx_files/chart_combined06.xlsx
|
1071
|
+
- test/regression/xlsx_files/chart_combined07.xlsx
|
1072
|
+
- test/regression/xlsx_files/chart_combined08.xlsx
|
1022
1073
|
- test/regression/xlsx_files/chart_crossing01.xlsx
|
1023
1074
|
- test/regression/xlsx_files/chart_crossing02.xlsx
|
1024
1075
|
- test/regression/xlsx_files/chart_crossing03.xlsx
|
@@ -1051,6 +1102,7 @@ files:
|
|
1051
1102
|
- test/regression/xlsx_files/chart_date02.xlsx
|
1052
1103
|
- test/regression/xlsx_files/chart_date03.xlsx
|
1053
1104
|
- test/regression/xlsx_files/chart_date04.xlsx
|
1105
|
+
- test/regression/xlsx_files/chart_date05.xlsx
|
1054
1106
|
- test/regression/xlsx_files/chart_doughnut01.xlsx
|
1055
1107
|
- test/regression/xlsx_files/chart_doughnut02.xlsx
|
1056
1108
|
- test/regression/xlsx_files/chart_doughnut03.xlsx
|
@@ -1099,6 +1151,7 @@ files:
|
|
1099
1151
|
- test/regression/xlsx_files/chart_format17.xlsx
|
1100
1152
|
- test/regression/xlsx_files/chart_format18.xlsx
|
1101
1153
|
- test/regression/xlsx_files/chart_format19.xlsx
|
1154
|
+
- test/regression/xlsx_files/chart_format20.xlsx
|
1102
1155
|
- test/regression/xlsx_files/chart_gap01.xlsx
|
1103
1156
|
- test/regression/xlsx_files/chart_gap02.xlsx
|
1104
1157
|
- test/regression/xlsx_files/chart_gap03.xlsx
|
@@ -1246,6 +1299,8 @@ files:
|
|
1246
1299
|
- test/regression/xlsx_files/format03.xlsx
|
1247
1300
|
- test/regression/xlsx_files/format04.xlsx
|
1248
1301
|
- test/regression/xlsx_files/format05.xlsx
|
1302
|
+
- test/regression/xlsx_files/format11.xlsx
|
1303
|
+
- test/regression/xlsx_files/format12.xlsx
|
1249
1304
|
- test/regression/xlsx_files/gridlines01.xlsx
|
1250
1305
|
- test/regression/xlsx_files/header01.xlsx
|
1251
1306
|
- test/regression/xlsx_files/header02.xlsx
|
@@ -1309,6 +1364,7 @@ files:
|
|
1309
1364
|
- test/regression/xlsx_files/image25.xlsx
|
1310
1365
|
- test/regression/xlsx_files/image26.xlsx
|
1311
1366
|
- test/regression/xlsx_files/image27.xlsx
|
1367
|
+
- test/regression/xlsx_files/landscape01.xlsx
|
1312
1368
|
- test/regression/xlsx_files/macro01.xlsm
|
1313
1369
|
- test/regression/xlsx_files/merge_cells01.xlsx
|
1314
1370
|
- test/regression/xlsx_files/outline01.xlsx
|
@@ -1348,6 +1404,7 @@ files:
|
|
1348
1404
|
- test/regression/xlsx_files/quote_name01.xlsx
|
1349
1405
|
- test/regression/xlsx_files/quote_name02.xlsx
|
1350
1406
|
- test/regression/xlsx_files/quote_name03.xlsx
|
1407
|
+
- test/regression/xlsx_files/quote_name04.xlsx
|
1351
1408
|
- test/regression/xlsx_files/repeat01.xlsx
|
1352
1409
|
- test/regression/xlsx_files/repeat02.xlsx
|
1353
1410
|
- test/regression/xlsx_files/repeat03.xlsx
|
@@ -1391,6 +1448,8 @@ files:
|
|
1391
1448
|
- test/regression/xlsx_files/set_column09.xlsx
|
1392
1449
|
- test/regression/xlsx_files/set_print_scale01.xlsx
|
1393
1450
|
- test/regression/xlsx_files/set_start_page01.xlsx
|
1451
|
+
- test/regression/xlsx_files/set_start_page02.xlsx
|
1452
|
+
- test/regression/xlsx_files/set_start_page03.xlsx
|
1394
1453
|
- test/regression/xlsx_files/shape01.xlsx
|
1395
1454
|
- test/regression/xlsx_files/shape02.xlsx
|
1396
1455
|
- test/regression/xlsx_files/shape03.xlsx
|
@@ -1425,6 +1484,7 @@ files:
|
|
1425
1484
|
- test/regression/xlsx_files/table13.xlsx
|
1426
1485
|
- test/regression/xlsx_files/table14.xlsx
|
1427
1486
|
- test/regression/xlsx_files/table15.xlsx
|
1487
|
+
- test/regression/xlsx_files/table17.xlsx
|
1428
1488
|
- test/regression/xlsx_files/tutorial01.xlsx
|
1429
1489
|
- test/regression/xlsx_files/tutorial02.xlsx
|
1430
1490
|
- test/regression/xlsx_files/tutorial03.xlsx
|
@@ -1576,7 +1636,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1576
1636
|
version: '0'
|
1577
1637
|
requirements: []
|
1578
1638
|
rubyforge_project:
|
1579
|
-
rubygems_version: 2.
|
1639
|
+
rubygems_version: 2.2.2
|
1580
1640
|
signing_key:
|
1581
1641
|
specification_version: 4
|
1582
1642
|
summary: write_xlsx is a gem to create a new file in the Excel 2007+ XLSX format.
|
@@ -1692,10 +1752,12 @@ test_files:
|
|
1692
1752
|
- test/perl_output/chart_area.xlsx
|
1693
1753
|
- test/perl_output/chart_bar.xlsx
|
1694
1754
|
- test/perl_output/chart_column.xlsx
|
1755
|
+
- test/perl_output/chart_combined.xlsx
|
1695
1756
|
- test/perl_output/chart_data_table.xlsx
|
1696
1757
|
- test/perl_output/chart_data_tools.xlsx
|
1697
1758
|
- test/perl_output/chart_doughnut.xlsx
|
1698
1759
|
- test/perl_output/chart_line.xlsx
|
1760
|
+
- test/perl_output/chart_pareto.xlsx
|
1699
1761
|
- test/perl_output/chart_pie.xlsx
|
1700
1762
|
- test/perl_output/chart_radar.xlsx
|
1701
1763
|
- test/perl_output/chart_scatter.xlsx
|
@@ -1793,6 +1855,8 @@ test_files:
|
|
1793
1855
|
- test/regression/test_button06.rb
|
1794
1856
|
- test/regression/test_button07.rb
|
1795
1857
|
- test/regression/test_button08.rb
|
1858
|
+
- test/regression/test_button13.rb
|
1859
|
+
- test/regression/test_button14.rb
|
1796
1860
|
- test/regression/test_chart_area01.rb
|
1797
1861
|
- test/regression/test_chart_area02.rb
|
1798
1862
|
- test/regression/test_chart_area03.rb
|
@@ -1881,6 +1945,16 @@ test_files:
|
|
1881
1945
|
- test/regression/test_chart_column08.rb
|
1882
1946
|
- test/regression/test_chart_column09.rb
|
1883
1947
|
- test/regression/test_chart_column10.rb
|
1948
|
+
- test/regression/test_chart_column11.rb
|
1949
|
+
- test/regression/test_chart_column12.rb
|
1950
|
+
- test/regression/test_chart_combined01.rb
|
1951
|
+
- test/regression/test_chart_combined02.rb
|
1952
|
+
- test/regression/test_chart_combined03.rb
|
1953
|
+
- test/regression/test_chart_combined04.rb
|
1954
|
+
- test/regression/test_chart_combined05.rb
|
1955
|
+
- test/regression/test_chart_combined06.rb
|
1956
|
+
- test/regression/test_chart_combined07.rb
|
1957
|
+
- test/regression/test_chart_combined08.rb
|
1884
1958
|
- test/regression/test_chart_crossing01.rb
|
1885
1959
|
- test/regression/test_chart_crossing02.rb
|
1886
1960
|
- test/regression/test_chart_crossing03.rb
|
@@ -1908,10 +1982,12 @@ test_files:
|
|
1908
1982
|
- test/regression/test_chart_data_labels21.rb
|
1909
1983
|
- test/regression/test_chart_data_labels22.rb
|
1910
1984
|
- test/regression/test_chart_data_labels23.rb
|
1985
|
+
- test/regression/test_chart_data_labels24.rb
|
1911
1986
|
- test/regression/test_chart_date01.rb
|
1912
1987
|
- test/regression/test_chart_date02.rb
|
1913
1988
|
- test/regression/test_chart_date03.rb
|
1914
1989
|
- test/regression/test_chart_date04.rb
|
1990
|
+
- test/regression/test_chart_date05.rb
|
1915
1991
|
- test/regression/test_chart_doughnut01.rb
|
1916
1992
|
- test/regression/test_chart_doughnut02.rb
|
1917
1993
|
- test/regression/test_chart_doughnut03.rb
|
@@ -1960,6 +2036,7 @@ test_files:
|
|
1960
2036
|
- test/regression/test_chart_format17.rb
|
1961
2037
|
- test/regression/test_chart_format18.rb
|
1962
2038
|
- test/regression/test_chart_format19.rb
|
2039
|
+
- test/regression/test_chart_format20.rb
|
1963
2040
|
- test/regression/test_chart_gap01.rb
|
1964
2041
|
- test/regression/test_chart_gap02.rb
|
1965
2042
|
- test/regression/test_chart_gap03.rb
|
@@ -2114,6 +2191,8 @@ test_files:
|
|
2114
2191
|
- test/regression/test_format03.rb
|
2115
2192
|
- test/regression/test_format04.rb
|
2116
2193
|
- test/regression/test_format05.rb
|
2194
|
+
- test/regression/test_format11.rb
|
2195
|
+
- test/regression/test_format12.rb
|
2117
2196
|
- test/regression/test_gridlines01.rb
|
2118
2197
|
- test/regression/test_header01.rb
|
2119
2198
|
- test/regression/test_header02.rb
|
@@ -2177,6 +2256,7 @@ test_files:
|
|
2177
2256
|
- test/regression/test_image25.rb
|
2178
2257
|
- test/regression/test_image26.rb
|
2179
2258
|
- test/regression/test_image27.rb
|
2259
|
+
- test/regression/test_landscape01.rb
|
2180
2260
|
- test/regression/test_macro01.rb
|
2181
2261
|
- test/regression/test_merge_cells01.rb
|
2182
2262
|
- test/regression/test_outline01.rb
|
@@ -2215,6 +2295,7 @@ test_files:
|
|
2215
2295
|
- test/regression/test_protect03.rb
|
2216
2296
|
- test/regression/test_quote_name01.rb
|
2217
2297
|
- test/regression/test_quote_name03.rb
|
2298
|
+
- test/regression/test_quote_name04.rb
|
2218
2299
|
- test/regression/test_repeat01.rb
|
2219
2300
|
- test/regression/test_repeat02.rb
|
2220
2301
|
- test/regression/test_repeat03.rb
|
@@ -2259,6 +2340,8 @@ test_files:
|
|
2259
2340
|
- test/regression/test_set_column09.rb
|
2260
2341
|
- test/regression/test_set_print_scale01.rb
|
2261
2342
|
- test/regression/test_set_start_page01.rb
|
2343
|
+
- test/regression/test_set_start_page02.rb
|
2344
|
+
- test/regression/test_set_start_page03.rb
|
2262
2345
|
- test/regression/test_shape01.rb
|
2263
2346
|
- test/regression/test_shape02.rb
|
2264
2347
|
- test/regression/test_shape03.rb
|
@@ -2294,6 +2377,7 @@ test_files:
|
|
2294
2377
|
- test/regression/test_table14.rb
|
2295
2378
|
- test/regression/test_table15.rb
|
2296
2379
|
- test/regression/test_table16.rb
|
2380
|
+
- test/regression/test_table17.rb
|
2297
2381
|
- test/regression/test_tutorial01.rb
|
2298
2382
|
- test/regression/test_tutorial02.rb
|
2299
2383
|
- test/regression/test_tutorial03.rb
|
@@ -2417,6 +2501,16 @@ test_files:
|
|
2417
2501
|
- test/regression/xlsx_files/chart_column08.xlsx
|
2418
2502
|
- test/regression/xlsx_files/chart_column09.xlsx
|
2419
2503
|
- test/regression/xlsx_files/chart_column10.xlsx
|
2504
|
+
- test/regression/xlsx_files/chart_column11.xlsx
|
2505
|
+
- test/regression/xlsx_files/chart_column12.xlsx
|
2506
|
+
- test/regression/xlsx_files/chart_combined01.xlsx
|
2507
|
+
- test/regression/xlsx_files/chart_combined02.xlsx
|
2508
|
+
- test/regression/xlsx_files/chart_combined03.xlsx
|
2509
|
+
- test/regression/xlsx_files/chart_combined04.xlsx
|
2510
|
+
- test/regression/xlsx_files/chart_combined05.xlsx
|
2511
|
+
- test/regression/xlsx_files/chart_combined06.xlsx
|
2512
|
+
- test/regression/xlsx_files/chart_combined07.xlsx
|
2513
|
+
- test/regression/xlsx_files/chart_combined08.xlsx
|
2420
2514
|
- test/regression/xlsx_files/chart_crossing01.xlsx
|
2421
2515
|
- test/regression/xlsx_files/chart_crossing02.xlsx
|
2422
2516
|
- test/regression/xlsx_files/chart_crossing03.xlsx
|
@@ -2449,6 +2543,7 @@ test_files:
|
|
2449
2543
|
- test/regression/xlsx_files/chart_date02.xlsx
|
2450
2544
|
- test/regression/xlsx_files/chart_date03.xlsx
|
2451
2545
|
- test/regression/xlsx_files/chart_date04.xlsx
|
2546
|
+
- test/regression/xlsx_files/chart_date05.xlsx
|
2452
2547
|
- test/regression/xlsx_files/chart_doughnut01.xlsx
|
2453
2548
|
- test/regression/xlsx_files/chart_doughnut02.xlsx
|
2454
2549
|
- test/regression/xlsx_files/chart_doughnut03.xlsx
|
@@ -2497,6 +2592,7 @@ test_files:
|
|
2497
2592
|
- test/regression/xlsx_files/chart_format17.xlsx
|
2498
2593
|
- test/regression/xlsx_files/chart_format18.xlsx
|
2499
2594
|
- test/regression/xlsx_files/chart_format19.xlsx
|
2595
|
+
- test/regression/xlsx_files/chart_format20.xlsx
|
2500
2596
|
- test/regression/xlsx_files/chart_gap01.xlsx
|
2501
2597
|
- test/regression/xlsx_files/chart_gap02.xlsx
|
2502
2598
|
- test/regression/xlsx_files/chart_gap03.xlsx
|
@@ -2644,6 +2740,8 @@ test_files:
|
|
2644
2740
|
- test/regression/xlsx_files/format03.xlsx
|
2645
2741
|
- test/regression/xlsx_files/format04.xlsx
|
2646
2742
|
- test/regression/xlsx_files/format05.xlsx
|
2743
|
+
- test/regression/xlsx_files/format11.xlsx
|
2744
|
+
- test/regression/xlsx_files/format12.xlsx
|
2647
2745
|
- test/regression/xlsx_files/gridlines01.xlsx
|
2648
2746
|
- test/regression/xlsx_files/header01.xlsx
|
2649
2747
|
- test/regression/xlsx_files/header02.xlsx
|
@@ -2707,6 +2805,7 @@ test_files:
|
|
2707
2805
|
- test/regression/xlsx_files/image25.xlsx
|
2708
2806
|
- test/regression/xlsx_files/image26.xlsx
|
2709
2807
|
- test/regression/xlsx_files/image27.xlsx
|
2808
|
+
- test/regression/xlsx_files/landscape01.xlsx
|
2710
2809
|
- test/regression/xlsx_files/macro01.xlsm
|
2711
2810
|
- test/regression/xlsx_files/merge_cells01.xlsx
|
2712
2811
|
- test/regression/xlsx_files/outline01.xlsx
|
@@ -2746,6 +2845,7 @@ test_files:
|
|
2746
2845
|
- test/regression/xlsx_files/quote_name01.xlsx
|
2747
2846
|
- test/regression/xlsx_files/quote_name02.xlsx
|
2748
2847
|
- test/regression/xlsx_files/quote_name03.xlsx
|
2848
|
+
- test/regression/xlsx_files/quote_name04.xlsx
|
2749
2849
|
- test/regression/xlsx_files/repeat01.xlsx
|
2750
2850
|
- test/regression/xlsx_files/repeat02.xlsx
|
2751
2851
|
- test/regression/xlsx_files/repeat03.xlsx
|
@@ -2789,6 +2889,8 @@ test_files:
|
|
2789
2889
|
- test/regression/xlsx_files/set_column09.xlsx
|
2790
2890
|
- test/regression/xlsx_files/set_print_scale01.xlsx
|
2791
2891
|
- test/regression/xlsx_files/set_start_page01.xlsx
|
2892
|
+
- test/regression/xlsx_files/set_start_page02.xlsx
|
2893
|
+
- test/regression/xlsx_files/set_start_page03.xlsx
|
2792
2894
|
- test/regression/xlsx_files/shape01.xlsx
|
2793
2895
|
- test/regression/xlsx_files/shape02.xlsx
|
2794
2896
|
- test/regression/xlsx_files/shape03.xlsx
|
@@ -2823,6 +2925,7 @@ test_files:
|
|
2823
2925
|
- test/regression/xlsx_files/table13.xlsx
|
2824
2926
|
- test/regression/xlsx_files/table14.xlsx
|
2825
2927
|
- test/regression/xlsx_files/table15.xlsx
|
2928
|
+
- test/regression/xlsx_files/table17.xlsx
|
2826
2929
|
- test/regression/xlsx_files/tutorial01.xlsx
|
2827
2930
|
- test/regression/xlsx_files/tutorial02.xlsx
|
2828
2931
|
- test/regression/xlsx_files/tutorial03.xlsx
|