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.23.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.22.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.21.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.20.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.19.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.18.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.18.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.17.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.16.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.15.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.14.2 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.14.1-mingw32 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.14.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.14.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.13.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.12.2 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.12.1 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.12.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.11.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb
ooxml_parser-0.10.0 lib/ooxml_parser/xlsx_parser/xlsx_parser.rb