Module: XlsxWriter
- Defined in:
- ext/xlsxwriter/xlsxwriter.c,
lib/xlsxwriter.rb,
lib/xlsxwriter/error.rb,
lib/xlsxwriter/version.rb,
lib/xlsxwriter/worksheet.rb,
lib/xlsxwriter/rich_string.rb,
ext/xlsxwriter/chart.c,
ext/xlsxwriter/xlsxwriter.c,
ext/xlsxwriter/rich_string.c
Overview
XlsxWriter is a ruby interface to libxlsxwriter.
It provides a couple of useful shorthands (like being able to pass cells and ranges as both numbers, cell strings and range strings.
It also has column authowidth functionality partially taken from Axlsx gem enabled by default.
Simple example of using the XlsxWriter to generate an xlsx file containing ‘Hello’ string in the first rows of column ‘A’:
XlsxWriter::Workbook.open('/tmp/text.xlsx') do |wb|
ws.add_worksheet do |ws|
10.times { |i| ws.add_row ['Hello!'] }
end
end
Defined Under Namespace
Modules: Format Classes: Chartsheet, Error, RichString, SharedStringsTable, Workbook, Worksheet
Constant Summary collapse
- VERSION =
:nodoc:
'0.2.2'
- LIBRARY_VERSION =
rbLibVersion