Commit 704a1b4f by Ivan Lan

feat: 恢复 merge cell

parent 47ff0a8e
...@@ -94,13 +94,13 @@ module TalltyImportExport ...@@ -94,13 +94,13 @@ module TalltyImportExport
end end
# 合并仅有一个值的一列中所有格子 # 合并仅有一个值的一列中所有格子
# value_living_alone_col_index_to_value_count.each_pair do |col_index, count| value_living_alone_col_index_to_value_count.each_pair do |col_index, count|
# if count == 1 if count == 1
# sheet.merge_cells( sheet.merge_cells(
# Axlsx::cell_r(col_index, index) + ':' + Axlsx::cell_r(col_index, index + payload.max_matrix_height - 1) Axlsx::cell_r(col_index, index) + ':' + Axlsx::cell_r(col_index, index + payload.max_matrix_height - 1)
# ) )
# end end
# end end
index += payload.max_matrix_height index += payload.max_matrix_height
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment