Sha256: 4311e155ed1fd429e74b1edebc2660513b264b1ccd7efaf593b7ef52d51a670a

Contents?: true

Size: 404 Bytes

Versions: 27

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require_relative 'xlsx_data/view_model/workbook'

module OoxmlParser
  # Basic class for parsing xlsx
  class XlsxParser
    # Parse xlsx file
    # @param path_to_file [String] file path
    # @return [XLSXWorkbook] result of parse
    def self.parse_xlsx(path_to_file)
      Parser.parse_format(path_to_file) do
        XLSXWorkbook.new.parse
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ooxml_parser-0.9.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.9.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.8.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.8.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.7.2 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.7.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.7.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb