Class: Plaintext::XlsxHandler

Inherits:
OfficeDocumentHandler show all
Defined in:
lib/plaintext/file_handler/zipped_xml_handler/office_document_handler/xlsx_handler.rb

Instance Method Summary collapse

Methods inherited from ZippedXmlHandler

#text

Methods inherited from FileHandler

#accept?, #set

Constructor Details

#initializeXlsxHandler

Returns a new instance of XlsxHandler.



5
6
7
8
9
10
# File 'lib/plaintext/file_handler/zipped_xml_handler/office_document_handler/xlsx_handler.rb', line 5

def initialize
  super
  @content_type = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
  @file_name = 'xl/sharedStrings.xml'
  @namespace_uri = 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'
end