Sha256: 45eca7f8f82f547dfa2055ca7b1ab0ce3569d1169eec0b44add0a662a22a0935

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require_relative 'pptx_data/presentation.rb'

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

3 entries across 3 versions & 1 rubygems

Version Path
ooxml_parser-0.7.2 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.7.1 lib/ooxml_parser/pptx_parser/pptx_parser.rb
ooxml_parser-0.7.0 lib/ooxml_parser/pptx_parser/pptx_parser.rb