dev_course
SylorHuang 6 years ago
parent 15d6cb4e6f
commit edf8335349

@ -1,5 +1,6 @@
wb = xlsx_package.workbook wb = xlsx_package.workbook
wb.use_autowidth = false
wb.styles do |s| wb.styles do |s|
sz_all = s.add_style :border => { :style => :thin, :color =>"000000" },:alignment => {:horizontal => :center} sz_all = s.add_style :border => { :style => :thin, :color =>"000000" },:alignment => {:horizontal => :center}
blue_cell = s.add_style :bg_color => "FAEBDC", :sz => 10,:height => 20,:b => true, :border => { :style => :thin, :color =>"000000" },:alignment => {:horizontal => :center} blue_cell = s.add_style :bg_color => "FAEBDC", :sz => 10,:height => 20,:b => true, :border => { :style => :thin, :color =>"000000" },:alignment => {:horizontal => :center}

Loading…
Cancel
Save