write_xlsx 0.77.2 → 0.78.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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/Changes +7 -0
  3. data/README.md +1 -1
  4. data/examples/chart_doughnut.rb +131 -0
  5. data/lib/write_xlsx/chart.rb +4 -1
  6. data/lib/write_xlsx/chart/doughnut.rb +90 -0
  7. data/lib/write_xlsx/chart/pie.rb +16 -2
  8. data/lib/write_xlsx/format.rb +6 -2
  9. data/lib/write_xlsx/utility.rb +31 -2
  10. data/lib/write_xlsx/version.rb +1 -1
  11. data/lib/write_xlsx/workbook.rb +55 -10
  12. data/lib/write_xlsx/worksheet.rb +32 -12
  13. data/lib/write_xlsx/worksheet/page_setup.rb +14 -7
  14. data/test/perl_output/chart_doughnut.xlsx +0 -0
  15. data/test/regression/test_chart_column09.rb +43 -0
  16. data/test/regression/test_chart_column10.rb +43 -0
  17. data/test/regression/test_chart_doughnut01.rb +43 -0
  18. data/test/regression/test_chart_doughnut02.rb +42 -0
  19. data/test/regression/test_chart_doughnut03.rb +42 -0
  20. data/test/regression/test_chart_doughnut04.rb +42 -0
  21. data/test/regression/test_chart_doughnut05.rb +42 -0
  22. data/test/regression/test_chart_doughnut06.rb +38 -0
  23. data/test/regression/test_chart_pie05.rb +38 -0
  24. data/test/regression/test_default_format01.rb +26 -0
  25. data/test/regression/test_excel2003_style01.rb +21 -0
  26. data/test/regression/test_excel2003_style02.rb +37 -0
  27. data/test/regression/test_excel2003_style03.rb +40 -0
  28. data/test/regression/test_excel2003_style04.rb +24 -0
  29. data/test/regression/test_excel2003_style05.rb +31 -0
  30. data/test/regression/test_excel2003_style06.rb +31 -0
  31. data/test/regression/test_excel2003_style07.rb +31 -0
  32. data/test/regression/test_excel2003_style08.rb +26 -0
  33. data/test/regression/xlsx_files/chart_column09.xlsx +0 -0
  34. data/test/regression/xlsx_files/chart_column10.xlsx +0 -0
  35. data/test/regression/xlsx_files/chart_doughnut01.xlsx +0 -0
  36. data/test/regression/xlsx_files/chart_doughnut02.xlsx +0 -0
  37. data/test/regression/xlsx_files/chart_doughnut03.xlsx +0 -0
  38. data/test/regression/xlsx_files/chart_doughnut04.xlsx +0 -0
  39. data/test/regression/xlsx_files/chart_doughnut05.xlsx +0 -0
  40. data/test/regression/xlsx_files/chart_doughnut06.xlsx +0 -0
  41. data/test/regression/xlsx_files/chart_pie05.xlsx +0 -0
  42. data/test/regression/xlsx_files/default_format01.xlsx +0 -0
  43. data/test/regression/xlsx_files/excel2003_style01.xlsx +0 -0
  44. data/test/regression/xlsx_files/excel2003_style02.xlsx +0 -0
  45. data/test/regression/xlsx_files/excel2003_style03.xlsx +0 -0
  46. data/test/regression/xlsx_files/excel2003_style04.xlsx +0 -0
  47. data/test/regression/xlsx_files/excel2003_style05.xlsx +0 -0
  48. data/test/regression/xlsx_files/excel2003_style06.xlsx +0 -0
  49. data/test/regression/xlsx_files/excel2003_style07.xlsx +0 -0
  50. data/test/regression/xlsx_files/excel2003_style08.xlsx +0 -0
  51. data/test/test_example_match.rb +116 -0
  52. data/test/test_option_hash_for_workbook.rb +72 -0
  53. data/test/workbook/test_write_calc_pr.rb +41 -0
  54. data/test/worksheet/test_write_phonetic_pr.rb +1 -1
  55. metadata +83 -3
@@ -0,0 +1,72 @@
1
+ # -*- coding: utf-8 -*-
2
+ require 'helper'
3
+ require 'write_xlsx'
4
+
5
+ class ForTest
6
+ include Writexlsx::Utility
7
+ end
8
+
9
+ class TestOptionHashForWorkbook < Test::Unit::TestCase
10
+ def setup
11
+ @obj = ForTest.new
12
+ @options = {
13
+ :tempdir => 'temp',
14
+ :date_1904 => false,
15
+ :optimization => false,
16
+ :excel2003_style => false
17
+ }
18
+ @default_format_properties = {:size => 12, :color => 'red'}
19
+ end
20
+
21
+ #
22
+ # Workbook.new(file)
23
+ # => options = {}
24
+ # => default_format_properties = {}
25
+ #
26
+ def test_empty
27
+ options, default_format_properties = @obj.process_workbook_options()
28
+ assert_equal({}, options)
29
+ assert_equal({}, default_format_properties)
30
+ end
31
+
32
+ #
33
+ # Workbook.new(file, date_1904: false, color: 'red', size: 12)
34
+ # => options = {date_1904: false}
35
+ # => default_formats = {color: 'red', size: 12}
36
+ #
37
+ def test_one_flat_hash
38
+ params = @options.merge(@default_format_properties)
39
+ options, default_format_properties = @obj.process_workbook_options(params)
40
+ assert_equal(@options, options)
41
+ assert_equal(@default_format_properties, default_format_properties)
42
+ end
43
+
44
+ #
45
+ # Workbook.new(file, date_1904: false,
46
+ # default_format_properties: {color: 'red', size: 12} )
47
+ # => options = {date_1904: false}
48
+ # => default_formats = {color: 'red', size: 12}
49
+ #
50
+ def test_one_hash_includes_format_key
51
+ params = @options.dup
52
+ params[:default_format_properties] = @default_format_properties
53
+
54
+ options, default_format_properties = @obj.process_workbook_options(params)
55
+ assert_equal(@options, options)
56
+ assert_equal(@default_format_properties, default_format_properties)
57
+ end
58
+
59
+ #
60
+ # Workbook.new(file, {date_1904: false},
61
+ # {color: 'red', size: 12} )
62
+ # => options = {date_1904: false}
63
+ # => default_formats = {color: 'red', size: 12}
64
+ #
65
+ def test_two_hash
66
+ options, default_format_properties =
67
+ @obj.process_workbook_options(@options, @default_format_properties)
68
+
69
+ assert_equal(@options, options)
70
+ assert_equal(@default_format_properties, default_format_properties)
71
+ end
72
+ end
@@ -0,0 +1,41 @@
1
+ # -*- coding: utf-8 -*-
2
+ require 'helper'
3
+ require 'write_xlsx'
4
+ require 'stringio'
5
+
6
+ class TestWriteCalcPr < Test::Unit::TestCase
7
+ def setup
8
+ @workbook = WriteXLSX.new(StringIO.new)
9
+ end
10
+
11
+ def test_write_calc_pr
12
+ @workbook.__send__('write_calc_pr')
13
+ result = @workbook.xml_str
14
+ expected = '<calcPr calcId="124519" fullCalcOnLoad="1"/>'
15
+ assert_equal(expected, result)
16
+ end
17
+
18
+ def test_write_calc_pr_with_auto_except_tables_mode
19
+ @workbook.set_calc_mode('auto_except_tables')
20
+ @workbook.__send__('write_calc_pr')
21
+ result = @workbook.xml_str
22
+ expected = '<calcPr calcId="124519" calcMode="autoNoTable" fullCalcOnLoad="1"/>'
23
+ assert_equal(expected, result)
24
+ end
25
+
26
+ def test_write_calc_pr_with_manual_mode
27
+ @workbook.set_calc_mode('manual')
28
+ @workbook.__send__('write_calc_pr')
29
+ result = @workbook.xml_str
30
+ expected = '<calcPr calcId="124519" calcMode="manual" calcOnSave="0"/>'
31
+ assert_equal(expected, result)
32
+ end
33
+
34
+ def test_write_calc_pr_with_non_default_calc_id
35
+ @workbook.set_calc_mode('auto', 12345)
36
+ @workbook.__send__('write_calc_pr')
37
+ result = @workbook.xml_str
38
+ expected = '<calcPr calcId="12345" fullCalcOnLoad="1"/>'
39
+ assert_equal(expected, result)
40
+ end
41
+ end
@@ -13,7 +13,7 @@ def setup
13
13
  def test_write_phonetic_pr
14
14
  @worksheet.__send__('write_phonetic_pr')
15
15
  result = @worksheet.instance_variable_get(:@writer).string
16
- expected = '<phoneticPr fontId="1" type="noConversion"/>'
16
+ expected = '<phoneticPr fontId="0" type="noConversion"/>'
17
17
  assert_equal(expected, result)
18
18
  end
19
19
  end
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.77.2
4
+ version: 0.78.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: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -67,6 +67,7 @@ files:
67
67
  - examples/chart_column.rb
68
68
  - examples/chart_data_table.rb
69
69
  - examples/chart_data_tools.rb
70
+ - examples/chart_doughnut.rb
70
71
  - examples/chart_line.rb
71
72
  - examples/chart_pie.rb
72
73
  - examples/chart_radar.rb
@@ -128,6 +129,7 @@ files:
128
129
  - lib/write_xlsx/chart/bar.rb
129
130
  - lib/write_xlsx/chart/caption.rb
130
131
  - lib/write_xlsx/chart/column.rb
132
+ - lib/write_xlsx/chart/doughnut.rb
131
133
  - lib/write_xlsx/chart/line.rb
132
134
  - lib/write_xlsx/chart/pie.rb
133
135
  - lib/write_xlsx/chart/radar.rb
@@ -280,6 +282,7 @@ files:
280
282
  - test/perl_output/chart_column.xlsx
281
283
  - test/perl_output/chart_data_table.xlsx
282
284
  - test/perl_output/chart_data_tools.xlsx
285
+ - test/perl_output/chart_doughnut.xlsx
283
286
  - test/perl_output/chart_line.xlsx
284
287
  - test/perl_output/chart_pie.xlsx
285
288
  - test/perl_output/chart_radar.xlsx
@@ -448,6 +451,8 @@ files:
448
451
  - test/regression/test_chart_column06.rb
449
452
  - test/regression/test_chart_column07.rb
450
453
  - test/regression/test_chart_column08.rb
454
+ - test/regression/test_chart_column09.rb
455
+ - test/regression/test_chart_column10.rb
451
456
  - test/regression/test_chart_crossing01.rb
452
457
  - test/regression/test_chart_crossing02.rb
453
458
  - test/regression/test_chart_crossing03.rb
@@ -456,6 +461,12 @@ files:
456
461
  - test/regression/test_chart_date02.rb
457
462
  - test/regression/test_chart_date03.rb
458
463
  - test/regression/test_chart_date04.rb
464
+ - test/regression/test_chart_doughnut01.rb
465
+ - test/regression/test_chart_doughnut02.rb
466
+ - test/regression/test_chart_doughnut03.rb
467
+ - test/regression/test_chart_doughnut04.rb
468
+ - test/regression/test_chart_doughnut05.rb
469
+ - test/regression/test_chart_doughnut06.rb
459
470
  - test/regression/test_chart_drop_lines01.rb
460
471
  - test/regression/test_chart_drop_lines02.rb
461
472
  - test/regression/test_chart_drop_lines03.rb
@@ -534,6 +545,7 @@ files:
534
545
  - test/regression/test_chart_pie02.rb
535
546
  - test/regression/test_chart_pie03.rb
536
547
  - test/regression/test_chart_pie04.rb
548
+ - test/regression/test_chart_pie05.rb
537
549
  - test/regression/test_chart_points01.rb
538
550
  - test/regression/test_chart_points02.rb
539
551
  - test/regression/test_chart_points03.rb
@@ -612,6 +624,7 @@ files:
612
624
  - test/regression/test_date_1904_01.rb
613
625
  - test/regression/test_date_1904_02.rb
614
626
  - test/regression/test_date_examples01.rb
627
+ - test/regression/test_default_format01.rb
615
628
  - test/regression/test_default_row01.rb
616
629
  - test/regression/test_default_row02.rb
617
630
  - test/regression/test_default_row03.rb
@@ -628,6 +641,14 @@ files:
628
641
  - test/regression/test_escapes06.rb
629
642
  - test/regression/test_escapes07.rb
630
643
  - test/regression/test_escapes08.rb
644
+ - test/regression/test_excel2003_style01.rb
645
+ - test/regression/test_excel2003_style02.rb
646
+ - test/regression/test_excel2003_style03.rb
647
+ - test/regression/test_excel2003_style04.rb
648
+ - test/regression/test_excel2003_style05.rb
649
+ - test/regression/test_excel2003_style06.rb
650
+ - test/regression/test_excel2003_style07.rb
651
+ - test/regression/test_excel2003_style08.rb
631
652
  - test/regression/test_firstsheet01.rb
632
653
  - test/regression/test_fit_to_pages01.rb
633
654
  - test/regression/test_fit_to_pages02.rb
@@ -910,6 +931,8 @@ files:
910
931
  - test/regression/xlsx_files/chart_column06.xlsx
911
932
  - test/regression/xlsx_files/chart_column07.xlsx
912
933
  - test/regression/xlsx_files/chart_column08.xlsx
934
+ - test/regression/xlsx_files/chart_column09.xlsx
935
+ - test/regression/xlsx_files/chart_column10.xlsx
913
936
  - test/regression/xlsx_files/chart_crossing01.xlsx
914
937
  - test/regression/xlsx_files/chart_crossing02.xlsx
915
938
  - test/regression/xlsx_files/chart_crossing03.xlsx
@@ -918,6 +941,12 @@ files:
918
941
  - test/regression/xlsx_files/chart_date02.xlsx
919
942
  - test/regression/xlsx_files/chart_date03.xlsx
920
943
  - test/regression/xlsx_files/chart_date04.xlsx
944
+ - test/regression/xlsx_files/chart_doughnut01.xlsx
945
+ - test/regression/xlsx_files/chart_doughnut02.xlsx
946
+ - test/regression/xlsx_files/chart_doughnut03.xlsx
947
+ - test/regression/xlsx_files/chart_doughnut04.xlsx
948
+ - test/regression/xlsx_files/chart_doughnut05.xlsx
949
+ - test/regression/xlsx_files/chart_doughnut06.xlsx
921
950
  - test/regression/xlsx_files/chart_drop_lines01.xlsx
922
951
  - test/regression/xlsx_files/chart_drop_lines02.xlsx
923
952
  - test/regression/xlsx_files/chart_drop_lines03.xlsx
@@ -994,6 +1023,7 @@ files:
994
1023
  - test/regression/xlsx_files/chart_pie02.xlsx
995
1024
  - test/regression/xlsx_files/chart_pie03.xlsx
996
1025
  - test/regression/xlsx_files/chart_pie04.xlsx
1026
+ - test/regression/xlsx_files/chart_pie05.xlsx
997
1027
  - test/regression/xlsx_files/chart_points01.xlsx
998
1028
  - test/regression/xlsx_files/chart_points02.xlsx
999
1029
  - test/regression/xlsx_files/chart_points03.xlsx
@@ -1066,6 +1096,7 @@ files:
1066
1096
  - test/regression/xlsx_files/date_1904_01.xlsx
1067
1097
  - test/regression/xlsx_files/date_1904_02.xlsx
1068
1098
  - test/regression/xlsx_files/date_examples01.xlsx
1099
+ - test/regression/xlsx_files/default_format01.xlsx
1069
1100
  - test/regression/xlsx_files/default_row01.xlsx
1070
1101
  - test/regression/xlsx_files/default_row02.xlsx
1071
1102
  - test/regression/xlsx_files/default_row03.xlsx
@@ -1082,6 +1113,14 @@ files:
1082
1113
  - test/regression/xlsx_files/escapes06.xlsx
1083
1114
  - test/regression/xlsx_files/escapes07.xlsx
1084
1115
  - test/regression/xlsx_files/escapes08.xlsx
1116
+ - test/regression/xlsx_files/excel2003_style01.xlsx
1117
+ - test/regression/xlsx_files/excel2003_style02.xlsx
1118
+ - test/regression/xlsx_files/excel2003_style03.xlsx
1119
+ - test/regression/xlsx_files/excel2003_style04.xlsx
1120
+ - test/regression/xlsx_files/excel2003_style05.xlsx
1121
+ - test/regression/xlsx_files/excel2003_style06.xlsx
1122
+ - test/regression/xlsx_files/excel2003_style07.xlsx
1123
+ - test/regression/xlsx_files/excel2003_style08.xlsx
1085
1124
  - test/regression/xlsx_files/filehandle01.xlsx
1086
1125
  - test/regression/xlsx_files/firstsheet01.xlsx
1087
1126
  - test/regression/xlsx_files/fit_to_pages01.xlsx
@@ -1269,6 +1308,7 @@ files:
1269
1308
  - test/test_col_name.rb
1270
1309
  - test/test_delete_files.rb
1271
1310
  - test/test_example_match.rb
1311
+ - test/test_option_hash_for_workbook.rb
1272
1312
  - test/test_xml_writer_simple.rb
1273
1313
  - test/vbaProject.bin
1274
1314
  - test/workbook/test_define_name.rb
@@ -1278,6 +1318,7 @@ files:
1278
1318
  - test/workbook/test_workbook_02.rb
1279
1319
  - test/workbook/test_workbook_03.rb
1280
1320
  - test/workbook/test_workbook_new.rb
1321
+ - test/workbook/test_write_calc_pr.rb
1281
1322
  - test/workbook/test_write_defined_name.rb
1282
1323
  - test/workbook/test_write_defined_names.rb
1283
1324
  - test/worksheet/test_calculate_spans.rb
@@ -1395,7 +1436,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1395
1436
  version: '0'
1396
1437
  requirements: []
1397
1438
  rubyforge_project:
1398
- rubygems_version: 2.2.2
1439
+ rubygems_version: 2.4.1
1399
1440
  signing_key:
1400
1441
  specification_version: 4
1401
1442
  summary: write_xlsx is a gem to create a new file in the Excel 2007+ XLSX format.
@@ -1513,6 +1554,7 @@ test_files:
1513
1554
  - test/perl_output/chart_column.xlsx
1514
1555
  - test/perl_output/chart_data_table.xlsx
1515
1556
  - test/perl_output/chart_data_tools.xlsx
1557
+ - test/perl_output/chart_doughnut.xlsx
1516
1558
  - test/perl_output/chart_line.xlsx
1517
1559
  - test/perl_output/chart_pie.xlsx
1518
1560
  - test/perl_output/chart_radar.xlsx
@@ -1681,6 +1723,8 @@ test_files:
1681
1723
  - test/regression/test_chart_column06.rb
1682
1724
  - test/regression/test_chart_column07.rb
1683
1725
  - test/regression/test_chart_column08.rb
1726
+ - test/regression/test_chart_column09.rb
1727
+ - test/regression/test_chart_column10.rb
1684
1728
  - test/regression/test_chart_crossing01.rb
1685
1729
  - test/regression/test_chart_crossing02.rb
1686
1730
  - test/regression/test_chart_crossing03.rb
@@ -1689,6 +1733,12 @@ test_files:
1689
1733
  - test/regression/test_chart_date02.rb
1690
1734
  - test/regression/test_chart_date03.rb
1691
1735
  - test/regression/test_chart_date04.rb
1736
+ - test/regression/test_chart_doughnut01.rb
1737
+ - test/regression/test_chart_doughnut02.rb
1738
+ - test/regression/test_chart_doughnut03.rb
1739
+ - test/regression/test_chart_doughnut04.rb
1740
+ - test/regression/test_chart_doughnut05.rb
1741
+ - test/regression/test_chart_doughnut06.rb
1692
1742
  - test/regression/test_chart_drop_lines01.rb
1693
1743
  - test/regression/test_chart_drop_lines02.rb
1694
1744
  - test/regression/test_chart_drop_lines03.rb
@@ -1767,6 +1817,7 @@ test_files:
1767
1817
  - test/regression/test_chart_pie02.rb
1768
1818
  - test/regression/test_chart_pie03.rb
1769
1819
  - test/regression/test_chart_pie04.rb
1820
+ - test/regression/test_chart_pie05.rb
1770
1821
  - test/regression/test_chart_points01.rb
1771
1822
  - test/regression/test_chart_points02.rb
1772
1823
  - test/regression/test_chart_points03.rb
@@ -1845,6 +1896,7 @@ test_files:
1845
1896
  - test/regression/test_date_1904_01.rb
1846
1897
  - test/regression/test_date_1904_02.rb
1847
1898
  - test/regression/test_date_examples01.rb
1899
+ - test/regression/test_default_format01.rb
1848
1900
  - test/regression/test_default_row01.rb
1849
1901
  - test/regression/test_default_row02.rb
1850
1902
  - test/regression/test_default_row03.rb
@@ -1861,6 +1913,14 @@ test_files:
1861
1913
  - test/regression/test_escapes06.rb
1862
1914
  - test/regression/test_escapes07.rb
1863
1915
  - test/regression/test_escapes08.rb
1916
+ - test/regression/test_excel2003_style01.rb
1917
+ - test/regression/test_excel2003_style02.rb
1918
+ - test/regression/test_excel2003_style03.rb
1919
+ - test/regression/test_excel2003_style04.rb
1920
+ - test/regression/test_excel2003_style05.rb
1921
+ - test/regression/test_excel2003_style06.rb
1922
+ - test/regression/test_excel2003_style07.rb
1923
+ - test/regression/test_excel2003_style08.rb
1864
1924
  - test/regression/test_firstsheet01.rb
1865
1925
  - test/regression/test_fit_to_pages01.rb
1866
1926
  - test/regression/test_fit_to_pages02.rb
@@ -2143,6 +2203,8 @@ test_files:
2143
2203
  - test/regression/xlsx_files/chart_column06.xlsx
2144
2204
  - test/regression/xlsx_files/chart_column07.xlsx
2145
2205
  - test/regression/xlsx_files/chart_column08.xlsx
2206
+ - test/regression/xlsx_files/chart_column09.xlsx
2207
+ - test/regression/xlsx_files/chart_column10.xlsx
2146
2208
  - test/regression/xlsx_files/chart_crossing01.xlsx
2147
2209
  - test/regression/xlsx_files/chart_crossing02.xlsx
2148
2210
  - test/regression/xlsx_files/chart_crossing03.xlsx
@@ -2151,6 +2213,12 @@ test_files:
2151
2213
  - test/regression/xlsx_files/chart_date02.xlsx
2152
2214
  - test/regression/xlsx_files/chart_date03.xlsx
2153
2215
  - test/regression/xlsx_files/chart_date04.xlsx
2216
+ - test/regression/xlsx_files/chart_doughnut01.xlsx
2217
+ - test/regression/xlsx_files/chart_doughnut02.xlsx
2218
+ - test/regression/xlsx_files/chart_doughnut03.xlsx
2219
+ - test/regression/xlsx_files/chart_doughnut04.xlsx
2220
+ - test/regression/xlsx_files/chart_doughnut05.xlsx
2221
+ - test/regression/xlsx_files/chart_doughnut06.xlsx
2154
2222
  - test/regression/xlsx_files/chart_drop_lines01.xlsx
2155
2223
  - test/regression/xlsx_files/chart_drop_lines02.xlsx
2156
2224
  - test/regression/xlsx_files/chart_drop_lines03.xlsx
@@ -2227,6 +2295,7 @@ test_files:
2227
2295
  - test/regression/xlsx_files/chart_pie02.xlsx
2228
2296
  - test/regression/xlsx_files/chart_pie03.xlsx
2229
2297
  - test/regression/xlsx_files/chart_pie04.xlsx
2298
+ - test/regression/xlsx_files/chart_pie05.xlsx
2230
2299
  - test/regression/xlsx_files/chart_points01.xlsx
2231
2300
  - test/regression/xlsx_files/chart_points02.xlsx
2232
2301
  - test/regression/xlsx_files/chart_points03.xlsx
@@ -2299,6 +2368,7 @@ test_files:
2299
2368
  - test/regression/xlsx_files/date_1904_01.xlsx
2300
2369
  - test/regression/xlsx_files/date_1904_02.xlsx
2301
2370
  - test/regression/xlsx_files/date_examples01.xlsx
2371
+ - test/regression/xlsx_files/default_format01.xlsx
2302
2372
  - test/regression/xlsx_files/default_row01.xlsx
2303
2373
  - test/regression/xlsx_files/default_row02.xlsx
2304
2374
  - test/regression/xlsx_files/default_row03.xlsx
@@ -2315,6 +2385,14 @@ test_files:
2315
2385
  - test/regression/xlsx_files/escapes06.xlsx
2316
2386
  - test/regression/xlsx_files/escapes07.xlsx
2317
2387
  - test/regression/xlsx_files/escapes08.xlsx
2388
+ - test/regression/xlsx_files/excel2003_style01.xlsx
2389
+ - test/regression/xlsx_files/excel2003_style02.xlsx
2390
+ - test/regression/xlsx_files/excel2003_style03.xlsx
2391
+ - test/regression/xlsx_files/excel2003_style04.xlsx
2392
+ - test/regression/xlsx_files/excel2003_style05.xlsx
2393
+ - test/regression/xlsx_files/excel2003_style06.xlsx
2394
+ - test/regression/xlsx_files/excel2003_style07.xlsx
2395
+ - test/regression/xlsx_files/excel2003_style08.xlsx
2318
2396
  - test/regression/xlsx_files/filehandle01.xlsx
2319
2397
  - test/regression/xlsx_files/firstsheet01.xlsx
2320
2398
  - test/regression/xlsx_files/fit_to_pages01.xlsx
@@ -2502,6 +2580,7 @@ test_files:
2502
2580
  - test/test_col_name.rb
2503
2581
  - test/test_delete_files.rb
2504
2582
  - test/test_example_match.rb
2583
+ - test/test_option_hash_for_workbook.rb
2505
2584
  - test/test_xml_writer_simple.rb
2506
2585
  - test/vbaProject.bin
2507
2586
  - test/workbook/test_define_name.rb
@@ -2511,6 +2590,7 @@ test_files:
2511
2590
  - test/workbook/test_workbook_02.rb
2512
2591
  - test/workbook/test_workbook_03.rb
2513
2592
  - test/workbook/test_workbook_new.rb
2593
+ - test/workbook/test_write_calc_pr.rb
2514
2594
  - test/workbook/test_write_defined_name.rb
2515
2595
  - test/workbook/test_write_defined_names.rb
2516
2596
  - test/worksheet/test_calculate_spans.rb