Sha256: 716f1a832afe4d19a60ff5397711212ed61193a2f20c5ddfaea2bab6a853c672

Contents?: true

Size: 399 Bytes

Versions: 6

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

require_relative 'pptx_parser/presentation'

module OoxmlParser
  # Basic class for parsing pptx
  class PptxParser
    # Parse pptx file
    # @param path_to_file [String] file path
    # @return [Presentation] result of parse
    def self.parse_pptx(path_to_file)
      Parser.parse_format(path_to_file) do
        Presentation.new.parse
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ooxml_parser-0.29.0 lib/ooxml_parser/pptx_parser.rb
ooxml_parser-0.28.0 lib/ooxml_parser/pptx_parser.rb
ooxml_parser-0.27.0 lib/ooxml_parser/pptx_parser.rb
ooxml_parser-0.26.0 lib/ooxml_parser/pptx_parser.rb
ooxml_parser-0.25.0 lib/ooxml_parser/pptx_parser.rb
ooxml_parser-0.24.0 lib/ooxml_parser/pptx_parser.rb