lib/rubyXL/objects/worksheet.rb in rubyXL-3.4.0 vs lib/rubyXL/objects/worksheet.rb in rubyXL-3.4.1
- old
+ new
@@ -739,9 +739,17 @@
r.cells.each { |c| c.worksheet = sheet_obj unless c.nil? }
}
sheet_obj
end
+ def get_col_xf(column_index)
+ workbook.stylesheet.cell_xfs[get_col_style(column_index)]
+ end
+
+ def get_row_xf(row)
+ workbook.stylesheet.cell_xfs[get_row_style(row)]
+ end
+
include LegacyWorksheet
end
end