write_xlsx 0.85.5 → 0.85.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Changes +3 -0
- data/lib/write_xlsx/compatibility.rb +1 -1
- data/lib/write_xlsx/package/xml_writer_simple.rb +1 -1
- data/lib/write_xlsx/version.rb +1 -1
- data/lib/write_xlsx/worksheet.rb +3 -2
- data/test/helper.rb +20 -0
- data/test/regression/disabled_test_vml04.rb +2 -2
- data/test/regression/test_array_formula01.rb +6 -6
- data/test/regression/test_array_formula02.rb +6 -6
- data/test/regression/test_autofilter00.rb +3 -3
- data/test/regression/test_autofilter01.rb +3 -3
- data/test/regression/test_autofilter02.rb +3 -3
- data/test/regression/test_autofilter03.rb +3 -3
- data/test/regression/test_autofilter04.rb +3 -3
- data/test/regression/test_autofilter05.rb +3 -3
- data/test/regression/test_autofilter06.rb +3 -3
- data/test/regression/test_autofilter07.rb +3 -3
- data/test/regression/test_button01.rb +3 -3
- data/test/regression/test_button02.rb +3 -3
- data/test/regression/test_button03.rb +3 -3
- data/test/regression/test_button04.rb +3 -3
- data/test/regression/test_button05.rb +3 -3
- data/test/regression/test_button06.rb +3 -3
- data/test/regression/test_button07.rb +3 -3
- data/test/regression/test_button08.rb +3 -3
- data/test/regression/test_button13.rb +2 -6
- data/test/regression/test_button14.rb +3 -3
- data/test/regression/test_chart_area01.rb +3 -3
- data/test/regression/test_chart_area02.rb +3 -3
- data/test/regression/test_chart_area03.rb +3 -3
- data/test/regression/test_chart_area04.rb +3 -3
- data/test/regression/test_chart_axis01.rb +6 -7
- data/test/regression/test_chart_axis02.rb +6 -7
- data/test/regression/test_chart_axis03.rb +9 -10
- data/test/regression/test_chart_axis04.rb +8 -9
- data/test/regression/test_chart_axis05.rb +8 -9
- data/test/regression/test_chart_axis06.rb +8 -9
- data/test/regression/test_chart_axis07.rb +8 -9
- data/test/regression/test_chart_axis08.rb +8 -9
- data/test/regression/test_chart_axis09.rb +8 -9
- data/test/regression/test_chart_axis10.rb +8 -9
- data/test/regression/test_chart_axis11.rb +8 -9
- data/test/regression/test_chart_axis12.rb +8 -9
- data/test/regression/test_chart_axis13.rb +8 -9
- data/test/regression/test_chart_axis14.rb +9 -10
- data/test/regression/test_chart_axis15.rb +9 -10
- data/test/regression/test_chart_axis16.rb +9 -10
- data/test/regression/test_chart_axis17.rb +6 -7
- data/test/regression/test_chart_axis18.rb +6 -7
- data/test/regression/test_chart_axis19.rb +6 -7
- data/test/regression/test_chart_axis20.rb +6 -7
- data/test/regression/test_chart_axis21.rb +6 -7
- data/test/regression/test_chart_axis22.rb +6 -7
- data/test/regression/test_chart_axis23.rb +6 -7
- data/test/regression/test_chart_axis24.rb +6 -7
- data/test/regression/test_chart_axis25.rb +6 -7
- data/test/regression/test_chart_axis26.rb +6 -7
- data/test/regression/test_chart_axis27.rb +6 -7
- data/test/regression/test_chart_axis28.rb +6 -7
- data/test/regression/test_chart_axis29.rb +6 -7
- data/test/regression/test_chart_axis30.rb +3 -7
- data/test/regression/test_chart_axis31.rb +3 -7
- data/test/regression/test_chart_axis32.rb +3 -7
- data/test/regression/test_chart_axis33.rb +6 -7
- data/test/regression/test_chart_axis34.rb +6 -7
- data/test/regression/test_chart_axis35.rb +6 -7
- data/test/regression/test_chart_axis36.rb +6 -7
- data/test/regression/test_chart_axis37.rb +6 -7
- data/test/regression/test_chart_axis38.rb +5 -10
- data/test/regression/test_chart_axis39.rb +6 -7
- data/test/regression/test_chart_bar01.rb +3 -3
- data/test/regression/test_chart_bar02.rb +11 -12
- data/test/regression/test_chart_bar03.rb +12 -13
- data/test/regression/test_chart_bar04.rb +12 -13
- data/test/regression/test_chart_bar05.rb +3 -7
- data/test/regression/test_chart_bar06.rb +9 -10
- data/test/regression/test_chart_bar07.rb +13 -14
- data/test/regression/test_chart_bar08.rb +3 -7
- data/test/regression/test_chart_bar09.rb +6 -7
- data/test/regression/test_chart_bar10.rb +6 -7
- data/test/regression/test_chart_bar11.rb +23 -25
- data/test/regression/test_chart_bar12.rb +3 -8
- data/test/regression/test_chart_bar13.rb +3 -8
- data/test/regression/test_chart_bar14.rb +10 -12
- data/test/regression/test_chart_bar15.rb +9 -11
- data/test/regression/test_chart_bar16.rb +8 -10
- data/test/regression/test_chart_bar17.rb +8 -10
- data/test/regression/test_chart_bar18.rb +17 -19
- data/test/regression/test_chart_bar19.rb +8 -10
- data/test/regression/test_chart_bar20.rb +8 -10
- data/test/regression/test_chart_bar21.rb +3 -7
- data/test/regression/test_chart_bar22.rb +8 -10
- data/test/regression/test_chart_bar23.rb +8 -10
- data/test/regression/test_chart_bar24.rb +9 -10
- data/test/regression/test_chart_blank01.rb +3 -3
- data/test/regression/test_chart_blank02.rb +3 -3
- data/test/regression/test_chart_blank03.rb +3 -3
- data/test/regression/test_chart_blank04.rb +3 -3
- data/test/regression/test_chart_blank05.rb +6 -8
- data/test/regression/test_chart_blank06.rb +3 -3
- data/test/regression/test_chart_chartarea01.rb +3 -3
- data/test/regression/test_chart_chartarea02.rb +3 -3
- data/test/regression/test_chart_chartarea03.rb +3 -3
- data/test/regression/test_chart_chartarea04.rb +6 -8
- data/test/regression/test_chart_chartarea05.rb +3 -3
- data/test/regression/test_chart_clustered01.rb +3 -3
- data/test/regression/test_chart_column01.rb +3 -7
- data/test/regression/test_chart_column02.rb +8 -9
- data/test/regression/test_chart_column03.rb +8 -9
- data/test/regression/test_chart_column04.rb +9 -10
- data/test/regression/test_chart_column05.rb +3 -3
- data/test/regression/test_chart_column06.rb +8 -9
- data/test/regression/test_chart_column07.rb +3 -7
- data/test/regression/test_chart_column08.rb +3 -7
- data/test/regression/test_chart_column09.rb +3 -7
- data/test/regression/test_chart_column10.rb +3 -7
- data/test/regression/test_chart_column11.rb +3 -7
- data/test/regression/test_chart_column12.rb +2 -10
- data/test/regression/test_chart_combined01.rb +3 -3
- data/test/regression/test_chart_combined02.rb +3 -3
- data/test/regression/test_chart_combined03.rb +3 -3
- data/test/regression/test_chart_combined04.rb +3 -3
- data/test/regression/test_chart_combined05.rb +3 -3
- data/test/regression/test_chart_combined06.rb +3 -3
- data/test/regression/test_chart_combined07.rb +3 -3
- data/test/regression/test_chart_combined08.rb +3 -3
- data/test/regression/test_chart_crossing01.rb +8 -9
- data/test/regression/test_chart_crossing02.rb +8 -9
- data/test/regression/test_chart_crossing03.rb +8 -9
- data/test/regression/test_chart_crossing04.rb +8 -9
- data/test/regression/test_chart_data_labels01.rb +3 -3
- data/test/regression/test_chart_data_labels02.rb +3 -3
- data/test/regression/test_chart_data_labels03.rb +3 -3
- data/test/regression/test_chart_data_labels04.rb +3 -3
- data/test/regression/test_chart_data_labels05.rb +3 -3
- data/test/regression/test_chart_data_labels06.rb +3 -3
- data/test/regression/test_chart_data_labels07.rb +3 -3
- data/test/regression/test_chart_data_labels08.rb +3 -3
- data/test/regression/test_chart_data_labels09.rb +3 -3
- data/test/regression/test_chart_data_labels10.rb +3 -3
- data/test/regression/test_chart_data_labels11.rb +3 -3
- data/test/regression/test_chart_data_labels12.rb +3 -3
- data/test/regression/test_chart_data_labels13.rb +3 -3
- data/test/regression/test_chart_data_labels14.rb +3 -3
- data/test/regression/test_chart_data_labels15.rb +3 -3
- data/test/regression/test_chart_data_labels16.rb +3 -3
- data/test/regression/test_chart_data_labels17.rb +3 -3
- data/test/regression/test_chart_data_labels18.rb +3 -3
- data/test/regression/test_chart_data_labels19.rb +3 -3
- data/test/regression/test_chart_data_labels20.rb +3 -3
- data/test/regression/test_chart_data_labels21.rb +3 -3
- data/test/regression/test_chart_data_labels22.rb +3 -3
- data/test/regression/test_chart_data_labels23.rb +3 -3
- data/test/regression/test_chart_data_labels24.rb +3 -3
- data/test/regression/test_chart_date01.rb +2 -6
- data/test/regression/test_chart_date02.rb +3 -3
- data/test/regression/test_chart_date03.rb +3 -3
- data/test/regression/test_chart_date04.rb +3 -3
- data/test/regression/test_chart_date05.rb +3 -3
- data/test/regression/test_chart_display_units01.rb +3 -3
- data/test/regression/test_chart_display_units02.rb +3 -3
- data/test/regression/test_chart_display_units03.rb +3 -3
- data/test/regression/test_chart_display_units04.rb +3 -3
- data/test/regression/test_chart_display_units05.rb +3 -3
- data/test/regression/test_chart_display_units06.rb +3 -3
- data/test/regression/test_chart_display_units07.rb +3 -3
- data/test/regression/test_chart_display_units08.rb +3 -3
- data/test/regression/test_chart_display_units09.rb +3 -3
- data/test/regression/test_chart_display_units10.rb +3 -3
- data/test/regression/test_chart_display_units11.rb +3 -3
- data/test/regression/test_chart_display_units12.rb +3 -3
- data/test/regression/test_chart_doughnut01.rb +3 -7
- data/test/regression/test_chart_doughnut02.rb +3 -7
- data/test/regression/test_chart_doughnut03.rb +3 -7
- data/test/regression/test_chart_doughnut04.rb +3 -7
- data/test/regression/test_chart_doughnut05.rb +3 -7
- data/test/regression/test_chart_doughnut06.rb +3 -7
- data/test/regression/test_chart_drop_lines01.rb +3 -3
- data/test/regression/test_chart_drop_lines02.rb +3 -3
- data/test/regression/test_chart_drop_lines03.rb +3 -3
- data/test/regression/test_chart_drop_lines04.rb +3 -3
- data/test/regression/test_chart_errorbars01.rb +3 -4
- data/test/regression/test_chart_errorbars02.rb +3 -4
- data/test/regression/test_chart_errorbars03.rb +3 -4
- data/test/regression/test_chart_errorbars04.rb +3 -4
- data/test/regression/test_chart_errorbars05.rb +3 -4
- data/test/regression/test_chart_errorbars06.rb +3 -4
- data/test/regression/test_chart_errorbars07.rb +6 -7
- data/test/regression/test_chart_errorbars08.rb +3 -7
- data/test/regression/test_chart_errorbars09.rb +3 -7
- data/test/regression/test_chart_errorbars10.rb +3 -7
- data/test/regression/test_chart_font01.rb +3 -3
- data/test/regression/test_chart_font02.rb +3 -3
- data/test/regression/test_chart_font03.rb +3 -3
- data/test/regression/test_chart_font04.rb +3 -3
- data/test/regression/test_chart_font05.rb +3 -3
- data/test/regression/test_chart_font06.rb +3 -3
- data/test/regression/test_chart_font07.rb +3 -3
- data/test/regression/test_chart_font08.rb +3 -3
- data/test/regression/test_chart_font09.rb +2 -6
- data/test/regression/test_chart_format01.rb +3 -3
- data/test/regression/test_chart_format02.rb +3 -3
- data/test/regression/test_chart_format03.rb +3 -3
- data/test/regression/test_chart_format04.rb +3 -3
- data/test/regression/test_chart_format05.rb +3 -3
- data/test/regression/test_chart_format06.rb +8 -10
- data/test/regression/test_chart_format07.rb +8 -10
- data/test/regression/test_chart_format08.rb +8 -10
- data/test/regression/test_chart_format09.rb +8 -10
- data/test/regression/test_chart_format10.rb +8 -10
- data/test/regression/test_chart_format11.rb +8 -10
- data/test/regression/test_chart_format12.rb +8 -10
- data/test/regression/test_chart_format13.rb +8 -10
- data/test/regression/test_chart_format14.rb +8 -10
- data/test/regression/test_chart_format15.rb +8 -10
- data/test/regression/test_chart_format16.rb +8 -10
- data/test/regression/test_chart_format17.rb +3 -4
- data/test/regression/test_chart_format18.rb +3 -4
- data/test/regression/test_chart_format19.rb +3 -4
- data/test/regression/test_chart_format20.rb +3 -4
- data/test/regression/test_chart_gap01.rb +3 -3
- data/test/regression/test_chart_gap02.rb +3 -3
- data/test/regression/test_chart_gap03.rb +3 -3
- data/test/regression/test_chart_gap04.rb +3 -3
- data/test/regression/test_chart_gap05.rb +3 -3
- data/test/regression/test_chart_gradient01.rb +3 -6
- data/test/regression/test_chart_gradient02.rb +3 -6
- data/test/regression/test_chart_gradient03.rb +3 -6
- data/test/regression/test_chart_gradient04.rb +3 -6
- data/test/regression/test_chart_gradient05.rb +3 -6
- data/test/regression/test_chart_gradient06.rb +3 -6
- data/test/regression/test_chart_gradient07.rb +3 -6
- data/test/regression/test_chart_gradient08.rb +3 -6
- data/test/regression/test_chart_gradient09.rb +3 -6
- data/test/regression/test_chart_gradient10.rb +3 -6
- data/test/regression/test_chart_gradient11.rb +3 -6
- data/test/regression/test_chart_gradient12.rb +3 -6
- data/test/regression/test_chart_gradient13.rb +3 -6
- data/test/regression/test_chart_gridlines01.rb +3 -6
- data/test/regression/test_chart_gridlines02.rb +3 -6
- data/test/regression/test_chart_gridlines03.rb +6 -8
- data/test/regression/test_chart_gridlines04.rb +3 -6
- data/test/regression/test_chart_gridlines05.rb +3 -6
- data/test/regression/test_chart_gridlines06.rb +3 -6
- data/test/regression/test_chart_gridlines07.rb +6 -8
- data/test/regression/test_chart_gridlines08.rb +3 -6
- data/test/regression/test_chart_gridlines09.rb +3 -6
- data/test/regression/test_chart_layout01.rb +3 -3
- data/test/regression/test_chart_layout02.rb +3 -3
- data/test/regression/test_chart_layout03.rb +3 -3
- data/test/regression/test_chart_layout04.rb +3 -3
- data/test/regression/test_chart_layout05.rb +3 -3
- data/test/regression/test_chart_layout06.rb +3 -3
- data/test/regression/test_chart_layout07.rb +3 -3
- data/test/regression/test_chart_layout08.rb +3 -3
- data/test/regression/test_chart_legend01.rb +3 -8
- data/test/regression/test_chart_legend02.rb +3 -8
- data/test/regression/test_chart_line01.rb +3 -3
- data/test/regression/test_chart_line02.rb +9 -10
- data/test/regression/test_chart_line03.rb +3 -3
- data/test/regression/test_chart_line04.rb +3 -3
- data/test/regression/test_chart_name01.rb +3 -6
- data/test/regression/test_chart_name02.rb +3 -6
- data/test/regression/test_chart_name03.rb +3 -6
- data/test/regression/test_chart_order01.rb +3 -6
- data/test/regression/test_chart_order02.rb +3 -6
- data/test/regression/test_chart_order03.rb +10 -12
- data/test/regression/test_chart_pie01.rb +3 -3
- data/test/regression/test_chart_pie02.rb +3 -3
- data/test/regression/test_chart_pie03.rb +3 -3
- data/test/regression/test_chart_pie04.rb +3 -3
- data/test/regression/test_chart_pie05.rb +3 -3
- data/test/regression/test_chart_points01.rb +3 -3
- data/test/regression/test_chart_points02.rb +3 -3
- data/test/regression/test_chart_points03.rb +3 -3
- data/test/regression/test_chart_points04.rb +3 -3
- data/test/regression/test_chart_points05.rb +3 -3
- data/test/regression/test_chart_points06.rb +3 -3
- data/test/regression/test_chart_radar01.rb +3 -3
- data/test/regression/test_chart_radar02.rb +3 -3
- data/test/regression/test_chart_radar03.rb +3 -3
- data/test/regression/test_chart_scatter01.rb +3 -3
- data/test/regression/test_chart_scatter02.rb +3 -3
- data/test/regression/test_chart_scatter03.rb +3 -3
- data/test/regression/test_chart_scatter04.rb +3 -3
- data/test/regression/test_chart_scatter05.rb +3 -3
- data/test/regression/test_chart_scatter06.rb +3 -3
- data/test/regression/test_chart_scatter07.rb +9 -10
- data/test/regression/test_chart_scatter08.rb +3 -3
- data/test/regression/test_chart_scatter09.rb +3 -3
- data/test/regression/test_chart_scatter10.rb +3 -3
- data/test/regression/test_chart_scatter11.rb +3 -3
- data/test/regression/test_chart_scatter12.rb +3 -3
- data/test/regression/test_chart_scatter13.rb +3 -3
- data/test/regression/test_chart_scatter14.rb +3 -3
- data/test/regression/test_chart_scatter15.rb +3 -3
- data/test/regression/test_chart_size01.rb +3 -3
- data/test/regression/test_chart_size02.rb +3 -3
- data/test/regression/test_chart_size03.rb +3 -3
- data/test/regression/test_chart_size04.rb +3 -3
- data/test/regression/test_chart_size05.rb +3 -3
- data/test/regression/test_chart_sparse01.rb +6 -9
- data/test/regression/test_chart_stock01.rb +6 -8
- data/test/regression/test_chart_stock02.rb +10 -12
- data/test/regression/test_chart_str01.rb +3 -8
- data/test/regression/test_chart_str02.rb +3 -8
- data/test/regression/test_chart_table01.rb +3 -6
- data/test/regression/test_chart_table02.rb +3 -6
- data/test/regression/test_chart_title01.rb +3 -8
- data/test/regression/test_chart_title02.rb +3 -8
- data/test/regression/test_chartsheet01.rb +3 -8
- data/test/regression/test_chartsheet02.rb +8 -10
- data/test/regression/test_chartsheet03.rb +8 -10
- data/test/regression/test_chartsheet04.rb +8 -10
- data/test/regression/test_chartsheet05.rb +8 -10
- data/test/regression/test_chartsheet06.rb +7 -13
- data/test/regression/test_chartsheet07.rb +16 -18
- data/test/regression/test_chartsheet08.rb +16 -18
- data/test/regression/test_chartsheet09.rb +8 -10
- data/test/regression/test_comment01.rb +3 -3
- data/test/regression/test_comment02.rb +3 -3
- data/test/regression/test_comment03.rb +6 -7
- data/test/regression/test_comment04.rb +6 -7
- data/test/regression/test_comment06.rb +6 -7
- data/test/regression/test_comment07.rb +6 -7
- data/test/regression/test_comment08.rb +6 -7
- data/test/regression/test_comment09.rb +6 -7
- data/test/regression/test_comment10.rb +6 -7
- data/test/regression/test_comment11.rb +6 -8
- data/test/regression/test_comment12.rb +3 -8
- data/test/regression/test_cond_format01.rb +6 -7
- data/test/regression/test_cond_format02.rb +6 -7
- data/test/regression/test_cond_format03.rb +6 -7
- data/test/regression/test_cond_format04.rb +6 -7
- data/test/regression/test_cond_format05.rb +6 -7
- data/test/regression/test_cond_format06.rb +6 -7
- data/test/regression/test_cond_format07.rb +6 -7
- data/test/regression/test_cond_format08.rb +6 -7
- data/test/regression/test_cond_format10.rb +6 -7
- data/test/regression/test_cond_format11.rb +6 -7
- data/test/regression/test_cond_format12.rb +6 -7
- data/test/regression/test_cond_format13.rb +6 -7
- data/test/regression/test_custom_colors01.rb +3 -3
- data/test/regression/test_data_validation01.rb +3 -3
- data/test/regression/test_data_validation02.rb +3 -3
- data/test/regression/test_data_validation03.rb +3 -3
- data/test/regression/test_data_validation04.rb +1 -5
- data/test/regression/test_data_validation05.rb +1 -5
- data/test/regression/test_date_1904_01.rb +3 -8
- data/test/regression/test_date_1904_02.rb +3 -8
- data/test/regression/test_date_examples01.rb +3 -3
- data/test/regression/test_default_format01.rb +2 -6
- data/test/regression/test_default_row01.rb +3 -3
- data/test/regression/test_default_row02.rb +3 -3
- data/test/regression/test_default_row03.rb +3 -3
- data/test/regression/test_default_row04.rb +3 -3
- data/test/regression/test_defined_name01.rb +10 -12
- data/test/regression/test_defined_name02.rb +10 -12
- data/test/regression/test_defined_name03.rb +10 -12
- data/test/regression/test_defined_name04.rb +2 -7
- data/test/regression/test_escapes01.rb +8 -10
- data/test/regression/test_escapes02.rb +8 -9
- data/test/regression/test_escapes03.rb +8 -9
- data/test/regression/test_escapes04.rb +8 -10
- data/test/regression/test_escapes05.rb +8 -10
- data/test/regression/test_escapes06.rb +3 -6
- data/test/regression/test_escapes07.rb +3 -6
- data/test/regression/test_escapes08.rb +3 -6
- data/test/regression/test_excel2003_style01.rb +3 -3
- data/test/regression/test_excel2003_style02.rb +3 -3
- data/test/regression/test_excel2003_style03.rb +3 -3
- data/test/regression/test_excel2003_style04.rb +3 -3
- data/test/regression/test_excel2003_style05.rb +3 -3
- data/test/regression/test_excel2003_style06.rb +3 -3
- data/test/regression/test_excel2003_style07.rb +3 -3
- data/test/regression/test_excel2003_style08.rb +3 -3
- data/test/regression/test_firstsheet01.rb +3 -8
- data/test/regression/test_fit_to_pages01.rb +12 -14
- data/test/regression/test_fit_to_pages02.rb +12 -14
- data/test/regression/test_fit_to_pages03.rb +12 -14
- data/test/regression/test_fit_to_pages04.rb +12 -14
- data/test/regression/test_fit_to_pages05.rb +12 -14
- data/test/regression/test_format01.rb +3 -3
- data/test/regression/test_format02.rb +3 -3
- data/test/regression/test_format03.rb +3 -3
- data/test/regression/test_format04.rb +3 -3
- data/test/regression/test_format05.rb +3 -3
- data/test/regression/test_format11.rb +3 -3
- data/test/regression/test_format12.rb +3 -3
- data/test/regression/test_formula_results01.rb +3 -3
- data/test/regression/test_gridlines01.rb +12 -14
- data/test/regression/test_header01.rb +3 -3
- data/test/regression/test_header02.rb +3 -3
- data/test/regression/test_header03.rb +3 -3
- data/test/regression/test_header_image01.rb +3 -3
- data/test/regression/test_header_image02.rb +3 -3
- data/test/regression/test_header_image03.rb +3 -3
- data/test/regression/test_header_image04.rb +3 -3
- data/test/regression/test_header_image05.rb +3 -3
- data/test/regression/test_header_image06.rb +3 -3
- data/test/regression/test_header_image07.rb +3 -3
- data/test/regression/test_header_image08.rb +3 -3
- data/test/regression/test_header_image09.rb +8 -12
- data/test/regression/test_header_image10.rb +3 -3
- data/test/regression/test_header_image11.rb +3 -3
- data/test/regression/test_header_image12.rb +3 -3
- data/test/regression/test_header_image13.rb +3 -3
- data/test/regression/test_header_image14.rb +3 -3
- data/test/regression/test_hide01.rb +3 -8
- data/test/regression/test_hyperlink01.rb +3 -3
- data/test/regression/test_hyperlink02.rb +3 -3
- data/test/regression/test_hyperlink03.rb +3 -3
- data/test/regression/test_hyperlink04.rb +3 -3
- data/test/regression/test_hyperlink05.rb +3 -3
- data/test/regression/test_hyperlink06.rb +3 -3
- data/test/regression/test_hyperlink07.rb +2 -6
- data/test/regression/test_hyperlink08.rb +3 -3
- data/test/regression/test_hyperlink09.rb +3 -3
- data/test/regression/test_hyperlink10.rb +3 -3
- data/test/regression/test_hyperlink11.rb +3 -3
- data/test/regression/test_hyperlink12.rb +3 -3
- data/test/regression/test_hyperlink13.rb +3 -3
- data/test/regression/test_hyperlink14.rb +3 -3
- data/test/regression/test_hyperlink15.rb +3 -3
- data/test/regression/test_hyperlink16.rb +3 -3
- data/test/regression/test_hyperlink17.rb +3 -3
- data/test/regression/test_hyperlink18.rb +3 -3
- data/test/regression/test_hyperlink20.rb +3 -3
- data/test/regression/test_hyperlink21.rb +3 -3
- data/test/regression/test_image01.rb +3 -3
- data/test/regression/test_image02.rb +3 -3
- data/test/regression/test_image03.rb +3 -3
- data/test/regression/test_image04.rb +3 -3
- data/test/regression/test_image05.rb +3 -3
- data/test/regression/test_image06.rb +3 -3
- data/test/regression/test_image07.rb +3 -3
- data/test/regression/test_image08.rb +3 -3
- data/test/regression/test_image09.rb +3 -3
- data/test/regression/test_image10.rb +3 -3
- data/test/regression/test_image11.rb +3 -3
- data/test/regression/test_image12.rb +3 -3
- data/test/regression/test_image13.rb +3 -3
- data/test/regression/test_image14.rb +3 -3
- data/test/regression/test_image15.rb +3 -3
- data/test/regression/test_image16.rb +3 -3
- data/test/regression/test_image17.rb +2 -6
- data/test/regression/test_image18.rb +3 -3
- data/test/regression/test_image19.rb +3 -3
- data/test/regression/test_image22.rb +3 -3
- data/test/regression/test_image23.rb +3 -3
- data/test/regression/test_image24.rb +3 -3
- data/test/regression/test_image25.rb +3 -3
- data/test/regression/test_image26.rb +3 -3
- data/test/regression/test_image27.rb +3 -3
- data/test/regression/test_landscape01.rb +3 -3
- data/test/regression/test_macro01.rb +3 -3
- data/test/regression/test_merge_cells01.rb +2 -6
- data/test/regression/test_merge_range01.rb +3 -6
- data/test/regression/test_merge_range02.rb +3 -6
- data/test/regression/test_merge_range03.rb +3 -6
- data/test/regression/test_merge_range04.rb +3 -6
- data/test/regression/test_merge_range05.rb +3 -6
- data/test/regression/test_outline01.rb +12 -14
- data/test/regression/test_outline02.rb +12 -14
- data/test/regression/test_outline03.rb +12 -14
- data/test/regression/test_outline04.rb +12 -14
- data/test/regression/test_outline05.rb +12 -14
- data/test/regression/test_outline06.rb +12 -14
- data/test/regression/test_page_breaks01.rb +12 -14
- data/test/regression/test_page_breaks02.rb +12 -14
- data/test/regression/test_page_breaks03.rb +12 -14
- data/test/regression/test_page_breaks04.rb +12 -14
- data/test/regression/test_page_breaks05.rb +12 -14
- data/test/regression/test_page_breaks06.rb +12 -14
- data/test/regression/test_page_view01.rb +12 -14
- data/test/regression/test_panes01.rb +3 -8
- data/test/regression/test_print_across01.rb +12 -14
- data/test/regression/test_print_area01.rb +12 -14
- data/test/regression/test_print_area02.rb +12 -14
- data/test/regression/test_print_area03.rb +12 -14
- data/test/regression/test_print_area04.rb +12 -14
- data/test/regression/test_print_area05.rb +12 -14
- data/test/regression/test_print_area06.rb +12 -14
- data/test/regression/test_print_area07.rb +12 -14
- data/test/regression/test_print_options01.rb +12 -14
- data/test/regression/test_print_options02.rb +12 -14
- data/test/regression/test_print_options03.rb +12 -14
- data/test/regression/test_print_options04.rb +12 -14
- data/test/regression/test_print_options05.rb +12 -14
- data/test/regression/test_print_options06.rb +12 -14
- data/test/regression/test_print_options07.rb +3 -5
- data/test/regression/test_print_scale01.rb +12 -14
- data/test/regression/test_print_scale02.rb +12 -14
- data/test/regression/test_properties01.rb +6 -7
- data/test/regression/test_protect01.rb +3 -3
- data/test/regression/test_protect02.rb +3 -3
- data/test/regression/test_protect03.rb +3 -3
- data/test/regression/test_quote_name01.rb +3 -3
- data/test/regression/test_quote_name03.rb +3 -3
- data/test/regression/test_quote_name04.rb +3 -3
- data/test/regression/test_repeat01.rb +12 -14
- data/test/regression/test_repeat02.rb +12 -14
- data/test/regression/test_repeat03.rb +12 -14
- data/test/regression/test_repeat04.rb +12 -14
- data/test/regression/test_repeat05.rb +15 -17
- data/test/regression/test_rich_string01.rb +3 -3
- data/test/regression/test_rich_string02.rb +3 -3
- data/test/regression/test_rich_string03.rb +3 -3
- data/test/regression/test_rich_string04.rb +3 -3
- data/test/regression/test_rich_string05.rb +3 -3
- data/test/regression/test_rich_string06.rb +3 -3
- data/test/regression/test_rich_string07.rb +3 -3
- data/test/regression/test_rich_string08.rb +3 -3
- data/test/regression/test_rich_string09.rb +3 -3
- data/test/regression/test_rich_string10.rb +3 -3
- data/test/regression/test_rich_string11.rb +3 -3
- data/test/regression/test_rich_string12.rb +3 -3
- data/test/regression/test_row_col_format01.rb +3 -3
- data/test/regression/test_row_col_format02.rb +3 -3
- data/test/regression/test_row_col_format03.rb +3 -3
- data/test/regression/test_row_col_format04.rb +3 -3
- data/test/regression/test_row_col_format05.rb +3 -3
- data/test/regression/test_row_col_format06.rb +3 -3
- data/test/regression/test_row_col_format07.rb +3 -3
- data/test/regression/test_row_col_format08.rb +3 -3
- data/test/regression/test_row_col_format09.rb +3 -3
- data/test/regression/test_row_col_format10.rb +3 -3
- data/test/regression/test_row_col_format11.rb +3 -3
- data/test/regression/test_row_col_format12.rb +3 -3
- data/test/regression/test_row_col_format13.rb +3 -3
- data/test/regression/test_row_col_format14.rb +3 -3
- data/test/regression/test_selection01.rb +3 -3
- data/test/regression/test_selection02.rb +3 -3
- data/test/regression/test_set_column01.rb +3 -3
- data/test/regression/test_set_column02.rb +3 -3
- data/test/regression/test_set_column03.rb +2 -6
- data/test/regression/test_set_column04.rb +3 -3
- data/test/regression/test_set_column05.rb +3 -3
- data/test/regression/test_set_column06.rb +3 -3
- data/test/regression/test_set_column07.rb +3 -3
- data/test/regression/test_set_column08.rb +3 -3
- data/test/regression/test_set_column09.rb +3 -3
- data/test/regression/test_set_print_scale01.rb +3 -3
- data/test/regression/test_set_start_page01.rb +3 -3
- data/test/regression/test_set_start_page02.rb +3 -3
- data/test/regression/test_set_start_page03.rb +3 -3
- data/test/regression/test_shape01.rb +3 -3
- data/test/regression/test_shape02.rb +3 -3
- data/test/regression/test_shape03.rb +3 -3
- data/test/regression/test_shape04.rb +3 -3
- data/test/regression/test_shape_connect01.rb +3 -3
- data/test/regression/test_shape_connect02.rb +3 -3
- data/test/regression/test_shape_connect03.rb +3 -3
- data/test/regression/test_shape_connect04.rb +3 -3
- data/test/regression/test_shape_scale01.rb +12 -14
- data/test/regression/test_shape_stencil01.rb +3 -8
- data/test/regression/test_shared_strings01.rb +6 -8
- data/test/regression/test_shared_strings02.rb +6 -8
- data/test/regression/test_shared_strings_encoding.rb +0 -103
- data/test/regression/test_simple01.rb +3 -3
- data/test/regression/test_simple02.rb +3 -3
- data/test/regression/test_simple03.rb +3 -3
- data/test/regression/test_simple04.rb +3 -3
- data/test/regression/test_simple05.rb +3 -3
- data/test/regression/test_tab_color01.rb +2 -11
- data/test/regression/test_table01.rb +3 -3
- data/test/regression/test_table02.rb +3 -3
- data/test/regression/test_table03.rb +3 -3
- data/test/regression/test_table04.rb +3 -3
- data/test/regression/test_table05.rb +3 -3
- data/test/regression/test_table06.rb +3 -3
- data/test/regression/test_table07.rb +3 -3
- data/test/regression/test_table08.rb +3 -3
- data/test/regression/test_table09.rb +3 -3
- data/test/regression/test_table10.rb +3 -3
- data/test/regression/test_table11.rb +3 -3
- data/test/regression/test_table12.rb +3 -3
- data/test/regression/test_table13.rb +3 -3
- data/test/regression/test_table14.rb +3 -3
- data/test/regression/test_table15.rb +3 -3
- data/test/regression/test_table16.rb +3 -3
- data/test/regression/test_table17.rb +3 -3
- data/test/regression/test_tutorial01.rb +3 -3
- data/test/regression/test_tutorial02.rb +3 -3
- data/test/regression/test_tutorial03.rb +3 -3
- data/test/regression/test_urls_as_strings.rb +3 -3
- data/test/regression/test_utf8_01.rb +3 -3
- data/test/regression/test_utf8_03.rb +3 -3
- data/test/regression/test_utf8_04.rb +3 -3
- data/test/regression/test_utf8_05.rb +3 -3
- data/test/regression/test_utf8_06.rb +3 -3
- data/test/regression/test_utf8_07.rb +3 -3
- data/test/regression/test_utf8_08.rb +3 -3
- data/test/regression/test_utf8_09.rb +2 -6
- data/test/regression/test_utf8_10.rb +3 -3
- data/test/regression/test_vml01.rb +3 -3
- data/test/regression/test_vml02.rb +3 -3
- data/test/regression/test_vml03.rb +3 -3
- data/test/test_example_match.rb +199 -133
- metadata +3 -3
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format07
|
14
14
|
@xlsx = 'cond_format07.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
# We manually set the indices to get the same order as the target file.
|
@@ -53,10 +53,9 @@ def test_cond_format07
|
|
53
53
|
)
|
54
54
|
|
55
55
|
workbook.close
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
56
|
+
compare_for_regression(
|
57
|
+
nil,
|
58
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
59
|
+
)
|
61
60
|
end
|
62
61
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format08
|
14
14
|
@xlsx = 'cond_format08.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
format = workbook.add_format(
|
@@ -37,10 +37,9 @@ def test_cond_format08
|
|
37
37
|
)
|
38
38
|
|
39
39
|
workbook.close
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
40
|
+
compare_for_regression(
|
41
|
+
nil,
|
42
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
43
|
+
)
|
45
44
|
end
|
46
45
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format10
|
14
14
|
@xlsx = 'cond_format10.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
format = workbook.add_format(:bold => 1, :italic => 1)
|
@@ -34,10 +34,9 @@ def test_cond_format10
|
|
34
34
|
)
|
35
35
|
|
36
36
|
workbook.close
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
37
|
+
compare_for_regression(
|
38
|
+
nil,
|
39
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
40
|
+
)
|
42
41
|
end
|
43
42
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format11
|
14
14
|
@xlsx = 'cond_format11.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
format = workbook.add_format(
|
@@ -38,10 +38,9 @@ def test_cond_format11
|
|
38
38
|
)
|
39
39
|
|
40
40
|
workbook.close
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
41
|
+
compare_for_regression(
|
42
|
+
nil,
|
43
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
44
|
+
)
|
46
45
|
end
|
47
46
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format12
|
14
14
|
@xlsx = 'cond_format12.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
format = workbook.add_format(
|
@@ -38,10 +38,9 @@ def test_cond_format12
|
|
38
38
|
)
|
39
39
|
|
40
40
|
workbook.close
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
41
|
+
compare_for_regression(
|
42
|
+
nil,
|
43
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
44
|
+
)
|
46
45
|
end
|
47
46
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_cond_format13
|
14
14
|
@xlsx = 'cond_format04.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
# We manually set the indices to get the same order as the target file.
|
@@ -44,10 +44,9 @@ def test_cond_format13
|
|
44
44
|
worksheet.conditional_formatting('A2', options)
|
45
45
|
|
46
46
|
workbook.close
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
{ 'xl/workbook.xml' => ['<workbookView'] })
|
47
|
+
compare_for_regression(
|
48
|
+
nil,
|
49
|
+
{ 'xl/workbook.xml' => ['<workbookView'] }
|
50
|
+
)
|
52
51
|
end
|
53
52
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_custom_colors01
|
14
14
|
@xlsx = 'custom_colors01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
workbook.set_custom_color(40, '#26DA55')
|
@@ -28,6 +28,6 @@ def test_custom_colors01
|
|
28
28
|
worksheet.write('A3', 'Foo', color3)
|
29
29
|
|
30
30
|
workbook.close
|
31
|
-
|
31
|
+
compare_for_regression
|
32
32
|
end
|
33
33
|
end
|
@@ -7,16 +7,16 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_data_validation01
|
14
14
|
@xlsx = 'data_validation01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.data_validation('C2', validate: 'list', value: ['Foo', 'Bar', 'Baz'])
|
19
19
|
workbook.close
|
20
|
-
|
20
|
+
compare_for_regression
|
21
21
|
end
|
22
22
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_data_validation02
|
14
14
|
@xlsx = 'data_validation02.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.data_validation('C2',
|
@@ -22,6 +22,6 @@ def test_data_validation02
|
|
22
22
|
input_message: 'This is the input message'
|
23
23
|
)
|
24
24
|
workbook.close
|
25
|
-
|
25
|
+
compare_for_regression
|
26
26
|
end
|
27
27
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_data_validation03
|
14
14
|
@xlsx = 'data_validation03.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.data_validation('C2',
|
@@ -39,6 +39,6 @@ def test_data_validation03
|
|
39
39
|
)
|
40
40
|
|
41
41
|
workbook.close
|
42
|
-
|
42
|
+
compare_for_regression
|
43
43
|
end
|
44
44
|
end
|
@@ -6,13 +6,9 @@ def setup
|
|
6
6
|
setup_dir_var
|
7
7
|
end
|
8
8
|
|
9
|
-
def teardown
|
10
|
-
File.delete(@xlsx) if File.exist?(@xlsx)
|
11
|
-
end
|
12
|
-
|
13
9
|
def test_data_validation04
|
14
10
|
@xlsx = 'data_validation02.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
11
|
+
workbook = WriteXLSX.new(@io)
|
16
12
|
worksheet = workbook.add_worksheet
|
17
13
|
|
18
14
|
values = [
|
@@ -6,13 +6,9 @@ def setup
|
|
6
6
|
setup_dir_var
|
7
7
|
end
|
8
8
|
|
9
|
-
def teardown
|
10
|
-
File.delete(@xlsx) if File.exist?(@xlsx)
|
11
|
-
end
|
12
|
-
|
13
9
|
def test_data_validation05
|
14
10
|
@xlsx = 'data_validation02.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
11
|
+
workbook = WriteXLSX.new(@io)
|
16
12
|
worksheet = workbook.add_worksheet
|
17
13
|
|
18
14
|
values = [
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_date_1904_01
|
14
14
|
@xlsx = 'date_1904_01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
format = workbook.add_format(:num_format => 14)
|
18
18
|
|
@@ -26,11 +26,6 @@ def test_date_1904_01
|
|
26
26
|
worksheet.write_date_time('A6', '4637-11-26T', format)
|
27
27
|
|
28
28
|
workbook.close
|
29
|
-
|
30
|
-
File.join(@regression_output, @xlsx),
|
31
|
-
@xlsx,
|
32
|
-
nil,
|
33
|
-
nil
|
34
|
-
)
|
29
|
+
compare_for_regression
|
35
30
|
end
|
36
31
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_date_1904_02
|
14
14
|
@xlsx = 'date_1904_02.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
|
17
17
|
workbook.set_1904
|
18
18
|
|
@@ -29,11 +29,6 @@ def test_date_1904_02
|
|
29
29
|
worksheet.write_date_time('A6', '4641-11-27T', format)
|
30
30
|
|
31
31
|
workbook.close
|
32
|
-
|
33
|
-
File.join(@regression_output, @xlsx),
|
34
|
-
@xlsx,
|
35
|
-
nil,
|
36
|
-
nil
|
37
|
-
)
|
32
|
+
compare_for_regression
|
38
33
|
end
|
39
34
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_date_examples01
|
14
14
|
@xlsx = 'date_examples01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.set_column('A:A', 30)
|
@@ -40,7 +40,7 @@ def test_date_examples01
|
|
40
40
|
worksheet.write('A7', number, format7) # Feb 28 2013 12:00 PM
|
41
41
|
|
42
42
|
workbook.close
|
43
|
-
|
43
|
+
compare_for_regression(
|
44
44
|
['xl/calcChain.xml', '\[Content_Types\].xml', 'xl/_rels/workbook.xml.rels'],
|
45
45
|
{}
|
46
46
|
)
|
@@ -6,13 +6,9 @@ def setup
|
|
6
6
|
setup_dir_var
|
7
7
|
end
|
8
8
|
|
9
|
-
def teardown
|
10
|
-
File.delete(@xlsx) if File.exist?(@xlsx)
|
11
|
-
end
|
12
|
-
|
13
9
|
def test_default_format01
|
14
10
|
@xlsx = 'default_format01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
11
|
+
workbook = WriteXLSX.new(@io, :default_format_properties => { :size => 10 })
|
16
12
|
worksheet = workbook.add_worksheet
|
17
13
|
|
18
14
|
worksheet.set_default_row(12.75)
|
@@ -21,6 +17,6 @@ def test_default_format01
|
|
21
17
|
worksheet.instance_variable_set(:@original_row_height, 12.75)
|
22
18
|
|
23
19
|
workbook.close
|
24
|
-
|
20
|
+
compare_for_regression
|
25
21
|
end
|
26
22
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_default_row01
|
14
14
|
@xlsx = 'default_row01.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.set_default_row(24)
|
@@ -21,6 +21,6 @@ def test_default_row01
|
|
21
21
|
worksheet.write('A10', 'Bar')
|
22
22
|
|
23
23
|
workbook.close
|
24
|
-
|
24
|
+
compare_for_regression
|
25
25
|
end
|
26
26
|
end
|
@@ -7,12 +7,12 @@ def setup
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def teardown
|
10
|
-
|
10
|
+
@tempfile.close(true)
|
11
11
|
end
|
12
12
|
|
13
13
|
def test_default_row02
|
14
14
|
@xlsx = 'default_row02.xlsx'
|
15
|
-
workbook = WriteXLSX.new(@
|
15
|
+
workbook = WriteXLSX.new(@io)
|
16
16
|
worksheet = workbook.add_worksheet
|
17
17
|
|
18
18
|
worksheet.set_default_row(nil, 1)
|
@@ -23,6 +23,6 @@ def test_default_row02
|
|
23
23
|
(1..8).each { |row| worksheet.set_row(row, 15) }
|
24
24
|
|
25
25
|
workbook.close
|
26
|
-
|
26
|
+
compare_for_regression
|
27
27
|
end
|
28
28
|
end
|