lib/docparser/output/xlsx_output.rb in docparser-0.2.0 vs lib/docparser/output/xlsx_output.rb in docparser-0.2.2
- old
+ new
@@ -6,9 +6,10 @@
class XLSXOutput < Output
# @!visibility private
def open_file
@package = Axlsx::Package.new
@package.workbook.date1904 = false # Fix for OS X
+ @package.use_shared_strings = true # Fix for Numbers
@sheet = @package.workbook.add_worksheet
@file.close
end
def header