write_xlsx 0.85.11 → 0.86.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Changes +17 -0
  3. data/examples/colors.rb +47 -0
  4. data/examples/comments2.rb +1 -1
  5. data/examples/conditional_format.rb +60 -9
  6. data/examples/data_validate.rb +7 -7
  7. data/examples/panes.rb +1 -1
  8. data/examples/tab_colors.rb +1 -1
  9. data/lib/write_xlsx/format.rb +1 -1
  10. data/lib/write_xlsx/package/app.rb +12 -0
  11. data/lib/write_xlsx/package/comments.rb +4 -2
  12. data/lib/write_xlsx/package/conditional_format.rb +6 -0
  13. data/lib/write_xlsx/package/table.rb +17 -5
  14. data/lib/write_xlsx/package/xml_writer_simple.rb +3 -2
  15. data/lib/write_xlsx/version.rb +1 -1
  16. data/lib/write_xlsx/workbook.rb +12 -11
  17. data/lib/write_xlsx/worksheet.rb +20 -4
  18. data/lib/write_xlsx/worksheet/data_validation.rb +22 -10
  19. data/lib/write_xlsx/worksheet/hyperlink.rb +12 -8
  20. data/test/regression/images/red_208.png +0 -0
  21. data/test/regression/test_data_validation08.rb +24 -0
  22. data/test/regression/test_hyperlink22.rb +24 -0
  23. data/test/regression/test_hyperlink23.rb +24 -0
  24. data/test/regression/test_hyperlink24.rb +24 -0
  25. data/test/regression/test_image28.rb +27 -0
  26. data/test/regression/test_image29.rb +27 -0
  27. data/test/regression/test_image30.rb +27 -0
  28. data/test/regression/test_image31.rb +30 -0
  29. data/test/regression/test_image32.rb +28 -0
  30. data/test/regression/test_image33.rb +32 -0
  31. data/test/regression/test_properties02.rb +28 -0
  32. data/test/regression/xlsx_files/data_validation08.xlsx +0 -0
  33. data/test/regression/xlsx_files/hyperlink22.xlsx +0 -0
  34. data/test/regression/xlsx_files/hyperlink23.xlsx +0 -0
  35. data/test/regression/xlsx_files/hyperlink24.xlsx +0 -0
  36. data/test/regression/xlsx_files/image28.xlsx +0 -0
  37. data/test/regression/xlsx_files/image29.xlsx +0 -0
  38. data/test/regression/xlsx_files/image30.xlsx +0 -0
  39. data/test/regression/xlsx_files/image31.xlsx +0 -0
  40. data/test/regression/xlsx_files/image32.xlsx +0 -0
  41. data/test/regression/xlsx_files/image33.xlsx +0 -0
  42. data/test/regression/xlsx_files/properties02.xlsx +0 -0
  43. data/test/regression/xlsx_files/table18.xlsx +0 -0
  44. data/test/regression/xlsx_files/table19.xlsx +0 -0
  45. data/test/worksheet/test_cond_format_21.rb +90 -0
  46. data/test/worksheet/test_sparkline_12.rb +94 -0
  47. data/test/worksheet/test_write_data_validation_02.rb +14 -1
  48. metadata +56 -2
@@ -0,0 +1,90 @@
1
+ # -*- coding: utf-8 -*-
2
+ require 'helper'
3
+ require 'write_xlsx'
4
+ require 'stringio'
5
+
6
+ class TestCondFormat21 < Test::Unit::TestCase
7
+ def setup
8
+ @workbook = WriteXLSX.new(StringIO.new)
9
+ @worksheet = @workbook.add_worksheet('')
10
+ end
11
+
12
+ ###############################################################################
13
+ #
14
+ # Tests for Excel::Writer::XLSX::Worksheet methods.
15
+ #
16
+
17
+ ###############################################################################
18
+ #
19
+ # Test the _assemble_xml_file() method.
20
+ #
21
+ # Test conditional formats.
22
+ #
23
+ def test_conditional_formats
24
+ @worksheet.select
25
+
26
+ # Start test code.
27
+ @worksheet.write('A1', 10)
28
+ @worksheet.write('A2', 20)
29
+ @worksheet.write('A3', 30)
30
+ @worksheet.write('A4', 40)
31
+
32
+ @worksheet.conditional_formatting('A1',
33
+ {
34
+ :type => 'cell',
35
+ :format => nil,
36
+ :criteria => 'greater than',
37
+ :value => 5,
38
+ :stop_if_true => 1
39
+ }
40
+ )
41
+ # End test code.
42
+
43
+ @worksheet.assemble_xml_file
44
+ result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
45
+
46
+ expected = expected_to_array(expected_xml)
47
+ assert_equal(expected, result)
48
+ end
49
+
50
+ def expected_xml
51
+ <<EOS
52
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
53
+ <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
54
+ <dimension ref="A1:A4"/>
55
+ <sheetViews>
56
+ <sheetView tabSelected="1" workbookViewId="0"/>
57
+ </sheetViews>
58
+ <sheetFormatPr defaultRowHeight="15"/>
59
+ <sheetData>
60
+ <row r="1" spans="1:1">
61
+ <c r="A1">
62
+ <v>10</v>
63
+ </c>
64
+ </row>
65
+ <row r="2" spans="1:1">
66
+ <c r="A2">
67
+ <v>20</v>
68
+ </c>
69
+ </row>
70
+ <row r="3" spans="1:1">
71
+ <c r="A3">
72
+ <v>30</v>
73
+ </c>
74
+ </row>
75
+ <row r="4" spans="1:1">
76
+ <c r="A4">
77
+ <v>40</v>
78
+ </c>
79
+ </row>
80
+ </sheetData>
81
+ <conditionalFormatting sqref="A1">
82
+ <cfRule type="cellIs" priority="1" stopIfTrue="1" operator="greaterThan">
83
+ <formula>5</formula>
84
+ </cfRule>
85
+ </conditionalFormatting>
86
+ <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
87
+ </worksheet>
88
+ EOS
89
+ end
90
+ end
@@ -0,0 +1,94 @@
1
+ # -*- coding: utf-8 -*-
2
+ require 'helper'
3
+ require 'write_xlsx'
4
+ require 'stringio'
5
+
6
+ class TestSparkline12 < Test::Unit::TestCase
7
+ def setup
8
+ @workbook = WriteXLSX.new(StringIO.new)
9
+ @worksheet = @workbook.add_worksheet('Sheet1')
10
+ end
11
+
12
+ def test_sparkline12
13
+ @worksheet.excel_version = 2010
14
+ @worksheet.select
15
+
16
+ data = [-2, 2, 3, -1, 0]
17
+
18
+ @worksheet.write('A1', data)
19
+
20
+ # Set up sparklines
21
+
22
+ @worksheet.add_sparkline(
23
+ {
24
+ :location => 'F1',
25
+ :range => 'Sheet1!A1:E1',
26
+ :max => 4,
27
+ :min => 0
28
+ }
29
+ )
30
+
31
+ # End sparkline
32
+
33
+ @worksheet.assemble_xml_file
34
+ result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
35
+
36
+ expected = expected_to_array(expected_xml)
37
+ assert_equal(expected, result)
38
+ end
39
+
40
+ def expected_xml
41
+ <<EOS
42
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
43
+ <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">
44
+ <dimension ref="A1:E1"/>
45
+ <sheetViews>
46
+ <sheetView tabSelected="1" workbookViewId="0"/>
47
+ </sheetViews>
48
+ <sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/>
49
+ <sheetData>
50
+ <row r="1" spans="1:5" x14ac:dyDescent="0.25">
51
+ <c r="A1">
52
+ <v>-2</v>
53
+ </c>
54
+ <c r="B1">
55
+ <v>2</v>
56
+ </c>
57
+ <c r="C1">
58
+ <v>3</v>
59
+ </c>
60
+ <c r="D1">
61
+ <v>-1</v>
62
+ </c>
63
+ <c r="E1">
64
+ <v>0</v>
65
+ </c>
66
+ </row>
67
+ </sheetData>
68
+ <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
69
+ <extLst>
70
+ <ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{05C60535-1F16-4fd2-B633-F4F36F0B64E0}">
71
+ <x14:sparklineGroups xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
72
+ <x14:sparklineGroup manualMax="4" manualMin="0" displayEmptyCellsAs="gap" minAxisType="custom" maxAxisType="custom">
73
+ <x14:colorSeries theme="4" tint="-0.499984740745262"/>
74
+ <x14:colorNegative theme="5"/>
75
+ <x14:colorAxis rgb="FF000000"/>
76
+ <x14:colorMarkers theme="4" tint="-0.499984740745262"/>
77
+ <x14:colorFirst theme="4" tint="0.39997558519241921"/>
78
+ <x14:colorLast theme="4" tint="0.39997558519241921"/>
79
+ <x14:colorHigh theme="4"/>
80
+ <x14:colorLow theme="4"/>
81
+ <x14:sparklines>
82
+ <x14:sparkline>
83
+ <xm:f>Sheet1!A1:E1</xm:f>
84
+ <xm:sqref>F1</xm:sqref>
85
+ </x14:sparkline>
86
+ </x14:sparklines>
87
+ </x14:sparklineGroup>
88
+ </x14:sparklineGroups>
89
+ </ext>
90
+ </extLst>
91
+ </worksheet>
92
+ EOS
93
+ end
94
+ end
@@ -272,7 +272,7 @@ def test_write_data_validations_integer_between_1_and_10_with_input_title_and_in
272
272
  assert_equal(expected, result)
273
273
  end
274
274
 
275
- def test_write_data_validation_validate_any
275
+ def test_write_data_validation_validate_any_value_on_its_own_shouldnt_produce_a_DV_record
276
276
  @worksheet.data_validation('B5', :validate => 'any')
277
277
  @worksheet.__send__('write_data_validations')
278
278
  result = @worksheet.instance_variable_get(:@writer).string
@@ -525,4 +525,17 @@ def test_write_data_validations_multiple_validation
525
525
  expected = '<dataValidations count="2"><dataValidation type="whole" operator="greaterThan" allowBlank="1" showInputMessage="1" showErrorMessage="1" sqref="B5"><formula1>10</formula1></dataValidation><dataValidation type="whole" operator="lessThan" allowBlank="1" showInputMessage="1" showErrorMessage="1" sqref="C10"><formula1>10</formula1></dataValidation></dataValidations>'
526
526
  assert_equal(expected, result)
527
527
  end
528
+
529
+ def test_write_data_validations_any_with_an_input_message_should_produce_a_DV_record
530
+ @worksheet.data_validation(
531
+ 'B5',
532
+ :validate => 'any',
533
+ :input_title => 'Input title January',
534
+ :input_message => 'Input message February'
535
+ )
536
+ @worksheet.__send__('write_data_validations')
537
+ result = @worksheet.instance_variable_get(:@writer).string
538
+ expected = '<dataValidations count="1"><dataValidation allowBlank="1" showInputMessage="1" showErrorMessage="1" promptTitle="Input title January" prompt="Input message February" sqref="B5"/></dataValidations>'
539
+ assert_equal(expected, result)
540
+ end
528
541
  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.85.11
4
+ version: 0.86.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: 2020-10-24 00:00:00.000000000 Z
11
+ date: 2020-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -396,6 +396,7 @@ files:
396
396
  - test/regression/images/red.bmp
397
397
  - test/regression/images/red.jpg
398
398
  - test/regression/images/red.png
399
+ - test/regression/images/red_208.png
399
400
  - test/regression/images/red_64x20.png
400
401
  - test/regression/images/train.jpg
401
402
  - test/regression/images/yellow.jpg
@@ -742,6 +743,7 @@ files:
742
743
  - test/regression/test_data_validation03.rb
743
744
  - test/regression/test_data_validation04.rb
744
745
  - test/regression/test_data_validation05.rb
746
+ - test/regression/test_data_validation08.rb
745
747
  - test/regression/test_date_1904_01.rb
746
748
  - test/regression/test_date_1904_02.rb
747
749
  - test/regression/test_date_examples01.rb
@@ -823,6 +825,9 @@ files:
823
825
  - test/regression/test_hyperlink18.rb
824
826
  - test/regression/test_hyperlink20.rb
825
827
  - test/regression/test_hyperlink21.rb
828
+ - test/regression/test_hyperlink22.rb
829
+ - test/regression/test_hyperlink23.rb
830
+ - test/regression/test_hyperlink24.rb
826
831
  - test/regression/test_image01.rb
827
832
  - test/regression/test_image02.rb
828
833
  - test/regression/test_image03.rb
@@ -848,6 +853,12 @@ files:
848
853
  - test/regression/test_image25.rb
849
854
  - test/regression/test_image26.rb
850
855
  - test/regression/test_image27.rb
856
+ - test/regression/test_image28.rb
857
+ - test/regression/test_image29.rb
858
+ - test/regression/test_image30.rb
859
+ - test/regression/test_image31.rb
860
+ - test/regression/test_image32.rb
861
+ - test/regression/test_image33.rb
851
862
  - test/regression/test_landscape01.rb
852
863
  - test/regression/test_macro01.rb
853
864
  - test/regression/test_merge_cells01.rb
@@ -888,6 +899,7 @@ files:
888
899
  - test/regression/test_print_scale01.rb
889
900
  - test/regression/test_print_scale02.rb
890
901
  - test/regression/test_properties01.rb
902
+ - test/regression/test_properties02.rb
891
903
  - test/regression/test_protect01.rb
892
904
  - test/regression/test_protect02.rb
893
905
  - test/regression/test_protect03.rb
@@ -1326,6 +1338,7 @@ files:
1326
1338
  - test/regression/xlsx_files/data_validation01.xlsx
1327
1339
  - test/regression/xlsx_files/data_validation02.xlsx
1328
1340
  - test/regression/xlsx_files/data_validation03.xlsx
1341
+ - test/regression/xlsx_files/data_validation08.xlsx
1329
1342
  - test/regression/xlsx_files/date_1904_01.xlsx
1330
1343
  - test/regression/xlsx_files/date_1904_02.xlsx
1331
1344
  - test/regression/xlsx_files/date_examples01.xlsx
@@ -1408,6 +1421,9 @@ files:
1408
1421
  - test/regression/xlsx_files/hyperlink18.xlsx
1409
1422
  - test/regression/xlsx_files/hyperlink20.xlsx
1410
1423
  - test/regression/xlsx_files/hyperlink21.xlsx
1424
+ - test/regression/xlsx_files/hyperlink22.xlsx
1425
+ - test/regression/xlsx_files/hyperlink23.xlsx
1426
+ - test/regression/xlsx_files/hyperlink24.xlsx
1411
1427
  - test/regression/xlsx_files/image01.xlsx
1412
1428
  - test/regression/xlsx_files/image02.xlsx
1413
1429
  - test/regression/xlsx_files/image03.xlsx
@@ -1433,6 +1449,12 @@ files:
1433
1449
  - test/regression/xlsx_files/image25.xlsx
1434
1450
  - test/regression/xlsx_files/image26.xlsx
1435
1451
  - test/regression/xlsx_files/image27.xlsx
1452
+ - test/regression/xlsx_files/image28.xlsx
1453
+ - test/regression/xlsx_files/image29.xlsx
1454
+ - test/regression/xlsx_files/image30.xlsx
1455
+ - test/regression/xlsx_files/image31.xlsx
1456
+ - test/regression/xlsx_files/image32.xlsx
1457
+ - test/regression/xlsx_files/image33.xlsx
1436
1458
  - test/regression/xlsx_files/landscape01.xlsx
1437
1459
  - test/regression/xlsx_files/macro01.xlsm
1438
1460
  - test/regression/xlsx_files/merge_cells01.xlsx
@@ -1473,6 +1495,7 @@ files:
1473
1495
  - test/regression/xlsx_files/print_scale01.xlsx
1474
1496
  - test/regression/xlsx_files/print_scale02.xlsx
1475
1497
  - test/regression/xlsx_files/properties01.xlsx
1498
+ - test/regression/xlsx_files/properties02.xlsx
1476
1499
  - test/regression/xlsx_files/protect01.xlsx
1477
1500
  - test/regression/xlsx_files/protect02.xlsx
1478
1501
  - test/regression/xlsx_files/protect03.xlsx
@@ -1560,6 +1583,8 @@ files:
1560
1583
  - test/regression/xlsx_files/table14.xlsx
1561
1584
  - test/regression/xlsx_files/table15.xlsx
1562
1585
  - test/regression/xlsx_files/table17.xlsx
1586
+ - test/regression/xlsx_files/table18.xlsx
1587
+ - test/regression/xlsx_files/table19.xlsx
1563
1588
  - test/regression/xlsx_files/tutorial01.xlsx
1564
1589
  - test/regression/xlsx_files/tutorial02.xlsx
1565
1590
  - test/regression/xlsx_files/tutorial03.xlsx
@@ -1619,6 +1644,7 @@ files:
1619
1644
  - test/worksheet/test_cond_format_18.rb
1620
1645
  - test/worksheet/test_cond_format_19.rb
1621
1646
  - test/worksheet/test_cond_format_20.rb
1647
+ - test/worksheet/test_cond_format_21.rb
1622
1648
  - test/worksheet/test_convert_date_time_01.rb
1623
1649
  - test/worksheet/test_convert_date_time_02.rb
1624
1650
  - test/worksheet/test_convert_date_time_03.rb
@@ -1639,6 +1665,7 @@ files:
1639
1665
  - test/worksheet/test_sparkline_09.rb
1640
1666
  - test/worksheet/test_sparkline_10.rb
1641
1667
  - test/worksheet/test_sparkline_11.rb
1668
+ - test/worksheet/test_sparkline_12.rb
1642
1669
  - test/worksheet/test_update_format_methods.rb
1643
1670
  - test/worksheet/test_worksheet_01.rb
1644
1671
  - test/worksheet/test_worksheet_02.rb
@@ -1912,6 +1939,7 @@ test_files:
1912
1939
  - test/regression/images/red.bmp
1913
1940
  - test/regression/images/red.jpg
1914
1941
  - test/regression/images/red.png
1942
+ - test/regression/images/red_208.png
1915
1943
  - test/regression/images/red_64x20.png
1916
1944
  - test/regression/images/train.jpg
1917
1945
  - test/regression/images/yellow.jpg
@@ -2258,6 +2286,7 @@ test_files:
2258
2286
  - test/regression/test_data_validation03.rb
2259
2287
  - test/regression/test_data_validation04.rb
2260
2288
  - test/regression/test_data_validation05.rb
2289
+ - test/regression/test_data_validation08.rb
2261
2290
  - test/regression/test_date_1904_01.rb
2262
2291
  - test/regression/test_date_1904_02.rb
2263
2292
  - test/regression/test_date_examples01.rb
@@ -2339,6 +2368,9 @@ test_files:
2339
2368
  - test/regression/test_hyperlink18.rb
2340
2369
  - test/regression/test_hyperlink20.rb
2341
2370
  - test/regression/test_hyperlink21.rb
2371
+ - test/regression/test_hyperlink22.rb
2372
+ - test/regression/test_hyperlink23.rb
2373
+ - test/regression/test_hyperlink24.rb
2342
2374
  - test/regression/test_image01.rb
2343
2375
  - test/regression/test_image02.rb
2344
2376
  - test/regression/test_image03.rb
@@ -2364,6 +2396,12 @@ test_files:
2364
2396
  - test/regression/test_image25.rb
2365
2397
  - test/regression/test_image26.rb
2366
2398
  - test/regression/test_image27.rb
2399
+ - test/regression/test_image28.rb
2400
+ - test/regression/test_image29.rb
2401
+ - test/regression/test_image30.rb
2402
+ - test/regression/test_image31.rb
2403
+ - test/regression/test_image32.rb
2404
+ - test/regression/test_image33.rb
2367
2405
  - test/regression/test_landscape01.rb
2368
2406
  - test/regression/test_macro01.rb
2369
2407
  - test/regression/test_merge_cells01.rb
@@ -2404,6 +2442,7 @@ test_files:
2404
2442
  - test/regression/test_print_scale01.rb
2405
2443
  - test/regression/test_print_scale02.rb
2406
2444
  - test/regression/test_properties01.rb
2445
+ - test/regression/test_properties02.rb
2407
2446
  - test/regression/test_protect01.rb
2408
2447
  - test/regression/test_protect02.rb
2409
2448
  - test/regression/test_protect03.rb
@@ -2842,6 +2881,7 @@ test_files:
2842
2881
  - test/regression/xlsx_files/data_validation01.xlsx
2843
2882
  - test/regression/xlsx_files/data_validation02.xlsx
2844
2883
  - test/regression/xlsx_files/data_validation03.xlsx
2884
+ - test/regression/xlsx_files/data_validation08.xlsx
2845
2885
  - test/regression/xlsx_files/date_1904_01.xlsx
2846
2886
  - test/regression/xlsx_files/date_1904_02.xlsx
2847
2887
  - test/regression/xlsx_files/date_examples01.xlsx
@@ -2924,6 +2964,9 @@ test_files:
2924
2964
  - test/regression/xlsx_files/hyperlink18.xlsx
2925
2965
  - test/regression/xlsx_files/hyperlink20.xlsx
2926
2966
  - test/regression/xlsx_files/hyperlink21.xlsx
2967
+ - test/regression/xlsx_files/hyperlink22.xlsx
2968
+ - test/regression/xlsx_files/hyperlink23.xlsx
2969
+ - test/regression/xlsx_files/hyperlink24.xlsx
2927
2970
  - test/regression/xlsx_files/image01.xlsx
2928
2971
  - test/regression/xlsx_files/image02.xlsx
2929
2972
  - test/regression/xlsx_files/image03.xlsx
@@ -2949,6 +2992,12 @@ test_files:
2949
2992
  - test/regression/xlsx_files/image25.xlsx
2950
2993
  - test/regression/xlsx_files/image26.xlsx
2951
2994
  - test/regression/xlsx_files/image27.xlsx
2995
+ - test/regression/xlsx_files/image28.xlsx
2996
+ - test/regression/xlsx_files/image29.xlsx
2997
+ - test/regression/xlsx_files/image30.xlsx
2998
+ - test/regression/xlsx_files/image31.xlsx
2999
+ - test/regression/xlsx_files/image32.xlsx
3000
+ - test/regression/xlsx_files/image33.xlsx
2952
3001
  - test/regression/xlsx_files/landscape01.xlsx
2953
3002
  - test/regression/xlsx_files/macro01.xlsm
2954
3003
  - test/regression/xlsx_files/merge_cells01.xlsx
@@ -2989,6 +3038,7 @@ test_files:
2989
3038
  - test/regression/xlsx_files/print_scale01.xlsx
2990
3039
  - test/regression/xlsx_files/print_scale02.xlsx
2991
3040
  - test/regression/xlsx_files/properties01.xlsx
3041
+ - test/regression/xlsx_files/properties02.xlsx
2992
3042
  - test/regression/xlsx_files/protect01.xlsx
2993
3043
  - test/regression/xlsx_files/protect02.xlsx
2994
3044
  - test/regression/xlsx_files/protect03.xlsx
@@ -3076,6 +3126,8 @@ test_files:
3076
3126
  - test/regression/xlsx_files/table14.xlsx
3077
3127
  - test/regression/xlsx_files/table15.xlsx
3078
3128
  - test/regression/xlsx_files/table17.xlsx
3129
+ - test/regression/xlsx_files/table18.xlsx
3130
+ - test/regression/xlsx_files/table19.xlsx
3079
3131
  - test/regression/xlsx_files/tutorial01.xlsx
3080
3132
  - test/regression/xlsx_files/tutorial02.xlsx
3081
3133
  - test/regression/xlsx_files/tutorial03.xlsx
@@ -3135,6 +3187,7 @@ test_files:
3135
3187
  - test/worksheet/test_cond_format_18.rb
3136
3188
  - test/worksheet/test_cond_format_19.rb
3137
3189
  - test/worksheet/test_cond_format_20.rb
3190
+ - test/worksheet/test_cond_format_21.rb
3138
3191
  - test/worksheet/test_convert_date_time_01.rb
3139
3192
  - test/worksheet/test_convert_date_time_02.rb
3140
3193
  - test/worksheet/test_convert_date_time_03.rb
@@ -3155,6 +3208,7 @@ test_files:
3155
3208
  - test/worksheet/test_sparkline_09.rb
3156
3209
  - test/worksheet/test_sparkline_10.rb
3157
3210
  - test/worksheet/test_sparkline_11.rb
3211
+ - test/worksheet/test_sparkline_12.rb
3158
3212
  - test/worksheet/test_update_format_methods.rb
3159
3213
  - test/worksheet/test_worksheet_01.rb
3160
3214
  - test/worksheet/test_worksheet_02.rb