Class: Writexlsx::Worksheet::BlankCellData

Inherits:
CellData
  • Object
show all
Defined in:
lib/write_xlsx/worksheet/cell_data.rb

Overview

:nodoc:

Constant Summary

Constants included from Constants

Constants::COL_MAX, Constants::ROW_MAX, Constants::SHEETNAME_MAX, Constants::STR_MAX

Constants included from Utility::Common

Utility::Common::PERL_TRUE_VALUES

Instance Attribute Summary

Attributes inherited from CellData

#xf

Instance Method Summary collapse

Methods inherited from CellData

#cell_attributes, #display_url_string?

Methods included from Utility::CellReference

#row_col_notation, #substitute_cellref, #xl_cell_to_rowcol, #xl_col_to_name, #xl_range, #xl_range_formula, #xl_rowcol_to_cell

Methods included from Utility::Common

#absolute_char, #check_parameter, #float_to_str, #ptrue?, #put_deprecate_message

Constructor Details

#initialize(xf) ⇒ BlankCellData

Returns a new instance of BlankCellData.



204
205
206
# File 'lib/write_xlsx/worksheet/cell_data.rb', line 204

def initialize(xf)
  @xf = xf
end

Instance Method Details

#data ⇒ Object



208
209
210
# File 'lib/write_xlsx/worksheet/cell_data.rb', line 208

def data
  ''
end

#write_cell(worksheet, row, row_name, col) ⇒ Object



212
213
214
# File 'lib/write_xlsx/worksheet/cell_data.rb', line 212

def write_cell(worksheet, row, row_name, col)
  worksheet.writer.empty_tag('c', cell_attributes(worksheet, row, row_name, col))
end