class RubyXL::Row
Constants
- DEFAULT_HEIGHT
Attributes
worksheet[RW]
Public Instance Methods
[](ind)
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 159 def [](ind) cells[ind] end
before_write_xml()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 151 def before_write_xml !(cells.nil? || cells.empty?) end
delete_cell_shift_left(col_index)
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 172 def delete_cell_shift_left(col_index) cells.delete_at(col_index) update_cell_coords(col_index) end
get_fill_color()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 189 def get_fill_color @worksheet.workbook.get_fill_color(xf) end
get_font()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 193 def get_font @worksheet.workbook.fonts[xf.font_id] end
index_in_collection()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 155 def index_in_collection r - 1 end
insert_cell_shift_right(c, col_index)
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 167 def insert_cell_shift_right(c, col_index) cells.insert(col_index, c) update_cell_coords(col_index) end
size()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 163 def size cells.size end
xf()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 185 def xf @worksheet.workbook.cell_xfs[self.style_index || 0] end