Sha256: 10d6fcae08b825d694011b86bf31d359bd4d07143de5c2dc1bfd6a8b3690d54a

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

require_relative '../common_parser/common_data/ooxml_document_object'
require_relative '../common_parser/common_data/valued_child'
require_relative 'docx_data/document_structure'

module OoxmlParser
  # Basic class for DocxParser
  class DocxParser
    def self.parse_docx(path_to_file)
      Parser.parse_format(path_to_file) do
        DocumentStructure.parse
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ooxml_parser-0.6.0 lib/ooxml_parser/docx_parser/docx_parser.rb
ooxml_parser-0.5.1 lib/ooxml_parser/docx_parser/docx_parser.rb
ooxml_parser-0.5.0 lib/ooxml_parser/docx_parser/docx_parser.rb