write_xlsx 0.89.0 → 1.01.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Changes +98 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/examples/a_simple.rb +2 -7
- data/examples/add_vba_project.rb +1 -1
- data/examples/array_formula.rb +1 -1
- data/examples/chart_area.rb +5 -2
- data/examples/chart_bar.rb +5 -2
- data/examples/chart_clustered.rb +1 -1
- data/examples/chart_column.rb +5 -2
- data/examples/chart_combined.rb +1 -1
- data/examples/chart_data_table.rb +9 -3
- data/examples/chart_data_tools.rb +25 -7
- data/examples/chart_doughnut.rb +17 -5
- data/examples/chart_gauge.rb +73 -0
- data/examples/chart_line.rb +5 -2
- data/examples/chart_pareto.rb +1 -1
- data/examples/chart_pie.rb +9 -3
- data/examples/chart_radar.rb +13 -4
- data/examples/chart_scatter.rb +5 -2
- data/examples/chart_secondary_axis.rb +5 -2
- data/examples/chart_stock.rb +1 -1
- data/examples/chart_styles.rb +1 -1
- data/examples/colors.rb +1 -1
- data/examples/conditional_format.rb +73 -46
- data/examples/data_validate.rb +1 -1
- data/examples/date_time.rb +1 -1
- data/examples/demo.rb +5 -8
- data/examples/formats.rb +1 -1
- data/examples/headers.rb +1 -1
- data/examples/hide_row_col.rb +1 -1
- data/examples/hide_sheet.rb +1 -1
- data/examples/hyperlink1.rb +5 -12
- data/examples/indent.rb +1 -1
- data/examples/macros.rb +1 -1
- data/examples/merge1.rb +1 -1
- data/examples/merge2.rb +1 -1
- data/examples/merge3.rb +1 -1
- data/examples/merge4.rb +1 -1
- data/examples/merge5.rb +1 -1
- data/examples/merge6.rb +1 -1
- data/examples/outline.rb +1 -1
- data/examples/outline_collapsed.rb +1 -1
- data/examples/panes.rb +1 -1
- data/examples/properties.rb +1 -1
- data/examples/regions.rb +1 -1
- data/examples/rich_strings.rb +1 -1
- data/examples/right_to_left.rb +1 -1
- data/examples/shape1.rb +1 -1
- data/examples/shape2.rb +1 -1
- data/examples/shape3.rb +1 -1
- data/examples/shape4.rb +1 -1
- data/examples/shape5.rb +1 -1
- data/examples/shape6.rb +1 -1
- data/examples/shape7.rb +1 -1
- data/examples/shape8.rb +1 -1
- data/examples/shape_all.rb +1 -1
- data/examples/sparklines1.rb +1 -1
- data/examples/sparklines2.rb +1 -1
- data/examples/stats.rb +1 -1
- data/examples/stats_ext.rb +1 -1
- data/examples/stocks.rb +1 -1
- data/examples/tab_colors.rb +1 -1
- data/examples/tables.rb +1 -1
- data/lib/write_xlsx/chart.rb +124 -240
- data/lib/write_xlsx/chart/area.rb +1 -1
- data/lib/write_xlsx/chart/axis.rb +4 -4
- data/lib/write_xlsx/chart/bar.rb +1 -1
- data/lib/write_xlsx/chart/caption.rb +3 -1
- data/lib/write_xlsx/chart/column.rb +1 -1
- data/lib/write_xlsx/chart/doughnut.rb +1 -1
- data/lib/write_xlsx/chart/legend.rb +14 -0
- data/lib/write_xlsx/chart/line.rb +1 -1
- data/lib/write_xlsx/chart/pie.rb +32 -15
- data/lib/write_xlsx/chart/radar.rb +1 -1
- data/lib/write_xlsx/chart/scatter.rb +1 -1
- data/lib/write_xlsx/chart/series.rb +11 -7
- data/lib/write_xlsx/chart/stock.rb +1 -1
- data/lib/write_xlsx/chartsheet.rb +35 -7
- data/lib/write_xlsx/drawing.rb +28 -8
- data/lib/write_xlsx/format.rb +19 -15
- data/lib/write_xlsx/package/comments.rb +57 -54
- data/lib/write_xlsx/package/conditional_format.rb +360 -39
- data/lib/write_xlsx/package/content_types.rb +10 -0
- data/lib/write_xlsx/package/core.rb +8 -6
- data/lib/write_xlsx/package/custom.rb +125 -0
- data/lib/write_xlsx/package/packager.rb +26 -0
- data/lib/write_xlsx/package/styles.rb +53 -21
- data/lib/write_xlsx/package/table.rb +16 -4
- data/lib/write_xlsx/shape.rb +4 -3
- data/lib/write_xlsx/sheets.rb +11 -1
- data/lib/write_xlsx/sparkline.rb +1 -1
- data/lib/write_xlsx/utility.rb +305 -35
- data/lib/write_xlsx/version.rb +1 -1
- data/lib/write_xlsx/workbook.rb +132 -12
- data/lib/write_xlsx/worksheet.rb +397 -163
- data/lib/write_xlsx/worksheet/data_validation.rb +10 -14
- data/lib/write_xlsx/worksheet/hyperlink.rb +4 -13
- data/test/chart/test_write_legend_pos.rb +9 -1
- data/test/chartsheet/test_write_sheet_protection.rb +91 -0
- data/test/drawing/test_drawing_chart_01.rb +6 -2
- data/test/drawing/test_drawing_image_01.rb +12 -3
- data/test/drawing/test_drawing_shape_01.rb +8 -5
- data/test/drawing/test_drawing_shape_02.rb +12 -5
- data/test/drawing/test_drawing_shape_03.rb +8 -5
- data/test/drawing/test_drawing_shape_04.rb +8 -24
- data/test/drawing/test_drawing_shape_05.rb +8 -5
- data/test/drawing/test_drawing_shape_06.rb +11 -6
- data/test/drawing/test_drawing_shape_07.rb +11 -6
- data/test/drawing/test_write_a_graphic_frame_locks.rb +1 -1
- data/test/drawing/test_write_c_chart.rb +1 -1
- data/test/drawing/test_write_c_nv_graphic_frame_pr.rb +1 -1
- data/test/drawing/test_write_c_nv_pr.rb +1 -1
- data/test/drawing/test_write_col.rb +1 -1
- data/test/drawing/test_write_col_off.rb +1 -1
- data/test/drawing/test_write_ext.rb +1 -1
- data/test/drawing/test_write_pos.rb +1 -1
- data/test/drawing/test_write_row.rb +1 -1
- data/test/drawing/test_write_row_off.rb +1 -1
- data/test/drawing/test_write_xfrm_extension.rb +1 -1
- data/test/drawing/test_write_xfrm_offset.rb +1 -1
- data/test/helper.rb +6 -1
- data/test/package/comments/test_comments_01.rb +54 -0
- data/test/package/comments/test_comments_02.rb +54 -0
- data/test/perl_output/chart_gauge.xlsx +0 -0
- data/test/perl_output/formats.xlsx +0 -0
- data/test/regression/_test_hyperlink31.rb +26 -0
- data/test/regression/images/happy.jpg +0 -0
- data/test/regression/images/zero_dpi.jpg +0 -0
- data/test/regression/test_array_formula03.rb +36 -0
- data/test/regression/test_autofilter08.rb +110 -0
- data/test/regression/test_autofilter09.rb +110 -0
- data/test/regression/test_autofilter10.rb +110 -0
- data/test/regression/test_chart_axis26.rb +10 -8
- data/test/regression/test_chart_axis27.rb +1 -1
- data/test/regression/test_chart_axis28.rb +1 -1
- data/test/regression/test_chart_axis29.rb +1 -1
- data/test/regression/test_chart_axis33.rb +1 -1
- data/test/regression/test_chart_axis42.rb +44 -0
- data/test/regression/test_chart_axis43.rb +44 -0
- data/test/regression/test_chart_axis44.rb +54 -0
- data/test/regression/test_chart_axis45.rb +54 -0
- data/test/regression/test_chart_axis46.rb +54 -0
- data/test/regression/test_chart_bar08.rb +3 -0
- data/test/regression/test_chart_bar11.rb +3 -0
- data/test/regression/test_chart_bar14.rb +3 -0
- data/test/regression/test_chart_chartarea05.rb +16 -17
- data/test/regression/test_chart_chartarea06.rb +49 -0
- data/test/regression/test_chart_combined10.rb +43 -0
- data/test/regression/test_chart_combined11.rb +63 -0
- data/test/regression/test_chart_data_labels25.rb +61 -0
- data/test/regression/test_chart_doughnut07.rb +37 -0
- data/test/regression/test_chart_font09.rb +1 -1
- data/test/regression/test_chart_format26.rb +48 -0
- data/test/regression/test_chart_format27.rb +58 -0
- data/test/regression/test_chart_format28.rb +52 -0
- data/test/regression/test_chart_format29.rb +59 -0
- data/test/regression/test_chart_format30.rb +53 -0
- data/test/regression/test_chart_format31.rb +60 -0
- data/test/regression/test_chart_legend03.rb +41 -0
- data/test/regression/test_chart_legend04.rb +41 -0
- data/test/regression/test_chart_legend05.rb +41 -0
- data/test/regression/test_chart_legend06.rb +41 -0
- data/test/regression/test_chart_legend07.rb +38 -0
- data/test/regression/test_chart_size03.rb +4 -1
- data/test/regression/test_chart_table03.rb +56 -0
- data/test/regression/test_comment13.rb +36 -0
- data/test/regression/test_comment14.rb +29 -0
- data/test/regression/test_cond_format14.rb +42 -0
- data/test/regression/test_cond_format15.rb +53 -0
- data/test/regression/test_cond_format16.rb +53 -0
- data/test/regression/test_cond_format17.rb +37 -0
- data/test/regression/test_cond_format18.rb +136 -0
- data/test/regression/test_cond_format19.rb +64 -0
- data/test/regression/test_cond_format20.rb +43 -0
- data/test/regression/test_date_1904_01.rb +1 -1
- data/test/regression/test_escapes04.rb +3 -0
- data/test/regression/test_escapes05.rb +3 -0
- data/test/regression/test_escapes07.rb +3 -0
- data/test/regression/test_escapes08.rb +3 -0
- data/test/regression/test_format15.rb +26 -0
- data/test/regression/test_hyperlink01.rb +3 -0
- data/test/regression/test_hyperlink02.rb +3 -0
- data/test/regression/test_hyperlink03.rb +4 -0
- data/test/regression/test_hyperlink04.rb +3 -0
- data/test/regression/test_hyperlink05.rb +3 -0
- data/test/regression/test_hyperlink06.rb +3 -0
- data/test/regression/test_hyperlink07.rb +3 -0
- data/test/regression/test_hyperlink08.rb +3 -0
- data/test/regression/test_hyperlink09.rb +3 -0
- data/test/regression/test_hyperlink10.rb +3 -0
- data/test/regression/test_hyperlink11.rb +3 -0
- data/test/regression/test_hyperlink12.rb +3 -0
- data/test/regression/test_hyperlink13.rb +3 -0
- data/test/regression/test_hyperlink14.rb +3 -0
- data/test/regression/test_hyperlink15.rb +3 -0
- data/test/regression/test_hyperlink16.rb +3 -0
- data/test/regression/test_hyperlink17.rb +3 -0
- data/test/regression/test_hyperlink18.rb +3 -0
- data/test/regression/test_hyperlink20.rb +3 -0
- data/test/regression/test_hyperlink21.rb +3 -0
- data/test/regression/test_hyperlink22.rb +3 -0
- data/test/regression/test_hyperlink23.rb +3 -0
- data/test/regression/test_hyperlink24.rb +3 -0
- data/test/regression/test_hyperlink25.rb +3 -0
- data/test/regression/test_hyperlink26.rb +3 -0
- data/test/regression/test_hyperlink27.rb +27 -0
- data/test/regression/test_hyperlink28.rb +50 -0
- data/test/regression/test_hyperlink29.rb +27 -0
- data/test/regression/test_hyperlink30.rb +36 -0
- data/test/regression/test_image08.rb +5 -4
- data/test/regression/test_image15.rb +4 -2
- data/test/regression/test_image28.rb +1 -1
- data/test/regression/test_image35.rb +26 -0
- data/test/regression/test_image36.rb +26 -0
- data/test/regression/test_image44.rb +28 -0
- data/test/regression/test_image45.rb +28 -0
- data/test/regression/test_image46.rb +29 -0
- data/test/regression/test_image47.rb +28 -0
- data/test/regression/test_object_position01.rb +26 -0
- data/test/regression/test_object_position02.rb +26 -0
- data/test/regression/test_object_position03.rb +26 -0
- data/test/regression/test_object_position04.rb +44 -0
- data/test/regression/test_object_position06.rb +28 -0
- data/test/regression/test_object_position07.rb +28 -0
- data/test/regression/test_object_position08.rb +47 -0
- data/test/regression/test_object_position09.rb +50 -0
- data/test/regression/test_object_position10.rb +28 -0
- data/test/regression/test_properties01.rb +1 -4
- data/test/regression/test_properties02.rb +1 -4
- data/test/regression/test_properties03.rb +26 -0
- data/test/regression/test_properties04.rb +61 -0
- data/test/regression/test_properties05.rb +30 -0
- data/test/regression/test_shape_connect01.rb +4 -2
- data/test/regression/test_table03.rb +3 -0
- data/test/regression/test_table04.rb +3 -0
- data/test/regression/test_table05.rb +3 -0
- data/test/regression/test_table06.rb +3 -0
- data/test/regression/test_table20.rb +34 -0
- data/test/regression/test_table21.rb +36 -0
- data/test/regression/test_table22.rb +32 -0
- data/test/regression/test_table23.rb +56 -0
- data/test/regression/test_utf8_11.rb +23 -0
- data/test/regression/xlsx_files/array_formula03.xlsx +0 -0
- data/test/regression/xlsx_files/autofilter08.xlsx +0 -0
- data/test/regression/xlsx_files/autofilter09.xlsx +0 -0
- data/test/regression/xlsx_files/autofilter10.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis26.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis27.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis28.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis29.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis33.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis42.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis43.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis44.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis45.xlsx +0 -0
- data/test/regression/xlsx_files/chart_axis46.xlsx +0 -0
- data/test/regression/xlsx_files/chart_chartarea05.xlsx +0 -0
- data/test/regression/xlsx_files/chart_chartarea06.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined10.xlsx +0 -0
- data/test/regression/xlsx_files/chart_combined11.xlsx +0 -0
- data/test/regression/xlsx_files/chart_data_labels25.xlsx +0 -0
- data/test/regression/xlsx_files/chart_doughnut07.xlsx +0 -0
- data/test/regression/xlsx_files/chart_font09.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format26.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format27.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format28.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format29.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format30.xlsx +0 -0
- data/test/regression/xlsx_files/chart_format31.xlsx +0 -0
- data/test/regression/xlsx_files/chart_legend03.xlsx +0 -0
- data/test/regression/xlsx_files/chart_legend04.xlsx +0 -0
- data/test/regression/xlsx_files/chart_legend05.xlsx +0 -0
- data/test/regression/xlsx_files/chart_legend06.xlsx +0 -0
- data/test/regression/xlsx_files/chart_legend07.xlsx +0 -0
- data/test/regression/xlsx_files/chart_table03.xlsx +0 -0
- data/test/regression/xlsx_files/comment13.xlsx +0 -0
- data/test/regression/xlsx_files/comment14.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format14.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format15.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format16.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format17.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format18.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format19.xlsx +0 -0
- data/test/regression/xlsx_files/cond_format20.xlsx +0 -0
- data/test/regression/xlsx_files/date_1904_01.xlsx +0 -0
- data/test/regression/xlsx_files/format15.xlsx +0 -0
- data/test/regression/xlsx_files/hyperlink27.xlsx +0 -0
- data/test/regression/xlsx_files/hyperlink28.xlsx +0 -0
- data/test/regression/xlsx_files/hyperlink29.xlsx +0 -0
- data/test/regression/xlsx_files/hyperlink30.xlsx +0 -0
- data/test/regression/xlsx_files/hyperlink31.xlsx +0 -0
- data/test/regression/xlsx_files/image35.xlsx +0 -0
- data/test/regression/xlsx_files/image36.xlsx +0 -0
- data/test/regression/xlsx_files/image44.xlsx +0 -0
- data/test/regression/xlsx_files/image45.xlsx +0 -0
- data/test/regression/xlsx_files/image46.xlsx +0 -0
- data/test/regression/xlsx_files/image47.xlsx +0 -0
- data/test/regression/xlsx_files/object_position01.xlsx +0 -0
- data/test/regression/xlsx_files/object_position02.xlsx +0 -0
- data/test/regression/xlsx_files/object_position03.xlsx +0 -0
- data/test/regression/xlsx_files/object_position04.xlsx +0 -0
- data/test/regression/xlsx_files/object_position06.xlsx +0 -0
- data/test/regression/xlsx_files/object_position07.xlsx +0 -0
- data/test/regression/xlsx_files/object_position08.xlsx +0 -0
- data/test/regression/xlsx_files/object_position09.xlsx +0 -0
- data/test/regression/xlsx_files/object_position10.xlsx +0 -0
- data/test/regression/xlsx_files/properties03.xlsx +0 -0
- data/test/regression/xlsx_files/properties04.xlsx +0 -0
- data/test/regression/xlsx_files/properties05.xlsx +0 -0
- data/test/regression/xlsx_files/table21.xlsx +0 -0
- data/test/regression/xlsx_files/table22.xlsx +0 -0
- data/test/regression/xlsx_files/table23.xlsx +0 -0
- data/test/regression/xlsx_files/utf8_11.xlsx +0 -0
- data/test/test_example_match.rb +836 -771
- data/test/workbook/test_check_sheetname.rb +61 -0
- data/test/workbook/test_worksheet_by_name.rb +35 -0
- data/test/workbook/test_write_workbook_view.rb +117 -0
- data/test/worksheet/test_cond_format_22.rb +266 -0
- data/test/worksheet/test_cond_format_23.rb +242 -0
- data/test/worksheet/test_cond_format_24.rb +303 -0
- data/test/worksheet/test_data_bar_01.rb +53 -0
- data/test/worksheet/test_data_bar_02.rb +79 -0
- data/test/worksheet/test_data_bar_03.rb +147 -0
- data/test/worksheet/test_data_bar_04.rb +145 -0
- data/test/worksheet/test_data_bar_05.rb +147 -0
- data/test/worksheet/test_data_bar_06.rb +145 -0
- data/test/worksheet/test_data_bar_07.rb +146 -0
- data/test/worksheet/test_data_bar_08.rb +54 -0
- data/test/worksheet/test_data_bar_09.rb +80 -0
- data/test/worksheet/test_data_bar_10.rb +165 -0
- data/test/worksheet/test_data_bar_11.rb +167 -0
- data/test/worksheet/test_data_bar_12.rb +104 -0
- data/test/worksheet/test_write_data_validation_02.rb +44 -0
- data/test/worksheet/test_write_hyperlink.rb +0 -7
- data/test/worksheet/test_write_sheet_view.rb +19 -1
- metadata +308 -5
- data/test/package/comments/test_write_text_t.rb +0 -44
@@ -0,0 +1,145 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'helper'
|
3
|
+
|
4
|
+
class TestWorksheetDataBar06 < Minitest::Test
|
5
|
+
def setup
|
6
|
+
@workbook = WriteXLSX.new(StringIO.new)
|
7
|
+
@worksheet = @workbook.add_worksheet('')
|
8
|
+
end
|
9
|
+
|
10
|
+
###############################################################################
|
11
|
+
#
|
12
|
+
# Tests for WriteXLSX::Worksheet methods.
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def test_data_bar_06
|
16
|
+
@worksheet.select
|
17
|
+
@worksheet.instance_variable_set(:@index, 0)
|
18
|
+
|
19
|
+
@worksheet.conditional_formatting(
|
20
|
+
'A1',
|
21
|
+
:type => 'data_bar',
|
22
|
+
:bar_negative_color_same => 1
|
23
|
+
)
|
24
|
+
|
25
|
+
@worksheet.conditional_formatting(
|
26
|
+
'A2:B2',
|
27
|
+
:type => 'data_bar',
|
28
|
+
:bar_color => '#63C384',
|
29
|
+
:bar_negative_border_color => '#92D050'
|
30
|
+
)
|
31
|
+
|
32
|
+
@worksheet.conditional_formatting(
|
33
|
+
'A3:C3',
|
34
|
+
:type => 'data_bar',
|
35
|
+
:bar_color => '#FF555A',
|
36
|
+
:bar_negative_border_color_same => 1
|
37
|
+
)
|
38
|
+
|
39
|
+
@worksheet.assemble_xml_file
|
40
|
+
result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
|
41
|
+
|
42
|
+
expected = expected_to_array(expected_xml)
|
43
|
+
assert_equal(expected, result)
|
44
|
+
end
|
45
|
+
|
46
|
+
def expected_xml
|
47
|
+
<<EOS
|
48
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
49
|
+
<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">
|
50
|
+
<dimension ref="A1"/>
|
51
|
+
<sheetViews>
|
52
|
+
<sheetView tabSelected="1" workbookViewId="0"/>
|
53
|
+
</sheetViews>
|
54
|
+
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/>
|
55
|
+
<sheetData/>
|
56
|
+
<conditionalFormatting sqref="A1">
|
57
|
+
<cfRule type="dataBar" priority="1">
|
58
|
+
<dataBar>
|
59
|
+
<cfvo type="min"/>
|
60
|
+
<cfvo type="max"/>
|
61
|
+
<color rgb="FF638EC6"/>
|
62
|
+
</dataBar>
|
63
|
+
<extLst>
|
64
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
65
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000001}</x14:id>
|
66
|
+
</ext>
|
67
|
+
</extLst>
|
68
|
+
</cfRule>
|
69
|
+
</conditionalFormatting>
|
70
|
+
<conditionalFormatting sqref="A2:B2">
|
71
|
+
<cfRule type="dataBar" priority="2">
|
72
|
+
<dataBar>
|
73
|
+
<cfvo type="min"/>
|
74
|
+
<cfvo type="max"/>
|
75
|
+
<color rgb="FF63C384"/>
|
76
|
+
</dataBar>
|
77
|
+
<extLst>
|
78
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
79
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000002}</x14:id>
|
80
|
+
</ext>
|
81
|
+
</extLst>
|
82
|
+
</cfRule>
|
83
|
+
</conditionalFormatting>
|
84
|
+
<conditionalFormatting sqref="A3:C3">
|
85
|
+
<cfRule type="dataBar" priority="3">
|
86
|
+
<dataBar>
|
87
|
+
<cfvo type="min"/>
|
88
|
+
<cfvo type="max"/>
|
89
|
+
<color rgb="FFFF555A"/>
|
90
|
+
</dataBar>
|
91
|
+
<extLst>
|
92
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
93
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000003}</x14:id>
|
94
|
+
</ext>
|
95
|
+
</extLst>
|
96
|
+
</cfRule>
|
97
|
+
</conditionalFormatting>
|
98
|
+
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
|
99
|
+
<extLst>
|
100
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{78C0D931-6437-407d-A8EE-F0AAD7539E65}">
|
101
|
+
<x14:conditionalFormattings>
|
102
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
103
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000001}">
|
104
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarColorSameAsPositive="1" negativeBarBorderColorSameAsPositive="0">
|
105
|
+
<x14:cfvo type="autoMin"/>
|
106
|
+
<x14:cfvo type="autoMax"/>
|
107
|
+
<x14:borderColor rgb="FF638EC6"/>
|
108
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
109
|
+
<x14:axisColor rgb="FF000000"/>
|
110
|
+
</x14:dataBar>
|
111
|
+
</x14:cfRule>
|
112
|
+
<xm:sqref>A1</xm:sqref>
|
113
|
+
</x14:conditionalFormatting>
|
114
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
115
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000002}">
|
116
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
117
|
+
<x14:cfvo type="autoMin"/>
|
118
|
+
<x14:cfvo type="autoMax"/>
|
119
|
+
<x14:borderColor rgb="FF63C384"/>
|
120
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
121
|
+
<x14:negativeBorderColor rgb="FF92D050"/>
|
122
|
+
<x14:axisColor rgb="FF000000"/>
|
123
|
+
</x14:dataBar>
|
124
|
+
</x14:cfRule>
|
125
|
+
<xm:sqref>A2:B2</xm:sqref>
|
126
|
+
</x14:conditionalFormatting>
|
127
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
128
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000003}">
|
129
|
+
<x14:dataBar minLength="0" maxLength="100" border="1">
|
130
|
+
<x14:cfvo type="autoMin"/>
|
131
|
+
<x14:cfvo type="autoMax"/>
|
132
|
+
<x14:borderColor rgb="FFFF555A"/>
|
133
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
134
|
+
<x14:axisColor rgb="FF000000"/>
|
135
|
+
</x14:dataBar>
|
136
|
+
</x14:cfRule>
|
137
|
+
<xm:sqref>A3:C3</xm:sqref>
|
138
|
+
</x14:conditionalFormatting>
|
139
|
+
</x14:conditionalFormattings>
|
140
|
+
</ext>
|
141
|
+
</extLst>
|
142
|
+
</worksheet>
|
143
|
+
EOS
|
144
|
+
end
|
145
|
+
end
|
@@ -0,0 +1,146 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'helper'
|
3
|
+
|
4
|
+
class TestWorksheetDataBar07 < Minitest::Test
|
5
|
+
def setup
|
6
|
+
@workbook = WriteXLSX.new(StringIO.new)
|
7
|
+
@worksheet = @workbook.add_worksheet('')
|
8
|
+
end
|
9
|
+
|
10
|
+
###############################################################################
|
11
|
+
#
|
12
|
+
# Tests for WriteXLSX::Worksheet methods.
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def test_data_bar_07
|
16
|
+
@worksheet.select
|
17
|
+
@worksheet.instance_variable_set(:@index, 0)
|
18
|
+
|
19
|
+
@worksheet.conditional_formatting(
|
20
|
+
'A1',
|
21
|
+
:type => 'data_bar',
|
22
|
+
:bar_axis_position => 'middle'
|
23
|
+
)
|
24
|
+
|
25
|
+
@worksheet.conditional_formatting(
|
26
|
+
'A2:B2',
|
27
|
+
:type => 'data_bar',
|
28
|
+
:bar_color => '#63C384',
|
29
|
+
:bar_axis_position => 'none'
|
30
|
+
)
|
31
|
+
|
32
|
+
@worksheet.conditional_formatting(
|
33
|
+
'A3:C3',
|
34
|
+
:type => 'data_bar',
|
35
|
+
:bar_color => '#FF555A',
|
36
|
+
:bar_axis_color => '#0070C0'
|
37
|
+
)
|
38
|
+
|
39
|
+
@worksheet.assemble_xml_file
|
40
|
+
result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
|
41
|
+
|
42
|
+
expected = expected_to_array(expected_xml)
|
43
|
+
assert_equal(expected, result)
|
44
|
+
end
|
45
|
+
|
46
|
+
def expected_xml
|
47
|
+
<<EOS
|
48
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
49
|
+
<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">
|
50
|
+
<dimension ref="A1"/>
|
51
|
+
<sheetViews>
|
52
|
+
<sheetView tabSelected="1" workbookViewId="0"/>
|
53
|
+
</sheetViews>
|
54
|
+
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/>
|
55
|
+
<sheetData/>
|
56
|
+
<conditionalFormatting sqref="A1">
|
57
|
+
<cfRule type="dataBar" priority="1">
|
58
|
+
<dataBar>
|
59
|
+
<cfvo type="min"/>
|
60
|
+
<cfvo type="max"/>
|
61
|
+
<color rgb="FF638EC6"/>
|
62
|
+
</dataBar>
|
63
|
+
<extLst>
|
64
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
65
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000001}</x14:id>
|
66
|
+
</ext>
|
67
|
+
</extLst>
|
68
|
+
</cfRule>
|
69
|
+
</conditionalFormatting>
|
70
|
+
<conditionalFormatting sqref="A2:B2">
|
71
|
+
<cfRule type="dataBar" priority="2">
|
72
|
+
<dataBar>
|
73
|
+
<cfvo type="min"/>
|
74
|
+
<cfvo type="max"/>
|
75
|
+
<color rgb="FF63C384"/>
|
76
|
+
</dataBar>
|
77
|
+
<extLst>
|
78
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
79
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000002}</x14:id>
|
80
|
+
</ext>
|
81
|
+
</extLst>
|
82
|
+
</cfRule>
|
83
|
+
</conditionalFormatting>
|
84
|
+
<conditionalFormatting sqref="A3:C3">
|
85
|
+
<cfRule type="dataBar" priority="3">
|
86
|
+
<dataBar>
|
87
|
+
<cfvo type="min"/>
|
88
|
+
<cfvo type="max"/>
|
89
|
+
<color rgb="FFFF555A"/>
|
90
|
+
</dataBar>
|
91
|
+
<extLst>
|
92
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
93
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000003}</x14:id>
|
94
|
+
</ext>
|
95
|
+
</extLst>
|
96
|
+
</cfRule>
|
97
|
+
</conditionalFormatting>
|
98
|
+
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
|
99
|
+
<extLst>
|
100
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{78C0D931-6437-407d-A8EE-F0AAD7539E65}">
|
101
|
+
<x14:conditionalFormattings>
|
102
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
103
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000001}">
|
104
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0" axisPosition="middle">
|
105
|
+
<x14:cfvo type="autoMin"/>
|
106
|
+
<x14:cfvo type="autoMax"/>
|
107
|
+
<x14:borderColor rgb="FF638EC6"/>
|
108
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
109
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
110
|
+
<x14:axisColor rgb="FF000000"/>
|
111
|
+
</x14:dataBar>
|
112
|
+
</x14:cfRule>
|
113
|
+
<xm:sqref>A1</xm:sqref>
|
114
|
+
</x14:conditionalFormatting>
|
115
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
116
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000002}">
|
117
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0" axisPosition="none">
|
118
|
+
<x14:cfvo type="autoMin"/>
|
119
|
+
<x14:cfvo type="autoMax"/>
|
120
|
+
<x14:borderColor rgb="FF63C384"/>
|
121
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
122
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
123
|
+
</x14:dataBar>
|
124
|
+
</x14:cfRule>
|
125
|
+
<xm:sqref>A2:B2</xm:sqref>
|
126
|
+
</x14:conditionalFormatting>
|
127
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
128
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000003}">
|
129
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
130
|
+
<x14:cfvo type="autoMin"/>
|
131
|
+
<x14:cfvo type="autoMax"/>
|
132
|
+
<x14:borderColor rgb="FFFF555A"/>
|
133
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
134
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
135
|
+
<x14:axisColor rgb="FF0070C0"/>
|
136
|
+
</x14:dataBar>
|
137
|
+
</x14:cfRule>
|
138
|
+
<xm:sqref>A3:C3</xm:sqref>
|
139
|
+
</x14:conditionalFormatting>
|
140
|
+
</x14:conditionalFormattings>
|
141
|
+
</ext>
|
142
|
+
</extLst>
|
143
|
+
</worksheet>
|
144
|
+
EOS
|
145
|
+
end
|
146
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'helper'
|
3
|
+
|
4
|
+
class TestWorksheetDataBar08 < Minitest::Test
|
5
|
+
def setup
|
6
|
+
@workbook = WriteXLSX.new(StringIO.new)
|
7
|
+
@worksheet = @workbook.add_worksheet('')
|
8
|
+
end
|
9
|
+
|
10
|
+
###############################################################################
|
11
|
+
#
|
12
|
+
# Tests for WriteXLSX::Worksheet methods.
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def test_data_bar_08
|
16
|
+
@worksheet.select
|
17
|
+
|
18
|
+
@worksheet.conditional_formatting(
|
19
|
+
'A1',
|
20
|
+
:type => 'data_bar',
|
21
|
+
:bar_only => 1
|
22
|
+
)
|
23
|
+
|
24
|
+
@worksheet.assemble_xml_file
|
25
|
+
result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
|
26
|
+
|
27
|
+
expected = expected_to_array(expected_xml)
|
28
|
+
assert_equal(expected, result)
|
29
|
+
end
|
30
|
+
|
31
|
+
def expected_xml
|
32
|
+
<<EOS
|
33
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
34
|
+
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
|
35
|
+
<dimension ref="A1"/>
|
36
|
+
<sheetViews>
|
37
|
+
<sheetView tabSelected="1" workbookViewId="0"/>
|
38
|
+
</sheetViews>
|
39
|
+
<sheetFormatPr defaultRowHeight="15"/>
|
40
|
+
<sheetData/>
|
41
|
+
<conditionalFormatting sqref="A1">
|
42
|
+
<cfRule type="dataBar" priority="1">
|
43
|
+
<dataBar showValue="0">
|
44
|
+
<cfvo type="min" val="0"/>
|
45
|
+
<cfvo type="max" val="0"/>
|
46
|
+
<color rgb="FF638EC6"/>
|
47
|
+
</dataBar>
|
48
|
+
</cfRule>
|
49
|
+
</conditionalFormatting>
|
50
|
+
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
|
51
|
+
</worksheet>
|
52
|
+
EOS
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'helper'
|
3
|
+
|
4
|
+
class TestWorksheetDataBar09 < Minitest::Test
|
5
|
+
def setup
|
6
|
+
@workbook = WriteXLSX.new(StringIO.new)
|
7
|
+
@worksheet = @workbook.add_worksheet('')
|
8
|
+
end
|
9
|
+
|
10
|
+
###############################################################################
|
11
|
+
#
|
12
|
+
# Tests for WriteXLSX::Worksheet methods.
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def test_data_bar_09
|
16
|
+
@worksheet.select
|
17
|
+
@worksheet.instance_variable_set(:@index, 0)
|
18
|
+
|
19
|
+
@worksheet.conditional_formatting(
|
20
|
+
'A1',
|
21
|
+
:type => 'data_bar',
|
22
|
+
:bar_only => 1,
|
23
|
+
:data_bar_2010 => 1
|
24
|
+
)
|
25
|
+
|
26
|
+
@worksheet.assemble_xml_file
|
27
|
+
result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
|
28
|
+
|
29
|
+
expected = expected_to_array(expected_xml)
|
30
|
+
assert_equal(expected, result)
|
31
|
+
end
|
32
|
+
|
33
|
+
def expected_xml
|
34
|
+
<<EOS
|
35
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
36
|
+
<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">
|
37
|
+
<dimension ref="A1"/>
|
38
|
+
<sheetViews>
|
39
|
+
<sheetView tabSelected="1" workbookViewId="0"/>
|
40
|
+
</sheetViews>
|
41
|
+
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/>
|
42
|
+
<sheetData/>
|
43
|
+
<conditionalFormatting sqref="A1">
|
44
|
+
<cfRule type="dataBar" priority="1">
|
45
|
+
<dataBar showValue="0">
|
46
|
+
<cfvo type="min"/>
|
47
|
+
<cfvo type="max"/>
|
48
|
+
<color rgb="FF638EC6"/>
|
49
|
+
</dataBar>
|
50
|
+
<extLst>
|
51
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
52
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000001}</x14:id>
|
53
|
+
</ext>
|
54
|
+
</extLst>
|
55
|
+
</cfRule>
|
56
|
+
</conditionalFormatting>
|
57
|
+
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
|
58
|
+
<extLst>
|
59
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{78C0D931-6437-407d-A8EE-F0AAD7539E65}">
|
60
|
+
<x14:conditionalFormattings>
|
61
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
62
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000001}">
|
63
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
64
|
+
<x14:cfvo type="autoMin"/>
|
65
|
+
<x14:cfvo type="autoMax"/>
|
66
|
+
<x14:borderColor rgb="FF638EC6"/>
|
67
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
68
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
69
|
+
<x14:axisColor rgb="FF000000"/>
|
70
|
+
</x14:dataBar>
|
71
|
+
</x14:cfRule>
|
72
|
+
<xm:sqref>A1</xm:sqref>
|
73
|
+
</x14:conditionalFormatting>
|
74
|
+
</x14:conditionalFormattings>
|
75
|
+
</ext>
|
76
|
+
</extLst>
|
77
|
+
</worksheet>
|
78
|
+
EOS
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,165 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'helper'
|
3
|
+
|
4
|
+
class TestWorksheetDataBar10 < Minitest::Test
|
5
|
+
def setup
|
6
|
+
@workbook = WriteXLSX.new(StringIO.new)
|
7
|
+
@worksheet = @workbook.add_worksheet('')
|
8
|
+
end
|
9
|
+
|
10
|
+
###############################################################################
|
11
|
+
#
|
12
|
+
# Tests for WriteXLSX::Worksheet methods.
|
13
|
+
#
|
14
|
+
#
|
15
|
+
def test_data_bar_10
|
16
|
+
@worksheet.select
|
17
|
+
@worksheet.instance_variable_set(:@index, 0)
|
18
|
+
|
19
|
+
@worksheet.conditional_formatting(
|
20
|
+
'A1',
|
21
|
+
:type => 'data_bar',
|
22
|
+
:data_bar_2010 => 1,
|
23
|
+
:min_type => 'min',
|
24
|
+
:max_type => 'max'
|
25
|
+
)
|
26
|
+
|
27
|
+
@worksheet.conditional_formatting(
|
28
|
+
'A2:B2',
|
29
|
+
:type => 'data_bar',
|
30
|
+
:bar_color => '#63C384',
|
31
|
+
:data_bar_2010 => 1,
|
32
|
+
:min_type => 'num',
|
33
|
+
:max_type => 'num',
|
34
|
+
:min_value => 0,
|
35
|
+
:max_value => 0
|
36
|
+
)
|
37
|
+
|
38
|
+
@worksheet.conditional_formatting(
|
39
|
+
'A3:C3',
|
40
|
+
:type => 'data_bar',
|
41
|
+
:bar_color => '#FF555A',
|
42
|
+
:data_bar_2010 => 1,
|
43
|
+
:min_type => 'percent',
|
44
|
+
:max_type => 'percent',
|
45
|
+
:min_value => 0,
|
46
|
+
:max_value => 100
|
47
|
+
)
|
48
|
+
|
49
|
+
@worksheet.assemble_xml_file
|
50
|
+
result = got_to_array(@worksheet.instance_variable_get(:@writer).string)
|
51
|
+
|
52
|
+
expected = expected_to_array(expected_xml)
|
53
|
+
assert_equal(expected, result)
|
54
|
+
end
|
55
|
+
|
56
|
+
def expected_xml
|
57
|
+
<<EOS
|
58
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
59
|
+
<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">
|
60
|
+
<dimension ref="A1"/>
|
61
|
+
<sheetViews>
|
62
|
+
<sheetView tabSelected="1" workbookViewId="0"/>
|
63
|
+
</sheetViews>
|
64
|
+
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/>
|
65
|
+
<sheetData/>
|
66
|
+
<conditionalFormatting sqref="A1">
|
67
|
+
<cfRule type="dataBar" priority="1">
|
68
|
+
<dataBar>
|
69
|
+
<cfvo type="min"/>
|
70
|
+
<cfvo type="max"/>
|
71
|
+
<color rgb="FF638EC6"/>
|
72
|
+
</dataBar>
|
73
|
+
<extLst>
|
74
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
75
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000001}</x14:id>
|
76
|
+
</ext>
|
77
|
+
</extLst>
|
78
|
+
</cfRule>
|
79
|
+
</conditionalFormatting>
|
80
|
+
<conditionalFormatting sqref="A2:B2">
|
81
|
+
<cfRule type="dataBar" priority="2">
|
82
|
+
<dataBar>
|
83
|
+
<cfvo type="num" val="0"/>
|
84
|
+
<cfvo type="num" val="0"/>
|
85
|
+
<color rgb="FF63C384"/>
|
86
|
+
</dataBar>
|
87
|
+
<extLst>
|
88
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
89
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000002}</x14:id>
|
90
|
+
</ext>
|
91
|
+
</extLst>
|
92
|
+
</cfRule>
|
93
|
+
</conditionalFormatting>
|
94
|
+
<conditionalFormatting sqref="A3:C3">
|
95
|
+
<cfRule type="dataBar" priority="3">
|
96
|
+
<dataBar>
|
97
|
+
<cfvo type="percent" val="0"/>
|
98
|
+
<cfvo type="percent" val="100"/>
|
99
|
+
<color rgb="FFFF555A"/>
|
100
|
+
</dataBar>
|
101
|
+
<extLst>
|
102
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{B025F937-C7B1-47D3-B67F-A62EFF666E3E}">
|
103
|
+
<x14:id>{DA7ABA51-AAAA-BBBB-0001-000000000003}</x14:id>
|
104
|
+
</ext>
|
105
|
+
</extLst>
|
106
|
+
</cfRule>
|
107
|
+
</conditionalFormatting>
|
108
|
+
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>
|
109
|
+
<extLst>
|
110
|
+
<ext xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{78C0D931-6437-407d-A8EE-F0AAD7539E65}">
|
111
|
+
<x14:conditionalFormattings>
|
112
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
113
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000001}">
|
114
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
115
|
+
<x14:cfvo type="min"/>
|
116
|
+
<x14:cfvo type="max"/>
|
117
|
+
<x14:borderColor rgb="FF638EC6"/>
|
118
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
119
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
120
|
+
<x14:axisColor rgb="FF000000"/>
|
121
|
+
</x14:dataBar>
|
122
|
+
</x14:cfRule>
|
123
|
+
<xm:sqref>A1</xm:sqref>
|
124
|
+
</x14:conditionalFormatting>
|
125
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
126
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000002}">
|
127
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
128
|
+
<x14:cfvo type="num">
|
129
|
+
<xm:f>0</xm:f>
|
130
|
+
</x14:cfvo>
|
131
|
+
<x14:cfvo type="num">
|
132
|
+
<xm:f>0</xm:f>
|
133
|
+
</x14:cfvo>
|
134
|
+
<x14:borderColor rgb="FF63C384"/>
|
135
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
136
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
137
|
+
<x14:axisColor rgb="FF000000"/>
|
138
|
+
</x14:dataBar>
|
139
|
+
</x14:cfRule>
|
140
|
+
<xm:sqref>A2:B2</xm:sqref>
|
141
|
+
</x14:conditionalFormatting>
|
142
|
+
<x14:conditionalFormatting xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main">
|
143
|
+
<x14:cfRule type="dataBar" id="{DA7ABA51-AAAA-BBBB-0001-000000000003}">
|
144
|
+
<x14:dataBar minLength="0" maxLength="100" border="1" negativeBarBorderColorSameAsPositive="0">
|
145
|
+
<x14:cfvo type="percent">
|
146
|
+
<xm:f>0</xm:f>
|
147
|
+
</x14:cfvo>
|
148
|
+
<x14:cfvo type="percent">
|
149
|
+
<xm:f>100</xm:f>
|
150
|
+
</x14:cfvo>
|
151
|
+
<x14:borderColor rgb="FFFF555A"/>
|
152
|
+
<x14:negativeFillColor rgb="FFFF0000"/>
|
153
|
+
<x14:negativeBorderColor rgb="FFFF0000"/>
|
154
|
+
<x14:axisColor rgb="FF000000"/>
|
155
|
+
</x14:dataBar>
|
156
|
+
</x14:cfRule>
|
157
|
+
<xm:sqref>A3:C3</xm:sqref>
|
158
|
+
</x14:conditionalFormatting>
|
159
|
+
</x14:conditionalFormattings>
|
160
|
+
</ext>
|
161
|
+
</extLst>
|
162
|
+
</worksheet>
|
163
|
+
EOS
|
164
|
+
end
|
165
|
+
end
|